RocketChat / RocketChat/Rocket.Chat

Rocket.Chat service starts but does not listen on port 3000

Open
#30,795 5 comments 2 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

Description:

Until version 6.4.1 I had no problem. I built and run the package following the below command sequence:

yarn install
yarn build
cd apps/meteor
meteor build /home/admin --architecture os.linux.x86_64
cd /opt
cp /home/admin/meteor.tar.gz .
tar -xzf meteor.tar.gz
cd bundle/programs/server
yarn install

From version 6.4.2 till the latest version (6.4.4) I do not receive any error message. The service starts, but it does not listen on any port (including 3000). The SERVER RUNNING banner does not shown. I mean the below one:

+-----------------------------------------------+
| SERVER RUNNING |
+-----------------------------------------------+
| |
| Rocket.Chat Version: 6.4.4 |
| NodeJS Version: 14.21.3 - x64 |
| MongoDB Version: 6.0.8 |
| MongoDB Engine: wiredTiger |
| Platform: linux |
| Process Port: 3000 |
| Site URL: ******************* |
| ReplicaSet OpLog: Enabled |
| Commit Hash: d994a6ff33 |
| Commit Branch: HEAD |
| |
+-----------------------------------------------+

This is the last items shown after starting the service:

Oct 28 12:58:18 chat rocketchat[85578]: LocalStore: store created at
Oct 28 12:58:18 chat rocketchat[85578]: LocalStore: store created at
Oct 28 12:58:18 chat rocketchat[85578]: LocalStore: store created at
Oct 28 12:58:18 chat rocketchat[85578]: MessageType.render is deprecated. Use MessageType.message instead. livechat_webrtc_video_call
Oct 28 12:58:19 chat rocketchat[85578]: {"level":40,"time":"2023-10-28T09:28:19.052Z","pid":85578,"hostname":"chat","name":"VoIPService","msg":"Voip>
Oct 28 12:58:20 chat rocketchat[85578]: {"level":51,"time":"2023-10-28T09:28:20.059Z","pid":85578,"hostname":"chat","name":"Migrations","msg":"Not m>

Server Setup Information:
  • Version of Rocket.Chat Server: 6.4.1 & up
  • Operating System: UBUNTU

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

Reproduce the reported build and startup sequence, including apps/meteor and bundle/programs/server, then inspect the service logs after the final migration messages. The issue is resolved when the built Rocket.Chat service reaches the SERVER RUNNING banner and listens on port 3000.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.