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. Can't restart a not responding app while backups are running

Can't restart a not responding app while backups are running

Scheduled Pinned Locked Moved Feature Requests
7 Posts 4 Posters 1.0k Views 4 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.
    • marcusquinnM Offline
      marcusquinnM Offline
      marcusquinn
      wrote on last edited by
      #1

      I can't restart a not responding app while backups are running, even though the backups stage is currently uploading another app.

      Since our backups are likely to take hours, the choice is to stop backups to allow for the restart and repair attempt, or wait a long time. Not ideal for production.

      Thinking this might need to be a Feature Request?

      Web Design https://www.evergreen.je
      Development https://brandlight.org
      Life https://marcusquinn.com

      girishG 1 Reply Last reply
      5
      • humptydumptyH Offline
        humptydumptyH Offline
        humptydumpty
        wrote on last edited by humptydumpty
        #2

        You got my upvote for this. I ran into this exact thing yesterday. I just set up a B2 bucket w/ rsync and it took over 16 hours before I had to kill it. Tgz took less than 10 minutes today. My entire server is around 28GB.

        Edit: Just found out how to upvote lol.

        1 Reply Last reply
        2
        • marcusquinnM marcusquinn

          I can't restart a not responding app while backups are running, even though the backups stage is currently uploading another app.

          Since our backups are likely to take hours, the choice is to stop backups to allow for the restart and repair attempt, or wait a long time. Not ideal for production.

          Thinking this might need to be a Feature Request?

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

          @marcusquinn Good idea. I will move this to feature requests.

          In case anyone is wondering why this is, we have a "global lock" for app task & backups. app tasks can run with a concurrency of 3 but will wait for backups to finish. I think restart can definitely be somehow "whitelisted" to be allowed without a lock.

          jimcavoliJ 1 Reply Last reply
          5
          • girishG girish

            @marcusquinn Good idea. I will move this to feature requests.

            In case anyone is wondering why this is, we have a "global lock" for app task & backups. app tasks can run with a concurrency of 3 but will wait for backups to finish. I think restart can definitely be somehow "whitelisted" to be allowed without a lock.

            jimcavoliJ Offline
            jimcavoliJ Offline
            jimcavoli
            App Dev
            wrote on last edited by
            #4

            @girish This has just started to become a noticeable/frequent problem for me as well; a smarter locking scheme with respect to backups would be much appreciated!

            girishG 1 Reply Last reply
            0
            • jimcavoliJ jimcavoli

              @girish This has just started to become a noticeable/frequent problem for me as well; a smarter locking scheme with respect to backups would be much appreciated!

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

              @jimcavoli A hack for the moment of course is to simply docker restart <container>. Not ideal, agreed.

              1 Reply Last reply
              0
              • marcusquinnM Offline
                marcusquinnM Offline
                marcusquinn
                wrote on last edited by
                #6

                Is this still not solved?

                Pretty fundamental flaw, given the choice between; losing a backup (because they take half a day to run now), or not being able to recover a stalled app until forever.

                Web Design https://www.evergreen.je
                Development https://brandlight.org
                Life https://marcusquinn.com

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

                  @marcusquinn not yet, but it is scheduled for next release - https://forum.cloudron.io/topic/9975/what-s-coming-in-9-0-was-8-0 (the "remove global lock for backups" bullet point)

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