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. Support
  3. Orange circles in Services

Orange circles in Services

Scheduled Pinned Locked Moved Solved Support
services
40 Posts 8 Posters 4.7k Views 8 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.
  • robiR robi

    @girish The services are fine. No errors in logs.

    The UI seems to not pick up that the services should be green. Until the above actions are taken.

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #4

    @robi Ah, I see some UI issue. Thanks for reporting, will have to take a look.

    1 Reply Last reply
    2
    • d19dotcaD Offline
      d19dotcaD Offline
      d19dotca
      wrote on last edited by
      #5

      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

      --
      Dustin Dauncey
      www.d19.ca

      robiR 1 Reply Last reply
      0
      • d19dotcaD d19dotca

        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

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #6

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

        Conscious tech

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #7

          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
          0
          • nebulonN nebulon

            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 Offline
            T Offline
            tomw
            wrote on last edited by tomw
            #8

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

            nebulonN 1 Reply Last reply
            0
            • T 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.

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

              @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
              0
              • d19dotcaD Offline
                d19dotcaD Offline
                d19dotca
                wrote on last edited by
                #10

                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.

                --
                Dustin Dauncey
                www.d19.ca

                1 Reply Last reply
                0
                • scookeS Offline
                  scookeS Offline
                  scooke
                  wrote on last edited by
                  #11

                  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!

                  A life lived in fear is a life half-lived

                  1 Reply Last reply
                  0
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #12

                    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
                    0
                    • subvenS Offline
                      subvenS Offline
                      subven
                      wrote on last edited by subven
                      #13

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

                      girishG 1 Reply Last reply
                      0
                      • subvenS 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 ^^

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #14

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

                        subvenS 1 Reply Last reply
                        2
                        • girishG girish

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

                          subvenS Offline
                          subvenS Offline
                          subven
                          wrote on last edited by
                          #15

                          @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
                          0
                          • robiR Offline
                            robiR Offline
                            robi
                            wrote on last edited by
                            #16

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

                            Conscious tech

                            1 Reply Last reply
                            1
                            • d19dotcaD Offline
                              d19dotcaD Offline
                              d19dotca
                              wrote on last edited by d19dotca
                              #17

                              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

                              --
                              Dustin Dauncey
                              www.d19.ca

                              1 Reply Last reply
                              0
                              • subvenS Offline
                                subvenS Offline
                                subven
                                wrote on last edited by subven
                                #18

                                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

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

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

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

                                  subvenS 1 Reply Last reply
                                  0
                                  • nebulonN nebulon

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

                                    subvenS Offline
                                    subvenS Offline
                                    subven
                                    wrote on last edited by
                                    #20

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

                                    nebulonN 1 Reply Last reply
                                    0
                                    • subvenS subven

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

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

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

                                      subvenS 1 Reply Last reply
                                      0
                                      • nebulonN nebulon

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

                                        subvenS Offline
                                        subvenS Offline
                                        subven
                                        wrote on last edited by
                                        #22

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

                                        robiR 1 Reply Last reply
                                        2
                                        • subvenS subven

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

                                          robiR Offline
                                          robiR Offline
                                          robi
                                          wrote on last edited by
                                          #23

                                          @subven can you be more specific?

                                          Conscious tech

                                          subvenS 1 Reply Last reply
                                          0
                                          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