Upgrading Rocket Chat to latest version

Posted on 12-01-2017 by Nadir Latif


Source: https://rocket.chat/docs/installation/manual-installation/ubuntu#update

To upgrade Rocket Chat to the latest version we need to first download the latest version of Rocket Chat from curl -L https://rocket.chat/releases/latest/download -o rocket.chat.tgz

. After that we need to unzip the file. Then we need to remove the content of the current Rocket Chat folder with the contents of the unzipped file. After that we need to change directory to programs/server and run: npm install. If the command fails then we may need to install the node-pre-gyp package using the command: npm install node-pre-gyp. After that run the previous command. This should upgrade the Rocket Chat to the latest version