RocketChat / RocketChat/Rocket.Chat

Upload files are broken depending on the docker image

Open
#21,038 6 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:

If you use the rocketchat/rocket.chat:3.11.2 image, the upload files on the filesystem are not working at all. If you use rocket.chat:3.11.2 from docker everythings works fine.

Steps to reproduce:
  1. Use rocketchat/rocket.chat:3.11.2
  2. Start containers
  3. View or upload an image
Expected behavior:

An uploaded image should be shown or be uploaded.

Actual behavior:
  • If you want to upload, you get an access rights error.
  • If you want to show an already uploaded image it is not showing.
Server Setup Information:
  • Version of Rocket.Chat Server: 3.11.2
  • Operating System: Ubuntu 18
  • Deployment Method: docker
  • Number of Running Instances: 14
  • DB Replicaset Oplog: yes
  • NodeJS Version: 12.18.4
  • MongoDB Version: 4.0.22
Client Setup Information
  • Desktop App or Browser Version: Firefox 86
  • Operating System: Win 10
Additional context

Something in the image from rocket.chat team is broken. The same version, but from docker verified works fine.

Could impact: #20556, #20984 and #20640

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 comparing the rocketchat/rocket.chat:3.11.2 and rocket.chat:3.11.2 Docker images, then reproduce upload and image viewing with the listed Ubuntu 18 and Docker setup. Done means filesystem uploads succeed without an access-rights error and previously uploaded images display correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.