[Bug 579924] [NEW] Upgrading Ubuntu LTS skips database version - Fatal error: Version error for database "bacula". Wanted 12, got 10

Kern Sibbald kern at sibbald.com
Thu May 13 13:51:35 BST 2010


It appears that the upgrade process attempted to upgrade two versions of the 
database at one time.  Bacula only supports upgrading one version at a time, 
so from database version 10, you must first apply the scripts that do the 
upgrade to version 11, and then apply the upgrade scripts that upgrade from 
version 11 to version 12.

All the scripts for an upgrade from the prior version to the version of the 
current release are found in <bacula>/src/cats ...

All scripts for making an upgrade from an old version to a newer version (e.g. 
8 to 9 or 10 to 11) are kept in <bacula>/updatedb.  These scripts may need 
some manual editing to get the install locations to match where your database 
is installed.

Kern


On Thursday 13 May 2010 13:59:48 Tomasz wrote:
> Public bug reported:
>
> Binary package hint: bacula
>
> After upgrading Ubuntu from 8.04 LTS to 10.04 LTS backup software Bacula
> stopped working, starting bacula-director MySQL version results in:
>
> bacula-dir JobId 0: Fatal error: Version error for database "bacula".
> Wanted 12, got 10
>
>
> During upgrade Bacula was upgraded from 2.2 series (db version 10) to 5.0
> (db version 12), dpkg.log shows.
>
> 2010-05-12 21:16:32 upgrade bacula-director-mysql 2.2.8-5ubuntu7.2
> 5.0.1-1ubuntu1
>
>
> and /usr/share/bacula-director/update_mysql_tables upgrades only from db
> version 11:
>
> This script will update a Bacula MySQL database from version 11 to 12
>  which is needed to convert from Bacula Enterprise 2.6 to 4.0 or
>  Standard version 3.0 to 5.0
>
>
> I expected to have the database upgraded from version 10 to 12 when
> upgrading Ubuntu LTS series.
>
> ** Affects: bacula
>      Importance: Undecided
>          Status: New
>
> ** Affects: bacula (Ubuntu)
>      Importance: Undecided
>          Status: New
>
> ** Also affects: bacula
>    Importance: Undecided
>        Status: New

-- 
Upgrading Ubuntu LTS skips database version - Fatal error: Version error for database "bacula". Wanted 12, got 10
https://bugs.launchpad.net/bugs/579924
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.



More information about the Ubuntu-server-bugs mailing list