INSTALLATION ERROR IN UBUNTU 14.04 VPS

Ask your questions regarding TimeTrex installation here.
Post Reply
jubha
Posts: 9
Joined: Wed Aug 12, 2015 7:37 pm

INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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!
Attachments
error.docx
(670.03 KiB) Downloaded 416 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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
jubha
Posts: 9
Joined: Wed Aug 12, 2015 7:37 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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
Attachments
error.docx
(699.84 KiB) Downloaded 400 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post by shaunw »

You clearly have incorrect permissions on the files/directories that TimeTrex is installed in.
jubha
Posts: 9
Joined: Wed Aug 12, 2015 7:37 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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.
jubha
Posts: 9
Joined: Wed Aug 12, 2015 7:37 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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.
Attachments
error.docx
(125.9 KiB) Downloaded 407 times
jubha
Posts: 9
Joined: Wed Aug 12, 2015 7:37 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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.
jubha
Posts: 9
Joined: Wed Aug 12, 2015 7:37 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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.
Attachments
error.docx
(295.67 KiB) Downloaded 395 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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.
jubha
Posts: 9
Joined: Wed Aug 12, 2015 7:37 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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.
Attachments
error.docx
(115.17 KiB) Downloaded 373 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post by shaunw »

Which error message are you referring to specifically?
jubha
Posts: 9
Joined: Wed Aug 12, 2015 7:37 pm

Re: INSTALLATION ERROR IN UBUNTU 14.04 VPS

Post 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"
Attachments
error.docx
(115.09 KiB) Downloaded 397 times
Post Reply