RocketChat / RocketChat/Rocket.Chat

Update 2.3.2 on Ubuntu 18.

Open
#31,144 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Help me update Rocket.Chat.
Installed on Ubuntu 18.04.4 LTS.
The Rocket.Chat version 2.3.2.
I am trying to install according to the instructions, but the contents of the archive are different from what was originally installed on the server. Even the version 2.3.2 on github differs from the one that is installed.
Since the instructions say that you need to update sequentially, I first try to update this way:

sudo systemctl stop rocketchat

sudo -i

mv /opt/rocket /opt/old.rocket

sudo npm install -g inherits n && sudo n 8.17.0

curl -L https://github.com/RocketChat/Rocket.Chat/archive/refs/tags/2.4.14.tar.gz -o /tmp/rocket.chat.tgz

tar -xzf /tmp/rocket.chat.tgz -C /tmp

cd /tmp/Rocket.Chat-2.4.14/server && npm install

Already at this stage I have a lot of mistakes:
npm WARN tar ENOENT no such file or.txt

sudo mv /tmp/Rocket.Chat-2.4.14 /opt/rocket

Rename the folder server to Rocket.Chat because rocketchat.service:

ExecStart=/usr/local/bin/node /opt/rocket/Rocket.Chat/main.js

But in the end I get:
oGz3_Otmz50

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Ubuntu 18.04 service configuration and the Rocket.Chat 2.4.14 archive installation steps shown in the issue, then reproduce the npm install output and inspect the attached error. Compare the installed 2.3.2 layout with the archive contents; done means the sequential update completes and rocketchat.service starts successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, ubuntu
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.