[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2011-09-19 Thread Ubuntu QA's Bug Bot
** Tags added: testcase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/658227 Title: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-20 Thread Andrew Schulman
Yay! Thanks guys, that was fast work. -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message) https://bugs.launchpad.net/bugs/658227 You received this bug notification because you

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-20 Thread Launchpad Bug Tracker
This bug was fixed in the package openldap - 2.4.23-0ubuntu3.2 --- openldap (2.4.23-0ubuntu3.2) maverick-proposed; urgency=low * debian/slapd.templates: re-add slapd/move_old_database template as it's used during the package upgrade. Thanks to James Page for pointing it. * deb

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-20 Thread Martin Pitt
Copied to natty as well. ** Changed in: openldap (Ubuntu Natty) Status: Triaged => Fix Released -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message) https://bugs.launchp

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-18 Thread James Page
Tested successfully on full upgrade from Lucid to Maverick using do- release-upgrade -d. -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message) https://bugs.launchpad.net/bugs/658

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-18 Thread Martin Pitt
** Tags added: verification-done ** Tags removed: verification-needed -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message) https://bugs.launchpad.net/bugs/658227 You received th

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-18 Thread James Page
Tested upgrade from Lucid ((slapd-2.4.21-0ubuntu5.3) -> Maverick (2.4.23-0ubuntu3) -> Maverick (2.4.23-0ubuntu3.2). Manual recovery steps as detailed in this bug still required as first step of upgrade process left underlying database in an in-accessible state. This is the expected behaviour in

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-18 Thread James Page
Tested successfully when upgrading slapd from Lucid (slapd-2.4.21-0ubuntu5.3) -> Maverick (2.4.23-0ubuntu3.2). Database dumped, backed-up and reloaded post upgrade OK. -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't ma

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-15 Thread Martin Pitt
Accepted openldap into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: openldap (Ubuntu Mave

Re: [Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-15 Thread James Page
On Fri, 2010-10-15 at 13:18 +, Nathan Stratton Treadway wrote: > James, would you also be able to re-try an upgrade from Lucid to the > current Maverick version (slapd 2.4.23-0ubuntu3), and then confirm that > the "slapcat" command does fail at that point (i.e. without having done > the manual

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-15 Thread Nathan Stratton Treadway
James, would you also be able to re-try an upgrade from Lucid to the current Maverick version (slapd 2.4.23-0ubuntu3), and then confirm that the "slapcat" command does fail at that point (i.e. without having done the manually recovery steps)? (I'd just like to be sure that once 2.4.23-0ubuntu3 is

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-15 Thread James Page
I have capability to easily test both a clean upgrade scenario and one where an existing upgrade to ubuntu3 has already failed. As soon as the package is in maverick-proposed I will pick this up. -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Pr

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Mathias Gug
Thanks Nathan and James for the comments on ubuntu3.1. I've uploaded a new version ubuntu3.2 to maverick-proposed. I haven't been able to thoroughly test the ubuntu3.2 packages as my testing environment is currently broken. Please test the ubuntu3.2 packages and report any failure in package new

Re: [Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Nathan Stratton Treadway
On Thu, Oct 14, 2010 at 19:07:47 -, Mathias Gug wrote: > I've uploaded a fix to maverick-update: How long before this new version will be available by default for a user upgrading to Maverick? Would it make sense to add a Maverick Release Note mentioning this error and advising users with the

Re: [Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Nathan Stratton Treadway
On Thu, Oct 14, 2010 at 19:07:47 -, Mathias Gug wrote: > + if dpkg --compare-versions "$OLD_VERSION" lt-nl 2.4.23-0ubuntu3.1; then > return 0 > else > > > That will force a database dump for every upgrade to > maverick. This is the same fix as in Debian (modulo the > p

Re: [Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Nathan Stratton Treadway
On Thu, Oct 14, 2010 at 17:47:19 -, Steve Langasek wrote: > Ah, you're probably right then and I'm just > misremembering how this was > handled in Debian. Looking through the Debian changelog, it appears that there was a similar problem between 2.4.23-1 and 2.4.23-4. The switch to libdb4.8 w

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Mathias Gug
I've uploaded a fix to maverick-update: --- openldap-2.4.23/debian/slapd.scripts-common +++ openldap-2.4.23/debian/slapd.scripts-common @@ -46,7 +46,7 @@ # Return success if yes. # Usage: if database_format_changed; then - if dpkg --compare-versions "$OLD_VERSION" lt-nl 2.4.14; then +

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Mathias Gug
Marking the lucid task invalid as this needs to be fixed in maverick. ** Also affects: openldap (Ubuntu Maverick) Importance: Undecided Status: New ** Changed in: openldap (Ubuntu Maverick) Assignee: (unassigned) => James Page (james-page) ** Changed in: openldap (Ubuntu Lucid)

Re: [Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread James Page
On Thu, 2010-10-14 at 16:31 +, Steve Langasek wrote: > > ** Also affects: openldap (Ubuntu Lucid) >Importance: Undecided >Status: New > > ** Also affects: openldap (Ubuntu Natty) >Importance: High > Assignee: James Page (james-page) >Status: In Progress > > ** Ch

Re: [Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Steve Langasek
On Thu, Oct 14, 2010 at 05:32:03PM -, Nathan Stratton Treadway wrote: > On Thu, Oct 14, 2010 at 16:31:20 -, Steve Langasek wrote: > > That's not unavoidable; just bump the minimum version check to the > > maverick release version instead of the lucid version. New > > installations of maver

Re: [Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Nathan Stratton Treadway
On Thu, Oct 14, 2010 at 16:31:20 -, Steve Langasek wrote: > That's not unavoidable; just bump the minimum version check to the > maverick release version instead of the lucid version. New > installations of maverick will get an excess database dump/restore, but > the upgrade will be clean for

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Steve Langasek
For natty, this should be addressed by merging the latest version of the Debian package. -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message) https://bugs.launchpad.net/bugs/658

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Steve Langasek
That's not unavoidable; just bump the minimum version check to the maverick release version instead of the lucid version. New installations of maverick will get an excess database dump/restore, but the upgrade will be clean for everyone. (This is what was done in the Debian package, fwiw.) ** Al

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread Nathan Stratton Treadway
I think this proposed patch will not do anything to help people who've already upgraded from Lucid to Maverick, but who have just left the package half-configured because of this problem (since it won't trigger the upgrade if the $OLD_VERSION is "2.4.23-0ubuntu3", for example). I guess that's unav

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-14 Thread James Page
** Description changed: + IMPACT: + Currently all configured openldap installations being upgraded from Lucid -> Maverick will fail due to underlying database version incompatibility. + + FIX: + slapd install/upgrade scripts already have functionality to dump existing ldap databases and re-load

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~james-page/ubuntu/maverick/openldap/openldap- fix-658227 -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message) https://bugs.launchpad.net/bugs/658227 You re

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-13 Thread James Page
** Changed in: openldap (Ubuntu) Status: Triaged => In Progress ** Changed in: openldap (Ubuntu) Assignee: (unassigned) => James Page (james-page) -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match envir

[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

2010-10-12 Thread Thierry Carrez
** Changed in: openldap (Ubuntu) Importance: Low => High -- upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message) https://bugs.launchpad.net/bugs/658227 You received this bug not