Info page shown when clicking info menu.
info page not shown and previous page remains. no change.
No special logs collected.
Check the supported engine versions.
https://github.com/RocketChat/Rocket.Chat/releases
Engine versions
Node: 8.15.1
NPM: 6.9.0
MongoDB: 3.4, 3.6, 4.0
No mention of Mongo 4.2 so YMMV.
What do your logs tell you?
Check the supported engine versions.
https://github.com/RocketChat/Rocket.Chat/releases
Engine versions
Node: 8.15.1
NPM: 6.9.0
MongoDB: 3.4, 3.6, 4.0
No mention of Mongo 4.2 so YMMV.
What do your logs tell you?
No specific logs. Nothing in Rocket.Chat logs. No info's and no warnings.
Info page works for us (Mongo 3.6) but the data on it stopped updating after upgrading to 2.0.0 or 2.1.0.
No mention of Mongo 4.2 so YMMV.
What do your logs tell you?No specific logs. Nothing in Rocket.Chat logs. No info's and no warnings.
Did you revert to Mongo 4.0 and test?
I am not sure 4.2 is supported at the minute (as per the 'supported' engine versions)
Info page works for us (Mongo 3.6) but the data on it stopped updating after upgrading to 2.0.0 or 2.1.0.
v2.0.0. or v2.1.0 ? Please be specific.
Info page works for us (Mongo 3.6) but the data on it stopped updating after upgrading to 2.0.0 or 2.1.0.
v2.0.0. or v2.1.0 ? Please be specific.
I cannot say for certain whether it happened already with 2.0.0, except that I usually check user amount stats on almost daily basis, and I don't remember seeing issues before 2.1.0 after which I noticed that logged in users does not match with actual amounts online. Then I also noticed that message counters didn't increase anymore.
I have the same issue. How to fix this bug?
Same issue here when performing an upgrade on my test environment from RocketChat 1.1.1 to 2.1.0. I get the following error in the browser console when trying to open the /admin/info page.
Uncaught (in promise) Error: Cannot find module '/client/components/admin/info/InformationPage.js'
I'm using the official docker container combined with MongoDB 4.0.1
@corne-w I had the same problem. Does your host match the host in the settings?
In the settings I set the correct host and the problem was solved (Administration -> General -> Site URL)
@antkaz Thank you, that seemed to have fixed the issue for me. The /admin/info page now works fine while using RocketChat 2.1.0 but only when using the exact url that was registered as the site url. For example:
Site URL: https://rocketchat.sub.example.org
FQDN: https://rocketchat.sub.example.org/admin/info <- Works.
Host: https://rocketchat/admin/info <- Doesn't work
Just to be sure that this bug didn't exist in the previous version (RC: 1.1.1) that I was using, I fired up the old test environment with incorrect host settings and it worked fine.
I did some double checking via statistics in the database, and ours seems to work too. Data is updating, although not so often I had assumed.
We had the correct URL to begin with, so our data-not-updating-issue was a brainfart on my behalf. Sorry for the confusion!
@antkaz Thank you, that seemed to have fixed the issue for me. The /admin/info page now works fine while using RocketChat 2.1.0 but only when using the exact url that was registered as the site url. For example:
Site URL: https://rocketchat.sub.example.org
FQDN: https://rocketchat.sub.example.org/admin/info <- Works.
Host: https://rocketchat/admin/info <- Doesn't workJust to be sure that this bug didn't exist in the previous version (RC: 1.1.1) that I was using, I fired up the old test environment with incorrect host settings and it worked fine.
Thanks for helping. I will try this step on my server. I downgraded my server's version for this issue. I hope it works. I will turn back to you.
This problem is related to the dynamic-import package. This package dynamically imports modules at runtime. The environment variable ROOT_URL is used as the hostname for loading the modules, but this variable is replaced by the value of Site_Url here. If i remove this line, the information page will work. But I'm not sure if this is right
How about checking if /admin/info works with rocketchat confirured to run in subdirectory like this:
This is my configuration and maybe a clue for this issue.
The problem concerns not only the information page. If you try to open other pages in the administrator settings, you will get a similar error (Cannot find module...)
This problem is related to the
dynamic-importpackage. This package dynamically imports modules at runtime. The environment variable ROOT_URL is used as the hostname for loading the modules, but this variable is replaced by the value of Site_Url here. If i remove this line, the information page will work. But I'm not sure if this is right
Thanks for helping, this step works for mine RocketChat server.
Most helpful comment
Same issue here when performing an upgrade on my test environment from RocketChat 1.1.1 to 2.1.0. I get the following error in the browser console when trying to open the /admin/info page.
Uncaught (in promise) Error: Cannot find module '/client/components/admin/info/InformationPage.js'I'm using the official docker container combined with MongoDB 4.0.1