RocketChat / RocketChat/Rocket.Chat
service does not start after update to 4.3.0
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:
After updating from 4.2.2 to 4.3.0 the service will not start, journal says
Jan 01 11:35:17 server rocketchat[1762]: throw error;
Jan 01 11:35:17 server rocketchat[1762]: Error:
Jan 01 11:35:17 server rocketchat[1762]: - Install with the --verbose flag and look for errors: "npm install --ignore-scripts=false --verbose sharp"
Jan 01 11:35:17 server systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
Jan 01 11:35:17 server systemd[1]: rocketchat.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- The unit rocketchat.service has entered the 'failed' state with result 'exit-code'.
npm -v
8.2.0
node -v
v12.18.4
mongod --version
db version v4.4.11
Build Info: {
"version": "4.4.11",
"gitVersion": "b7530cacde8432d2f22ed506f258ff9c3b45c5e9",
"openSSLVersion": "OpenSSL 1.1.1f 31 Mar 2020",
"modules": [],
"allocator": "tcmalloc",
"environment": {
"distmod": "ubuntu2004",
"distarch": "x86_64",
"target_arch": "x86_64"
}
}
no idea how to fix.
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 journal output and reproduce the suggested npm install --ignore-scripts=false --verbose sharp command under Node v12.18.4, comparing the 4.2.2 and 4.3.0 installation requirements. Done means the 4.3.0 service starts successfully under the reported systemd, Node, npm, and MongoDB environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100