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

2012-08-30 Thread James Page
** No longer affects: linux (Ubuntu) ** Changed in: bacula Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/579924 Title: Upgrading Ubuntu LTS skips

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

2012-08-30 Thread James Page
As this bug is still being updated with comments I'm assuming its still impacting people. I took a look at the bacula packages in Lucid - they should be using dbconfig-common to do DB upgrades during packaging upgrade and I can see the required update scripts at version 3.0.0 (version 11) and

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

2012-08-30 Thread James Page
Setting up bacula-director-mysql (5.0.1-1ubuntu1) ... Installing new version of config file /etc/bacula/scripts/delete_catalog_backup ... Installing new version of config file /etc/bacula/scripts/make_catalog_backup ... debconf: Unknown template field '_description', in stanza #9 of

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

2012-08-30 Thread James Page
The output in #20 was an upgrade from 8.04 to 10.04. I was prompted during upgrade as to whether I wanted to configure the database using dbconfig-common; to which I said yes and then provided the required details in terms of passwords. AFAICT the bacula director seem to be functional post

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

2012-08-30 Thread Kern Sibbald
Hello, The upgrade scripts used to update from one Bacula DB schema to the next are kept in bacula-src/src/cats and have names that begin with update_ There is one main script named update_bacula_tables (build during the ./configure command from update_bacula_tables.in). This script then calls

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

2012-08-30 Thread James Page
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Kern On 30/08/12 17:20, Kern Sibbald wrote: However, if you are updating Bacula and going from say version 1.38 to version 5.2.x, you may have several DB updates to make. These must be done one at a time, which can be slightly painful to

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

2012-04-19 Thread Martin
I am a litte bit surprised: Bacula is NOT an universe package and a LTS to LTS upgrade is broken (8.04 to 10.04). But noone takes care of this issue - even after 2 years... And yes, I am affected by this problem: An upgrade from 8.04 to 10.04 does not work as expected. -- You received this

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

2012-04-19 Thread Kern Sibbald
Hello, Disclaimer: I don't have anything to do with LTS (other than I develop on a Ubuntu system), so I cannot resolve the Ubuntu problem. However, I suggest you download the source, either from the Ubuntu source or from Source Forge and look in the updatedb directory. It has all the scripts you

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

2012-03-11 Thread Joni-Pekka Kurronen
** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/579924 Title: Upgrading Ubuntu LTS skips database version

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

2012-03-09 Thread Joni-Pekka Kurronen
hi, Same here 11.10 to 12.4 upgrade,... SQL version nalso must change in this transition,.. dose not help dumping and reloading,... -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu.

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

2012-03-09 Thread Kern Sibbald
It looks like the Bacula version has changed between LTS versions, and in the change, the Bacula catalog database changed format, so it has a new version number. Updating the Bacula catalog is done automatically in rpms, but probably not in .debs. You must apply an update script that you can

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

2012-03-09 Thread Joni-Pekka Kurronen
hi, Ubuntu 11.10 to 12.4, MySQL 5.0.0 changed to 5.2 My solution was to: To dump old bacula db's to text file mysqldump -u bacula -p --database bacula bacula.txt mysql -u bacula -p bacula.txt Then update version: cd /usr/share/bacula-director gedit update_mysql_tables and chaged line to

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

2011-03-23 Thread PeterNSteinmetz
Also just affected me on upgrade from karmic to lucid, using mysql. This just cost me a couple of hours, so I definitely vote in favor of having this handled properly during upgrade, especially as it affects LTS-LTS upgrades. -- You received this bug notification because you are a member of

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

2010-10-25 Thread Sam
Upgrade from karmic to lucid, using mysql : the karmic db version was 10, and the upgrade script try and fails to upgrade database from version 11 to version 12. -- Upgrading Ubuntu LTS skips database version - Fatal error: Version error for database bacula. Wanted 12, got 10

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

2010-09-02 Thread Mads Bennedbæk
I confirm this bug using postgresql, upgrading from 9.10 to 10.04. -- 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

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

2010-07-29 Thread Ariel Wainer
I confirm this bug using Postgres when upgrading from 8.04 to 10.04. -- 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

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

2010-07-16 Thread Pedro Monteiro
I'm affected, but my 9.10 - 10.04 upgrade will not proceed. I'm stuck on the screen: Configuring bacula-director-mysql with the following error: An error occurred while upgrading the database: ERROR 2002 (HY000): Can't connect to local MySQL server through socket \u2592

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

2010-07-13 Thread nico.coenen
I'm affected too but in my case I upgrade from 9.10 to 10.04. nico -- 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

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

2010-05-25 Thread Manson Thomas
Hi, I'm affected too but in my case I upgrade from 9.10 to 10.04. Thomas. -- 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

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

2010-05-16 Thread Johan Vervloet
For the update script 11_to_12, I modified src/cats/update_mysql_tables.in, made it executable, and started it with '-u root -p' as well. Changed 'bindir' and 'db_name'. -- Upgrading Ubuntu LTS skips database version - Fatal error: Version error for database bacula. Wanted 12, got 10

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

2010-05-14 Thread jmedina
Jim Padel wrote: I would like to confirm both posts. The package from the repos only contain the 11 to 12 update scripts, but to get the 10 to 11 scripts you must obtain the source code from bacula.org, as far as I can tell they do not come with the distro package. I guess you can also

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

2010-05-13 Thread Tomasz
** Description changed: 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

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

2010-05-13 Thread Jim Padel
I would like to confirm both posts. The package from the repos only contain the 11 to 12 update scripts, but to get the 10 to 11 scripts you must obtain the source code from bacula.org, as far as I can tell they do not come with the distro package. -- Upgrading Ubuntu LTS skips database version

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

2010-05-13 Thread Jim Padel
Here is the mysql 10 to 11 update script. Ensure that you modify the script for the correct db_name. Execution is as follows ./update_mysql_tables_10_to_11 -u root -p ** Attachment added: Update bacula-mysql-tables 10 to 11 http://launchpadlibrarian.net/48398862/update_mysql_tables_10_to_11