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 is failing for UpTime Kuma on 9.0.15

Backup is failing for UpTime Kuma on 9.0.15

Scheduled Pinned Locked Moved Unsolved Support
backup
11 Posts 3 Posters 134 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.
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote last edited by
    #1

    After update to v9 of Cloudron from latest v8, UpTime Kuma can't be backed up - failing the whole backup process - so I had to exclude it.

    I don't mind not backing up, but I afraid it might be a sign of something bigger.

    Here are the logs:

    Jan 07 12:22:43 box:tasks updating task 13869 with: {"percent":46.45454545454546,"message":"Backing up check.domain.com (5/8). Waiting for lock"}
    Jan 07 12:22:43 box:locks write: current locks: {"full_backup_task_33af5ff8-0a0d-4250-9c1d-15bf8e6529fe":null,"app_backup_be0be218-57bf-427b-abb6-b7660943eaf6":"13869"}
    Jan 07 12:22:43 box:locks acquire: app_backup_be0be218-57bf-427b-abb6-b7660943eaf6
    Jan 07 12:22:43 box:tasks updating task 13869 with: {"percent":46.45454545454546,"message":"Snapshotting app check.domain.com"}
    Jan 07 12:22:43 box:services backupAddons
    Jan 07 12:22:43 box:services backupAddons: backing up ["localstorage"]
    Jan 07 12:22:43 box:services Backing up sqlite
    Jan 07 12:22:43 box:shell services: /bin/bash -c docker run --rm --name=sqlite-be0be218-57bf-427b-abb6-b7660943eaf6 --net cloudron --log-driver=none -v /home/yellowtent/appsdata/be0be218-57bf-427b-abb6-b7660943eaf6/data:/app/data --label isCloudronManaged=true --read-only -v /tmp -v /run cloudron/louislam.uptimekuma.app:202511081423470000 sqlite3 /app/data/data/kuma.db ".dump" > /home/yellowtent/appsdata/be0be218-57bf-427b-abb6-b7660943eaf6/kuma.sqlite
    Jan 07 12:22:43 box:shell services: /bin/bash -c docker run --rm --name=sqlite-be0be218-57bf-427b-abb6-b7660943eaf6 --net cloudron --log-driver=none -v /home/yellowtent/appsdata/be0be218-57bf-427b-abb6-b7660943eaf6/data:/app/data --label isCloudronManaged=true --read-only -v /tmp -v /run cloudron/louislam.uptimekuma.app:202511081423470000 sqlite3 /app/data/data/kuma.db ".dump" > /home/yellowtent/appsdata/be0be218-57bf-427b-abb6-b7660943eaf6/kuma.sqlite errored BoxError: /bin/bash exited with code 125 signal null
    Jan 07 12:22:43 at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:82:23)
    Jan 07 12:22:43 at ChildProcess.emit (node:events:519:28)
    Jan 07 12:22:43 at maybeClose (node:internal/child_process:1101:16)
    Jan 07 12:22:43 at ChildProcess._handle.onexit (node:internal/child_process:304:5) {
    Jan 07 12:22:43 reason: 'Shell Error',
    Jan 07 12:22:43 details: {},
    Jan 07 12:22:43 stdout: '',
    Jan 07 12:22:43 stdoutLineCount: 0,
    Jan 07 12:22:43 stderr: 'docker: Error response from daemon: Conflict. The container name "/sqlite-be0be218-57bf-427b-abb6-b7660943eaf6" is already in use by container "bbb52ef9e6869b43778e5bd796d52dcece50162fd45658877200006219c3f259". You have to remove (or rename) that container to be able to reuse that name.\n' +
    Jan 07 12:22:43 '\n' +
    Jan 07 12:22:43 "Run 'docker run --help' for more information\n",
    Jan 07 12:22:43 stderrLineCount: 3,
    Jan 07 12:22:43 code: 125,
    Jan 07 12:22:43 signal: null,
    Jan 07 12:22:43 timedOut: false,
    Jan 07 12:22:43 terminated: false
    Jan 07 12:22:43 }
    Jan 07 12:22:43 box:backuptask fullBackup: app check.domain.com backup finished. Took 0.021 seconds
    Jan 07 12:22:43 box:locks write: current locks: {"full_backup_task_33af5ff8-0a0d-4250-9c1d-15bf8e6529fe":null}
    Jan 07 12:22:43 box:locks release: app_backup_be0be218-57bf-427b-abb6-b7660943eaf6
    Jan 07 12:22:43 box:tasks setCompleted - 13869: {"result":null,"error":{"message":"/bin/bash exited with code 125 signal null","reason":"Shell Error"},"percent":100}
    Jan 07 12:22:43 box:tasks updating task 13869 with: {"completed":true,"result":null,"error":{"message":"/bin/bash exited with code 125 signal null","reason":"Shell Error"},"percent":100}
    Jan 07 12:22:43 box:taskworker Task took 9.642 seconds
    Jan 07 12:22:43 BoxError: /bin/bash exited with code 125 signal null
    Jan 07 12:22:43 at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:82:23)
    Jan 07 12:22:43 at ChildProcess.emit (node:events:519:28)
    Jan 07 12:22:43 at maybeClose (node:internal/child_process:1101:16)
    Jan 07 12:22:43 at ChildProcess._handle.onexit (node:internal/child_process:304:5)
    Jan 07 12:22:43 Exiting with code 0
    
    1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @potemkin_ai
      Thanks for reporting this.
      Can you tell me what app / docker container bbb52ef9e6869b43778e5bd796d52dcece50162fd45658877200006219c3f259 is?

      1 Reply Last reply
      0
      • potemkin_aiP Offline
        potemkin_aiP Offline
        potemkin_ai
        wrote last edited by
        #3

        Hello @james , I believe I did šŸ™‚

        After update to v9 of Cloudron from latest v8, UpTime Kuma can't be backed up

        It's UpTime Kuma

        1 Reply Last reply
        0
        • potemkin_aiP Offline
          potemkin_aiP Offline
          potemkin_ai
          wrote last edited by
          #4

          Just in case - the forum software keeps changing my e-mail notification settings. I'm returning to e-mail notifications for the topic I've created for a second or third time now and it keeps reseting to notifications only.

          1 Reply Last reply
          0
          • jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote last edited by
            #5

            Hello @potemkin_ai

            @potemkin_ai said in Backup is failing for UpTime Kuma on 9.0.15:

            It's UpTime Kuma

            Okay.
            I think this might be an issue with SQLITE that is used by Uptime Kuma.
            How many hosts do you monitor with Uptime Kuma?
            I have the suspicion that while creating the SQLITE backup the file changes and causes this error.

            @potemkin_ai said in Backup is failing for UpTime Kuma on 9.0.15:

            Just in case - the forum software keeps changing my e-mail notification settings. I'm returning to e-mail notifications for the topic I've created for a second or third time now and it keeps reseting to notifications only.

            Could this be related to your profile notification setting overwriting the individual topic notification setting?
            You have configured:
            6af45965-c288-4e78-af6f-fb1de8aa859a-image.png
            Or do you mean this setting is getting overwritten again and again?

            potemkin_aiP 2 Replies Last reply
            1
            • jamesJ james

              Hello @potemkin_ai

              @potemkin_ai said in Backup is failing for UpTime Kuma on 9.0.15:

              It's UpTime Kuma

              Okay.
              I think this might be an issue with SQLITE that is used by Uptime Kuma.
              How many hosts do you monitor with Uptime Kuma?
              I have the suspicion that while creating the SQLITE backup the file changes and causes this error.

              @potemkin_ai said in Backup is failing for UpTime Kuma on 9.0.15:

              Just in case - the forum software keeps changing my e-mail notification settings. I'm returning to e-mail notifications for the topic I've created for a second or third time now and it keeps reseting to notifications only.

              Could this be related to your profile notification setting overwriting the individual topic notification setting?
              You have configured:
              6af45965-c288-4e78-af6f-fb1de8aa859a-image.png
              Or do you mean this setting is getting overwritten again and again?

              potemkin_aiP Offline
              potemkin_aiP Offline
              potemkin_ai
              wrote last edited by
              #6

              @james said in Backup is failing for UpTime Kuma on 9.0.15:

              Or do you mean this setting is getting overwritten again and again?

              yeah - I always have my settings setup in a way, that I would be getting an e-mail for the threads I'm participating and from time to time I'm finding myself not getting those updates - going to check the settings and they are again in 'Notification only'.

              It's sporadic, but I'm quite sure I didn't change them manually (too lazy / busy for that - I don't even remember where they are in the profile).

              1 Reply Last reply
              0
              • jamesJ james

                Hello @potemkin_ai

                @potemkin_ai said in Backup is failing for UpTime Kuma on 9.0.15:

                It's UpTime Kuma

                Okay.
                I think this might be an issue with SQLITE that is used by Uptime Kuma.
                How many hosts do you monitor with Uptime Kuma?
                I have the suspicion that while creating the SQLITE backup the file changes and causes this error.

                @potemkin_ai said in Backup is failing for UpTime Kuma on 9.0.15:

                Just in case - the forum software keeps changing my e-mail notification settings. I'm returning to e-mail notifications for the topic I've created for a second or third time now and it keeps reseting to notifications only.

                Could this be related to your profile notification setting overwriting the individual topic notification setting?
                You have configured:
                6af45965-c288-4e78-af6f-fb1de8aa859a-image.png
                Or do you mean this setting is getting overwritten again and again?

                potemkin_aiP Offline
                potemkin_aiP Offline
                potemkin_ai
                wrote last edited by
                #7

                @james said in Backup is failing for UpTime Kuma on 9.0.15:

                How many hosts do you monitor with Uptime Kuma?

                not much - like 20 max; UpTime Kuma on itself works just fine.

                1 Reply Last reply
                0
                • jamesJ Offline
                  jamesJ Offline
                  james
                  Staff
                  wrote last edited by
                  #8

                  Hello @potemkin_ai
                  Is this issue still persistent? If so, can you please try to stop the Uptime Kuma app once and start it again and attempt a backup?
                  Want to make sure this is not a file handling issue with the SQLITE.
                  In the sense of, while trying to back the SQLITE file, it gets changed and thus messes up the process in some way.

                  1 Reply Last reply
                  0
                  • potemkin_aiP Offline
                    potemkin_aiP Offline
                    potemkin_ai
                    wrote last edited by
                    #9

                    Yep - it does.
                    Stop & start didn't help, unfortunately.

                    1 Reply Last reply
                    1
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote last edited by
                      #10

                      If you still get the same docker error about an already existing container with the name sqlite-<appid>, can you check with the docker cli if some dead container exists and if so, if you just remove that, it starts working?

                      potemkin_aiP 1 Reply Last reply
                      0
                      • nebulonN nebulon

                        If you still get the same docker error about an already existing container with the name sqlite-<appid>, can you check with the docker cli if some dead container exists and if so, if you just remove that, it starts working?

                        potemkin_aiP Offline
                        potemkin_aiP Offline
                        potemkin_ai
                        wrote last edited by
                        #11

                        @nebulon there seems to be none of the dead ones:

                        ubuntu@cloudron:~$ sudo docker ps -a | grep sqlite | wc -l
                        1
                        ubuntu@cloudron:~$ sudo docker ps -a | grep sqlite
                        bbb52ef9e686   cloudron/louislam.uptimekuma.app:202511081423470000       "sqlite3 /app/data/d…"   2 weeks ago   Created                                                                                                                                                                sqlite-be0be218-57bf-427b-abb6-b7660943eaf6
                        

                        There are not that much non-running containers - only 2 nextcloud workers with exit(0) and another service, that I have stopped explicitely.

                        1 Reply Last reply
                        0
                        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