Page 1 of 1

INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Wed Aug 12, 2015 8:25 pm
by jubha
Hello,
I am installing T.T in our vps server running with ubuntu 14.04

I have created cache, storage and logs folders and granted full rights 777, but installation error still exist that folders are not writable.

installation points error to this path /usr/bin/php5 but my server has this path /usr/bin/php

php5 is installed with this command sudo apt-get install php5-mysql and sudo apt-get install libapache2-mod-php5

root@zfxwrxpqa9:~# dpkg --list | grep php
ii libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.11 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php5-cli 5.5.9+dfsg-1ubuntu4.11 amd64 command-line interpreter for the php5 scripting language
ii php5-common 5.5.9+dfsg-1ubuntu4.11 amd64 Common files for packages built from the php5 source
ii php5-gd 5.5.9+dfsg-1ubuntu4.11 amd64 GD module for php5
ii php5-json 1.3.2-2build1 amd64 JSON module for php5
ii php5-mysql 5.5.9+dfsg-1ubuntu4.11 amd64 MySQL module for php5
ii php5-readline 5.5.9+dfsg-1ubuntu4.11 amd64 Readline module for php5


I have attached print screen of error page

I real appreciate for any help!

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Thu Aug 13, 2015 7:35 am
by shaunw
Cache, log, storage directories should be outside of your HTDOC/HTML Root directory, otherwise it poses a security risk. Try setting the cache directory to /tmp/timetrex, and the storage to something like /var/timetrex/storage

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Thu Aug 13, 2015 12:25 pm
by jubha
Hello Shaunw,

I have changed the cache, logs and storage directories as you advised. The not writable errors to those directories has disappeared. There is one not writable error has remained;

Not writable: /var/www/html/west/classes/modules/install/../../../LICENSE

And other errors:
Invalid, PGSQL or MySQLi PHP extensions are required

Warning: PHP CLI requirements failed while executing
"/usr/bin/php5" "/var/www/html/west/tools/unattended_upgrade.php" --config "/var/www/html/west/includes/../timetrex.ini.php" --requirements_only --web_installer
Likely caused by having two PHP.INI files with different settings.

I have attached the errors print screen
I am installing the Community Version

I appreciate your assistance.

Jubha

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Thu Aug 13, 2015 1:38 pm
by shaunw
You clearly have incorrect permissions on the files/directories that TimeTrex is installed in.

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Thu Aug 13, 2015 8:47 pm
by jubha
Hello Shaunw,

I am the only user of this vps server and i have one account which i am using (root).
I uploaded the Timetrex files with Filezila using the root account.

what can i do to give this installation a full permission?

I real appreciate your support

Jubha.

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Thu Aug 13, 2015 9:51 pm
by jubha
I have resolved the permissions issue, and now have remained one error


Database Engine:
Invalid, PGSQL or MySQLi PHP extensions are required

i attached the error print screen page.

I real appreciate for your support,

Jubha.

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Thu Aug 13, 2015 10:21 pm
by jubha
i installed with this code:
apt-get install php5-mysqlnd

after server reboot everything marked ok (All System Requirements have been met successfully!)
I will go on with installation now.

Thank you so much for all the support.

Jubha.

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Thu Aug 13, 2015 10:40 pm
by jubha
While on the way with installation i got an error on maintenance jobs

And after finishing installation i got an error after first login.

I have attached all the print screen to see what happened.

I real appreciate for your support.

Jubha.

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Fri Aug 14, 2015 8:52 am
by shaunw
Those warning messages you see once logged in are caused by either not going through the Quick Start Wizard fully, or not assigning yourself to a Pay Period Schedule or Policy Group under Employee -> Employees, and Editing your employee record.

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Sun Aug 16, 2015 8:58 am
by jubha
Thanks for your reply,

What about the error in maintenance jobs which i encountered while installing?
How can i resolve it?

I have attached its error print screen page.

I appreciate for your support.

Jubha.

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Mon Aug 17, 2015 7:01 am
by shaunw
Which error message are you referring to specifically?

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Posted: Mon Aug 17, 2015 10:17 pm
by jubha
I posted its printscreen, it appeared while was finishing installation, may be it was not an error?

it says "undefined requires that maintenance jobs be run regularly throughout the day"

"this is extremely important and without these maintenance jobs running undefined will fail to operate correctly"