On 08.09.22 at 18:18 wrote [email protected]:
> Hi,
> i have installed the module names
> "bareos-filedaemon-postgresql-python-plugin"
> 
> ...
> root@dsme01:~# dpkg -l bareos-filedaemon-postgresql-python-plugin
> Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
> | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
>          Halb installiert/Trigger erWartet/Trigger anhängig
> |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
> GROSS=schlecht)
> ||/ Name                                       Version      Architektur
>  Beschreibung
> +++-==========================================-============-============-======================================================================
> ii  bareos-filedaemon-postgresql-python-plugin 21.0.0-4     amd64      
>  Backup Archiving Recovery Open Sourced - file daemon PostgreSQL plugin
> ...
> When i start the plugin i see the folling error in the bareos dashboard
> 
> ...
> dsme01-fd JobId 1880: Fatal error: bareosfd: ImportError: No module
> named bareos-fd-postgres
> ...
> Here the input in the plugin folder

Have you verified that you specify the correct module_path in the plugin
configuration?
See
https://docs.bareos.org/TasksAndConcepts/Plugins.html#configuration-of-the-postgresql-plugin

The example in the documentation is based on another platform, where the
module_path is /usr/lib**64**/bareos/plugins

Note: fortunately, the module_path configuration will no longer be
necessary from Bareos >= 22.
> 


> ...
> root@dsme01:~# ls -la /usr/lib/bareos/plugins/
> insgesamt 328
> drwxr-xr-x 2 root root    4096 Sep  8 18:08 .
> drwxr-xr-x 6 root root    4096 Jan 13  2022 ..
> -rw-r--r-- 1 root root   18688 Dez 21  2021 autoxflate-sd.so
> -rw-r----- 1 root bareos  3770 Apr 27  2020 bareos_fd_consts.pyc
> -rw-r--r-- 1 root root    1728 Dez 21  2021 bareos-fd-ldap.py
> -rw-r----- 1 root bareos   622 Jan 14  2022 bareos-fd-ldap.pyc
> -rw-r--r-- 1 root root    1928 Dez 21  2021 bareos-fd-local-fileset.py
> -rw-r----- 1 root bareos  9778 Feb  7  2021 BareosFdMySQLclass.py
> -rw-r----- 1 root bareos  6337 Feb  7  2021 BareosFdMySQLclass.pyc
> -rw-r----- 1 root bareos  1006 Feb  7  2021 bareos-fd-mysql.py
> -rw-r----- 1 root bareos   583 Feb  7  2021 bareos-fd-mysql.pyc
> -rw-r--r-- 1 root root    1057 Mär 16  2019 bareos-fd-percona.py
> -rw-r--r-- 1 root root   19655 Mär 16  2019 BareosFdPercona.py
> -rw-r----- 1 root bareos   645 Mär 16  2019 bareos-fd-percona.pyc
> -rw-r----- 1 root bareos 13473 Mär 16  2019 BareosFdPercona.pyc
> -rw-r----- 1 root bareos   637 Feb  6  2021 bareos-fd-percona-xtrabackup.pyc
> -rw-r--r-- 1 root root   14822 Dez 21  2021 BareosFdPluginBaseclass.py
> -rw-r----- 1 root bareos 13635 Jan 14  2022 BareosFdPluginBaseclass.pyc
> -rw-r--r-- 1 root root   20235 Dez 21  2021 BareosFdPluginLDAP.py
> -rw-r----- 1 root bareos 14456 Jan 14  2022 BareosFdPluginLDAP.pyc
> -rw-r--r-- 1 root root   11204 Dez 21  2021
> BareosFdPluginLocalFilesBaseclass.py
> -rw-r--r-- 1 root root    5173 Dez 21  2021 BareosFdPluginLocalFileset.py
> -rw-r----- 1 root bareos 13222 Feb  6  2021
> BareosFdPluginPerconaXtraBackup.pyc
> -rw-r--r-- 1 root root   24240 Dez 21  2021 BareosFdPluginPostgres.py
> -rw-r--r-- 1 root root    2650 Dez 21  2021 bareos-fd-postgres.py
> -rw-r--r-- 1 root root    2625 Dez 21  2021 BareosFdWrapper.py
> -rw-r----- 1 root bareos  2915 Jan 14  2022 BareosFdWrapper.pyc
> -rw-r--r-- 1 root root   18920 Dez 21  2021 bpipe-fd.so
> -rw-r--r-- 1 root root   23240 Dez 21  2021 python3-fd.so
> -rw-r--r-- 1 root root   23240 Dez 21  2021 python-fd.so
> ...
> 
> What can i do?
> 
> Thanks for the hint
> 
> -- 
> 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:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/7946203a-4665-4525-ae8c-5175ef3cdd4bn%40googlegroups.com
> <https://groups.google.com/d/msgid/bareos-users/7946203a-4665-4525-ae8c-5175ef3cdd4bn%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 
 Jörg Steffens                   [email protected]
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 http://www.bareos.com           Fax:   +49 221 630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. 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 on the web visit 
https://groups.google.com/d/msgid/bareos-users/tffp19%24ci9%241%40ciao.gmane.io.

Reply via email to