RocketChat / RocketChat/Rocket.Chat

Can't upgrade Rocket.Chat from deprecating to the latest version

Open
#30,794 10 comments 1 reaction 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:

After upgrading RC 6.2.9 to latest version via docker-compose, server load stops on ServiceBroker message and server remains unavailable for an infinite time (doesn't start listen port 3000).
The problem is that my version will deprecate on November 20 and seems that I can't do anything to solve that.

Steps to reproduce:
  1. Have RC 6.2.9 version deployed
  2. Run upgrade sequence:
docker-compose down
docker-compose pull
docker-compose build
# running "up" w/o -d option to see one-stream log
docker-compose up
Expected behavior:

Server started label:

+---------------------------------------------------+
|                   SERVER RUNNING                  |
+---------------------------------------------------+
|                                                   |
|  Rocket.Chat Version: 6.4.4                       |
|       NodeJS Version: 14.21.3 - x64               |
|      MongoDB Version: 5.0.21                      |
|       MongoDB Engine: wiredTiger                  |
|             Platform: linux                       |
|         Process Port: 3000                        |
|             Site URL: https://chat.domain.tld     |
|     ReplicaSet OpLog: Enabled                     |
|          Commit Hash: 5c9c3f7864                  |
|        Commit Branch: HEAD                        |
|                                                   |
+---------------------------------------------------+
Actual behavior:

Server load hangs and last message in logs is:

[2023-10-27T23:47:28.130Z] INFO  a0af315c-9eda-43eb-b2e5-0752b9fcbc45/BROKER: ✔ ServiceBroker with 2 service(s) started successfully in 601ms.

And nothing happens for a very long time.
MongoDB continue logging messages (remains working).

Server Setup Information:
  • Version of Rocket.Chat Server: latest (6.4.4)
  • Operating System: Ubuntu Server 20.04
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v14.21.3
  • MongoDB Version: 5.0.20 / wiredTiger (oplog Enabled)
Client Setup Information
  • Desktop App or Browser Version: 3.9.9
  • Operating System: Windows 10
Additional context

(none)

Relevant logs:

docker-compose.log

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 linked docker-compose.log and reproduce the upgrade from RC 6.2.9 using the listed docker-compose commands. Trace the startup point after the ServiceBroker message; done means the upgraded server reaches the SERVER RUNNING state and listens on port 3000.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mongodb, typescript
Domain
backend, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.