Immich: How to reset a immich user account password?

What app is this about, and its version: immich 2.2.3~ynh1
What YunoHost version are you running: 12.1.35
What type of hardware are you using: Virtual machine

Describe your issue

Seems that is a “immich-admin” CLI somewhere. Maybe it’s possible to reset a user password with it?

Think it’s a good idea to add a HowTo in the REAME, too :wink:

Share relevant logs or error messages

What i found so long is:

root@YunoHost:/var/www/immich/app/cli/bin# ./immich 
Usage: immich [options] [command]

Command line interface for Immich

Options:
  -V, --version                       output the version number
  -d, --config-directory <directory>  Configuration directory where auth.yml will be stored (default: "/root/.config/immich/", env: IMMICH_CONFIG_DIR)
  -u, --url [url]                     Immich server URL (env: IMMICH_INSTANCE_URL)
  -k, --key [key]                     Immich API key (env: IMMICH_API_KEY)
  -h, --help                          display help for command

Commands:
  login|login-key <url> <key>         Login using an API key
  logout                              Remove stored credentials
  server-info                         Display server information
  upload [options] [paths...]         Upload assets

Think this CLI doesn’t help.

Ah, think i found it:

root@YunoHost:/var/www/immich/app/bin# ./immich-admin --help
Usage: main [options] [command]

Options:
  -h, --help              display help for command

Commands:
  reset-admin-password    Reset the admin password
  enable-password-login   Enable password login
  disable-password-login  Disable password login
  enable-oauth-login      Enable OAuth login
  disable-oauth-login     Disable OAuth login
  list-users              List Immich users
  version                 Print Immich version
  grant-admin             Grant admin privileges to a user (by email)
  revoke-admin            Revoke admin privileges from a user (by email)
  change-media-location   Change database file paths to align with a new media location
  help [command]          display help for command

Oh. That’s boring: I find my real problem! It wasn’t a wrong password.

Login into YunoHost portal is only the User Name not the eMail.
But login into immich ist the eMail not only the user name.

That’s confusing. Would be great, if immich used the SSO login, too.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.