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. Feature Requests
  3. Filter by State of the app

Filter by State of the app

Scheduled Pinned Locked Moved Solved Feature Requests
userinterface
14 Posts 6 Posters 2.1k Views 6 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.
    • rmdesR rmdes

      @girish Exactly and I would even push the idea further : what about having some kind of reporting with this only to admin or super admins ?
      right now if one app enters into some error state, there is nothing to get an alert unless one's login and verify the entire dashboard, I think even a simple email would work and if there is a link inside the email pointing directly to the app in question, that would be really neat !

      mehdiM Offline
      mehdiM Offline
      mehdi
      App Dev
      wrote on last edited by
      #4

      @rmdes said in Filter by State of the app:

      right now if one app enters into some error state, there is nothing to get an alert unless one's login and verify the entire dashboard, I think even a simple email would work

      There already are emails sent to admins when an app enters error state / when it is back online

      rmdesR 1 Reply Last reply
      0
      • mehdiM mehdi

        @rmdes said in Filter by State of the app:

        right now if one app enters into some error state, there is nothing to get an alert unless one's login and verify the entire dashboard, I think even a simple email would work

        There already are emails sent to admins when an app enters error state / when it is back online

        rmdesR Offline
        rmdesR Offline
        rmdes
        wrote on last edited by
        #5

        @mehdi Yup for offline/online/OOM but for not for state of the app with errors ?

        mehdiM 1 Reply Last reply
        1
        • rmdesR rmdes

          @mehdi Yup for offline/online/OOM but for not for state of the app with errors ?

          mehdiM Offline
          mehdiM Offline
          mehdi
          App Dev
          wrote on last edited by
          #6

          @rmdes I do not understand. When an app is in error state, it is considered offline by cloudron health check, so you get the email. Or am I missing something?

          rmdesR 1 Reply Last reply
          0
          • M Offline
            M Offline
            msbt
            App Dev
            wrote on last edited by
            #7

            @mehdi there were/are cases in which no email is being sent, when internal healthchecks are positive but the app is broken (either working or non-working, e.g. bitwarden, failed postgres migration in nextcloud/surfer)

            1 Reply Last reply
            3
            • mehdiM mehdi

              @rmdes I do not understand. When an app is in error state, it is considered offline by cloudron health check, so you get the email. Or am I missing something?

              rmdesR Offline
              rmdesR Offline
              rmdes
              wrote on last edited by
              #8

              @mehdi I should have kept a copy of a bunch of situations I found like this, no emails received and the app being in a weird state with errors and unable to finish the restart process..

              1 Reply Last reply
              2
              • rmdesR Offline
                rmdesR Offline
                rmdes
                wrote on last edited by
                #9

                @mehdi this is my use case : I have 20 minutes for maintenance, I want to login into one cloudron, filter app by states, take care of stalled or error states and voila
                get into another cloudron and do the same without having to scroll to check if all apps/domains are running fine..

                I'm not very fond of more emails
                maybe I should write a simple cloudron cli cron-job that restart apps if stuck in error states
                100% of the time those app should be running and 100% of the time restarting the app fix whatever stalled the task in the first place..

                I guess that's where having alerts via api/webhooks could be a better way to automate this kind of maintenance tasks when handling hundreds of apps

                robiR 1 Reply Last reply
                1
                • rmdesR rmdes

                  @mehdi this is my use case : I have 20 minutes for maintenance, I want to login into one cloudron, filter app by states, take care of stalled or error states and voila
                  get into another cloudron and do the same without having to scroll to check if all apps/domains are running fine..

                  I'm not very fond of more emails
                  maybe I should write a simple cloudron cli cron-job that restart apps if stuck in error states
                  100% of the time those app should be running and 100% of the time restarting the app fix whatever stalled the task in the first place..

                  I guess that's where having alerts via api/webhooks could be a better way to automate this kind of maintenance tasks when handling hundreds of apps

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

                  @rmdes
                  I posted about this in another thread.. I wanted a status at the top of the Admin panel that shows how many are running, how many are not and have those numbers be clickable as a filter to list the ones affected.

                  Since we're all about automation here, we don't really need a lot of new UI for things that should be automated. Restarts are automatable, it just gives up too soon during an error/timeout/whatever happened.

                  Adding a backoff timer for App restart will resolve 99% of issues without manual intervention at all.

                  There's your 20m back.

                  For those apps that fail to restart after 3 tries, a more reliable notification would be good.

                  Conscious tech

                  1 Reply Last reply
                  2
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #11

                    @nebulon has added a simple running/not running state filter for the next release. We will iterate on this as we go.

                    ruihildtR rmdesR 2 Replies Last reply
                    5
                    • girishG girish

                      @nebulon has added a simple running/not running state filter for the next release. We will iterate on this as we go.

                      ruihildtR Offline
                      ruihildtR Offline
                      ruihildt
                      wrote on last edited by
                      #12

                      @girish It would good to have a separated state for "not responding", which is an error state, and those stopped, which are by choice.

                      1 Reply Last reply
                      3
                      • robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #13

                        @ruihildt said in Filter by State of the app:

                        @girish It would good to have a separated state for "not responding", which is an error state, and those stopped, which are by choice.

                        Yes, this was part of my ask and mockup.. 👍

                        Conscious tech

                        1 Reply Last reply
                        2
                        • girishG girish

                          @nebulon has added a simple running/not running state filter for the next release. We will iterate on this as we go.

                          rmdesR Offline
                          rmdesR Offline
                          rmdes
                          wrote on last edited by
                          #14

                          @girish Yay thanks a lot !

                          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