CLI Upload API failing TrueNAS

immich upload --key 11bJZsLJ4UQsjQyf4xUVPUz7jPeUFdCeq36LUNcVA --server 192.168.1.254:80/api --recursive \192.168.1.254\Photos\Google Photos results is : Error connecting to server - check server address and port created the API and I'm able to check the server-info but the API is giving back 404. im using truenas and im absolute beginner at this.
8 Replies
schuhbacca
schuhbacca2y ago
Have you tried --server 192.168.1.254:2283/api. That's the default port for immich server Also I don't think that syntax is correct for the Drive path. Would need to be \\192.168.1.254
mdotoum
mdotoumOP2y ago
i did .... looking int o a similar post suggested the port so i tried it with no luck.... regarding the path i did try locally and i did try to use a shared path from the NAS both failed
No description
schuhbacca
schuhbacca2y ago
Sorry would be --server http://192.168.1.254:2283/api. Need the http://
mdotoum
mdotoumOP2y ago
now tried that as well sadly the same thing it actually worked with the original port by adding the http:// thank you sir truly appreciate it
schuhbacca
schuhbacca2y ago
Sorry yeah not sure then. It shoudl just be the web address:port of whatever your immich server is running on with /api appended. I am new to this so maybe someone else would have a better idea
mdotoum
mdotoumOP2y ago
small sideline question if you happen to know how can i use the google takeout migration tool ... i go the files but since its a nas a bit lost on what and where to run the commands
schuhbacca
schuhbacca2y ago
I have not used google migration tool before, not sure how it works
mdotoum
mdotoumOP2y ago
no problem sir... thank you

Did you find this page helpful?