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. Immich
  3. New OIDC migrate

New OIDC migrate

Scheduled Pinned Locked Moved Solved Immich
6 Posts 3 Posters 879 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.
  • eyecreateE Offline
    eyecreateE Offline
    eyecreate
    App Dev
    wrote on last edited by girish
    #1

    I noticed the change log mentioned supporting oidc, but is there a way to migrate an existing instance to use oidc?

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

      @eyecreate For existing apps, we have to investigate one by one how the user management can be switched from LDAP to OIDC. We want to make this as non-disruptive as possible

      We are starting out with Wekan and Rocket.Chat. Apps like Immich (and shortly Penpot) which never had LDAP will use OIDC from the get go.

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

        Err don't mind me. This was posted under Immich. Are you then asking how to move an existing Immich installation to use OIDC ?

        1 Reply Last reply
        0
        • eyecreateE Offline
          eyecreateE Offline
          eyecreate
          App Dev
          wrote on last edited by
          #4

          Yes, I am interested in moving immich to oidc without reinstalling.

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

            @eyecreate Currently, you have to backup and re-import into a new installation . But we are looking into other options/possibilities.

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

              I just performed a manual migration of one of my instances. This is a bit technical but should work.
              Pre-conditions are:

              • the immich app instance is on the latest package version 1.55.1
              • local account (most likely the first and thus admin account) has the same email as the one you want to login with OIDC (this is how immich does the user mapping)
              • have the app instance id on Cloudron available. That can be seen in the update section of the app configure view in your Cloudron dashboard and looks something like 2c016381-840c-4707-945e-189896fbb3f9

              Once those are met, proceed with:

              • Create app backup
              • SSH into the server
              • Run mysql -uroot -ppassword box -e "update apps set sso=1 where id='INSERT-APP-ID-HERE'" - root and password are literal like this, only insert the app id and hit enter
              • Go to the app's configure view in your Cloudron dashboard and in the location tab simply submit the form without changing anything (this is just a way to make the platform rebuild the container)

              Once the app is up, you can relogin with OIDC and the user mapping should work.

              1 Reply Last reply
              2
              • nebulonN nebulon marked this topic as a question on
              • nebulonN nebulon has marked this topic as solved on
              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