Cloudron won't update - No backup site for update
-
I'm running Cloudron 9.0.13 and I see that version 9.0.15 is available. Every time I try to upgrade I get "Cloudron update failed, No backup site for update".
Please advise.
-
I think that means that no backup destinations have been set up or no successful backups have completed. Cloudron won’t update if there’s no backup to roll back to.
-
Hello @swheeler78
Please visit your Cloudron domain under
https://my.$DOMAIN.$TLD#/backup-sitesor use the sidebar navigation in your Cloudron dashboard and clickBackups->Sites.Please share a screenshot of this configuration.
After that, you can attempt to fix it with the suggestions made by @humptydumpty and @robi. -
@joseph Thanks. That was it. I had a backup setup and working but even when I told it to skip backup on the upgrade it still gave me an error. Had to check the box for storing automatic backups even though I chose to skip the backup.
-
J james has marked this topic as solved
-
@goseph10 that was a bug. I have fixed this in https://git.cloudron.io/platform/box/-/commit/1594d190eb29071c0aa11ff0a0e48554bb5fc04f
You can edit
/home/yellowtent/box/src/updater.jsand fix line 229:if (!options.skipBackup && sites.length === 0) throw new BoxError(BoxError.BAD_STATE, 'No backup site is enabled to store automatic-update backups. Enable this in a backup site to continue.');After that
systemctl restart box
