System Check Acceptance Issue

Ask your questions regarding TimeTrex installation here.
Post Reply
bjburrisnc
Posts: 8
Joined: Tue Nov 29, 2016 8:21 am

System Check Acceptance Issue

Post by bjburrisnc » Tue Nov 29, 2016 8:24 am

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 1738 times

shaunw
Posts: 7353
Joined: Tue Sep 19, 2006 2:22 pm

Re: System Check Acceptance Issue

Post by shaunw » Tue Nov 29, 2016 9:35 am

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.

bjburrisnc
Posts: 8
Joined: Tue Nov 29, 2016 8:21 am

Re: System Check Acceptance Issue

Post by bjburrisnc » Tue Nov 29, 2016 10:51 am

I have checked and the files are writable.

jarrett125
Posts: 125
Joined: Tue Aug 23, 2016 11:44 am

Re: System Check Acceptance Issue

Post by jarrett125 » Tue Nov 29, 2016 11:19 am

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.

bjburrisnc
Posts: 8
Joined: Tue Nov 29, 2016 8:21 am

Re: System Check Acceptance Issue

Post by bjburrisnc » Wed Nov 30, 2016 8:18 am

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 57 times

jarrett125
Posts: 125
Joined: Tue Aug 23, 2016 11:44 am

Re: System Check Acceptance Issue

Post by jarrett125 » Wed Nov 30, 2016 9:02 am

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

bjburrisnc
Posts: 8
Joined: Tue Nov 29, 2016 8:21 am

Re: System Check Acceptance Issue

Post by bjburrisnc » Wed Nov 30, 2016 9:13 am

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.

jarrett125
Posts: 125
Joined: Tue Aug 23, 2016 11:44 am

Re: System Check Acceptance Issue

Post by jarrett125 » Wed Nov 30, 2016 9:26 am

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.

shaunw
Posts: 7353
Joined: Tue Sep 19, 2006 2:22 pm

Re: System Check Acceptance Issue

Post by shaunw » Wed Nov 30, 2016 9:50 am

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: Select all

chown -R <web server user> <file or dir>
For example:

Code: Select all

chown -R apache.apache /var/www/html/TimeTrex

Code: Select all

chown -R apache.apache /tmp/timetrex
That will should fix things in a secure way without breaking anything else.

bjburrisnc
Posts: 8
Joined: Tue Nov 29, 2016 8:21 am

Re: System Check Acceptance Issue

Post by bjburrisnc » Wed Nov 30, 2016 10:52 am

Still a no go.

shaunw
Posts: 7353
Joined: Tue Sep 19, 2006 2:22 pm

Re: System Check Acceptance Issue

Post by shaunw » Wed Nov 30, 2016 11:01 am

Please post an updated screenshot showing any differences in the error messages.

bjburrisnc
Posts: 8
Joined: Tue Nov 29, 2016 8:21 am

Re: System Check Acceptance Issue

Post by bjburrisnc » Wed Nov 30, 2016 11:04 am

Here you go.
Attachments
Error2.PNG
Error2.PNG (82.29 KiB) Viewed 1711 times

shaunw
Posts: 7353
Joined: Tue Sep 19, 2006 2:22 pm

Re: System Check Acceptance Issue

Post by shaunw » Wed Nov 30, 2016 12:11 pm

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?

bjburrisnc
Posts: 8
Joined: Tue Nov 29, 2016 8:21 am

Re: System Check Acceptance Issue

Post by bjburrisnc » Wed Nov 30, 2016 1:46 pm

No I was not aware of that. How do we get access to it?

shaunw
Posts: 7353
Joined: Tue Sep 19, 2006 2:22 pm

Re: System Check Acceptance Issue

Post by shaunw » Wed Nov 30, 2016 2:12 pm

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.

bjburrisnc
Posts: 8
Joined: Tue Nov 29, 2016 8:21 am

Re: System Check Acceptance Issue

Post by bjburrisnc » Thu Dec 01, 2016 5:42 am

We are located in Indiana. Not sure where you got the info.

shaunw
Posts: 7353
Joined: Tue Sep 19, 2006 2:22 pm

Re: System Check Acceptance Issue

Post by shaunw » Thu Dec 01, 2016 9:23 am

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

Post Reply