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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Restoring Backups fails

Restoring Backups fails

Scheduled Pinned Locked Moved Unsolved Support
backupsrestore
32 Posts 7 Posters 1.2k Views 7 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.
  • philkunzP Offline
    philkunzP Offline
    philkunz
    wrote on last edited by
    #19

    zfs is on the host. cloudron uses non-cow inside the vm.

    1 Reply Last reply
    1
    • D Offline
      D Offline
      dylightful
      wrote last edited by
      #20

      cloudron_tarExtract_Pipeline error.png

      Experiencing the same issue with CIFS mounts. Creating backups work seamlessly. When you go to restore it attempts to restore a small subset of files 3 times before displaying the error. I noticed when I go to restore the app it doesn't prompt for an encryption password, perhaps an internal issue with storing of the encryption hash?

      P 1 Reply Last reply
      1
      • D dylightful

        cloudron_tarExtract_Pipeline error.png

        Experiencing the same issue with CIFS mounts. Creating backups work seamlessly. When you go to restore it attempts to restore a small subset of files 3 times before displaying the error. I noticed when I go to restore the app it doesn't prompt for an encryption password, perhaps an internal issue with storing of the encryption hash?

        P Offline
        P Offline
        p44
        translator
        wrote last edited by
        #21

        @dylightful Which provider are you using to backup files? What version of Cloudron are you using?

        D 1 Reply Last reply
        0
        • P p44

          @dylightful Which provider are you using to backup files? What version of Cloudron are you using?

          D Offline
          D Offline
          dylightful
          wrote last edited by
          #22

          @p44

          CIFS Mount to storage provider - Version 9.0.13

          Backups work fine, restoration gives the above error.

          P 1 Reply Last reply
          0
          • J Offline
            J Offline
            joseph
            Staff
            wrote last edited by
            #23

            @dylightful the verification signature is now saved but there is no UI yet .

            Can you check if you have a .backupinfo file next to your .tar.gz ? Inside .backupinfo there will be a sha256 checksum. Can you check if sha256 sum matches with the .tar.gz file ?

            1 Reply Last reply
            0
            • D dylightful

              @p44

              CIFS Mount to storage provider - Version 9.0.13

              Backups work fine, restoration gives the above error.

              P Offline
              P Offline
              p44
              translator
              wrote last edited by
              #24

              @dylightfu That is the main problem.... the restoration, not the backup... Can you give us storage provider company name?

              D 1 Reply Last reply
              0
              • P p44

                @dylightfu That is the main problem.... the restoration, not the backup... Can you give us storage provider company name?

                D Offline
                D Offline
                dylightful
                wrote last edited by
                #25

                @p44

                It is to a self hosted SAN

                P 1 Reply Last reply
                1
                • J Offline
                  J Offline
                  joseph
                  Staff
                  wrote last edited by
                  #26

                  @dylightful if there's a setup where we can debug, would be great since we are unable to reproduce it .

                  1 Reply Last reply
                  1
                  • D dylightful

                    @p44

                    It is to a self hosted SAN

                    P Offline
                    P Offline
                    p44
                    translator
                    wrote last edited by
                    #27

                    @dylightful ok. it could be useful to follow @joseph advice, to try to reproduce issue...

                    I had the same problem with Hetzner Storage Box via CIFS mount...

                    D 1 Reply Last reply
                    1
                    • P p44

                      @dylightful ok. it could be useful to follow @joseph advice, to try to reproduce issue...

                      I had the same problem with Hetzner Storage Box via CIFS mount...

                      D Offline
                      D Offline
                      dylightful
                      wrote last edited by
                      #28

                      @p44 tried hetzner now too. Same issue - backups fine, unable to restore (20GB LAMP stack)

                      P 1 Reply Last reply
                      1
                      • D dylightful

                        @p44 tried hetzner now too. Same issue - backups fine, unable to restore (20GB LAMP stack)

                        P Offline
                        P Offline
                        p44
                        translator
                        wrote last edited by
                        #29

                        @dylightful Please share logs or other infos with @joseph so we can finally understand what’s going on... this is a very important problem to understand ASAP. I had this problem too.

                        D 1 Reply Last reply
                        0
                        • P p44

                          @dylightful Please share logs or other infos with @joseph so we can finally understand what’s going on... this is a very important problem to understand ASAP. I had this problem too.

                          D Offline
                          D Offline
                          dylightful
                          wrote last edited by
                          #30
                          This post is deleted!
                          D 1 Reply Last reply
                          0
                          • D dylightful

                            This post is deleted!

                            D Offline
                            D Offline
                            dylightful
                            wrote last edited by
                            #31

                            Log file for @joseph

                            It displays this error 3 times

                            Dec 16 00:01:24 box:backupformat/tgz Attempt 2 failed. Will retry: tarExtract pipeline error: invalid stored block lengths
                            

                            After the 3rd time, it times out and fails with

                            Dec 16 00:01:49 box:apptask run: app error for state pending_restore: BoxError: tarExtract pipeline error: invalid stored block lengths at tarExtract (/home/yellowtent/box/src/backupformat/tgz.js:231:26) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async /home/yellowtent/box/src/backupformat/tgz.js:252:9 at async promiseRetry (/home/yellowtent/box/src/promise-retry.js:17:20) at async Object.download (/home/yellowtent/box/src/backupformat/tgz.js:248:5) at async download (/home/yellowtent/box/src/backuptask.js:129:5) at async Object.downloadApp (/home/yellowtent/box/src/backuptask.js:169:5) at async installCommand (/home/yellowtent/box/src/apptask.js:350:9) { reason: 'External Error', details: {} }
                            Dec 16 00:01:49 box:tasks setCompleted - 21001: {"result":null,"error":{"message":"tarExtract pipeline error: invalid stored block lengths","reason":"External Error"},"percent":100}
                            Dec 16 00:01:49 box:tasks updating task 21001 with: {"completed":true,"result":null,"error":{"message":"tarExtract pipeline error: invalid stored block lengths","reason":"External Error"},"percent":100}
                            Dec 16 00:01:49 box:taskworker Task took 57.836 seconds
                            Dec 16 00:01:49 BoxError: tarExtract pipeline error: invalid stored block lengths
                            Dec 16 00:01:49 at tarExtract (/home/yellowtent/box/src/backupformat/tgz.js:231:26)
                            Dec 16 00:01:49 at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
                            Dec 16 00:01:49 at async /home/yellowtent/box/src/backupformat/tgz.js:252:9
                            Dec 16 00:01:49 at async promiseRetry (/home/yellowtent/box/src/promise-retry.js:17:20)
                            Dec 16 00:01:49 at async Object.download (/home/yellowtent/box/src/backupformat/tgz.js:248:5)
                            Dec 16 00:01:49 at async download (/home/yellowtent/box/src/backuptask.js:129:5)
                            Dec 16 00:01:49 at async Object.downloadApp (/home/yellowtent/box/src/backuptask.js:169:5)
                            Dec 16 00:01:49 at async installCommand (/home/yellowtent/box/src/apptask.js:350:9)
                            Dec 16 00:01:49 Exiting with code 0
                            
                            1 Reply Last reply
                            0
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote last edited by
                              #32

                              @dylightful If we can have access to your setup, can you write to me at support@cloudron.io ? Would love to debug and figure out why it's failing . Is this reproducible easily - meaning if you take a backup and restore, it fails?

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