I'm running Barcus Bareos DIR/FD/WebUI docker containers. It took me a
bit, but I think I was able to migrate to PostgreSQL from my MariaDB. I'm
currently running the 20-ubuntu tag from Barcus, which appears to be
PostgreSQL only. When I move to the "latest" tag (Bareos 21 with Ubuntu)
the director container never starts up and is constantly restarting (I have
restart set to always in the docker-compose file). These are the errors I
see in the docker log for the Director container:
Waiting for postgresql...
bareos-db:5432 - accepting connections
...postgresql is alive
bareos-dir: dird/check_catalog.cc:64-0 Could not open Catalog "MyCatalog",
database "bareos".
bareos-dir: dird/check_catalog.cc:71-0 Version error for database "bareos".
Wanted 2210, got 2192
bareos-dir ERROR TERMINATION
Please correct the configuration in /etc/bareos/bareos-dir.d/*/*.conf
For reference, bareos-db is another docker container running postgres 9.3
from their official docker hub. The old MariaDB container was named
"mariadb". In the docker-compose file, I have the DB_UDPATE=TRUE. I'm not
seeing anything in the 21 release notes mentioning a DB schema update.
This is the MyCatalog.conf file:
Catalog {
Name = MyCatalog
#dbdriver = "sqlite3"
DB Name = bareos
DB Address = "bareos-db"
DB Port = "5432"
DB User = postgres
DB Password = "PASSWORD"
}
Here is the bareos-dir.conf:
Director { # define myself
Name = bareos-dir
QueryFile = "/usr/lib/bareos/scripts/query.sql"
Maximum Concurrent Jobs = 10
Password = "PASSWORD" # Console password
Messages = Daemon
Auditing = yes
}
Any assistance would be appreciated. Thanks.
Jim
--
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/d16c2315-9c65-4533-abc8-0787468cda90n%40googlegroups.com.