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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Allow external auth in Nextcloud

Scheduled Pinned Locked Moved Unsolved Nextcloud
9 Posts 3 Posters 327 Views
    • 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_ukS Offline
    Sam_ukS Offline
    Sam_uk
    wrote on last edited by
    #1

    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.

    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to Sam_uk on last edited by
    #2

    @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_ukS 1 Reply Last reply
    1
  • nebulonN nebulon marked this topic as a question on
  • Sam_ukS Offline
    Sam_ukS Offline
    Sam_uk
    replied to nebulon on last edited by
    #3

    @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_ukS 1 Reply Last reply
    0
  • Sam_ukS Offline
    Sam_ukS Offline
    Sam_uk
    replied to Sam_uk on last edited by
    #4

    @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?

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to Sam_uk on last edited by
    #5

    @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_ukS 1 Reply Last reply
    1
  • Sam_ukS Offline
    Sam_ukS Offline
    Sam_uk
    replied to jdaviescoates on last edited by
    #6

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

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

    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_ukS 1 Reply Last reply
    2
  • Sam_ukS Offline
    Sam_ukS Offline
    Sam_uk
    replied to nebulon on last edited by
    #8

    @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?

    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to Sam_uk on last edited by
    #9

    @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
    3

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.