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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
D

daixiwen

@daixiwen
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Latest backup of stopped app must be retained
    D daixiwen

    @scooke I can understand the logic, and I think I can fix this by making a manual backup persistent, but the documentation says here:

    For installed apps and box backups, the latest backup is always retained regardless of the policy. This ensures that even if all the backups are outside of the retention policy, there is still at least one backup preserved. This change also ensure that the latest backup of stopped apps is preserved when not referenced by any box backup.

    So either this is not working as intended, or the documentation needs to be updated, I think.

    Support backups

  • Latest backup of stopped app must be retained
    D daixiwen

    Hi! I thought I'd write here instead of creating a new thread because I have a very similar problem. I have 3 stopped apps on my system and discovered all of a sudden that none of them have a backup any more. I wonder if there is a problem with the backup retention code. I managed to reproduce the problem this way:

    • put the retention policy to something very low (like 2 days)
    • stop an app and force a full system backup. The backup contains all the apps, including the stopped one.
    • let the system do scheduled backups for a few days. The following backups don't contain the stopped app, since there wasn't any change.
    • when the number of backups exceed the retention policy, the automatic clean up process removes the initial complete backup, leaving no backups of the stopped apps

    I don't think this is expected behavior, the documentation does say that Cloudron should always keep at least one backup of a stopped app. I'll now try having at least one manual backup set up as persistent and see in two says if it's still there, but ideally this should occur automatically. I can see from this thread here that is was a problem in 2020, could it be a bug that was reintroduced later in Cloudron?

    Support backups

  • Backup failed on backblaze. Status 408?
    D daixiwen

    I don't get any error. I must add that usually the backup works (give or take a few internal errors from BackBlaze). The "backup task crashed" only happened twice. The first time was on september 10th and the other one was yesterday.

    Support backups backblaze

  • backup failed (CR 8.0.6)
    D daixiwen

    I've had the same problem since the beginning of august I think and Backblaze pretends it's normal. Because of the way Backblaze is build we can expect to get errors 500 from time to time and we should just try again. As far as I know the backup script from cloudron already tries a certain number of times before giving up so I don't know if there is a solution, other than increasing further the number of attempts.

    Support backups backblaze

  • Backup failed on backblaze. Status 408?
    D daixiwen

    Hello,

    I've had several times now a failure when doing a backup. It says "Backup failed: Backuptask crashed. Logs are available". Here is the log:

    [no timestamp]  /home/yellowtent/box/node_modules/aws-sdk/lib/services/s3.js:712
    [no timestamp]  resp.error = AWS.util.error(new Error(), {
    [no timestamp]  ^
    [no timestamp] 
    [no timestamp]  null
    [no timestamp]  at Request.extractError (/home/yellowtent/box/node_modules/aws-sdk/lib/services/s3.js:712:35)
    [no timestamp]  at Request.callListeners (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
    [no timestamp]  at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
    [no timestamp]  at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:686:14)
    [no timestamp]  at Request.transition (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:22:10)
    [no timestamp]  at AcceptorStateMachine.runTo (/home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:14:12)
    [no timestamp]  at /home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:26:10
    [no timestamp]  at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:38:9)
    [no timestamp]  at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:688:12)
    [no timestamp]  at Request.callListeners (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
    [no timestamp]  code: 408,
    [no timestamp]  region: null,
    [no timestamp]  time: 2024-10-01T00:03:35.783Z,
    [no timestamp]  requestId: null,
    [no timestamp]  extendedRequestId: undefined,
    [no timestamp]  cfId: undefined,
    [no timestamp]  statusCode: 408,
    [no timestamp]  retryable: false,
    [no timestamp]  retryDelay: 20000
    [no timestamp]  }
    [no timestamp] 
    [no timestamp]  v20.12.2
    Oct 01 02:03:35 box:shell backup-snapshot/app_31cc776c-dfdd-4708-a74e-40df53fa1b2a: /usr/bin/sudo -S -E --close-from=4 /home/yellowtent/box/src/scripts/backupupload.js snapshot/app_31cc776c-dfdd-4708-a74e-40df53fa1b2a tgz {"localRoot":"/home/yellowtent/appsdata/31cc776c-dfdd-4708-a74e-40df53fa1b2a","layout":[]} errored BoxError: backup-snapshot/app_31cc776c-dfdd-4708-a74e-40df53fa1b2a exited with code 1 signal null
    [no timestamp]  at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:122:19)
    [no timestamp]  at ChildProcess.emit (node:events:518:28)
    [no timestamp]  at ChildProcess.emit (node:domain:488:12)
    [no timestamp]  at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
    [no timestamp]  reason: 'Shell Error',
    [no timestamp]  details: {},
    [no timestamp]  code: 1,
    [no timestamp]  signal: null
    [no timestamp]  }
    Oct 01 02:03:35 box:taskworker Task took 211.14 seconds
    Oct 01 02:03:35 box:tasks setCompleted - 2407: {"result":null,"error":{"stack":"BoxError: Backuptask crashed\n at runBackupUpload (/home/yellowtent/box/src/backuptask.js:164:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async uploadAppSnapshot (/home/yellowtent/box/src/backuptask.js:361:5)\n at async backupAppWithTag (/home/yellowtent/box/src/backuptask.js:383:5)\n at async fullBackup (/home/yellowtent/box/src/backuptask.js:504:29)","name":"BoxError","reason":"Internal Error","details":{},"message":"Backuptask crashed"}}
    Oct 01 02:03:35 box:tasks update 2407: {"percent":100,"result":null,"error":{"stack":"BoxError: Backuptask crashed\n at runBackupUpload (/home/yellowtent/box/src/backuptask.js:164:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async uploadAppSnapshot (/home/yellowtent/box/src/backuptask.js:361:5)\n at async backupAppWithTag (/home/yellowtent/box/src/backuptask.js:383:5)\n at async fullBackup (/home/yellowtent/box/src/backuptask.js:504:29)","name":"BoxError","reason":"Internal Error","details":{},"message":"Backuptask crashed"}}
    [no timestamp]  Backuptask crashed
    [no timestamp]  at runBackupUpload (/home/yellowtent/box/src/backuptask.js:164:15)
    [no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    [no timestamp]  at async uploadAppSnapshot (/home/yellowtent/box/src/backuptask.js:361:5)
    [no timestamp]  at async backupAppWithTag (/home/yellowtent/box/src/backuptask.js:383:5)
    [no timestamp]  at async fullBackup (/home/yellowtent/box/src/backuptask.js:504:29)
    

    It looks like the provider (Backblaze) is returning a status 408, but the script doesn't know how to handle it, or am I reading this wrong?
    According to [url=https://www.backblaze.com/docs/cloud-storage-native-api-error-handling-and-status-codes]Backblaze's documentation[/url] a status 408 is a timeout.

    Is there anything I can do, other than changing my backup provider?

    Support backups backblaze
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search