Hello Andreas,
nice to hear, we gave it a try and ....
Nov 24 16:59:50 storage-serv.xxx bareos-dir[244550]: bareos-dir:
dird/check_catalog.cc:68-0 Version error for database "bareos". Wanted
2230, got 2210
Nov 24 16:59:50 storage-serv.xxx bareos-dir[244550]: bareos-dir ERROR
TERMINATION
[bareos@storage-serv ~]$ bareos-dbcheck -b
24-Nov 17:03 dbcheck JobId 0: Fatal error: Version error for database
"bareos". Wanted 2230, got 2210
24-Nov 17:03 dbcheck: Fatal Error at dird/dbcheck.cc:932 because:
Version error for database "bareos". Wanted 2230, got 2210
Follow the db upgrade instructions:
[root@storage-serv catalog]# su postgres -c
/usr/lib/bareos/scripts/update_bareos_tables
COMMIT
SET
ANALYZE
could not change directory to "/etc/bareos/bareos-dir.d/catalog": Keine
Berechtigung
could not change directory to "/etc/bareos/bareos-dir.d/catalog": Keine
Berechtigung
Info: Finished upgrading database to version 2230
It's clear that the postgres user can not write in the configdir of
another process/user .
What will the upgrade do in the bareos dir?
Best
Silvio
Am 24.11.23 um 16:23 schrieb Andreas Rogge: