Hi Stefan,I have no Debian system but have you controlled if you really have a Python 2 on the Debian 12 server?
As far as I know you have to use "python3:module_path=..." for the new modules with python3.
Best Silvio Am 28.10.24 um 16:34 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.harnet.de: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.harnet.de:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.328-Okt 16:19 bareos-dir JobId 2317: Handshake: Immediate TLS28-Okt 16:19 bareos-dir JobId 2317: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.328-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.328-Okt 16:19 dsme01-fd JobId 2317: Extended attribute support is enabled 28-Okt 16:19 dsme01-fd JobId 2317: ACL support is enabled28-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] <mailto:bareos- [email protected]>. To view this discussion visit https://groups.google.com/d/msgid/bareos- users/8f7c4852-1a75-4552-9de5-ee178b9d346an%40googlegroups.com <https:// groups.google.com/d/msgid/bareos-users/8f7c4852-1a75-4552-9de5- ee178b9d346an%40googlegroups.com?utm_medium=email&utm_source=footer>.
-- Silvio Schloeffel | CIO [email protected] Tel. +49 3677 2094 840 the evolution of music continues MusicDNA GmbH Schwanitzstrasse 6, 98693 Ilmenau, Germany Phone: +49 3677 2094 840 | Fax: +49 322 298 222 00 Steuer-NR.: DE 156/114/04317 Handelsregisterzeichen: HRB Jena 517208, Geschäftsführer: Sebastian Schmidt www.musicdna.com -- 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/51f39271-aedc-45c6-9acb-9d408be65152%40musicdna.com.
OpenPGP_signature.asc
Description: OpenPGP digital signature
