Rocketchat loads a blank grey screen
-
My Rocketchat instance doesn't load in Chrome/Firefox on MacOS or Debian and I have user reports of it not working in IOS. Windows users seem unaffected.
Dunno if the log below helps? Restarting the app doesn't fix it.
This is what pingdom says: https://tools.pingdom.com/#5f604c6b14000000 it seems to be running on some level?
Anyone got any ideas? What other logs could I look for?
Dec 01 12:47:53 +----------------------------------------------------------+ Dec 01 12:47:53 | SERVER RUNNING | Dec 01 12:47:53 +----------------------------------------------------------+ Dec 01 12:47:53 | | Dec 01 12:47:53 | Rocket.Chat Version: 4.2.0 | Dec 01 12:47:53 | NodeJS Version: 12.22.1 - x64 | Dec 01 12:47:53 | MongoDB Version: 4.2.12 | Dec 01 12:47:53 | MongoDB Engine: unknown | Dec 01 12:47:53 | Platform: linux | Dec 01 12:47:53 | Process Port: 3000 | Dec 01 12:47:53 | Site URL: https://chat.transition-space.org | Dec 01 12:47:53 | ReplicaSet OpLog: Enabled | Dec 01 12:47:53 | Commit Hash: a4ad199f13 | Dec 01 12:47:53 | Commit Branch: HEAD | Dec 01 12:47:53 | | Dec 01 12:47:53 +----------------------------------------------------------+ Dec 01 23:12:03 {"level":40,"time":"2021-12-01T23:12:03.208Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"SyncedCron","msg":"Failed to send usage report"} Dec 02 07:12:04 {"level":40,"time":"2021-12-02T07:12:04.121Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"SyncedCron","msg":"Failed to send usage report"} Dec 02 15:41:33 (node:1) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. Dec 02 16:12:03 {"level":40,"time":"2021-12-02T16:12:03.024Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"SyncedCron","msg":"Failed to send usage report"} Dec 02 19:12:04 {"level":40,"time":"2021-12-02T19:12:04.796Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"SyncedCron","msg":"Failed to send usage report"} Dec 02 22:12:04 {"level":40,"time":"2021-12-02T22:12:04.465Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"SyncedCron","msg":"Failed to send usage report"} Dec 03 10:12:06 {"level":40,"time":"2021-12-03T10:12:06.330Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"SyncedCron","msg":"Failed to send usage report"} Dec 03 13:24:46 {"level":50,"time":"2021-12-03T13:24:46.331Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"System","msg":"Exception while invoking method getRoomByTypeAndName 'Invalid user [error-invalid-user]'"} Dec 03 15:49:25 {"level":50,"time":"2021-12-03T15:49:25.978Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"System","msg":"Exception while invoking method getRoomByTypeAndName 'Invalid user [error-invalid-user]'"} Dec 03 15:51:28 {"level":50,"time":"2021-12-03T15:51:28.190Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"System","msg":"Exception while invoking method getRoomByTypeAndName 'Invalid user [error-invalid-user]'"} Dec 03 16:12:04 {"level":40,"time":"2021-12-03T16:12:04.255Z","pid":1,"hostname":"94e3aa78-2a20-4cfc-9b9f-30348eb29b06","name":"SyncedCron","msg":"Failed to send usage report"} code_text
-
-
I noticed the Site URL in the Node banner was "http://" rather than "https://" so I manually updated the Site_Url in rocketchat_settings (in Mongo) and restarted RC.
Now it works.
I'm left to ponder: was it always missing the "s?" If so, why did it work until I upgraded? If not, why did it change? rocketchat.service has always set ROOT_URL to https...
-
-
@girish said in Rocketchat loads a blank grey screen:
I see an interesting request to
license:isEnterprise
which I don't see in our rocket.chat instance. Did you change any license setting?No, but we have connected it to https://cloud.rocket.chat/login to try to get push working.
-
@sam_uk ah of course you can't login to the admin UI. So open a webterminal into the app and click the mongodb button. Within the mongodb shell run this command:
db.rocketchat_settings.updateOne({"_id":"Log_Level"}, { $set: { "value": "2" }})
Since you mentioned n8n, if that may cause issues, you can probably also search for the settings values related to this if any with:
db.rocketchat_settings.find({})
then
it
to page through all settings, I don't know how the n8n ones are called though.