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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Can't run cloudron update for an app in error state

Can't run cloudron update for an app in error state

Scheduled Pinned Locked Moved Unsolved Support
7 Posts 2 Posters 23 Views 2 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.
  • E Offline
    E Offline
    ekevu123
    wrote last edited by
    #1

    I have a custom app on Cloudron, I use the Cloudron Build Service, and the private docker registry on Cloudron.

    I might have accidentally deleted a previous image of my app, then installed an update, then tried to reinstate the backup, and now the app is stuck in error state.

    My solution would be to push an updated image and install it, but I can't. cloudron update in CLI shows this:

    Failed to update app: 409 message: Not allowed in error state
    

    But isn't pushing an update kind of what I want to do to get an app with an error out of the error state?

    Anyway, how do I fix this without reinstalling the app? I need to keep the database.

    LanhildL 1 Reply Last reply
    0
    • E ekevu123

      I have a custom app on Cloudron, I use the Cloudron Build Service, and the private docker registry on Cloudron.

      I might have accidentally deleted a previous image of my app, then installed an update, then tried to reinstate the backup, and now the app is stuck in error state.

      My solution would be to push an updated image and install it, but I can't. cloudron update in CLI shows this:

      Failed to update app: 409 message: Not allowed in error state
      

      But isn't pushing an update kind of what I want to do to get an app with an error out of the error state?

      Anyway, how do I fix this without reinstalling the app? I need to keep the database.

      LanhildL Offline
      LanhildL Offline
      Lanhild
      App Dev
      wrote last edited by
      #2

      @ekevu123 I never faced this situation. Maybe try putting it in recovery mode?

      1 Reply Last reply
      0
      • E Offline
        E Offline
        ekevu123
        wrote last edited by ekevu123
        #3

        I can't, because the app is stuck in "unable to pull image" state.

        An assumption of what I think might work:

        1. Delete the app
        2. Re-install it from scratch
        3. If it has the same name, previous backups appear?
        4. Then restore?

        But I'd need to know first if this works.

        LanhildL 1 Reply Last reply
        0
        • E ekevu123

          I can't, because the app is stuck in "unable to pull image" state.

          An assumption of what I think might work:

          1. Delete the app
          2. Re-install it from scratch
          3. If it has the same name, previous backups appear?
          4. Then restore?

          But I'd need to know first if this works.

          LanhildL Offline
          LanhildL Offline
          Lanhild
          App Dev
          wrote last edited by
          #4

          @ekevu123 uninstalling won't preserve the backups

          1 Reply Last reply
          0
          • E Offline
            E Offline
            ekevu123
            wrote last edited by
            #5

            The Cloudron team can say for sure, but I believe it does - backups don't get deleted when you uninstall an app. I think I used this method before in a different setting.

            LanhildL 1 Reply Last reply
            0
            • E ekevu123

              The Cloudron team can say for sure, but I believe it does - backups don't get deleted when you uninstall an app. I think I used this method before in a different setting.

              LanhildL Offline
              LanhildL Offline
              Lanhild
              App Dev
              wrote last edited by
              #6

              @ekevu123 I meant, you won't see the previously uninstalled app backups in the newly installed app, but yes backups won't get deleted

              1 Reply Last reply
              0
              • E Offline
                E Offline
                ekevu123
                wrote last edited by
                #7

                I found a solution for the problem: Since the app was looking for a docker tag, the solution was to tag the new image with the tag from the missing backup image, which got the app up, and then perform a proper update with the same image.

                1 Reply Last reply
                2

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                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