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


Skip to content
  • 1 Votes
    4 Posts
    96 Views
    dsp76D
    Hi @james I think it means that - once Cloudron receives an error like NoSuchKey oder 404 not found when polling the object directly after upload - it still retries a number of times with exponentially growing delays added with some random delays ("Jitter"). So the error might only be temporal.
  • “Add Backup Site" button is not showing on 9.0

    Solved Support backups
    10
    2 Votes
    10 Posts
    516 Views
    K
    @james said: I am not quite sure what "hidden" post you are referring to, sorry a little confused here. New user so my posts are/were hidden until "approved", it wasn't showing yet, thus "hidden".
  • issue with backups on Scaleway

    Solved Support scaleway backups
    9
    1 Votes
    9 Posts
    526 Views
    jeauJ
    I spent several days trying to understand why backups kept failing on my Cloudron instance. After investigating the issue with Claude’s help, I identified and fixed two infrastructure issues on my own (detailed below for context), but Claude also highlighted a weakness on the Cloudron side: the lack of retries for transient network/DNS errors during S3 backup operations. I’m sharing this report written by Claude here for review. Title: Backup fails entirely on a single transient DNS/network error during S3 copy/list operations — no retry Version: Cloudron 9.2.0 (Ubuntu 22.04.5 LTS Linux 5.15.0-186-generic) Context : self-hosted server, backups to Scaleway Object Storage (S3-compatible), both tar and rsync backup formats affected Summary Over the past week I've had repeated backup failures, all sharing the same final symptom: Error: getaddrinfo EAI_AGAIN cloudron-rsync.s3.fr-par.scw.cloud This occurred at different stages of the backup pipeline across different incidents: during initial tar packing/upload, during copyInternal (S3-to-S3 copy for snapshot rotation), during checkPreconditions (mount point check), and during listDir (listing objects for rsync-based copy). The common thread in every case: a single DNS resolution hiccup during a long-running backup (which can involve tens of thousands of individual S3 operations) causes the entire backup task to crash and be marked as failed, with no retry attempted at the DNS/network level or at the individual-operation level. Root causes I found and fixed on my own infrastructure (not Cloudron bugs, but worth noting for context) A local mail service (Haraka, bundled with Cloudron) was stuck in an infinite retry loop performing reverse DNS (PTR) lookups on what turned out to be an IP in the reserved 240.0.0.0/4 range — never a real client IP, likely a bug in Haraka's own DNS-resolution/rDNS-check code generating a bad address internally. This flooded systemd-resolved with several lookups per second, 24/7, unrelated to backup timing. One of my two DHCP-provided DNS resolvers silently failed to respond at all over DNS-over-TCP (confirmed with dig +tcp @<ip>, consistent timeout), while working fine over UDP. When systemd-resolved fell back to TCP (e.g. due to the Haraka-induced UDP noise, or any other reason), it would sometimes pick this broken resolver and hang. Both issues are now fixed (mail service restart + config fix for #1, resolver removed from netplan config for #2), and backups now get much further before any failure — but a single transient DNS hiccup can still occasionally happen (as it can on any network), and it still takes down the whole backup task when it does. What would help Wrap listDir / copyDir / copyInternal (and any other network-dependent step in the backup pipeline) with a retry mechanism (e.g. 3 attempts with exponential backoff) for transient DNS/network errors like EAI_AGAIN, ETIMEDOUT, ECONNRESET. A single flaky lookup during a backup touching 80k+ files should not fail a multi-hour backup task that has otherwise fully succeeded. If a retry budget is exhausted, consider resuming/retrying at the file level rather than aborting the entire task — some backups got quite far (tens of thousands of files copied) before the single failure. More generally: the current behavior converts what should be a transient, self-healing network condition into a hard failure with reason: 'External Error' / 'Internal Error', requiring full backup task re-runs from scratch.
  • 1 Votes
    3 Posts
    269 Views
    girishG
    I have fixed the backupCommand to share the networking namespace with the app - https://git.cloudron.io/platform/box/-/commit/90a8ba1a4915dfbbb30f1073c4f75cd99635ae3d . This is consistent with how the scheduler/cron commands also run. Thanks for reporting!
  • Application unexpectedly missing in Backup

    Discuss backups scheduler
    6
    1 Votes
    6 Posts
    712 Views
    nottheendN
    Update: All apps in error state after Cloudron restore After restoring Cloudron, all my apps ended up in an error state. I've been digging into the logs and wanted to share what I found in case it's relevant to my setup or helps others. The key error from the app task log: Error: ENOENT: no such file or directory, scandir '/mnt/managedbackups/<uuid>/2026-06-10-000001-121/app_<myapp>.<mydomain>_v3.12.2' So during the restore, Cloudron tries to download the app backup from /mnt/managedbackups/..., but that path doesn't exist. This then causes the task to crash with an AssertionError rather than a clean BoxError, which is probably also worth flagging as a minor bug. I suspect this is related to my specific setup: I have an external backup location that is no longer mounted (as described earlier in this thread). Cloudron appears to be pointing the restore at that unmounted path. Resolution that worked for me: Explicitly restoring each app from its most recent backup (rather than letting the automatic restore run) resolved the error state. Ideally, this should be the default behaviour during a Cloudron restore anyway, restoring from the most recent available backup, so this might be worth looking into. Happy to provide more details if useful.
  • backup has started failing

    Solved Support backups
    4
    2 Votes
    4 Posts
    419 Views
    A
    Not sure exactly the cause, however the app being backed up was peertube, and a update was scheduled and failed around the same time. The fix was deleting the corrupt file in the snapshot folder on my truenas from shell. Then re-running the backup
  • BoxError: Another backup task is in progress: Update task is active

    Solved Support backups
    3
    1 Votes
    3 Posts
    364 Views
    J
    Please re-open the topic if you hit the problem in the latest releases.
  • 1 Votes
    3 Posts
    369 Views
    T
    @nebulon Thanks for this - I can confirm that this is an issue with the S3 endpoint and a faulty server app release not accepting upload and throwing HTTP/1.0 400 errors. If I may: The error message about MD5/checksum from Cloudron throw me off for a bit, not directly pointing at a lack of communication with the remote server. Reverting to an earlier release on the S3 endpoint fixed the issue.
  • Google Drive and OneDrive as Backup Destinations

    Feature Requests backups
    4
    2 Votes
    4 Posts
    830 Views
    I
    @robi Yes, I've tested the rclone before that's why I suggest this feature on Cloudron. I don't know the technical requirement on that, maybe what James said it's more a cloud file storage not for the server backup. Thank you Robi and James
  • 0 Votes
    14 Posts
    1k Views
    jdaviescoatesJ
    @james said: Hello @jdaviescoates The ooc tool is called this way https://docs.cloudron.io/packages/nextcloud#running-occ-tool sudo -u www-data php -f /app/code/occ $COMMAND Thanks, that worked.
  • Backup crashed

    Solved Support backups
    5
    1 Votes
    5 Posts
    675 Views
    jdaviescoatesJ
    @subven said: Replace your BIOS battery, go into BIOS and set current time, reboot and you should be fine. This is a dedicated server at Hetzner, not a home server. But the backup ran fine before and since, so I think perhaps I'll just not worry about it for now. The bigger completely unrelated issue would appear to be that when I do an integrity check on my rsync backups to Hetzner Storage Box (as opposed to this tarball to Scaleway buckets backup), they fail... I think I'll start a new thread about that.
  • Backups redundant?

    Discuss backups
    8
    3 Votes
    8 Posts
    2k Views
    robiR
    @girish said in Backups redundant?: @robi said in Backups redundant?: Made me ask to what would one restore this if not Cloudron (It's kind of special ! )? There is no standardized format for these backups, would have been great if there was one. One of my previous startups did have such a thing even though the focus was on app migration from any to any.
  • Secondary Backup to Google Drive

    Solved Support backups google drive
    4
    1 Votes
    4 Posts
    692 Views
    robiR
    @joseph yea, one would need to setup rclone to use Google Drive. Hence the old thread about it.
  • Backup Region (DigitalOcean Spaces) not available

    Solved Support digitalocean backups
    2
    1
    1 Votes
    2 Posts
    496 Views
    girishG
    Thanks, fixed - https://git.cloudron.io/platform/box/-/commit/51e02da277d972d1d8b514dc15256f88e2fbe201
  • Cloudron 9.0.15 - App Archive empty in backup

    Solved Support backups archive
    3
    1 Votes
    3 Posts
    607 Views
    jamesJ
    Hello @sebastienserre App Archives are not the same as backups. App Archives is when you go to an app, to the uninstallation section and archive the app. This uninstalls the app but keeps the latest backup as an archive so it can be restored. This archive is stored and kept outside the backup retention policy. See https://docs.cloudron.io/apps#archive [image: 3ca46733-ecad-4ae3-8980-65d96397645c-image.png] [image: f592674b-3485-4155-b11d-048fd845ac60-image.png] Your system backups are viewable under Backups> Sites.
  • 0 Votes
    20 Posts
    4k Views
    girishG
    There was a bug in Cloudron when backing up directories where the contents keep changing very quickly. This is fixed in https://git.cloudron.io/platform/box/-/commit/42cefd56eb9f89cfb6c7e35d6410dd5b7dbfa45d . Other than the above, the slowness is because of the usage of a cache plugin and this cache plugin's data is being backed up. Since it keeps changing all the time, there is a lot of stuff to clean up and reupload each time. A solution is to configure the cache plugin to use /run/xx path instead of /app/data . This should make things considerably faster.
  • Backup to tebi not working

    Solved Support s3 backups tebi
    13
    1 Votes
    13 Posts
    2k Views
    robiR
    @girish Can you send me a note in the chat here or an email as to what they said?
  • Domain backups

    Feature Requests backups domains
    1
    1 Votes
    1 Posts
    221 Views
    No one has replied
  • After auto update to 9.0.14: backup errors

    Solved Support sshfs backups
    5
    1 Votes
    5 Posts
    641 Views
    archosA
    @girish Thank you very much for the info. I didn’t manage to reply earlier, but I saved the backup configuration again and the morning backup completed successfully. I’ll also try upgrading to 9.0.15.
  • Bloated n8n backup

    Solved Support backups
    19
    1 Votes
    19 Posts
    4k Views
    U
    Also note, I am waiting for 9.0.14 to be stable release before I can update and then download a backup. Currently it's not possible to download a backup in 9.0.13 from Cloudflare R2.