Snap rocketchat-server doesn't draw charts in omnichannel analytics and real-time monitoring


Server Setup Information

  • Version of Rocket.Chat Server: 4.8.1
  • Operating System: CentOS 7
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: snap default
  • NodeJS Version: 14.18.3 - x64
  • MongoDB Version: 4.2.17
  • Proxy: nginx
  • Firewalls involved: no


Can you get more outstanding logs?

Probably if you open the browser console you will see some red entries that can give us more clues about this.

My bet is that it’s doesn’t have the SITE_URL properly configured.


When I select Analytics, debug console is silent. But as you see there is some strange red mark “Undefined” at top-right

When I select Real-time Monitoring. Console is red with errors about “u is not a constructor”

SITE_URL is configured properly.

‘# snap get rocketchat-server’
Key Value
backup-on-refresh disable
ignore-errors false
mongo-oplog-url mongodb://localhost:27017/local
mongo-url mongodb://localhost:27017/parties
port 3000
siteurl https://chat.[my-domain-name].com

have you tried accessing it directly, removing the reverse proxy? This has probably something to do with config or deployment.

Also, have you seen this doc about how to properly reverse proxy Rocket.Chat?

I strongly suggest using docker instead of snaps, as you can have more control over your environment and a more similar deployment as a lot of our users base.

Yes, nginx configured properly with this doc.

Without reverse-proxy behavior is exactly the same. No charts, same errors.

So I think its a problem inside snap package.

I installed hosted version of and mongodb and it works well. Charts are drawing.

But the idea was to have exactly snap-package for simplicity and autoupdate.

I have same issue.

Any fix for this issue?

Hi! This was recently fixed and will land in 5.0 version:

Thanks @debdut.chakraborty for pointing it out :wink:


Can you help what file should i edit?

Im only seeing this:


Deployment ID

Apps Engine Version

Node Version

Database Migration
265 (July 16, 2022 12:44 AM)

4.4.15 / wiredTiger (oplog Enabled)


Hi! You will need to wait for version 5 release, and avoid editing the files directly.

Also, consider moving your deployment to docker as you can have more control over the environment.

Do you have ETA for version 5?

we are in the release candidate phase already, and should be available next week.

20th July. The snap release will take ~1 week more.

1 Like

Thank you Team for speedy reply

Please update us once version 5 release.



It should be this week. All those infos (inclusing release notes) can be found here:


May I know if the version 5 is already released?

Thank you!

Hi! Yes it is!

If you want to know more about it, check our last Community Open Call:


Deployment ID

Apps Engine Version

Node Version

4.4.15 / wiredTiger (oplog Enabled)

Hi Team,

Thank you very much for the updates.

Can you help me again how to fix invalid users. The issue happens when i click GENERAL channel