Unable to install Timetrex on Ubuntu

Ask your questions regarding TimeTrex installation here.
Post Reply
gabykant
Posts: 1
Joined: Sat Jul 06, 2019 6:10 pm

Unable to install Timetrex on Ubuntu

Post 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 4734 times
db.png
db.png (41.92 KiB) Viewed 4734 times
3.png
3.png (68.8 KiB) Viewed 4734 times
4.png
4.png (47.38 KiB) Viewed 4734 times
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Unable to install Timetrex on Ubuntu

Post 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.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Unable to install Timetrex on Ubuntu

Post 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
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Post Reply