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:
Dear fellow Bareos users,

as I already mentioned last week, the current repository now contains Bareos 23.

If you're running off that repository, the next update will be a major version upgrade also requiring an upgrade to the catalog database. If you don't read anything else before applying the upgrade, please at least look at the list of breaking changes in the ChangeLog[1].

I hope you all enjoy the new features. We're really looking forward getting feedback from you!

Best Regards,
Andreas

[1] https://github.com/bareos/bareos/blob/bareos-23/CHANGELOG.md

--
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/0e262b9d-aab1-43e7-a4da-fe8ac927547c%40musicdna.com.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to