Unraid - Trying to use cli upload fails with error: unknown command 'upload'
Installed immich using Unraid.
I have run "npm i -g immich" to install the cli.
immich upload --key xxxxxxxxxxxxxx --server http://192.168.2.110:8080/api --recursive /photos-old/ returns the error:
error: unknown command 'upload'
runniung the command find -name immich -print returns the foillowing (Ignorning the access errors)
./run/immich
find: ‘./sys/kernel/slab’: Input/output error
./usr/bin/immich
./usr/lib/node_modules/immich
./usr/local/bin/immich
./app/immich
./app/immich/server/dist/apps/cli/apps/immich
./app/immich/server/dist/apps/immich
./app/immich/server/dist/apps/immich/apps/immich
5 Replies
what is the output of
immich --version
root@cbc223170fcc:/# immich --version
error: unknown option '--version'
root@cbc223170fcc:/#
root@cbc223170fcc:/# immich
Usage: immich [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
list-users List Immich users
help [command] display help for command
root@cbc223170fcc:/#
Are you doing this inside the immich server container?
You should install the cli on the machine from where you're uploading images, or use the docker version of the cli
Yes, this is being done within the docker console
Ie th container running immich
May be a path issue
The CLI tool to upload is a separate program, the CLI tool you used above is the internal cli for admin usage only