Permissions Issue

Ask your questions regarding TimeTrex installation here.
Locked
kurtloy
Posts: 2
Joined: Tue Oct 15, 2013 1:14 pm

Permissions Issue

Post by kurtloy »

I am working through a fresh install on Ubuntu 12.04 with version 7.1.2 and the manual installer file. I have done all of the instructions in the README file and have navigated to URL/timetrexdirectory/interface/install/install.php and receive the following messages:

Checking pre-flight requirements... 1... 2... 3... 4... 5.../var/www/TimeTrex/interface/install/../../templates_c is NOT writable by your web server! For help on this topic click here.

6... 7...Your web server is unable to create directories inside of: /var/www/TimeTrex/interface/install/../../templates_c, please give your webserver write permissions to this directory. For help on this topic click here.

8... 9... 10... FAILED!


Are there instructions for properly setting any directory permissions?
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Permissions Issue

Post by shaunw »

The proper permissions depends on your operating system, for Ubuntu that usually just means:

chown www-data.www-data /var/www/TimeTrex/interface/install/../../templates_c
kurtloy
Posts: 2
Joined: Tue Oct 15, 2013 1:14 pm

Re: Permissions Issue

Post by kurtloy »

Which is apparently just the tip of the iceberg. Now that I'm onto the "System Check Acceptance" there are all sorts of write errors. The installation documentation included references none of these. Isn't there a list of what needs to be set for a proper install?

Some of the directories listed don't even exist (so obviously they need to be) but again, where in the documentation is that detailed?


Other Requirements
Writable TimeTrex Configuration File (timetrex.ini.php): OK
Writable Cache Directory: Warning: Not writable (/tmp/timetrex)
Writable Storage Directory: Warning: Not writable (/var/timetrex/storage)
Writable Log Directory: Warning: Not writable (/var/log/timetrex)
Empty Cache Directory: OK
File Permissions: Warning: File permissions are invalid, some TimeTrex files are not readable/writable. See detailed error messages below.
File CheckSums: OK

Not writable: /var/www/TimeTrex/classes/modules/install/../../../classes/fpdf/fpdf.css

Your TimeTrex configuration file (timetrex.ini.php) is located at:
/var/www/TimeTrex/includes/../timetrex.ini.php

Your PHP configuration file (php.ini) is located at:
/etc/php5/apache2/php.ini, the include path is: ""
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Permissions Issue

Post by shaunw »

Obviously any paths/files that are configured in the .ini file need exist and be readable/writable by your web server, so thats all the system check is confirming for you.
Locked