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


    Cloudron Forum

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

    Solved aBackup failed BadDigest

    Support
    backups
    2
    3
    141
    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.
    • L
      leon last edited by girish

      Dear all,

      since some days my automatic backup of Cloudron fails. This is the error message I get:

      Error copying snapshot/app_534a1f46-f14d-4a40-a106-06f7034af7ac.tar.gz : BadDigest BadDigest: The Content-Md5 you specified did not match what we received.
      

      I use a S3 backup server (not AWS) which normally worked fine. Looking at my log-file I saw that the app causing the error was updated when the automatic backup started. The log-file has no message that the update was successful. The app is a nextcloud v4.2.1 but I updated it manually after the error occurred which was successful.
      I think that the problem could be caused by the update while the backup was running so that the file names now don't match. Neither restarting Cloudron nor manual backups help. Is there a way to restart the whole update process or what advice would you give to solve the problem?
      Thank you all 🙂

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

        @leon Mm, I haven't seen that error before. For the moment, if you disable automatic backups for NextCloud (under the NextCloud settings -> backups) and then take a full backup.

        After the above, do a manual nextcloud backup using the create backup button in the app's configure UI. Can you send us the resulting logs? (Debug -> Logs) to support@cloudron.io ?

        Also, we have a lock that should prevent the update and backup happening simultaneously. Restarting Cloudron will clear the lock and also stop all the backup/update process (which you tried already).

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

          We investigated this offline. The root cause was that the S3 storage service (strato hidrive) does not support multi-part copy. The workaround is to use the rsync format (Backups -> configure -> Format) when you have backups > 5GB.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB