YunoHost-Apps / fittrackee_ynh

FitTrackee package for YunoHost 🚴
https://samr1.github.io/FitTrackee
GNU Affero General Public License v3.0
4 stars 1 forks source link

FitTrackee Installation Error: PostgreSQL Authentication Failed for User 'fittrackee' #90

Open TestDesk opened 1 week ago

TestDesk commented 1 week ago

Hello, During the installation of the FitTrackee app on YunoHost, an authentication error occurred when connecting to the database. The installation script failed to connect to the PostgreSQL database because the user "fittrackee" was denied due to a "Peer Authentication" setting. The error "Peer authentication failed for user 'fittrackee'" suggests that the authentication method in PostgreSQL needs to be adjusted to allow password-based authentication (e.g., "md5") or to modify the configuration.

Question: Could you please modify the PostgreSQL configuration file (pg_hba.conf) so that the "fittrackee" user can access the database using the "md5" authentication method and ensure that a password is set for this user?

THX

YunoHost 12.0.6 (stable)

Thovi98 commented 1 week ago

It should be managed by the Yunohost core… Could you please try to regenconf postgresql by yunohost tools regen-conf postgresql --with-diff and see if it changes peer to md5?

And what do you have in your /etc/postgresql/ directory?