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. Immich
  3. Backup is fine for app, but fails for general cloudron backup

Backup is fine for app, but fails for general cloudron backup

Scheduled Pinned Locked Moved Immich
10 Posts 5 Posters 1.4k Views 5 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.
  • P Offline
    P Offline
    privsec
    wrote on last edited by
    #1

    Exactly as it says.
    I keep getting backup failed notices but when I manually backup the app it works just fine

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

      To help here, we need a lot more context, like error logs, storage provider and backup type used...

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

        More logs would help indeed, but I had a similar issue recently where I ran into rate limits of the backup provider. So, making the major backup of the whole cloudron helped me get this through successfully and then I trigger the big apps (e.g. Immich) manually at different times of the day.

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

          If such rate-limits are hit, it may not be the ideal backup provider then 😕

          1 Reply Last reply
          0
          • P Offline
            P Offline
            privsec
            wrote on last edited by
            #5

            So what do you need and where?

            I see this

            box:tasks update 11938: {"percent":94.02325581395341,"message":"Uploading backup 27648M@0MBps (pictures.domain.com)"}
            Jul 08 16:15:33 box:tasks update 11938: {"percent":94.02325581395341,"message":"Uploading backup 27648M@0MBps (pictures.domain.com)"}
            Jul 08 16:15:43 box:tasks update 11938: {"percent":94.02325581395341,"message":"Uploading backup 27648M@0MBps (pictures.domain.com)"}
            Jul 08 16:15:53 box:tasks update 11938: {"percent":94.02325581395341,"message":"Uploading backup 27648M@0MBps (pictures.domain.com)"}
            Jul 08 16:16:03 box:tasks update 11938: {"percent":94.02325581395341,"message":"Uploading backup 27648M@0MBps (pictures.domain.com)"}
            Jul 08 16:16:13 box:tasks update 11938: {"percent":94.02325581395341,"message":"Uploading backup 27648M@0MBps (pictures.domain.com)"}
            

            And I have these settings

            image.png

            Further I am using iDrive

            1 Reply Last reply
            0
            • P Offline
              P Offline
              privsec
              wrote on last edited by
              #6

              I also see these logs
              Jul 10 23:10:39 12:M 11 Jul 2024 05:10:39.017 * 10 changes in 300 seconds. Saving...
              Jul 10 23:10:39 12:M 11 Jul 2024 05:10:39.017 * Background saving started by pid 1355
              Jul 10 23:10:39 1355:C 11 Jul 2024 05:10:39.068 * DB saved on disk
              Jul 10 23:10:39 1355:C 11 Jul 2024 05:10:39.069 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
              Jul 10 23:10:39 12:M 11 Jul 2024 05:10:39.118 * Background saving terminated with success

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

                This appears to be the backup stalling issue which we have seen a few times now. A fix is coming with the next Cloudron version.

                1 Reply Last reply
                0
                • girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @privsec we have narrowed down the stalling issue. I am testing the fix on various servers (https://git.cloudron.io/cloudron/box/-/commit/1dc6b40a68067f705230f87d26fbd6e391798e93) . The main issue is that the files are changing when we are creating a tar ball. Tarball format requires us to know the size of the file and then stream the file. But if the size of the file changes when we are streaming it, we hit issues. The traditional tar tool usually gives a warning "file changed as we read it" for this situation.

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    privsec
                    wrote on last edited by
                    #9

                    Ahh ok. Interesting.

                    If this helps, I have two apps for photos. One app doesnt get any updates to it anymore (like new photos) and the other app does. Both are having this issue

                    What should I do in the mean time as I have now gone a whle without a full system back up

                    1 Reply Last reply
                    0
                    • J Online
                      J Online
                      joseph
                      Staff
                      wrote on last edited by joseph
                      #10

                      @privsec a quick workaround (until we have a fix) is to stop the app and take a backup. This will most likely succeed. Stopped apps cannot be backed up ...

                      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