RocketChat / RocketChat/Rocket.Chat
Rocketchat crashing after upgrade to 4.2
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Rocketchaat crashing after upgrade to 4.2
Steps to reproduce:
Upgrade Mongodb
Upgrade RocketChat
Expected behavior:
everyting works
Actual behavior:
Last login: Fri Dec 3 21:39:40 2021 from 38.73.241.87
root@rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01:~# systemctl status rocketchat
● rocketchat.service - The Rocket.Chat server
Loaded: loaded (/lib/systemd/system/rocketchat.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-12-03 21:55:30 UTC; 4h 45min ago
Process: 2340 ExecStart=/usr/bin/node /opt/Rocket.Chat/main.js (code=exited, status=1/FAILURE)
Main PID: 2340 (code=exited, status=1/FAILURE)
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 rocketchat[2340]: compatible: true,
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 rocketchat[2340]: compatibilityError: null,
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 rocketchat[2340]: logicalSessionTimeoutMinutes: null,
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 rocketchat[2340]: heartbeatFrequencyMS: 10000,
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 rocketchat[2340]: localThresholdMS: 15,
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 rocketchat[2340]: commonWireVersion: 7
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 rocketchat[2340]: }
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 rocketchat[2340]: }
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
Dec 03 21:55:30 rocketchat-ubuntu-s-2vcpu-4gb-nyc1-01 systemd[1]: rocketchat.service: Failed with result 'exit-code'.
Server Setup Information:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
mongod --version
db version v4.0.3
git version: 7ea530946fa7880364d88c8d8b6026bbc9ffa48c
OpenSSL version: OpenSSL 1.1.1 11 Sep 2018
allocator: tcmalloc
modules: none
build environment:
distmod: ubuntu1804
distarch: x86_64
target_arch: x86_64
node -v
v12.18.4
Client Setup Information
rocketchatctl
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Rocket.Chat systemd service at /opt/Rocket.Chat/main.js and reproduce the MongoDB and Rocket.Chat upgrade sequence on Ubuntu 18.04 with the listed Node.js and MongoDB versions. Inspect the complete service error output beyond the excerpt; done means identifying the upgrade-related crash and verifying that the service starts successfully afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, node.js, ubuntu
- Domain
- backend, databases, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100