What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.17
What app is this about: Immich
Describe your issue
Just posting to help anyone who may be tripping up on what I tripped up on. Not strictly immich, but related. I thought it’s worth sharing as all the immich support is mainly around docker.
I set up immich on a subdomain like so https://immich.mydomain.nohost.me/
Then I attempted to use immich-go (version 0.27.0) on debian to import my google takeout. I was having difficulty reaching the server via 192.168.1.10:2283 from my local network and also from 127.0.0.1:2283 from the host machine. I kept on getting errors such as:
Error: error while calling the immich’s ping API at this address: http://192.168.1.10:2283/api/server/ping:
PingServer, GET, http://192.168.1.10:2283/api/server/ping
Get “http://192.168.1.10:2283/api/server/ping”: dial tcp 192.168.1.10:2283: i/o timeout
I found that I had to use https with the url, rather than http with the local ip and port 2283. Note that I have my host file modified so mydomain.nohost.me directs to 192.168.1.10 on my local network. Not sure if that made much difference.
Anyway, here’s the command that worked for me:
./immich-go upload from-google-photos --server=https://immich.mydomain.nohost.me/ --api-key=XXXXXXXXXX --dry-run /path/to/your/takeout-*.zip
Someone with more technical knowledge may be able to tell why. I just know it worked! Hope it helps somebody.
P.S. putting this under discuss apps because it won’t let me select immich tag in support apps category.
Share relevant logs or error messages
n/a