Delicious      Technorati      Blinklist      Furl      Reddit

TimeTrex Time and Attendance

TimeTrex Time and Attendance


* FAQ    * Search
* Login   * Register

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 17 posts ] 
Author Message
PostPosted: Tue Nov 29, 2016 8:24 am 
Offline

Joined: Tue Nov 29, 2016 8:21 am
Posts: 8
I cant seem to get past the System Check Acceptance screen. Attached is a screen shot. Running on CentOS 7.


Attachments:
Error.PNG
Error.PNG [ 76.82 KiB | Viewed 1500 times ]
Top
 Profile  
 
PostPosted: Tue Nov 29, 2016 9:35 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7280
The TimeTrex files and directories specified in the configuration file are not writable by your web server, so you need to make sure you change the permissions such that they are.


Top
 Profile  
 
PostPosted: Tue Nov 29, 2016 10:51 am 
Offline

Joined: Tue Nov 29, 2016 8:21 am
Posts: 8
I have checked and the files are writable.


Top
 Profile  
 
PostPosted: Tue Nov 29, 2016 11:19 am 
Offline

Joined: Tue Aug 23, 2016 11:44 am
Posts: 125
You may want to take a look at folders within the file path some of them may not have the right permissions to allow the install to view that folder even though the file has the w/r permission.

for example /var/www/html a non-privileged user may not be able to view the folder required if the permissions have not been changed.


Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 8:18 am 
Offline

Joined: Tue Nov 29, 2016 8:21 am
Posts: 8
Attached is a doc of how I have set up the server from the time of install up to getting the error.


Attachments:
Time Clock Install Guide.txt [1.75 KiB]
Downloaded 46 times
Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 9:02 am 
Offline

Joined: Tue Aug 23, 2016 11:44 am
Posts: 125
after looking at the file you uploaded check the permission on the /temp folder you may need to adjust permissions to allow read rights to all for that folder.

Also check that all users have read access for /var, /var/www, and /var/www/html folders so timetrex can view the /timetrex folder in the /tmp folder and the in the /var/www/html/ folder. doing this change should resolve your issue with being able to write to that location.

one easy way to check exactly what folders you need change permissions on is to try to go to that folder by cd /var then cd www , then cd html and finally cd timetrex if any or one of those folders gives you a permissions denied you need to edit that folders RWE access to allow at least read access.

or you can do the command i have listed below that would allow read write execute access to all files and subfolders. i would still recommend what i said above before trying to do what is listed below.
chmod -R 777 /var
chmod -R 777 /tmp


Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 9:13 am 
Offline

Joined: Tue Nov 29, 2016 8:21 am
Posts: 8
jarrett125 wrote:
after looking at the file you uploaded check the permission on the /temp folder you may need to adjust permissions to allow read rights to all for that folder.

Also check that all users have read access for /var, /var/www, and /var/www/html folders so timetrex can view the /timetrex folder in the /tmp folder and the in the /var/www/html/ folder. doing this change should resolve your issue with being able to write to that location.

one easy way to check exactly what folders you need change permissions on is to try to go to that folder by cd /var then cd www , then cd html and finally cd timetrex if any or one of those folders gives you a permissions denied you need to edit that folders RWE access to allow at least read access.

or you can do the command i have listed below that would allow read write execute access to all files and subfolders. i would still recommend what i said above before trying to do what is listed below.
chmod -R 777 /var
chmod -R 777 /tmp


Same issue after trying both ways.


Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 9:26 am 
Offline

Joined: Tue Aug 23, 2016 11:44 am
Posts: 125
i would just double check make sure all folders within those directories got the permissions from doing the chmod -R 777 /tmp and chmod -R 777 /var then run a re-check again.


Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 9:50 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7280
Quote:
chmod -R 777 /var

Please do not run that command, if you do it very well could make your entire system insecure at best and completely break other services at worst.


In most cases, all you need to do is run something like this:
Code:
chown -R <web server user> <file or dir>


For example:
Code:
chown -R apache.apache /var/www/html/TimeTrex

Code:
chown -R apache.apache /tmp/timetrex


That will should fix things in a secure way without breaking anything else.


Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 10:52 am 
Offline

Joined: Tue Nov 29, 2016 8:21 am
Posts: 8
Still a no go.


Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 11:01 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7280
Please post an updated screenshot showing any differences in the error messages.


Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 11:04 am 
Offline

Joined: Tue Nov 29, 2016 8:21 am
Posts: 8
Here you go.


Attachments:
Error2.PNG
Error2.PNG [ 82.29 KiB | Viewed 1473 times ]
Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 12:11 pm 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7280
Would need to see the permissions of the files in your TimeTrex directory to move forward with this. Either the command you ran didn't actually work, or wasn't the right command, or your system is setup in some other way.

In the mean time, have you considered our free cloud hosted solution instead?


Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 1:46 pm 
Offline

Joined: Tue Nov 29, 2016 8:21 am
Posts: 8
No I was not aware of that. How do we get access to it?


Top
 Profile  
 
PostPosted: Wed Nov 30, 2016 2:12 pm 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7280
I just checked, it looks like you are outside of Canada/United States, so the free Cloud Hosted option wouldn't be available to you unfortunately.


Top
 Profile  
 
PostPosted: Thu Dec 01, 2016 5:42 am 
Offline

Joined: Tue Nov 29, 2016 8:21 am
Posts: 8
We are located in Indiana. Not sure where you got the info.


Top
 Profile  
 
PostPosted: Thu Dec 01, 2016 9:23 am 
Offline

Joined: Tue Sep 19, 2006 2:22 pm
Posts: 7280
If you go the following URL, it should give you a choice of signing up for the Cloud Hosted deployment, or downloading the On-Site deployment:
https://www.timetrex.com/download.php


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Time and Attendance




Powered by phpBB® Forum Software © phpBB Group