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
  1. Cloudron Forum
  2. Support
  3. Backup import fails on new Cloudron instance

Backup import fails on new Cloudron instance

Scheduled Pinned Locked Moved Solved Support
restoredigitaloceanimport
16 Posts 3 Posters 1.3k 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.
  • girishG girish

    @yusf Are on Cloudron 6.1 ? Also, can you check dmesg output to see if there are any oom errors?

    yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by
    #7

    @girish Both Cloudrons are on 6.0.1. I'm not sure how to use dmesg. dmesg | grep oom doesn't yield any results at least.

    yusfY 1 Reply Last reply
    0
    • yusfY yusf

      @girish Both Cloudrons are on 6.0.1. I'm not sure how to use dmesg. dmesg | grep oom doesn't yield any results at least.

      yusfY Offline
      yusfY Offline
      yusf
      wrote on last edited by
      #8

      @yusf From /home/yellowtent/platformdata/logs/box.log but nothing useful from what I can tell.

      2021-02-01T09:52:43.771Z box:shell startTask code: 255, signal: null
      2021-02-01T09:52:43.774Z box:tasks startTask: 40 completed with code 255 and signal null
      2021-02-01T09:52:43.780Z box:tasks setCompleted - 40: {"error":{"message":"Task 40 crashed with code 255 and signal null","code":"crashed"}}
      2021-02-01T09:52:43.781Z box:tasks 40: {"percent":100,"error":{"message":"Task 40 crashed with code 255 and signal null","code":"crashed"}}
      2021-02-01T09:52:43.781Z box:apps scheduleTask: task 40 of NEW_APP_ID completed
      2021-02-01T09:52:43.781Z box:apps Apptask crashed/stopped: Task 40 crashed with code 255 and signal null
      2021-02-01T09:52:43.783Z box:locker Released : apptask
      2021-02-01T09:52:43.783Z box:sftp rebuilding container
      2021-02-01T09:52:43.787Z box:scheduler resumeJobs: NEW_APP_ID
      2021-02-01T09:52:43.788Z box:tasks startTask: 40 done
      2021-02-01T09:52:43.802Z box:shell inspectSftp exec: docker inspect --format="{{json .Mounts }}" sftp
      2021-02-01T09:52:44.211Z box:shell inspectSftp (stdout): [{"Type":"bind","Source":"/home/yellowtent/boxdata/sftp/ssh","Destination":"/etc/ssh","Mode":"ro","RW":false,"Propagation":"rprivate"},{"Type":"volume","Name":"SOURCE_VOL","Source":"/var/lib/docker/volumes/SOURCE_VOL/_data","Destination":"/run","Driver":"local","Mode":"","RW":true,"Propagation":""},{"Type":"volume","Name":"DEST_VOL","Source":"/var/lib/docker/volumes/DEST_VOL/_data","Destination":"/tmp","Driver":"local","Mode":"","RW":true,"Propagation":""},{"Type":"bind","Source":"/home/yellowtent/appsdata/NEW_APP_ID/data","Destination":"/app/data/NEW_APP_ID","Mode":"","RW":true,"Propagation":"rprivate"}]
      
      2021-02-01T09:52:44.211Z box:shell inspectSftp (stderr): 
      2021-02-01T09:52:44.213Z box:sftp Skipping rebuild, no changes
      2021-02-01T09:52:50.006Z box:apphealthmonitor app health: 0 alive / 1 dead.
      nebulonN 1 Reply Last reply
      0
      • yusfY yusf

        @yusf From /home/yellowtent/platformdata/logs/box.log but nothing useful from what I can tell.

        2021-02-01T09:52:43.771Z box:shell startTask code: 255, signal: null
        2021-02-01T09:52:43.774Z box:tasks startTask: 40 completed with code 255 and signal null
        2021-02-01T09:52:43.780Z box:tasks setCompleted - 40: {"error":{"message":"Task 40 crashed with code 255 and signal null","code":"crashed"}}
        2021-02-01T09:52:43.781Z box:tasks 40: {"percent":100,"error":{"message":"Task 40 crashed with code 255 and signal null","code":"crashed"}}
        2021-02-01T09:52:43.781Z box:apps scheduleTask: task 40 of NEW_APP_ID completed
        2021-02-01T09:52:43.781Z box:apps Apptask crashed/stopped: Task 40 crashed with code 255 and signal null
        2021-02-01T09:52:43.783Z box:locker Released : apptask
        2021-02-01T09:52:43.783Z box:sftp rebuilding container
        2021-02-01T09:52:43.787Z box:scheduler resumeJobs: NEW_APP_ID
        2021-02-01T09:52:43.788Z box:tasks startTask: 40 done
        2021-02-01T09:52:43.802Z box:shell inspectSftp exec: docker inspect --format="{{json .Mounts }}" sftp
        2021-02-01T09:52:44.211Z box:shell inspectSftp (stdout): [{"Type":"bind","Source":"/home/yellowtent/boxdata/sftp/ssh","Destination":"/etc/ssh","Mode":"ro","RW":false,"Propagation":"rprivate"},{"Type":"volume","Name":"SOURCE_VOL","Source":"/var/lib/docker/volumes/SOURCE_VOL/_data","Destination":"/run","Driver":"local","Mode":"","RW":true,"Propagation":""},{"Type":"volume","Name":"DEST_VOL","Source":"/var/lib/docker/volumes/DEST_VOL/_data","Destination":"/tmp","Driver":"local","Mode":"","RW":true,"Propagation":""},{"Type":"bind","Source":"/home/yellowtent/appsdata/NEW_APP_ID/data","Destination":"/app/data/NEW_APP_ID","Mode":"","RW":true,"Propagation":"rprivate"}]
        
        2021-02-01T09:52:44.211Z box:shell inspectSftp (stderr): 
        2021-02-01T09:52:44.213Z box:sftp Skipping rebuild, no changes
        2021-02-01T09:52:50.006Z box:apphealthmonitor app health: 0 alive / 1 dead.
        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #9

        @yusf can you also check the logs of the failing task? Those should be located at /home/yellowtent/platformdata/logs/tasks/40.log

        yusfY 1 Reply Last reply
        0
        • nebulonN nebulon

          @yusf can you also check the logs of the failing task? Those should be located at /home/yellowtent/platformdata/logs/tasks/40.log

          yusfY Offline
          yusfY Offline
          yusf
          wrote on last edited by
          #10

          @nebulon Alas there is no 40.log. I ran the restoration task again and the new task 41 didn't show up as 41.log either.

          girishG 1 Reply Last reply
          0
          • yusfY yusf

            @nebulon Alas there is no 40.log. I ran the restoration task again and the new task 41 didn't show up as 41.log either.

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #11

            @yusf Strange. Do you have enough disk space? Can you give the server a reboot and see if the logs files are getting generated?

            yusfY 1 Reply Last reply
            0
            • girishG girish

              @yusf Strange. Do you have enough disk space? Can you give the server a reboot and see if the logs files are getting generated?

              yusfY Offline
              yusfY Offline
              yusf
              wrote on last edited by
              #12

              @girish I have plenty of disk space, 14 GB. I'll try rebooting first.

              1 Reply Last reply
              0
              • yusfY Offline
                yusfY Offline
                yusf
                wrote on last edited by
                #13

                No difference in rebooting. This is getting frustrating. Are there other, perhaps manual ways of restoring? For instance I can migrate the app backup to the new server manually if I can import it to the new app somehow.

                girishG 1 Reply Last reply
                0
                • yusfY yusf

                  No difference in rebooting. This is getting frustrating. Are there other, perhaps manual ways of restoring? For instance I can migrate the app backup to the new server manually if I can import it to the new app somehow.

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #14

                  @yusf If you can contact us on support@cloudron.io, we can try to figure out what is happening.

                  1 Reply Last reply
                  0
                  • yusfY Offline
                    yusfY Offline
                    yusf
                    wrote on last edited by
                    #15

                    I'm pressed for time to follow up currently, but I managed to solve perform the migration by

                    1. Configuring backup target back to the local /var/backups
                    2. Performing a fresh app backup on the old server
                    3. Add SSH key of new server to old server's authorized_keys
                    4. Using scp to transfer the app backup from old server to new.
                    5. Replace the latest local Gitea backup on the new server with the transferred one.
                    6. Restore to the latest app backup on the new server.
                    girishG 1 Reply Last reply
                    2
                    • yusfY yusf

                      I'm pressed for time to follow up currently, but I managed to solve perform the migration by

                      1. Configuring backup target back to the local /var/backups
                      2. Performing a fresh app backup on the old server
                      3. Add SSH key of new server to old server's authorized_keys
                      4. Using scp to transfer the app backup from old server to new.
                      5. Replace the latest local Gitea backup on the new server with the transferred one.
                      6. Restore to the latest app backup on the new server.
                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #16

                      @yusf OK, thanks, when you find time, feel free to reach on the support mailbox.

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