Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade MongoDB deployment to v5 #611

Closed
make-github-pseudonymous-again opened this issue Feb 27, 2023 · 1 comment
Closed

Upgrade MongoDB deployment to v5 #611

make-github-pseudonymous-again opened this issue Feb 27, 2023 · 1 comment
Labels
deploy This issue is about deployment

Comments

@make-github-pseudonymous-again
Copy link
Contributor

No description provided.

@make-github-pseudonymous-again
Copy link
Contributor Author

Procedure was as follows:

Start with an initial backup.

Check that the compatibility version is at 4.4:

npx mup ... mongo shell
> db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
...

Replace version: 4.4 by version: 5.0 for the mongo entry in mup.js and run npx mup ... setup.

Make an intermediary backup.

Set compatibility version to 5.0:

npx mup ... mongo shell
> db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } )
...

End with a final backup.

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy This issue is about deployment
Projects
Status: Done
Development

No branches or pull requests

1 participant