[FIXED] Not able to upload photos
Since last week, I have not been able to upload any photos on the immich server. Not from the app and not from the web interface.
From the app, it says uploading starts to upload a picture, then completes it but the remainder stays the same. It tries to upload the same picture again and again (The same in iOS and Android)
From the web, it completes the first time but I cannot see the picture. I tried to upload it the second time, it said duplicate foreign key. So the entry does make it to the database but not sure what happens after.
Thanks!
10 Replies
Make sure all your containers are running and check their logs etc. No need to tag Alex, there are plenty other people here who can help.
All containers seem to be healthy. I monitored logs while uploading files, no logs were emitted. That's the interesting part, is it possible to change the log level to view traces or debug logs?
Sorry about tagging alex
You can set LOG_LEVEL=verbose to get all the logs
Turns out setting log level on server didnt help. I set log level to fine on the client and got these logs
To make my setup more clear, this is how my setup looks like atm:
Client -> Nginx(routes traffic to appropriate service, in this case immich) -> Immich Proxy
What I'm concerned about is
2023-08-31 14:47:20.611029,LogLevel.FINE,"socket_io_client:engine.Socket","socket error WebSocketException: Connection to 'https://immich.adityagupta.my.id:0/api/socket.io/?EIO=4&transport=websocket#' was not upgraded to websocket",""
Do you have websocket support enabled on your proxy?
Was just verifying that
Also try to get to the server using the direct IP and uploading
I can see websockets reaching the contaiers:

I guess I got it working. The proxy was the POF
I copied a bunch of items from immich's proxy config (all proxy_ configs)
Thanks much @ddshd @bo0tzz