Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved Allow external auth in Nextcloud

    Nextcloud
    3
    9
    269
    Loading More Posts
    • 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.
    • Sam_uk
      Sam_uk last edited by

      Hi @nebulon I'm using Keycloak module https://github.com/njsubedi/cloudron-keycloak

      Which seems to work well until the Nextcloud container is restarted. At which point it breaks and the auth settings are overwritten.

      According to your comment;
      "it will always ensure the LDAP settings are bound to the LDAP server on your Cloudron."

      Could you change the Nextcloud package to allow for external user management

      I'd be willing to pay for this work if it helps it happen quickly.

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @Sam_uk last edited by

        @Sam_uk have you installed your Nextcloud with the Cloudron usermanagement or without? Cloudron will only overwrite the auth settings if the Cloudron usermanagement (which is through LDAP) is used.

        Sam_uk 1 Reply Last reply Reply Quote 1
        • Topic has been marked as a question  nebulon nebulon 
        • Sam_uk
          Sam_uk @nebulon last edited by

          @nebulon I think on setup we did use cloudron user management, before deciding to use Keycloak.

          If I create another Nextcloud instance I can choose at setup?

          Sam_uk 1 Reply Last reply Reply Quote 0
          • Sam_uk
            Sam_uk @Sam_uk last edited by

            @Sam_uk Ah I see that I can. So I guess I just need to migrate all my user data to the new instance?

            Or is there a way of editing the old instance to no longer use the LDAP?

            jdaviescoates 1 Reply Last reply Reply Quote 0
            • jdaviescoates
              jdaviescoates @Sam_uk last edited by

              @Sam_uk I'm not sure but I think you may be able to create a fresh install using a backup of the existing one and choose let app manage access then

              I use Cloudron with Gandi & Hetzner

              Sam_uk 1 Reply Last reply Reply Quote 1
              • Sam_uk
                Sam_uk @jdaviescoates last edited by

                @jdaviescoates Thanks, but it doesn't look like that is an option. I can only re-create a complete clone.

                1 Reply Last reply Reply Quote 1
                • nebulon
                  nebulon Staff last edited by

                  Theoretically this is possible to change the auth method and we might implement that in the future, but currently the side-effects for apps is a bit unknown what happens if the apps start with configured LDAP then again without, so at the moment you would have to install a fresh Nextcloud instance unfortunately.

                  Sam_uk 1 Reply Last reply Reply Quote 2
                  • Sam_uk
                    Sam_uk @nebulon last edited by

                    @nebulon thanks, how best can I get all my user data from old> New Nextcloud instance?

                    The Cloudron backup doesn't help in this case?

                    nebulon 1 Reply Last reply Reply Quote 0
                    • nebulon
                      nebulon Staff @Sam_uk last edited by

                      @Sam_uk such data migration is always a bit tricky. You might be able to first install a fresh Nextcloud without the Cloudron user management and then import a backup from the other instance. Only do this in a test app instance first though.

                      1 Reply Last reply Reply Quote 3
                      • First post
                        Last post
                      Powered by NodeBB