In /var/log/bareos/bareos.log:

05-Jan 11:05 bareos-dir JobId 0: Fatal error: Version error for database 
"bareos". Wanted 2230, got 2210
05-Jan 11:05 bareos-dir JobId 0: Fatal error: Could not open Catalog 
"MyCatalog", database "bareos".
05-Jan 11:05 bareos-dir JobId 0: Fatal error: Version error for database 
"bareos". Wanted 2230, got 2210
05-Jan 11:05 bareos-dir ERROR TERMINATION
Please correct the configuration in 
/usr/local/etc/bareos/bareos-dir.d/*/*.conf


Seems the upgrade of bareos-dir failed as it was expecting the database to 
be version 2230 but it's at 2210. 

Anyone know how to upgrade the database to 2230?


On Friday, January 5, 2024 at 10:58:35 AM UTC-8 Peter Kropf wrote:

> I'm trying to upgrade my Bareos installation on a FreeBSD server from 
> version 22 to 23. After updating the repository via 
> add_bareos_repositories.sh from my subscription, I ran pkg upgrade. That 
> resulted in 
>
> [bare2] [9/9] Extracting bareos.com-director-23.0.0: 100%
> pkg: Failed to execute lua script: [string "-- args: 
> "etc/bareos/bareos-dir.d/fileset/Win..."]:3: ')' expected near 'etc'
> pkg: lua script failed
> pkg: Failed to execute lua script: [string "-- args: 
> "etc/bareos/bareos-dir.d/fileset/Win..."]:3: ')' expected near 'etc'
> pkg: lua script failed
>
> Anyone successfully upgraded from 22 to 23? Any insights into what needs 
> to happen to fix this?
>
> Full output of upgrade is attached.
>
> - Peter
>
>

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/6f62229b-53cd-4c2b-8d38-75fd1459bb2bn%40googlegroups.com.

Reply via email to