You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced the issue too.
One big bummer, is the removal of the mmapv1 storage engine. So a migration needs to be done (I guess, I am not experienced with databases). So a small guide on that would be nice too.
I faced the issue too. One big bummer, is the removal of the mmapv1 storage engine. So a migration needs to be done (I guess, I am not experienced with databases). So a small guide on that would be nice too.
Thanks for the link, but what am I supposed to to after that? Switch back to the docker-compose.yml I used before or should I keep using the one with the migrator?
@sephentos thanks a lot for the link! I just did the migration successfully and should probably keep the database up-to-date I guess!
@maeries I switched to my previous docker-compose and just changed the version from 4.0 to 4.2 and the previous mongo command, to the one provided in the migration compose file mongod --oplogSize 128 --replSet rs0 --storageEngine=wiredTiger. I guess you can also leave the migration file, but comment the migration part out, since I would also guess you dont want the migration container to run every time you recreate your stack
Activity
arunoruto commentedon Oct 2, 2021
I faced the issue too.
One big bummer, is the removal of the
mmapv1storage engine. So a migration needs to be done (I guess, I am not experienced with databases). So a small guide on that would be nice too.sephentos commentedon Oct 2, 2021
You can find a migration guide here:
Docker: https://docs.rocket.chat/installing-and-updating/docker-containers/mongodb-mmap-to-wiredtiger-migration
Without docker (for our google visitors :)): https://docs.rocket.chat/installing-and-updating/manual-installation/mongodb-mmap-to-wiredtiger-migration
I've followed these steps and managed to upgrade to Mongo 4.2 within docker.
After migrating you can change the 4.0 tags in docker-compose.yml to 4.2.
maeries commentedon Oct 4, 2021
Thanks for the link, but what am I supposed to to after that? Switch back to the docker-compose.yml I used before or should I keep using the one with the migrator?
arunoruto commentedon Oct 5, 2021
@sephentos thanks a lot for the link! I just did the migration successfully and should probably keep the database up-to-date I guess!
@maeries I switched to my previous docker-compose and just changed the version from
4.0to4.2and the previous mongo command, to the one provided in the migration compose filemongod --oplogSize 128 --replSet rs0 --storageEngine=wiredTiger. I guess you can also leave the migration file, but comment the migration part out, since I would also guess you dont want the migration container to run every time you recreate your stackChore: Remove compose from main repo (#23426)