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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Backup quits with

Backup quits with

Scheduled Pinned Locked Moved Unsolved Support
backup
3 Posts 3 Posters 20 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Online
    luckowL Online
    luckow
    translator
    wrote last edited by
    #1

    Cloudron v 9.1.3

    Any idea how to solve the problem? 5fc22e33- is a freescout app instance. Backup site is sshfs (rsync) to hetzner storage box.

    Mar 13 23:20:49 box:backupformat/rsync sync: done processing adds. error: null
    Mar 13 23:20:49 box:syncer finalize: patching in integrity information into /home/yellowtent/platformdata/backup/d25302c6-2b1d-446e-a05d-b5f7cb39eb87/5fc22e33-ac60-4f99-bbe3-2ca8cf9e12c7.sync.cache
    Mar 13 23:20:49 box:backupupload upload completed. error: SyntaxError: Unterminated string in JSON at position 83 (line 1 column 84) at JSON.parse (<anonymous>) at Object.finalize (file:///home/yellowtent/box/src/syncer.js:183:33) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async sync (file:///home/yellowtent/box/src/backupformat/rsync.js:211:5) at async Object.upload (file:///home/yellowtent/box/src/backupformat/rsync.js:309:12) at async Object.upload (file:///home/yellowtent/box/src/backuptask.js:101:37)
    Mar 13 23:20:49 box:backuptask runBackupUpload: result - {"errorMessage":"Unterminated string in JSON at position 83 (line 1 column 84)"}
    Mar 13 23:20:50 box:shell backuptask: /usr/bin/sudo --non-interactive -E --close-from=4 /home/yellowtent/box/src/scripts/backupupload.js snapshot/app_5fc22e33-ac60-4f99-bbe3-2ca8cf9e12c7 d25302c6-2b1d-446e-a05d-b5f7cb39eb87 {"localRoot":"/home/yellowtent/appsdata/5fc22e33-ac60-4f99-bbe3-2ca8cf9e12c7","layout":[]} errored BoxError: /usr/bin/sudo exited with code 50 signal null
    Mar 13 23:20:50 at ChildProcess.<anonymous> (file:///home/yellowtent/box/src/shell.js:70:23)
    Mar 13 23:20:50 at ChildProcess.emit (node:events:508:28)
    Mar 13 23:20:50 at maybeClose (node:internal/child_process:1101:16)
    Mar 13 23:20:50 at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
    Mar 13 23:20:50 reason: 'Shell Error',
    Mar 13 23:20:50 details: {},
    Mar 13 23:20:50 stdout: '',
    Mar 13 23:20:50 stdoutString: '',
    Mar 13 23:20:50 stdoutLineCount: 0,
    Mar 13 23:20:50 stderr: '',
    Mar 13 23:20:50 stderrString: '',
    Mar 13 23:20:50 stderrLineCount: 0,
    Mar 13 23:20:50 code: 50,
    Mar 13 23:20:50 signal: null,
    Mar 13 23:20:50 timedOut: false,
    Mar 13 23:20:50 terminated: false
    Mar 13 23:20:50 }
    Mar 13 23:20:50 box:backuptask fullBackup: app support.indielux.com backup finished. Took 1051.191 seconds
    Mar 13 23:20:50 box:locks write: current locks: {"full_backup_task_d25302c6-2b1d-446e-a05d-b5f7cb39eb87":null}
    Mar 13 23:20:50 box:locks release: app_backup_5fc22e33-ac60-4f99-bbe3-2ca8cf9e12c7
    Mar 13 23:20:50 box:tasks setCompleted - 10911: {"result":null,"error":{"message":"Unterminated string in JSON at position 83 (line 1 column 84)","reason":"External Error"},"percent":100}
    Mar 13 23:20:50 box:tasks updating task 10911 with: {"completed":true,"result":null,"error":{"message":"Unterminated string in JSON at position 83 (line 1 column 84)","reason":"External Error"},"percent":100}
    Mar 13 23:20:50 box:taskworker Task took 1246.114 seconds
    Mar 13 23:20:50 BoxError: Unterminated string in JSON at position 83 (line 1 column 84)
    Mar 13 23:20:50 at runBackupUpload (file:///home/yellowtent/box/src/backuptask.js:192:15)
    Mar 13 23:20:50 at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    Mar 13 23:20:50 at async uploadAppSnapshot (file:///home/yellowtent/box/src/backuptask.js:359:34)
    Mar 13 23:20:50 at async backupAppWithTag (file:///home/yellowtent/box/src/backuptask.js:382:26)
    Mar 13 23:20:50 Exiting with code 0
    

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    2
    • T Offline
      T Offline
      tobiasb
      wrote last edited by tobiasb
      #2

      Relevant part:

      // 
      for await (const line of rl) {
              if (!line) continue;
      debug(`Current line: ${line}`);
              const cacheEntry = JSON.parse(line);
      // ...
      }
      

      I added the debug. And yes, line is just invalid json.

      Log:

      // ...
      Mar 14 21:19:59 box:syncer Current line: {"path":"data/storage/app/myfile.txt","stat":{"mtime":1723408804000,"size":26604,"mode":33188}}
      Mar 14 21:19:59 box:syncer Current line: {"path":"data/storage/app/myfile2
      Mar 14 21:19:59 box:backupupload upload completed. error: SyntaxError: Unterminated string in JSON at position 83 (line 1 column 84) at JSON.parse (<anonymous>) at Object.finalize (file:///home/yellowtent/box/src/syncer.js:184:33) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async sync (file:///home/yellowtent/box/src/backupformat/rsync.js:211:5) at async Object.upload (file:///home/yellowtent/box/src/backupformat/rsync.js:309:12) at async Object.upload (file:///home/yellowtent/box/src/backuptask.js:101:37)
      
      

      More context:

      root@5fc22e33-ac60-4f99-bbe3-2ca8cf9e12c7:/# ls app/data/storage/app/attachment/6/0/1/myfile2_ foo.pdf 
      'app/data/storage/app/attachment/6/0/1/myfile2_'$'\342\200\251''foo.pdf'
      root@5fc22e33-ac60-4f99-bbe3-2ca8cf9e12c7:/# file app/data/storage/app/attachment/6/0/1/myfile2 _foo.pdf
      app/data/storage/app/attachment/6/0/1/myfile2\051foo.pdf: PDF document, version 1.5 (zip deflate encoded)
      
      1 Reply Last reply
      2
      • jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #3

        Hello @tobiasb
        Can you provide this file to me in a private message?

        1 Reply Last reply
        0

        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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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