Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.27k stars 2.73k forks source link

Wrong database superuser during installation with PostgreSQL #23428

Open rmaziere opened 1 year ago

rmaziere commented 1 year ago

Bug

There is a problem during the installation for a new deployment when you choose PostgreSQL as DBMS. I've selected psql as db_type in the form but the app try to connect to Postgresql with root.

Environment Version

16.0.3

Environment OS

Debian

Environment Web server

Apache

Environment PHP

7.4

Environment Database

Postgresql 13

Environment URL(s)

http://127.0.0.1/dolibarr/install/fileconf.php

Expected and actual behavior

No response

Steps to reproduce the behavior

During the installation process on http://127.0.0.1/dolibarr/install/fileconf.php I selected psql as db_type. When you do that, the db_user_root input is updated with "postgres", BUT on the next page, I have an error message about the db connexion. In the postgresql logs I have : log root@postgres FATAL: password authentication failed for user "root"

Attached files

No response

ksar-ksar commented 9 months ago

Hello,

Is it still the case for newer Dolibarr versions ?

rmaziere commented 9 months ago

Hello, I can't answer. I didn't test this new version.