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. User management changed when app moved from one cloudron to another

User management changed when app moved from one cloudron to another

Scheduled Pinned Locked Moved Solved Support
usermanagement
10 Posts 4 Posters 2.1k Views 4 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.
  • S Offline
    S Offline
    stoccafisso
    wrote on last edited by girish
    #1

    While cleaning up a number of old cloudrons merging them into one new cloudron (2.1.1) where I try to host several domains, I tried to move the taiga app from old to new cloudron using Cloudron CLI tool. The old Taiga was set to handle its own user management, but when it is moved to the new cloudron it automatically get changed to "Allow all users from this cloudron"

    This also happens to other apps (Rocket.Chat, Etherpad, and naked domain Wordpress so far) when moved from one cloudron to another, and is a serious problem. App users that has no user account in Cloudron will not get access to that app any longer, including myself.

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

      @stoccafisso When you install apps using the CLI tool, it uses Cloudron SSO by default. Use cloudron install --no-sso --backup <id> and that will solve your problem.

      S 1 Reply Last reply
      0
      • girishG girish

        @stoccafisso When you install apps using the CLI tool, it uses Cloudron SSO by default. Use cloudron install --no-sso --backup <id> and that will solve your problem.

        S Offline
        S Offline
        stoccafisso
        wrote on last edited by
        #3

        @girish Tank you. I apologise for my ignorance. I will try the --no-sso part 🙂

        rmdesR 1 Reply Last reply
        0
        • S stoccafisso

          @girish Tank you. I apologise for my ignorance. I will try the --no-sso part 🙂

          rmdesR Offline
          rmdesR Offline
          rmdes
          wrote on last edited by
          #4

          @girish does this also apply to NextCloud ?
          I have moved my nextcloud app to another cloudron but I can't login anymore and i'm wondering how to recover my access, I still have the old container app running in the old cloudron, but no matter what I try I can't login on the second cloudron using the same credentials, even tho, users match on both side.

          Anything I'm missing?

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #5

            For apps, accounts are matched by username, so if the same users have the same username on different Cloudrons then they should be correctly mapped.

            rmdesR 1 Reply Last reply
            0
            • nebulonN nebulon

              For apps, accounts are matched by username, so if the same users have the same username on different Cloudrons then they should be correctly mapped.

              rmdesR Offline
              rmdesR Offline
              rmdes
              wrote on last edited by
              #6

              @nebulon Interesting, because that's exactly the case, but I cannot login, even the original admin account, does not work and the logs are not being particularly useful.

              I simply installed Nextcloud on the other cloudron, then I restored the backup using the UI, container setting are the same then the other cloudron, so i'm not sure what I'm doing wrong

              nebulonN 1 Reply Last reply
              0
              • rmdesR rmdes

                @nebulon Interesting, because that's exactly the case, but I cannot login, even the original admin account, does not work and the logs are not being particularly useful.

                I simply installed Nextcloud on the other cloudron, then I restored the backup using the UI, container setting are the same then the other cloudron, so i'm not sure what I'm doing wrong

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #7

                @rmdes just to confirm, this is with both instances using Cloudron usermanagement? The admin account is never part of LDAP so you should be able to use the occ tool to set the password for that one.

                rmdesR 1 Reply Last reply
                0
                • nebulonN nebulon

                  @rmdes just to confirm, this is with both instances using Cloudron usermanagement? The admin account is never part of LDAP so you should be able to use the occ tool to set the password for that one.

                  rmdesR Offline
                  rmdesR Offline
                  rmdes
                  wrote on last edited by
                  #8

                  @nebulon Yes in both cases it use cloudron users management.

                  I managed to create a user group and then added this group and their users to the app management itself, I managed to login, but each users has no files, this is like a new nextcloud install, even tho the files, they are inside the container, I can see the files from the Cloudron File explorer, but when I login with the user that was the original owner of these files, there is nothing, but default nextcloud files.

                  I was about to delete the original app on the original cloudron, but now I'm waiting because I could have lost everything. I'm not sure what I can do next so that all the files are restored to each user, this is worrying.

                  rmdesR 1 Reply Last reply
                  0
                  • rmdesR rmdes

                    @nebulon Yes in both cases it use cloudron users management.

                    I managed to create a user group and then added this group and their users to the app management itself, I managed to login, but each users has no files, this is like a new nextcloud install, even tho the files, they are inside the container, I can see the files from the Cloudron File explorer, but when I login with the user that was the original owner of these files, there is nothing, but default nextcloud files.

                    I was about to delete the original app on the original cloudron, but now I'm waiting because I could have lost everything. I'm not sure what I can do next so that all the files are restored to each user, this is worrying.

                    rmdesR Offline
                    rmdesR Offline
                    rmdes
                    wrote on last edited by
                    #9

                    So I used the cloudron file browser to try and move the "files" folder from my previous user to the newly mapped user folder generated by nextcloud on the new nextcloud instance.

                    I can login but the files are not present, as if they were never uploaded in the first place.

                    So basically I have a working nextcloud instance with 30GB of files that I can't see from the nextcloud interface, even tho they are inside the container.

                    something is missing, this cannot be how I should migrate right ?

                    rmdesR 1 Reply Last reply
                    0
                    • rmdesR rmdes

                      So I used the cloudron file browser to try and move the "files" folder from my previous user to the newly mapped user folder generated by nextcloud on the new nextcloud instance.

                      I can login but the files are not present, as if they were never uploaded in the first place.

                      So basically I have a working nextcloud instance with 30GB of files that I can't see from the nextcloud interface, even tho they are inside the container.

                      something is missing, this cannot be how I should migrate right ?

                      rmdesR Offline
                      rmdesR Offline
                      rmdes
                      wrote on last edited by
                      #10

                      Alright, just for future similar issues,

                      here is the solution : sudo -u www-data php -f /app/code/occ files:scan "username"

                      https://docs.cloudron.io/apps/nextcloud/#rescan-files

                      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