Page 1 of 1

Unable to import ANY data

Posted: Fri May 18, 2018 2:09 am
by RevDarkman
Hi all

Just install 11.2.2 on Ubuntu with PHP 7 and apache 2 with postgres.

Install works fine, adding data manually works fine, everything in the interface works as it should but none of the importing works, stop saying ERROR: Unable to upload file."

This happens at stage 2 of the import, upon clicking next after selecting the file.

Re: Unable to import ANY data

Posted: Fri May 18, 2018 9:05 am
by mikeb
Likely a permissions issue, you will need to enable debug logging and attach the log here. For instructions on doing that please see: viewtopic.php?f=6&t=89

Re: Unable to import ANY data

Posted: Mon May 21, 2018 1:51 am
by RevDarkman
I have enabled debug but am getting no logs. /var/log/timetrex is empty... I'll keep at it!

Manually entering data works just fine...

Re: Unable to import ANY data

Posted: Mon May 21, 2018 2:21 am
by RevDarkman

Code: Select all

Cannot serve directory /usr/share/timetrex/html/interface/install/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
Here's the only error I have found so far..

Re: Unable to import ANY data

Posted: Mon May 21, 2018 7:32 am
by RevDarkman
Fixed by changing the permissions of:

/var/lib/timetrex
/var/cache/timetrex


to 775

Re: Unable to import ANY data

Posted: Tue May 22, 2018 4:56 pm
by mikeb
During the installation process System Requirements check it should check and notify you have any permission problems.

Re: Unable to import ANY data

Posted: Fri May 25, 2018 5:16 am
by RevDarkman
Well it didn't for some reason, but all ok now and testing continues!