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

Error while upgrading to 4.x from 3.x "Cant find migrations for version 240" #23463

Open
dineshsalunke opened this issue Oct 15, 2021 · 3 comments

Comments

@dineshsalunke
Copy link

I am getting an error related to migrations after trying to upgrade rocketchat from 3.x to 4.0.2, I followed the mongodb migration guide before upgrading the rocketchat using rocketchatctl

Description:

I followed upgrading to wired tiger section from the documentation before using rocketchatctl upgrade command
https://docs.rocket.chat/quick-start/installing-and-updating/manual-installation/mongodb-mmap-to-wiredtiger-migration

Actual behavior:

image

Server Setup Information:

  • Version of Rocket.Chat Server: 4.0.2
  • Operating System: Ubuntu 18.04
  • Deployment Method: Digitalocean droplet with rocketchatctl
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 12.22.7
  • MongoDB Version: 4.0.3

Additional context

@iamfasal
Copy link

Could be related to #23346
That was mainly on CentOS 7 servers, not sure if Ubuntu 18.04 is also affected with the same.

@itg-dave
Copy link

itg-dave commented Oct 17, 2021

We have the same issue with the docker based installation. Also followed the migration tutorial. When switching back to mmapv1 (with old database snapshot), we can run 4.x.x without issues.

@dineshsalunke
Copy link
Author

@fasalsh I am not sure if its related to.

I upgraded by mongod version and node version as well but i still had the same issue, and suddenly out of no where rocket chat went back to 3.x and started working again ( I still dont know how RC switched back to 3.x version still investigating that )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants