Backup fails: checkPreconditions errored with code 1 message
-
Hi there,
It's the second day now that the backup fails with this error message.
The app ID points to Mastodon, which is running fine as far as I can tell.
I am running v8.0.6 with backups to Hetzner Storage Box via sshfs, but I understand correctly, it's not even getting to the upload part.checkPreconditions errored with code 1 message Command failed: du -Dsb --exclude=*.lock --exclude=dovecot.list.index.log.* /home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/345': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/346/860': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/346/861': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/346/865': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/346/867': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/347/542': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/347/545': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/347/541': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/347/556': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/347/548': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/347/550': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/media_attachments/files/113/347/553': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/preview_cards/images/001/263': No such file or directory du: cannot access '/home/yellowtent/appsdata/c5d30482-9837-4fdb-8c21-04ef653d691c/data/system/cache/preview_cards/images/001/278': No such file or directory -
This is unfortunately a known issue with the linux
ducommand. It happens, when a file gets removed while it is trying to calculate the size of a folder structure. This happens with apps which frequently do file operations while the backup tries to calculate the expected size of the backup.For some known filetypes, we already use the
--excludeargument, but since those files here do not have an extension this is tough.The proper fix will be a custom implementation of
duwhere we can handle such cases, as we only need a rough size estimation here.Until we have that, I guess the app needs to be stopped for the backup or the backup retried until it hits a point where the files do not change mid-way.
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login