Ok I downloaded the DB update script  from:

bareos/core/src/cats/ddl/updates/postgresql.2230_2240.sql at master · 
bareos/bareos · GitHub 
<https://github.com/bareos/bareos/blob/master/core/src/cats/ddl/updates/postgresql.2230_2240.sql>

uploaded it to:

/usr/local/lib/bareos/scripts/ddl/updates

and rerun: 

su postgres -c /usr/local/lib/bareos/scripts/update_bareos_tables
su postgres -c /usr/local/lib/bareos/scripts/grant_bareos_privileges

everything is working now.

On Tuesday, December 31, 2024 at 2:06:22 PM UTC-6 Alexander Frankenhauser 
wrote:

> Hello,
> I'm updating bareos from version 23.1 to version 24 on FreeBSD 13.4.
>
> The update goes well until I need to run the database update script:
>
> /usr/local/lib/bareos/scripts/update_bareos_tables
>
> su postgres -c /usr/local/lib/bareos/scripts/update_bareos_tables
> Info: Updating bareos tables
> [: bee: bad number
> Error: Don't know how to upgrade from version 2230 to 2240
>
> I had a similar error when upgrading from a previous version (22 to 23) 
> the issue was that the SQL upgrade script did not make it into the port.
>
> Anybody running into the same issue?
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/bareos-users/7f96f924-a2df-431e-889f-a047547d2859n%40googlegroups.com.

Reply via email to