Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Rocketchat loads a blank grey screen

    Rocket.Chat
    4
    17
    1687
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Sam_uk
      Sam_uk last edited by

      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
      
      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        I can confirm I also only see the gray page while visiting, however there are no request failing nor any other error message shown on the client side.

        Is there any chance you may have tweaked some css or templates, which might interfere here?

        Sam_uk 1 Reply Last reply Reply Quote 0
        • Sam_uk
          Sam_uk @nebulon last edited by

          @nebulon Thanks, no changes to CSS that I'm aware of.

          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @Sam_uk last edited by

            @sam_uk have you set the loglevel to be 2 - Errors, Information and Debug in the admin view -> Logs ?

            Sam_uk 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

              I see an interesting request to license:isEnterprise which I don't see in our rocket.chat instance. Did you change any license setting?

              Sam_uk 1 Reply Last reply Reply Quote 0
              • W
                william last edited by

                I'm having the same issue. Chrome Dev Tools shows multiple failed fetches (requesting an insecure resource) and a ton of missing modules.

                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @william last edited by

                  @william can you paste what you see in dev tools ? Is this a new installation ?

                  W 2 Replies Last reply Reply Quote 0
                  • W
                    william @girish last edited by

                    @girish

                    I've been running RC for several years, and migrated from Snap to manual 17 months ago.

                    Here is the first screenful:

                    e35aeaf8-bedd-40ff-b043-0fb748c1557a-image.png

                    1 Reply Last reply Reply Quote 0
                    • W
                      william @girish last edited by

                      @girish

                      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...

                      1 Reply Last reply Reply Quote 1
                      • Sam_uk
                        Sam_uk @nebulon last edited by

                        @nebulon Where should I set the log level please? I had a look through the Cloudron dashboard & Rocketchat menus in Cloudron but I couldn't spot this setting.

                        my.rocketchat.org/admin level stuff is obviously inaccessible to me at this point.

                        1 Reply Last reply Reply Quote 0
                        • Sam_uk
                          Sam_uk @girish last edited by

                          @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 1 Reply Last reply Reply Quote 0
                          • Sam_uk
                            Sam_uk @Sam_uk last edited by

                            @sam_uk The other thing we have been doing recently is trying to connect the Rocketchat API to N8N. May be unrelated, but worth mentioning.

                            nebulon 1 Reply Last reply Reply Quote 0
                            • nebulon
                              nebulon Staff @Sam_uk last edited by

                              @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.

                              Sam_uk 1 Reply Last reply Reply Quote 0
                              • Sam_uk
                                Sam_uk @nebulon last edited by

                                @nebulon said in Rocketchat loads a blank grey screen:

                                db.rocketchat_settings.find({})

                                Thanks, I've updated the logging.

                                Sam_uk 1 Reply Last reply Reply Quote 0
                                • Sam_uk
                                  Sam_uk @Sam_uk last edited by

                                  @sam_uk OK I've fixed this. It looks Iike I/someone had disallowed anonymous read in the settings. So it was fine when logged in, but as soon as you log out it breaks.

                                  nebulon 1 Reply Last reply Reply Quote 1
                                  • nebulon
                                    nebulon Staff @Sam_uk last edited by

                                    @sam_uk this is great! Although I don't fully understand why such a setting would essentially render rocketchat unusable. Maybe worth reporting upstream?

                                    Sam_uk 1 Reply Last reply Reply Quote 2
                                    • Sam_uk
                                      Sam_uk @nebulon last edited by

                                      @nebulon Yes, I did open a thread on the Rocketchat forum, I'll update there too.

                                      Thanks for your help on this.

                                      1 Reply Last reply Reply Quote 1
                                      • First post
                                        Last post
                                      Powered by NodeBB