Skip to content

Migration from Version 4.x to 5

QuadStingray edited this page May 2, 2022 · 2 revisions

Because an error in building the MongoDB Containers Version 4.4 and 5.0.x lower than 5.0.6 you have to migrate your MongoDB by hand :-(

Migration Version < 4.4

  1. Update your MongoDB to quadstingray/mongodb:4.4.7
  2. Follow Migrations for >= 4.4

Migration Version >= 4.4

  1. Execute this command with your Favorite MongoDB-Tool db.adminCommand( { setFeatureCompatibilityVersion: "4.2" } ); db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } );
  2. Upgrade to mongocamp/mongodb:5.0.6
  3. Have fun with you MongoDB

OR

  1. Update your MongoDB to mongocamp/mongodb:4.4.13
  2. Have fun with you MongoDB
Clone this wiki locally