Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    "KeyTooLongError: Your key is too long" with rsync

    EspoCRM
    3
    4
    44
    Loading More Posts
    • 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.
    • marcusquinn
      marcusquinn last edited by marcusquinn

      Does anyone else get "KeyTooLongError: Your key is too long" errors on using rsync & encryption for backups with EspoCRM?

      It happens with the basic installation and nothing changed other than the logo and localisation settings:

      933d7328-0441-41bd-884f-3f9843cdbb6d-image.png

      (The backups above that are Tarballs but that's impractical for larger servers.)

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        I guess this is towards an S3 storage? The issue comes from the backup encryption which also encrypts the filenames with rsync and thus if the directory tree is too deep it will eventually fail faster than without, depending on the filename length supported by the used storage.

        Often this happens with Nextcloud but it can hit with any app of course. I don't think there is any other solution for now besides disabling backup encryption.

        marcusquinn 1 Reply Last reply Reply Quote 0
        • marcusquinn
          marcusquinn @nebulon last edited by

          @nebulon Yeah S3. I just thought it strange to happen with the clean install but I guess that's how it's designed. Thanks, I'll have a rethink on the options.

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            That's a bit unfortunate that the default install hits the key limit issue 😕 The key limit limitations are documented here - https://docs.cloudron.io/backups/#encryption

            1 Reply Last reply Reply Quote 2
            • First post
              Last post