Bulk upload from cli

Hi all, when navigating to the folders i wanted to upload, i received the following error. When typing immich, i keep on getting this error.

# immich upload --key apikey --server http://192.168.7.16:10323/api --recursive Photos/   
node:internal/modules/cjs/loader:1051
  throw err;
  ^

Error: Cannot find module '/mnt/tank1/Photoprism/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: []
}

Node.js v20.8.1
# immich
node:internal/modules/cjs/loader:1051
  throw err;
  ^

Error: Cannot find module '/mnt/tank1/Photoprism/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: []
}

Node.js v20.8.1
Was this page helpful?