-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
updating 5.4.5 to 6.1.x fails at DB error #29167
Comments
We solved that by dropping some of the index in the db. Stop Rocket Chat Service first: Then:
(every line is one command in the db console) We also had some Errors with pending user export data, so we dropped all open jobs there too: Hope this helps |
@Huftierchen tx, removing just the user index fixed it for me Stop RC Server
For Ubuntu 20.04 install Mongodb client (
Connect to the Mongodb and remove the user index.
reboot server
Tbh no idea why there is always something manual to mess around at the db that is not solved automatically due migrations :( |
I had the same issue while migrating from mongodb-4 to mongodb-5 (4.4.20 -> 5.0.16) and |
After updating Rocket.Chat snaps from 5.4.x to 6.1.5/6 (there are no other versions between) the Rocket.Chat server won't start anymore.
Looks like a mongo db migrations problem ?
Issue was posted at the snap deployment too, but no feedback for weeks RocketChat/server-snap#59 RocketChat/server-snap#55.
The text was updated successfully, but these errors were encountered: