Hello,
after Debian update from version 11 to 12 the bareos-fd-postgresql plugin no longer works. I get the following error message:
...
28-Okt 16:19 bareos-dir JobId 2317: Start Backup JobId 2317, Job=backup-postgresql.2024-10-28_16.19.33_10
28-Okt 16:19 bareos-dir JobId 2317: Connected Storage daemon at
bareos.intern.example.com:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
28-Okt 16:19 bareos-dir JobId 2317: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
28-Okt 16:19 bareos-dir JobId 2317: Probing client protocol... (result will be saved until config reload)
28-Okt 16:19 bareos-dir JobId 2317: Connected Client: bareos-fd at
dsme01.intern.example.com:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
28-Okt 16:19 bareos-dir JobId 2317: Handshake: Immediate TLS
28-Okt 16:19 bareos-dir JobId 2317: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
28-Okt 16:19 bareos-dir JobId 2317: Using Device "FileStorage" to write.
28-Okt 16:19 dsme01-fd JobId 2317: Connected Storage daemon at
bareos.intern.example.com:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
28-Okt 16:19 dsme01-fd JobId 2317: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
28-Okt 16:19 dsme01-fd JobId 2317: Extended attribute support is enabled
28-Okt 16:19 dsme01-fd JobId 2317: ACL support is enabled
28-Okt 16:19 bareos-sd JobId 2317: Moving to end of data on volume "Full-0195"
28-Okt 16:19 bareos-sd JobId 2317: Ready to append to end of Volume "Full-0195" size=
1865392075128-Okt 16:19 dsme01-fd JobId 2317: Fatal error: filed/fd_plugins.cc:665 PluginSave: Command plugin "python:module_name=bareos-fd-postgresql:db_host=/run/postgresql/:wal_archive_dir=/media/usb/backups/
dsme01.intern.example.com/postgresql/wal_archives/" requested, but is not loaded.
...
I have tried almost 30 different configurations:
- Changed permissions in the plugin directory
- Installed the pip package pg8000 under the user root, bareos and postgres
- Made adjustments to the configuration on the FileDaemon and DirectorDaemon (python or python3)
- Installed the operating system package python-pg8000, but has a low version (1.10.6-3)
Started the plugin over 30 times => an E R R O R every time!
Everything worked fine under Debian 11.
I need support.
Greetings from Stefan Harbich