bareos 23 to 24 upgrade - FreeBSD

34 views
Skip to first unread message

Alexander Frankenhauser

unread,
Dec 31, 2024, 3:06:22 PM12/31/24
to bareos-users
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?

Alexander Frankenhauser

unread,
Dec 31, 2024, 3:38:10 PM12/31/24
to bareos-users
Ok I downloaded the DB update script  from:


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.

Bruno Friedmann (bruno-at-bareos)

unread,
Jan 2, 2025, 2:54:04 AM1/2/25
to bareos-users
Oh that's bad if it is missing in terms of packaging, would you mind to create an issue on github ?
Reply all
Reply to author
Forward
Message has been deleted
0 new messages