Bug 26029

Summary: We need to provide any major release of mongodb to allow upgrade
Product: Mageia Reporter: papoteur <yvesbrungard>
Component: RPM PackagesAssignee: Joseph Wang <joequant>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: tmb
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: mongodb CVE:
Status comment:

Description papoteur 2020-01-07 17:11:11 CET
Description of problem:
Upgrading data form mongodb is only possible by installing major release step by step.
For example from 3.6 -> 3.8 -> 4.0 -> 4.2
In Mageia 7, we have now 4.1.4, which is the pre-realease of 4.2.

It can not be launched using data from Mageia 6 which provided 3.2 release. Data can neither be converted because we lack 3.4, 3.6, 3.8 and 4.0.
We have to provide each release to allow at some time to install every intermediate release to migrate data.
See https://docs.mongodb.com/manual/release-notes/4.2/#upgrade-procedures
Comment 1 Thomas Backlund 2020-01-07 17:35:10 CET
Yeah, thats not an option to flood the distro with outdated db versions...

I wonder why we ship broken stuff like this that cant handle upgrades proplerly...

They should really learn from mariadb / mysql how to do this...

Anyway, you should be able to upgrade with mongodump / mongorestore

CC: (none) => tmb

Comment 2 David Walser 2020-01-07 22:55:10 CET
Furthermore because of licensing changes, we can't upgrade this past 4.1.4, and therefore should have dropped this package before Mageia 7 branched, as was discussed on the dev list.  I think we basically have to consider this package unsupported.
Comment 3 papoteur 2020-01-08 09:42:26 CET
Thanks for your responses.
mongodump/mongorestore is surely the way. mongodump has to be launched before the upgrade.
For the Licence, I don't understand it because of the language. I wonder if it in English or in lawyer's jargon.
Comment 4 Lewis Smith 2020-01-08 10:26:58 CET
Re comment 2 it looks regrettably as if we must close this 'wontfix'.

@Yves : if you do manage to upgrade your system to 4.1.4/4.2, please add a comment here to help anyone else with the same problem.

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED