Old backup not found when updating app
-
Hi,
a bit different, but same error:
Since my storagebox are full, I added an additional backup site to an s3-bucket.
After starting backup, it fails shortly with the error FrenchyBear mentioned: "BoxError: Old backup not found"
For the new-s3-site i'm using rsync with encryption, the bucket is new, so there is nothing for cloudron to reference to.
The problem was with 9.0.12 and is also there, after installation of new version 9.0.13.So my account is new, it seems I can not add a screenshot.
-
@frenchybear Do you have a screenshot? Cloudron does not look for old backups during app updates, so I am a bit confused.
-
@frenchybear @tecbox are you able to contact support@cloudron.io ? We can investigate what the issue is.
-
@frenchybear Do you have a screenshot? Cloudron does not look for old backups during app updates, so I am a bit confused.
@joseph First, I have this message on system backup

The backup files are present on the backup volume (gc bucket), but are not listed.
Logs look like this :

What concerns App update (freescout), I have the same problem. THere's an update available, but the process cannot be completed. After several tries, still have this screen :

In the app logs, same error message "Old backup not found" even if I check the "skip backup" option -
@frenchybear I have been interacting with @tecbox on support . I could reproduce it with the specific S3 service that @tecbox is using . Are you able to share which S3 provider you are using?
@girish I use a google bucket
-
@frenchybear @tecbox are you able to contact support@cloudron.io ? We can investigate what the issue is.
@joseph I received an answer from support asking to write here...
-
@tecbox thanks for the report. The fix is https://git.cloudron.io/platform/box/-/commit/b759fdb6e35762ef5586c3e552a387c4aef15a42#da95ffafbc09b42991a792cd9824d5814e1ec274_373_372 . You just need that one line change.
Edit
/home/yellowtent/box/src/storage/s3.js. Then change line 372. Basically, remove the leading slash at the front. No need to restart anything after making the change. Make a new backup, it should work. Can you please let me know?return `${bucket}/${output}`;In Cloudron 9, we upgraded the AWS library from v2 to v3. It's possible that v2 library automatically removed this trailing slash. Maybe in v3, they don't do this anymore. Hard to find any info, but it seems in other providers both works.