ImmichI
Immich•3mo ago
kamiensto

Trouble resetting admin password - Immich v1.82.1

I deleted my admin password accidentally, and trying the commands on this page (https://immich.app/docs/administration/server-commands/) does not work. I am met either with a:

Error: Cannot find module '/usr/src/app/.node_modules/immich/bin/index'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}


Error when the cli.sh script is referencing the node modules dir as a hidden dir. While even after changing the script to properly find the node_modules dir (../) I am met with:

error: unknown command 'reset-admin-password'


Hope I have provided relevant enough info! 🙂
Was this page helpful?