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. Nextcloud
  3. Move snap to Cloudron

Move snap to Cloudron

Scheduled Pinned Locked Moved Nextcloud
11 Posts 3 Posters 1.5k 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.
    • E ekevu123

      Hi, I was wondering if I can move a Nextcloud snap installation to Cloudron, perhaps similar to this tutorial?

      https://github.com/nextcloud-snap/nextcloud-snap/wiki/Migrating-from-nextcloud-snap-to-Nextcloud-server

      Ideally I would like to unify two VPS I have currently running on one dedicated server (price-wise about the same) under the roof of Cloudron. The Nextcloud installation is being used by multiple users though.

      EDIT: I was wondering if I could use the new user migration app of Nextcloud 24 to achieve this? I would then install Nextcloud under Cloudron in the same way as before including all apps and then simply log into every single user account using "impersonate" and re-import this into the new instance. If this works, it would be an elegant way to avoid a lot of mistakes that could happen otherwise.

      Happy to hear other suggestions as well.

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

      @ekevu123 I think the user migration nextcloud app should work. Haven't tried it myself though. If you attempt it, please do put your notes here.

      E 1 Reply Last reply
      2
      • girishG girish

        @ekevu123 I think the user migration nextcloud app should work. Haven't tried it myself though. If you attempt it, please do put your notes here.

        E Offline
        E Offline
        ekevu123
        wrote on last edited by
        #3

        @girish Will it also be possible to do this just in case it won't work with the plugin?

        https://github.com/nextcloud-snap/nextcloud-snap/wiki/Migrating-from-nextcloud-snap-to-Nextcloud-server

        girishG 1 Reply Last reply
        0
        • E ekevu123

          @girish Will it also be possible to do this just in case it won't work with the plugin?

          https://github.com/nextcloud-snap/nextcloud-snap/wiki/Migrating-from-nextcloud-snap-to-Nextcloud-server

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

          @ekevu123 yes, the database dump is part of the backup. If you unpack the backup file, it will contain postgresqldump inside it.

          E 1 Reply Last reply
          0
          • girishG girish

            @ekevu123 yes, the database dump is part of the backup. If you unpack the backup file, it will contain postgresqldump inside it.

            E Offline
            E Offline
            ekevu123
            wrote on last edited by
            #5

            @girish Just to clarify, do I create a new database like it states in the tutorial, but inside the Nextcloud app that I will have installed already in Cloudron? Or should I import all data into the existing database?

            jdaviescoatesJ 1 Reply Last reply
            0
            • E ekevu123

              @girish Just to clarify, do I create a new database like it states in the tutorial, but inside the Nextcloud app that I will have installed already in Cloudron? Or should I import all data into the existing database?

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #6

              @ekevu123 try the plugin first? I think that may be the only way properly migrate users (as opposed to just their data)

              I use Cloudron with Gandi & Hetzner

              E 1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @ekevu123 try the plugin first? I think that may be the only way properly migrate users (as opposed to just their data)

                E Offline
                E Offline
                ekevu123
                wrote on last edited by
                #7

                @jdaviescoates I want to be prepared to switch options quickly if it doesn't work. But I will go with it first.

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  ekevu123
                  wrote on last edited by
                  #8

                  The user migration plugin just provides me with an empty archive file, so this doesn't seem to be an option. I will try the other mentioned option then next time.

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    ekevu123
                    wrote on last edited by
                    #9

                    I got the user migration plugin to work (the process was terminated because the server didn't have enough resources), but I haven't attempted the migration yet because I cannot solve another problem:

                    All information which file is shared with whom would be completely lost and there doesn't seem to be a way to preserve it because the information is being stored in the database.

                    And the problem with this (https://github.com/nextcloud-snap/nextcloud-snap/wiki/Migrating-from-nextcloud-snap-to-Nextcloud-server) is that Cloudron uses PostgreSQL and not MySQL.

                    The only solution I have now is to manually go through everyone's account on both instances and see if I can share every user's file manually. That will mean a few hours of boring, manual work, unless someone has a better idea?

                    jdaviescoatesJ 1 Reply Last reply
                    0
                    • E ekevu123

                      I got the user migration plugin to work (the process was terminated because the server didn't have enough resources), but I haven't attempted the migration yet because I cannot solve another problem:

                      All information which file is shared with whom would be completely lost and there doesn't seem to be a way to preserve it because the information is being stored in the database.

                      And the problem with this (https://github.com/nextcloud-snap/nextcloud-snap/wiki/Migrating-from-nextcloud-snap-to-Nextcloud-server) is that Cloudron uses PostgreSQL and not MySQL.

                      The only solution I have now is to manually go through everyone's account on both instances and see if I can share every user's file manually. That will mean a few hours of boring, manual work, unless someone has a better idea?

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #10

                      @ekevu123 just thinking out loud, but I guess you could either try installing Nextcloud into a Cloudron LAMP app or forking the existing Cloudron Nextcloud app to create a custom Cloudron Nextcloud app that uses MySQL instead.

                      I use Cloudron with Gandi & Hetzner

                      E 1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        @ekevu123 just thinking out loud, but I guess you could either try installing Nextcloud into a Cloudron LAMP app or forking the existing Cloudron Nextcloud app to create a custom Cloudron Nextcloud app that uses MySQL instead.

                        E Offline
                        E Offline
                        ekevu123
                        wrote on last edited by
                        #11

                        @jdaviescoates This is an idea I have quickly considered as well but one reason why I want to move this installation to Cloudron so desperately is that I want to have less work with it, not more 🙂

                        We will probably need to live with the fact that we will need to re-share all information again and simply do the move using one of the manual ways (e.g. user migration plugin). That will create chaos for a day or two, but at least then we will have a more stable installation.

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