Page 1 of 1

Unable to install Timetrex on Ubuntu

Posted: Tue Jul 16, 2019 9:33 pm
by gabykant
Ubuntu 18.04.11
PHP 7.2.19
Postgres 10.9

I have install the package from .deb on ubuntu. Everything went well but since I'm trying to finish the installation from the install/install.php I'm getting a database error

- File permission is ok
- Database user and password are ok
But the database cannot be install with the error Cannot not connect to the database.
I have checked from the command line and the username and password can connect to postgres.

What may be the problem here ?
version.png
version.png (37.7 KiB) Viewed 5002 times
db.png
db.png (41.92 KiB) Viewed 5002 times
3.png
3.png (68.8 KiB) Viewed 5002 times
4.png
4.png (47.38 KiB) Viewed 5002 times

Re: Unable to install Timetrex on Ubuntu

Posted: Fri Jul 19, 2019 11:24 am
by mikeb
PostgreSQL has restrictions based on how/where connections can be made from in the pg_hba.conf file, so that could be blocking access. I would try using a blank database host name first though and see if that works.

You can also check the timetrex log file for a more detailed error message.

Re: Unable to install Timetrex on Ubuntu

Posted: Mon Jul 29, 2019 3:57 pm
by mikeb
If you are running PostgreSQL 10.9, we have posted a quick guide on how to work around the PostgreSQL bug that is affecting new TimeTrex installs here:
viewtopic.php?f=6&t=7837