Question

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

Subscribe
Share

root@rocketchat-ubuntu-fra1-01:~# rocketchatctl update Current update available for RocketChat server: from 2.4.9 to 3.0.2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 223 100 223 0 0 583 0 --:–:-- --:–:-- --:–:-- 583 100 146M 100 146M 0 0 18.7M 0 0:00:07 0:00:07 --:–:-- 20.7M npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

fibers@4.0.3 install /tmp/bundle/programs/server/node_modules/fibers node build.js || nodejs build.js

make: Entering directory ‘/tmp/bundle/programs/server/node_modules/fibers/build’ CXX(target) Release/obj.target/fibers/src/fibers.o CXX(target) Release/obj.target/fibers/src/coroutine.o CC(target) Release/obj.target/fibers/src/libcoro/coro.o SOLINK_MODULE(target) Release/obj.target/fibers.node COPY Release/fibers.node make: Leaving directory ‘/tmp/bundle/programs/server/node_modules/fibers/build’ Installed in /tmp/bundle/programs/server/node_modules/fibers/bin/linux-x64-57-glibc/fibers.node npm WARN lifecycle meteor-dev-bundle@~install: cannot run in wd meteor-dev-bundle@ node npm-rebuild.js (wd=/tmp/bundle/programs/server) added 147 packages from 122 contributors and audited 305 packages in 10.851s

1 package is looking for funding run npm fund for details

found 0 vulnerabilities

Waiting up to 60 seconds for RocketChat server to be active … 2 RocketChat server not running. Cancelling


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

From the RC forums: https://forums.rocket.chat/t/upgrading-to-3-0-0/5892/4

In case anyone needs this:

How to upgrade the DigitalOcean Rocket.Chat droplet to 3.0.2

Install the droplet as usual (if you’re already using it, that’s ok too).

Upgrade the update tool:

sudo rocketchatctl upgrade-rocketchatctl

Upgrade Rocket.Chat:

sudo rocketchatctl update

The server is broken, doesn’t start, because it requires Nodejs 12.x Install it:

sudo apt-get -y update && sudo apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
sudo apt-get install -y nodejs

Change the path to new nodejs in the service config:

sudo nano /lib/systemd/system/rocketchat.service

In the line beginning with “ExecStart=” replace “/usr/local/bin/node” with “/usr/bin/node”

Reload the service and start the server:

sudo systemctl daemon-reload
sudo systemctl restart rocketchat.service

Check that it’s running:

sudo systemctl status rocketchat.service

The same problem here. Has anyone found a solution?

Same happening to me. Any news by chance?