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

    SOLVED Orange circles in Services

    Support
    services
    8
    40
    279
    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.
    • d19dotca
      d19dotca last edited by

      I guess you're already aware of the UI issue, but saw this as I was about to report this too. Seems I have the exact same issue reported by @robi in terms of services affected as well.

      I noticed in my Services tab today that several are continually in "starting" state even though they're actually operating properly and their logs can confirm it. While it says "starting", the service is actually running and should be green.

      Screen Shot 2021-02-14 at 6.56.45 PM.png

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

        @d19dotca thank you for the additional confirmation, data point, perspective and wording 😉

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

                              This appears to still be an issue on 6.2.1 by the way, though I seem to get this mostly with Mail now more than the others.

                              DF4AA3F4-DEEE-42D3-BBED-37B963169137.jpeg

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

                                Kinda same for me. Freshly installed server + imported Cloudron 6.1.2 backup. The server the backup is from did not had the problem.

                                2021-03-07 20_09_28-Window.png

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

                                  @subven interesting that it shows an "active" tooltip. Is this state consistent across page reloads?

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

                                    @nebulon said in Orange circles in Services:

                                    @subven interesting that it shows an "active" tooltip. Is this state consistent across page reloads?

                                    Mostly yes, red circles vary after reload. Seems to be my local Chrome because it works with FF and on other machines with Chrome. Strg+F5 and deleting the local site data storage does not help. It's fine for me since its only cosmetic.

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

                                      @subven I think this is some client side state race or so. Any information here in behavior can help 😉

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

                                        @nebulon I solved it. It was caused by one of my chrome addons (Dark Reader) 🙂

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

                                          @subven can you be more specific?

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

                                            @robi regarding to what? I had a similiar issue than other users (multiple false positive red circles) and I fixed it by disabling a Chrome addon (Dark Reader) that alters page CSS. I can reproduce it by enabling the addon for the dashboard domain.

                                            Dark Reader turned on:
                                            2021-03-08 20_30_16-Window.png

                                            Dark Reader turned off:
                                            2021-03-08 20_30_41-Window.png

                                            robi d19dotca 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post