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


Navigation

    Cloudron Forum

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

    Orange circles in Services

    Support
    services
    7
    16
    107
    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.
    • nebulon
      nebulon Staff last edited by

      if this comes up again for one of you, can you open the webinspector's network tab and see if there are new requests happening to fetch the current service status and if so, can you dump maybe a few examples of the response body for investigation?

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

        @nebulon I experienced something similar. Currently graphite, mail, mongodb and mysql appear orange. Here's the response for graphite, for example:

        {
          "service": {
            "name": "graphite",
            "status": "starting",
            "error": "Error waiting for graphite: ESOCKETTIMEDOUT",
            "healthcheck": null,
            "config": {
              "memoryLimit": 268435456
            }
          }
        }
        

        Each time I refresh the page, it seems to be a lucky dip which of those come back as green and which as orange. e.g. a second time everything was green except mail, a third time mysql is orange again.

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

          @tomw this actually then sounds like the UI is showing the correct state, however the addons are not reliably and timely responding to the status call.

          1 Reply Last reply Reply Quote 0
          • d19dotca
            d19dotca last edited by

            For what it's worth, I'm currently running on Ubuntu 20.04, not sure if that's making a difference at all since the add-on components would be running a different version I presume (i.e. MySQL, PostgreSQL, MongoDB, etc.), though I guess that doesn't necessarily make sense for the Mail service.

            1 Reply Last reply Reply Quote 0
            • scooke
              scooke last edited by

              FWIW, I just checked my Services, and saw that mail and mongodb were orange. So I tweaked the memory just a tiny little bit (adding 124 MB), and the circle almost immediately went green. I don't know what that might add to the search, but if you want a green circle, this seems to be one way to get it!

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

                OK, I have added a fix for the next release to clear the timeout when getting service status. This should hopefully mitigate the issue.

                1 Reply Last reply Reply Quote 0
                • subven
                  subven last edited by subven

                  Hmm I have a similar issue on a Cloudron (v6.1.2 and before) where random apps are stuck in "Starting" but apparently working/running as they should. Services however work just fine on this Cloudron.

                  2021-02-16 20_35_51.png

                  This state is kinda permanent and restarting the app nor the server does not help. Also seems to be kinda random what app is affected but their numbers seem to grow. My other two Cloudrons are fine ^^

                  Log output as en example (for Element) is:

                  Feb 16 20:36:35 box:settings initCache: pre-load settings
                  Feb 16 20:36:35 box:taskworker Starting task 789. Logs are at /home/yellowtent/platformdata/logs/e0016eed-67a4-45dd-8234-642c8aee11d3/apptask.log
                  Feb 16 20:36:35 box:tasks 789: {"percent":2,"error":null}
                  Feb 16 20:36:35 box:apptask chat.heregoesthedomain.com startTask installationState: pending_restart runState: running
                  Feb 16 20:36:35 box:tasks 789: {"percent":20,"message":"Restarting container"}
                  Feb 16 20:36:35 http-server stopped.
                  Feb 16 20:36:36 ==> Starting Riot
                  Feb 16 20:36:36 box:tasks 789: {"percent":100,"message":"Done"}
                  Feb 16 20:36:36 box:apptask chat.heregoesthedomain.com updating app with values: {"installationState":"installed","error":null,"health":null}
                  Feb 16 20:36:36 box:taskworker Task took 1.109 seconds
                  Feb 16 20:36:36 box:tasks setCompleted - 789: {"result":null,"error":null}
                  Feb 16 20:36:36 box:tasks 789: {"percent":100,"result":null,"error":null}
                  Feb 16 20:36:36 Starting up http-server, serving /app/code
                  Feb 16 20:36:36 Available on:
                  Feb 16 20:36:36 http://127.0.0.1:3000
                  Feb 16 20:36:36 http://172.18.16.9:3000
                  Feb 16 20:36:36 Hit CTRL-C to stop the server
                  Feb 16 20:36:57 [2021-02-16T19:36:57.389Z] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
                  

                  PS: Sorry, not wanted to hijack this topic. I thought about opening an seperate issue for this but so far it was not that much of a problem and I hoped it would be fixed after the next update ^^

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

                    @subven I think the starting issue is something else. If you do systemctl restart box, I think they will all become running again. Can you please try?

                    subven 1 Reply Last reply Reply Quote 2
                    • subven
                      subven @girish last edited by

                      @girish said in Orange circles in Services:

                      @subven I think the starting issue is something else. If you do systemctl restart box, I think they will all become running again. Can you please try?

                      Yes they are 🙂 I was confused because even box:apphealthmonitor said the apps are up.

                      1 Reply Last reply Reply Quote 0
                      • robi
                        robi last edited by

                        something is getting lost between the checks and the UI representation.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post