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

Can't find migration version 239 #23356

Closed
strasharo opened this issue Oct 4, 2021 · 3 comments · Fixed by RocketChat/install.sh#49
Closed

Can't find migration version 239 #23356

strasharo opened this issue Oct 4, 2021 · 3 comments · Fixed by RocketChat/install.sh#49

Comments

@strasharo
Copy link

strasharo commented Oct 4, 2021

Description:

Rocketchat refused to start after upgrading to 4.0.0 throwing this exception:

Can't find migration version 239

Steps to reproduce:

  1. deploy rocketchat 3.18.1 on Ubuntu 18.04.6 LTS
  2. run rocketchatctl update

Expected behavior:

Rocketchat should start.

Actual behavior:

Refuses to start with the following exception

Can't find migration version 239

Server Setup Information:

  • Version of Rocket.Chat Server: 4.0.0
  • Operating System: Ubuntu 18.04.6 LTS
  • Deployment Method: RocketChatCTL
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.22.6
  • MongoDB Version: 4.0.27

Client Setup Information

  • Desktop App or Browser Version: FF latest
  • Operating System: Fedora

Additional context

Relevant logs:

rocketchat[25777]: at /opt/Rocket.Chat/programs/server/boot.js:226:21
rocketchat[25777]: at /opt/Rocket.Chat/programs/server/boot.js:464:7
rocketchat[25777]: at Function.run (/opt/Rocket.Chat/programs/server/profile.js:280:14)
rocketchat[25777]: at /opt/Rocket.Chat/programs/server/boot.js:463:13 {
rocketchat[25777]: isClientSafe: true,
rocketchat[25777]: error: "Can't find migration version 239",
rocketchat[25777]: reason: undefined,
rocketchat[25777]: details: undefined,
rocketchat[25777]: errorType: 'Meteor.Error'
rocketchat[25777]: }

@strasharo
Copy link
Author

Temporary fixed it using this:
#23358 (comment)

@geekgonecrazy
Copy link
Contributor

This has now been fixed in update of rocketchatctl. 🙏 should be able to use: rocketchatctl upgrade-rocketchatctl to get latest version of rocketchatctl which should now upgrade properly

@strasharo
Copy link
Author

Thanks @geekgonecrazy , I was able to upgrade successfully to 4.0.1 👍

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

Successfully merging a pull request may close this issue.

3 participants