app update kills droplet running "rocketchatctl update" on the provided droplet to update from 2.4.9 to 3.0.2

Posted February 26, 2020 1.6k views

at the end of update process:
RocketChat server not running. Cancelling

1 comment
  • 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

    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/nodemodules/fibers/build’
    CXX(target) Release/
    CXX(target) Release/
    CC(target) Release/
    MODULE(target) Release/
    COPY Release/fibers.node
    make: Leaving directory ’/tmp/bundle/programs/server/nodemodules/fibers/build’
    Installed in `/tmp/bundle/programs/server/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

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.

Submit an Answer
3 answers

Same happening to me.
Any news by chance?

The same problem here.
Has anyone found a solution?

From the RC forums:

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 | 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
edited by MattIPv4