Hi!
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.
Thanks!
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 rocket.chat and mongodb and it works well. Charts are drawing.
But the idea was to have exactly snap-package for simplicity and autoupdate.
Hi! This was recently fixed and will land in 5.0 version:
RocketChat:develop
← RocketChat:fix/chartjs-update-usage
opened 06:38PM - 14 Jun 22 UTC
<!-- Your Pull Request name should start with one of the following tags
[NEW]… For new features
[IMPROVE] For an improvement (performance or little improvements) in existing features
[FIX] For bug fixes that affect the end-user
[BREAK] For pull requests including breaking changes
Chore: For small tasks
Doc: For documentation
-->
<!-- Checklist!!! If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
- I have read the Contributing Guide - https://github.com/RocketChat/Rocket.Chat/blob/develop/.github/CONTRIBUTING.md#contributing-to-rocketchat doc
- I have signed the CLA - https://cla-assistant.io/RocketChat/Rocket.Chat
- Lint and unit tests pass locally with my changes
- I have added tests that prove my fix is effective or that my feature works (if applicable)
- I have added necessary documentation (if applicable)
- Any dependent changes have been merged and published in downstream modules
-->
## Proposed changes (including videos or screenshots)
<!--
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue below.
This description will appear in the release notes if we accept the contribution.
-->
## Issue(s)
Fixes: https://github.com/RocketChat/Rocket.Chat/issues/25775
## Steps to test or reproduce
## Further comments
Thanks @debdut.chakraborty for pointing it out
2 Likes
wittie
July 15, 2022, 5:14pm
10
Can you help what file should i edit?
Im only seeing this:
/opt/Rocket.Chat/programs/web.browser/dynamic/app/livechat/client/lib/chartHandler.js
/opt/Rocket.Chat/programs/web.browser.legacy/dynamic/app/livechat/client/lib/chartHandler.js
Info:
Version
4.8.1
Deployment ID
N7iTC9sBt6eL6Rzm3
Apps Engine Version
1.32.0
Node Version
v14.18.2
Database Migration
265 (July 16, 2022 12:44 AM)
MongoDB
4.4.15 / wiredTiger (oplog Enabled)
Thanks
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.
wittie
July 15, 2022, 5:26pm
12
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
wittie
July 15, 2022, 6:06pm
15
Thank you Team for speedy reply
wittie
July 18, 2022, 11:24pm
16
Please update us once version 5 release.
Thanks
Hi!
It should be this week. All those infos (inclusing release notes) can be found here:
Hi,
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:
wittie
July 29, 2022, 3:24pm
20
Version
5.0.0
Deployment ID
N7iTC9sBt6eL6Rzm3
Apps Engine Version
1.33.0
Node Version
v14.18.2
MongoDB
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