Bacula-users

[Bacula-users] Bacula 5.0.0 database version / upgrade scipt missing

2010-02-03 13:22:49
Subject: [Bacula-users] Bacula 5.0.0 database version / upgrade scipt missing
From: "Timo Neuvonen" <timo-news AT tee-en DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 3 Feb 2010 20:17:46 +0200
I just downloaded 5.0.0 srpm from SF, built the 64-bit rpm binaries for 
CentOS 5 w/ MySQL, and upgraded the previous 3.0.3 system with rpm -Uvh...

After this upgrade, the director doesn't start, writes this into log:

03-Feb 19:40 bacula-dir JobId 0: Fatal error: Version error for database 
"bacula". Wanted 12, got 11
03-Feb 19:40 bacula-dir JobId 0: Fatal error: Could not open Catalog 
"MyCatalog", database "bacula".
03-Feb 19:40 bacula-dir JobId 0: Fatal error: Version error for database 
"bacula". Wanted 12, got 11
03-Feb 19:40 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf


So, the upgrade obviously didn't upgrade the catalog automatically.
As a next thing, I also installed
bacula-updatedb-5.0.0-1.x86_64.rpm
(I didn't check what scripts existed before, that was stupid but it's just 
me...)

Now, /usr/lib64/bacula/updatedb contains among other older files:
-rwxr-xr-x 1 root bacula  2059 Feb  3 19:27 update_mysql_tables_10_to_11
-rw-r--r-- 1 root bacula  2066 Jan 25 09:56 update_mysql_tables_10_to_11.in

This upgrade only installed 10-to-11 upgrade script (today's date).

Version 5.0.0 release notes say the new database version is 12, like the 
error message is requesting.

Where can I find the proper 11-to-12 MySQL catalog update script?

--
TiN 



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Bacula 5.0.0 database version / upgrade scipt missing, Timo Neuvonen <=