Bulk Upload on QNAP with CLI

Hi, I'm very new to docker and QNAP, so appreciate this is likely largely user error. That said, I'm trying to figure out how to do bulk uploads using CLI on a QNAP box. I'm running immich in docker on the NAS and used the recommended docker-compose file to get it up and running. No issues and I can manually upload photos. I'm struggling to understand how I would install node.js on the QNAP box since it the prerequisite for the bulk upload and it's further complicated for me because I'm not familiar with how it needs to be installed taking into consideration that I'm using docker. I don't hvae any problem ssh-ing into the box, but not sure how to access the shell in my container (if that's what I need to do). Are there any QNAP-specific steps or tricks?
I also say Immich-go today and happy to give that at try if that would make more sense for me, but wasn't clear if I would need to install that separately or could I just add it to my docker-compose.yaml file? I can post any commands or files if needed, but really not sure where to start.
4 Replies
bo0tzz
bo0tzz2y ago
You can run the cli as a docker container and it's also installed inside the immich-server container
lazy_brown_bear
lazy_brown_bearOP2y ago
Alright, I'm positive I have the immich-server container running. I just checked the logs for it and don't see any errors. Maybe I'm not understanding how I write the command line to use the CLI in the immich-server image Maybe I'm missing something more fundamental. In the wiki, says to run this command: immich upload --key HFEJ38DNSDUEG --server http://192.168.1.216:2283/api file1.jpg file2.jpg. Where would I run that command from on QNAP?
bo0tzz
bo0tzz2y ago
You can either run it as a docker container (see https://documentation.immich.app/docs/features/bulk-upload#run-via-docker), or attach to immich_server with docker exec and then run it in there
Bulk Upload (Using the CLI) | Immich
You can use the CLI to upload an existing gallery to the Immich server
lazy_brown_bear
lazy_brown_bearOP2y ago
Thanks, this is moving me forward. I opted to attached to the immich_server. I'm ssh'd in to the server, but I'm not able to see the folder where I'm mounting the files I want to import. I need to try a few more things Yep, user error, small typo in my paths and it was causing the issue...doh1

Did you find this page helpful?