Hello,
I always get this error message when starting the postgresql plugin:
...
dsme01-fd JobId 2723: Fatal error: python3-fd-mod: Could not connect to database bareos, user bareos, host: localhost: server requesting MD5 password authentication, but no password was provided
...
The password I use here in the configuration is correct.
...
root@dsme01:~# cat /etc/bareos/bareos-dir.d/fileset/plugin-postgresql.conf
FileSet {
Name = "plugin-postgresql"
Include {
Options {
compression=GZIP
signature = MD5
}
Plugin = "python"
":dbuser=bareos"
":dbname=bareos"
":dbHost=localhost"
":dbpassword=bareos"
":module_name=bareos-fd-postgres"
":postgresDataDir=/var/lib/postgresql/12/base"
":walArchive=/media/usb/backups/
dsme01.intern.harnet.de/postgresql/wal_archives/"
}
}...
See terminal login with password bareos:
...
root@dsme01:~# psql -U bareos -h 127.0.0.1 -W
Passwort: bareos
psql (12.13 (Debian 12.13-1.pgdg100+1))
Geben Sie »help« für Hilfe ein.
bareos=>
...
But not recognized in Bareos. Why?