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. Support
  3. Urgent: Backups failing Your key is too long HTTP Code: KeyTooLongError

Urgent: Backups failing Your key is too long HTTP Code: KeyTooLongError

Scheduled Pinned Locked Moved Solved Support
backups
14 Posts 4 Posters 1.7k 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 girish
    #1

    I first got this error message saying my backup failed, I dismissed it and force started one.

    I then got this error message
    d8d192e4-cded-4092-a18f-df1622bf474b-image.png

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

      It helps if I read documentation
      https://docs.cloudron.io/backups/#encryption

      P 1 Reply Last reply
      0
      • P privsec

        It helps if I read documentation
        https://docs.cloudron.io/backups/#encryption

        P Offline
        P Offline
        privsec
        wrote on last edited by
        #3

        Is there no way around this?

        There are hundreds, if not thousands of files it lists in an encrypted format.

        girishG 1 Reply Last reply
        0
        • d19dotcaD Offline
          d19dotcaD Offline
          d19dotca
          wrote on last edited by
          #4

          What is your current backup configuration set as, specifically what service you're using for it? I wonder if it's a limitation in one of the S3 providers for example.

          --
          Dustin Dauncey
          www.d19.ca

          P 2 Replies Last reply
          0
          • d19dotcaD d19dotca

            What is your current backup configuration set as, specifically what service you're using for it? I wonder if it's a limitation in one of the S3 providers for example.

            P Offline
            P Offline
            privsec
            wrote on last edited by
            #5

            @d19dotca I am using Wasabi

            1 Reply Last reply
            0
            • d19dotcaD d19dotca

              What is your current backup configuration set as, specifically what service you're using for it? I wonder if it's a limitation in one of the S3 providers for example.

              P Offline
              P Offline
              privsec
              wrote on last edited by
              #6

              @d19dotca This worked just fine up until today

              1 Reply Last reply
              0
              • d19dotcaD Offline
                d19dotcaD Offline
                d19dotca
                wrote on last edited by d19dotca
                #7

                It looks like this post is a bit of a duplicate. Seen a few times earlier in this forum alone:

                https://forum.cloudron.io/topic/4554/keytoolongerror-your-key-is-too-long-with-rsync/1

                https://forum.cloudron.io/topic/3284/wasabi-backup-error-keytoolong/2

                Basically it seems the path name(s) are too long when encrypted, and it hits the limit from the storage provider. Nothing to really do except disable encryption in that case, or somehow fix up the path that's too long (though that's not nearly as easy to do).

                --
                Dustin Dauncey
                www.d19.ca

                P 1 Reply Last reply
                0
                • d19dotcaD d19dotca

                  It looks like this post is a bit of a duplicate. Seen a few times earlier in this forum alone:

                  https://forum.cloudron.io/topic/4554/keytoolongerror-your-key-is-too-long-with-rsync/1

                  https://forum.cloudron.io/topic/3284/wasabi-backup-error-keytoolong/2

                  Basically it seems the path name(s) are too long when encrypted, and it hits the limit from the storage provider. Nothing to really do except disable encryption in that case, or somehow fix up the path that's too long (though that's not nearly as easy to do).

                  P Offline
                  P Offline
                  privsec
                  wrote on last edited by
                  #8

                  Im attempting a manual backup again too see if that will do anything. If not, ill have to figure something out and fast

                  1 Reply Last reply
                  0
                  • P privsec

                    Is there no way around this?

                    There are hundreds, if not thousands of files it lists in an encrypted format.

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

                    @privsec the only fix is to either shorten all the filenames. alternately, simply use tgz backups with encryption. that does not have this limitation.

                    P 1 Reply Last reply
                    1
                    • girishG girish

                      @privsec the only fix is to either shorten all the filenames. alternately, simply use tgz backups with encryption. that does not have this limitation.

                      P Offline
                      P Offline
                      privsec
                      wrote on last edited by
                      #10

                      @girish Oh, thats all?

                      I would like to clarify with TGZ, if my total storage in wasabi storage is 14tb for example, does that mean that 14tb is being tgz'ed backed up? So I then will need 14tb ram?

                      nebulonN 1 Reply Last reply
                      0
                      • P privsec

                        @girish Oh, thats all?

                        I would like to clarify with TGZ, if my total storage in wasabi storage is 14tb for example, does that mean that 14tb is being tgz'ed backed up? So I then will need 14tb ram?

                        nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #11

                        @privsec Cloudron will create one tarball for each app + one for the platform for backup. I don't think you have 14tb of data in the apps, but I guess that is just an accumulation of all your backups, also previous ones like from a week ago. Also the tarball creation is streamed, so it will not put everything in memory all at once.

                        P 1 Reply Last reply
                        1
                        • nebulonN nebulon

                          @privsec Cloudron will create one tarball for each app + one for the platform for backup. I don't think you have 14tb of data in the apps, but I guess that is just an accumulation of all your backups, also previous ones like from a week ago. Also the tarball creation is streamed, so it will not put everything in memory all at once.

                          P Offline
                          P Offline
                          privsec
                          wrote on last edited by privsec
                          #12

                          @nebulon The 14tb is in relation to my connected wasabi storage that houses my media that my friends and family use that is connected through nextcloud.

                          girishG 1 Reply Last reply
                          0
                          • P privsec

                            @nebulon The 14tb is in relation to my connected wasabi storage that houses my media that my friends and family use that is connected through nextcloud.

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

                            @privsec If it's connected via nextcloud's external storage feature, then those are not part of the backup.

                            P 1 Reply Last reply
                            1
                            • girishG girish

                              @privsec If it's connected via nextcloud's external storage feature, then those are not part of the backup.

                              P Offline
                              P Offline
                              privsec
                              wrote on last edited by
                              #14

                              Ok, thanks

                              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