Welcome, Guest
Username: Password: Remember me

TOPIC: V2 build 121208 install issues with '/runtime' and permissions for /tmp

V2 build 121208 install issues with '/runtime' and permissions for /tmp 2 years 1 week ago #89859

  • jsavage
  • jsavage's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Thank you received: 1
  • Karma: 1
Hi all,
I am a very occasional long time user of phpsurvey and have happily updated my production version incrementally to 1.92+ so I am ever grateful for everyone's contribution to this project. I noticed that the front page of my production version was encouraging me to update to V2 but I have to say I am struggling to getting Build 121208 running on apache installed at var/www/limesurvey on a ubuntu 12.04 instance. Apache is running OK and I can get a sensible response when I browse to http://localhost/limesurvey/phpinfo.php but when I browse to
http://localhost/limesurvey/

Internal Server Error
Application runtime path "/var/www/limesurvey/tmp/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
http://localhost/limesurvey/admin

Browsing to http://localhost/limesurvey/admin
redirects to:
http://localhost/limesurvey/index.php/admin and results in the same error page as above

I have changed permissions to 777 for /tmp / uploads and /application/config - no change

I then created a folder called runtime in /tmp & chmod 755 - no change

It was only when I changed the permissions of /runtime to be 777 did the first page of the installer screen render.

Page 2 of the installer states under Minimum Requirements that :

/upload and /tmp are "Found and Unwritable"

It is of note that /application/config on the otherhand was "Found and Writable"

Here are the permissions of folders in limesurvey folder:
-rw-r--r-- 1 root root 61 Dec 7 20:05 README
drwxr-xr-x 2 root root 4096 Dec 7 20:05 admin
drwxr-xr-x 16 root root 4096 Dec 7 20:05 application
-rw-r--r-- 1 root root 0 Dec 9 15:44 dir.txt
drwxr-xr-x 3 root root 4096 Dec 7 20:06 docs
drwxr-xr-x 2 root root 4096 Dec 7 20:06 fonts
drwxr-xr-x 19 root root 4096 Dec 7 20:06 framework
drwxr-xr-x 5 root root 4096 Dec 7 20:06 images
-rw-r--r-- 1 root root 5716 Dec 7 20:05 index.php
drwxr-xr-x 5 root root 4096 Dec 7 20:06 installer
drwxr-xr-x 69 root root 4096 Dec 7 20:06 locale
-rw-r--r-- 1 root root 20 Dec 9 15:27 phpinfo.php
drwxr-xr-x 5 root root 4096 Dec 7 20:06 scripts
drwxr-xr-x 5 root root 4096 Dec 7 20:06 styles
drwxr-xr-x 4 root root 4096 Dec 7 20:06 styles-public
drwxr-xr-x 12 root root 4096 Dec 7 20:06 templates
drwxr-xr-x 4 root root 4096 Dec 7 20:06 third_party
drwxrwxrwx 4 root root 4096 Dec 7 20:06 tmp
drwxrwxrwx 6 root root 4096 Dec 7 20:06 upload


Can anyone see a problem or explain why the server thinks it cannot write to /tmp ?


Kind regards,

James
The administrator has disabled public write access.

Re: V2 build 121209 install issues with '/runtime' and permissions for /tmp 2 years 1 week ago #89875

  • jsavage
  • jsavage's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Thank you received: 1
  • Karma: 1
I have just repeated the install with Build 121209 - I encountered the same issue with needing to set permissions for runtime folder before install would start and once started /tmp and /upload are seen as Unwritable although they are 777. Any advice on how to proceed?

James
The administrator has disabled public write access.

Re: V2 build 121209 install issues with '/runtime' and permissions for /tmp 2 years 1 week ago #89895

  • jsavage
  • jsavage's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Thank you received: 1
  • Karma: 1
Issue resolved.
I was setting permissions with chmod 777 foldername.

When I used chmod -R 777 foldername the issue went away.

Hope this helps someone.
The administrator has disabled public write access.
The following user(s) said Thank You: c_schmitz
Moderators: ITEd
Time to create page: 0.099 seconds
Donation Image