Unable to upgrade DigitalOcean instance via rocketchatctl update


I have created a RocketChat instance using DigitalOcean’s marketplace service:

Rocket.Chat tells me “Update your Rocket.Chat New version available (4.6.3).” When I attempt to upgrade the instance using rocketchatctl update, I receive the following error response:

Updates could be risky, you can use the backup option # rocketchatctl backup, to create a backup of the rocketchat database first. Please check that you have enough space in your system to store the backup.

Current update available for RocketChat server: from 4.5 to 4.6.3.

v14.18.3 is already installed.

Now using node v14.18.3 (npm v6.14.15)

Error: node version was not updated correctly. Cancelling …

How might I troubleshoot this issue?

Server Setup Information

  • Version of Rocket.Chat Server: 4.5
  • Operating System: Ubuntu
  • Deployment Method: via DigitalOcean pre-designed droplet
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information

I solved the issue with updating the DigitalOcean droplet by first updating rocketchatctl itself:

rocketchatctl upgrade-rocketchatctl

After that, I was able to successfully run rocketchatctl update.

I found this web page helpful:

Also, after the update, I needed to again update “Site_Url” in mongodb. I did this using the instructions posted here:

Hi! Sorry for the late response.

Glad you were able to solve it.

Thanks for sharing!

1 Like