No. I’ve tried to give permission in the pg_hba.conf at /var/lib/pgsq/data/pg_hba.conf and restarted the db, as it is suggested in the zammad-backUp-documentary and the postgresql-documentary, but I still get the same error.
At first it said that I had an empty password so I ran the helper script… Now it is telling me this:
pg_dump: /usr/pgsql-14/lib/libpq.so.5: no version information available (required by pg_dump)
pg_dump: error: connection to database “zammad” failed: connection to server at “localhost” (::1), port 5432 failed: FATAL: Ident authentication failed for user “zammad”
ERROR(1) - Database credentials are wrong or database server configuration is invalid.
Also I just upgraded to 5.1 after having issues with the backup, hoping that it was going to fix them. Unfortunately it didn’t help.
It seems that the password in the file {$ZAMMAD_DIR}/config/database.yml is actually invalid. At least, I can’t log in to the postgres server locally using that password.
My backup has been offline since Jan apparently - this isn’t my primary backup method so I didn’t notice until recently.
How did you run the “Back-Up-Script” after the successful re-run of the “Helper-Script”?
Tried it with “su - zammad” and “sudo” but nothing worked, after several re-runs.
Could you look up, if there is a password in your file “/opt/zammad/config/database/database.yml” under #### postgresql config ##### ?
The password-field is empty and out-commented in my file and the back-up-Script onyl sets a Password in the “/opt/zammad/config/database.yml”-file for me.