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 Rocket.Chat currently not Responding

    Rocket.Chat
    3
    7
    165
    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.
    • applecrusher
      applecrusher last edited by

      I have been installing various applications on the server and I have been mostly happy with cloudron. However, the one thing that I need is a chat, which is what I like about Rocket.Chat. It either is stuck in this long state of "Starting" or the app eventually shows "app not responsive". How could I debug the issue? Can I remove old docker instances of things on cloudron manually through the server?

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

        Hi there, is there anything showing up in the app logs of the app instance? Rocket.Chat is using the mongodb service, so maybe you can also see if that might be low on memory if Rocket.Chat becomes unresponsive.

        Further to remove old container, if you delete an app through the Cloudron dashboard, all containers belonging to it will also be purged. So there won't be any old docker container instances around unless the ones currently managed by Cloudron.

        applecrusher 2 Replies Last reply Reply Quote 0
        • applecrusher
          applecrusher @nebulon last edited by applecrusher

          @nebulon

          I get the following errors now that I found the logs messages that just keep looping. I guess there is a mongodb vs mongo server mismatch? How would I fix that?

          Jan 17 12:55:53 MongoDB shell version v4.4.11
          Jan 17 12:55:53 connecting to: mongodb://mongodb:27017/269e52ac0084de44?compressors=disabled&gssapiServiceName=mongodb
          Jan 17 12:55:53 Implicit session: session { "id" : UUID("b12deb71-1de3-4375-9330-41dfddfc9382") }
          Jan 17 12:55:53 MongoDB server version: 4.2.12
          Jan 17 12:55:53 WARNING: shell and server versions do not match
          Jan 17 12:55:53 WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 0 })
          
          1 Reply Last reply Reply Quote 0
          • applecrusher
            applecrusher @nebulon last edited by

            @nebulon

            These are the logs until it gets to the loop:

            Jan 17 12:58:15 Change Stream is available for your installation, give admin permissions to your database user to use this improved version.
            Jan 17 12:58:20 box:tasks update 3422: {"percent":50,"message":"Stopping app services"}
            Jan 17 12:58:20 box:tasks update 3422: {"percent":80,"message":"Removing collectd profile"}
            Jan 17 12:58:20 box:shell removeCollectdProfile spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/configurecollectd.sh remove 10d59f6a-ad56-4f7a-917f-ece63fc6ac18
            Jan 17 12:58:20 box:shell removeCollectdProfile (stdout): Restarting collectd
            Jan 17 12:58:20 box:shell removeCollectdProfile (stdout): Removing collectd stats of 10d59f6a-ad56-4f7a-917f-ece63fc6ac18
            Jan 17 12:58:20 box:tasks update 3422: {"percent":100,"message":"Done"}
            Jan 17 12:58:20 box:taskworker Task took 9.975 seconds
            Jan 17 12:58:20 box:tasks setCompleted - 3422: {"result":null,"error":null}
            Jan 17 12:58:20 box:tasks update 3422: {"percent":100,"result":null,"error":null}
            Jan 17 12:58:27 box:settings initCache: pre-load settings
            Jan 17 12:58:27 box:taskworker Starting task 3423. Logs are at /home/yellowtent/platformdata/logs/10d59f6a-ad56-4f7a-917f-ece63fc6ac18/apptask.log
            Jan 17 12:58:27 box:apptask run: startTask installationState: pending_start runState: running
            Jan 17 12:58:27 box:tasks update 3423: {"percent":10,"message":"Starting app services"}
            Jan 17 12:58:27 box:tasks update 3423: {"percent":35,"message":"Starting container"}
            Jan 17 12:58:28 => Creating runtime directories
            Jan 17 12:58:28 => Setting up LDAP integration
            Jan 17 12:58:28 box:tasks update 3423: {"percent":60,"message":"Adding collectd profile"}
            Jan 17 12:58:28 box:shell addCollectdProfile spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/configurecollectd.sh add 10d59f6a-ad56-4f7a-917f-ece63fc6ac18
            Jan 17 12:58:28 box:shell addCollectdProfile (stdout): Restarting collectd
            Jan 17 12:58:28 box:tasks update 3423: {"percent":80,"message":"Configuring reverse proxy"}
            Jan 17 12:58:28 box:reverseproxy ensureCertificate: test2.nlavideo.com certificate already exists at /home/yellowtent/platformdata/nginx/cert/_.nlavideo.com.key
            Jan 17 12:58:28 box:reverseproxy expiryDate: /home/yellowtent/platformdata/nginx/cert/_.nlavideo.com.cert notAfter=Feb 21 23:13:22 2022 GMT daysLeft=35.21867809027778
            Jan 17 12:58:28 => Existing installation detected
            Jan 17 12:58:28 box:reverseproxy providerMatchesSync: /home/yellowtent/platformdata/nginx/cert/_.nlavideo.com.cert subject=CN = *.nlavideo.com domain=*.nlavideo.com issuer=C = US, O = Let's Encrypt, CN = R3 wildcard=true/true prod=true/true issuerMismatch=false wildcardMismatch=false match=true
            Jan 17 12:58:28 MongoDB shell version v4.4.11
            Jan 17 12:58:28 box:reverseproxy writeAppNginxConfig: writing config for "test2.nlavideo.com" to /home/yellowtent/platformdata/nginx/applications/10d59f6a-ad56-4f7a-917f-ece63fc6ac18.conf with options {"sourceDir":"/home/yellowtent/box","vhost":"test2.nlavideo.com","hasIPv6":true,"ip":"172.18.19.66","port":3000,"endpoint":"app","certFilePath":"/home/yellowtent/platformdata/nginx/cert/_.nlavideo.com.cert","keyFilePath":"/home/yellowtent/platformdata/nginx/cert/_.nlavideo.com.key","robotsTxtQuoted":null,"cspQuoted":null,"hideHeaders":[],"proxyAuth":{"id":"10d59f6a-ad56-4f7a-917f-ece63fc6ac18","location":"/"},"ocsp":true}
            Jan 17 12:58:28 box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
            Jan 17 12:58:28 box:tasks update 3423: {"percent":100,"message":"Done"}
            Jan 17 12:58:28 connecting to: mongodb://mongodb:27017/269e52ac0084de44?compressors=disabled&gssapiServiceName=mongodb
            Jan 17 12:58:28 box:taskworker Task took 1.358 seconds
            Jan 17 12:58:28 box:tasks setCompleted - 3423: {"result":null,"error":null}
            Jan 17 12:58:28 box:tasks update 3423: {"percent":100,"result":null,"error":null}
            Jan 17 12:58:28 Implicit session: session { "id" : UUID("6e558527-7ca5-49e1-9463-3da63fa2fbb4") }
            Jan 17 12:58:28 MongoDB server version: 4.2.12
            Jan 17 12:58:28 WARNING: shell and server versions do not match
            Jan 17 12:58:28 WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 0 })
            Jan 17 12:58:28 MongoDB shell version v4.4.11
            Jan 17 12:58:28 connecting to: mongodb://mongodb:27017/269e52ac0084de44?compressors=disabled&gssapiServiceName=mongodb
            Jan 17 12:58:28 Implicit session: session { "id" : UUID("11750970-8bb8-4321-b73e-3b9133a30d3f") }
            Jan 17 12:58:28 MongoDB server version: 4.2.12
            Jan 17 12:58:28 WARNING: shell and server versions do not match
            Jan 17 12:58:28 WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 0 })
            Jan 17 12:58:28 MongoDB shell version v4.4.11
            
            nebulon 1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff @applecrusher last edited by

              @applecrusher the version mismatch warning is not the issue. Also the initial upserts are normal. So I assume there is some issue later or you can paste some longer logs which do show when the app exactly stops or restarts.

              1 Reply Last reply Reply Quote 0
              • Moved from Support by  girish girish 
              • girish
                girish Staff last edited by

                Can you check the output of dmesg as well to check if you are getting any OOM crashes?

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

                  @girish Sorry for the late and no reply. It was a new server with nothing on it, so it was just best for me to spend a couple of minutes and just reinstall everything. That worked. I know it doesn't help solve the problem, but that worked for me.

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