RocketChat / RocketChat/Rocket.Chat
Upgrade from 6.13.1 to 7.1.0 deploy with docker compose
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
an error appears after the upgrade:
Error: Cannot find module '/app/bundle/bash'
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.18.0
rocketchat_rocketchat_1 exited with code 1
Steps to reproduce:
- docker-compose stop
- nano docker-compose.yml --> image: rocketchat/rocket.chat:7.1.0 -- (there was 6.13.1)
- docker-compose up --> appears error like above
Expected behavior:
update rocket.chat normally like before (when do the same from 6.7.0 to 6.9.0, and next 6.11.0 and 6.13.1 works perfectly)
Actual behavior:
Error: Cannot find module '/app/bundle/bash'
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.18.0
rocketchat_rocketchat_1 exited with code 1
mongo_1 | {"t":{"$date":"2025-04-13T23:27:44.418+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":"[1744586864:418615][1:0x7fa63401e700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 19, snapshot max: 19 snapshot count: 0, oldest timestamp: (1744586554, 1) , meta checkpoint timestamp: (1744586854, 1) base write gen: 26986738"}}
Server Setup Information:
- Version of Rocket.Chat Server: 6.13.1
- License Type: Community (Operating within plan limits)
- Number of Users: 22
- Operating System: linux ubuntu
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: enabled
- NodeJS Version: 14.21.3
- MongoDB Version: 5.0.30
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 docker-compose.yml image change from Rocket.Chat 6.13.1 to 7.1.0 and reproduce the startup failure using the reported Docker setup. Compare the container startup behavior and Node.js error output across the two versions; done means the upgraded service starts normally without the /app/bundle/bash module error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, node.js
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100