# Unable to upgrade DigitalOcean instance via rocketchatctl update

**URL:** <https://forums.rocket.chat/t/unable-to-upgrade-digitalocean-instance-via-rocketchatctl-update/13972>\
**Category:** Community Support\
**Created:** [April 27, 2022, 8:53am UTC](https://forums.rocket.chat/t/unable-to-upgrade-digitalocean-instance-via-rocketchatctl-update/13972 "2022-04-27T08:53:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geomas](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Geomas](https://forums.rocket.chat/u/Geomas)\
**Post date:** [April 27, 2022, 8:53am UTC](https://forums.rocket.chat/t/unable-to-upgrade-digitalocean-instance-via-rocketchatctl-update/13972/1 "2022-04-27T08:53:26Z")

</div>

### Description

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

[https://marketplace.digitalocean.com/apps/rocket-chat](https://marketplace.digitalocean.com/apps/rocket-chat)

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

---

<div class="post-metadata">

**Author:** ![Geomas](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Geomas](https://forums.rocket.chat/u/Geomas)\
**Post date:** [April 28, 2022, 7:17am UTC](https://forums.rocket.chat/t/unable-to-upgrade-digitalocean-instance-via-rocketchatctl-update/13972/2 "2022-04-28T07:17:29Z")

</div>

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:

> **[app update kills droplet running "rocketchatctl update" on the provided...](https://www.digitalocean.com/community/questions/app-update-kills-droplet-running-rocketchatctl-update-on-the-provided-droplet-to-update-from-2-4-9-to-3-0-2)**
>
> at the end of update process:RocketChat server not running. Cancelling

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

> **[Rocket Chat - Change ROOT\_URL and Site URL](https://www.ryadel.com/en/rocket-chat-change-root_url-site-url-rocketchat/)**
>
> Today I was playing with Rocket.Chat, a neat open source web chat platform / framework with a lot of useful features. Unfortunately, the project still has a lot

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [May 2, 2022, 5:30pm UTC](https://forums.rocket.chat/t/unable-to-upgrade-digitalocean-instance-via-rocketchatctl-update/13972/3 "2022-05-02T17:30:16Z")

</div>

Hi! Sorry for the late response.

Glad you were able to solve it.

Thanks for sharing!
