I am running UCS 4.0-1 errata 95. I have installed & configured Univention-Bacula according to the UCS 4 documentation. When the bacula-director service is started in the UMC it reports a successful start but immediately fails. In /var/log/bacula/bacula.log I see:-
06-Mar 15:18 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 14, got 1016
06-Mar 15:18 bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database "bacula".
06-Mar 15:18 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 14, got 1016
06-Mar 15:18 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
So a PostgreSQL database version upgrade seems to be required. I found a script for updating from version 12 to 14 at /user/share/bacula-director/update_postgresql_tables but it returns:-
[code]This script will update a Bacula PostgreSQL database from version 12 to 14
which is needed to convert from Bacula Community version 5.0.x to 5.2.x
The existing database is version 1016 !!
This script can only update an existing version 12 database to version 14.
Error. Cannot upgrade this database.[/code]
I had previously installed Bacula Enterprise via the App Centre but subsequently uninstalled it. Perhaps this is a contributor to this issue? Just looking to see if others have found this behaviour & possible workarounds.