RocketChat / RocketChat/Rocket.Chat

Icons and images take a long time to load when first starting server, and files cannot be uploaded at first

Open
#20,990 3 comments 0 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:

When first starting the server, avatars, icons, and images take a while to load. Most noticeably the "#" and online/offline indicators. Additionally you are unable to upload files during this time period, sometimes for even longer periods of time than that.

Steps to reproduce:
  1. Start server
Expected behavior:

Rocketchat instantly loads, as before

Actual behavior:

Rocketchat takes a long time to fully load icons and images, and you are unable to send images for a few minutes.

unknown

Server Setup Information:
  • Version of Rocket.Chat Server: 3.12.0
  • Operating System: Ubuntu
  • Deployment Method: docker
  • Number of Running Instances: 1
  • MongoDB Version: v3.6.3
Client Setup Information
  • Desktop App or Browser Version: 3.1.1
  • Operating System: Windows 10, Arch Linux, Fedora

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 reproducing the delay after starting Rocket.Chat 3.12.0 with the reported Docker, Ubuntu, and MongoDB setup, then compare image loading and file uploads during startup. Trace the startup path and relevant client/server requests until the cause is identified; done means icons and images load promptly and file uploads work immediately.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
full-stack
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.