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. Cannot migrate app

Cannot migrate app

Scheduled Pinned Locked Moved Solved Support
migration
9 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.
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by girish
      #1

      After some Surfer escapades, the original App and it's install location was deleted and a new one was cloned to test the fixes.

      Now the new one is not where it should be and needs migrating back to the original mount point location.

      The issue is that the process crashes at around the 20GB mark (it's 10x that) and the resume task doesn't actually complete anything.

      I'll email the log in, but I haven't found anything useful in it ;-/

      If you're reading this and can validate, please test migrating a ~50GB app if you can.

      Conscious tech

      robiR 1 Reply Last reply
      0
      • robiR robi

        After some Surfer escapades, the original App and it's install location was deleted and a new one was cloned to test the fixes.

        Now the new one is not where it should be and needs migrating back to the original mount point location.

        The issue is that the process crashes at around the 20GB mark (it's 10x that) and the resume task doesn't actually complete anything.

        I'll email the log in, but I haven't found anything useful in it ;-/

        If you're reading this and can validate, please test migrating a ~50GB app if you can.

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by robi
        #2

        Attempting again with increased memory limits..

        Turns out one cannot set the memory limit to the max of the allowed bar. It errors. It only accepted at 1G less.

        Perhaps a good feature request here is to check on certain operations and the likely memory requirements before starting the task.

        This issue came up before where the copy/migration/backup process is so memory leaky or a hog that won't release previously copied data until all of it is complete.
        This makes migration of large data stores impossible.

        I gave my Surfer app 31GB or RAM as the highest limit and it still failed.

        Help!

        Conscious tech

        girishG 1 Reply Last reply
        0
        • robiR robi

          Attempting again with increased memory limits..

          Turns out one cannot set the memory limit to the max of the allowed bar. It errors. It only accepted at 1G less.

          Perhaps a good feature request here is to check on certain operations and the likely memory requirements before starting the task.

          This issue came up before where the copy/migration/backup process is so memory leaky or a hog that won't release previously copied data until all of it is complete.
          This makes migration of large data stores impossible.

          I gave my Surfer app 31GB or RAM as the highest limit and it still failed.

          Help!

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

          @robi Sent you a mail from support, it seems the app is running now. Did you figure out what the issue was?

          robiR 1 Reply Last reply
          0
          • girishG girish

            @robi Sent you a mail from support, it seems the app is running now. Did you figure out what the issue was?

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #4

            @girish No, still needs attention, see email reply.

            Conscious tech

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              Thanks, the task was running out of memory because internally memory limit for data migration is set to 400MB. It seems cp takes lot more memory than I thought when copying large files. I bumped it up to 1024M and it works. I have fixed this in next release.

              robiR ? 2 Replies Last reply
              1
              • girishG girish

                Thanks, the task was running out of memory because internally memory limit for data migration is set to 400MB. It seems cp takes lot more memory than I thought when copying large files. I bumped it up to 1024M and it works. I have fixed this in next release.

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #6

                @girish This reminds me of the old DOS days where copy vs xcopy was a big deal.

                Is there an equivalent to xcopy in Linux?

                Conscious tech

                1 Reply Last reply
                0
                • girishG girish

                  Thanks, the task was running out of memory because internally memory limit for data migration is set to 400MB. It seems cp takes lot more memory than I thought when copying large files. I bumped it up to 1024M and it works. I have fixed this in next release.

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #7

                  @girish Perhaps a slider like in the services section with the default at 1gb?

                  girishG 1 Reply Last reply
                  0
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by robi
                    #8

                    That also means that the Task resume for a failure like this is broken.

                    One could copy the rest of the files if the resume skipped existing files.

                    Ideally the copy would be more memory efficient and release memory after a threshold.

                    Otherwise one could set up a local socket and slurp it over. This would have the additional benefit of working across systems in Multi-Cloudron.

                    Conscious tech

                    1 Reply Last reply
                    0
                    • ? A Former User

                      @girish Perhaps a slider like in the services section with the default at 1gb?

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

                      @atridad yeah, I just bumped the internal default for data directory migration to be 1GB . I tested with ~500GB now and it's all good.

                      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