Hi Stefan

the problem seems to be that the file daemon could not load the python plugin.  This normally happens on _startup_ of the file daemon. Could you start the file daemon manually with the options `-f -d1000` and post that output ? It should contain some messages regarding the initial loading of the plugin.

Kind Regards
Sebastian Sura

Am 28.10.24 um 16:36 schrieb Stefan Harbich:
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=18653920751 28-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 --
You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/bareos-users/6a8cd098-8ef6-4bc1-9ed7-23ae317c03c4n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/6a8cd098-8ef6-4bc1-9ed7-23ae317c03c4n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
 Sebastian [email protected]
 Bareos GmbH & Co. KG            Phone: +49 221 630693-0
 https://www.bareos.com
 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/20a31b71-1cfc-4c89-8587-075006e4197e%40bareos.com.

Reply via email to