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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Rocket.Chat
  3. Rocketchat loads a blank grey screen

Rocketchat loads a blank grey screen

Scheduled Pinned Locked Moved Solved Rocket.Chat
17 Posts 4 Posters 5.1k Views 4 Watching
  • 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_ukS Offline
      Sam_ukS Offline
      Sam_uk
      wrote on last edited by
      #1

      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
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        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_ukS 1 Reply Last reply
        0
        • nebulonN nebulon

          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_ukS Offline
          Sam_ukS Offline
          Sam_uk
          wrote on last edited by
          #3

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

          nebulonN 1 Reply Last reply
          0
          • Sam_ukS Sam_uk

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

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

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

            Sam_ukS 1 Reply Last reply
            0
            • girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by
              #5

              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_ukS 1 Reply Last reply
              0
              • W Offline
                W Offline
                william
                wrote on last edited by
                #6

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

                girishG 1 Reply Last reply
                0
                • W william

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

                  girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #7

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

                  W 2 Replies Last reply
                  0
                  • girishG girish

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

                    W Offline
                    W Offline
                    william
                    wrote on last edited by
                    #8

                    @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
                    0
                    • girishG girish

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

                      W Offline
                      W Offline
                      william
                      wrote on last edited by
                      #9

                      @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
                      1
                      • nebulonN nebulon

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

                        Sam_ukS Offline
                        Sam_ukS Offline
                        Sam_uk
                        wrote on last edited by
                        #10

                        @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
                        0
                        • girishG girish

                          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_ukS Offline
                          Sam_ukS Offline
                          Sam_uk
                          wrote on last edited by
                          #11

                          @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_ukS 1 Reply Last reply
                          0
                          • Sam_ukS Sam_uk

                            @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_ukS Offline
                            Sam_ukS Offline
                            Sam_uk
                            wrote on last edited by
                            #12

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

                            nebulonN 1 Reply Last reply
                            0
                            • Sam_ukS Sam_uk

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

                              nebulonN Offline
                              nebulonN Offline
                              nebulon
                              Staff
                              wrote on last edited by
                              #13

                              @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_ukS 1 Reply Last reply
                              0
                              • nebulonN nebulon

                                @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_ukS Offline
                                Sam_ukS Offline
                                Sam_uk
                                wrote on last edited by
                                #14

                                @nebulon said in Rocketchat loads a blank grey screen:

                                db.rocketchat_settings.find({})

                                Thanks, I've updated the logging.

                                Sam_ukS 1 Reply Last reply
                                0
                                • Sam_ukS Sam_uk

                                  @nebulon said in Rocketchat loads a blank grey screen:

                                  db.rocketchat_settings.find({})

                                  Thanks, I've updated the logging.

                                  Sam_ukS Offline
                                  Sam_ukS Offline
                                  Sam_uk
                                  wrote on last edited by
                                  #15

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

                                  nebulonN 1 Reply Last reply
                                  1
                                  • Sam_ukS Sam_uk

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

                                    nebulonN Offline
                                    nebulonN Offline
                                    nebulon
                                    Staff
                                    wrote on last edited by
                                    #16

                                    @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_ukS 1 Reply Last reply
                                    2
                                    • nebulonN nebulon

                                      @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_ukS Offline
                                      Sam_ukS Offline
                                      Sam_uk
                                      wrote on last edited by
                                      #17

                                      @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
                                      1
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Bookmarks
                                        • Search