[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
bo0tzz
bo0tzz2y ago
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.
Aditya Gupta
Aditya GuptaOP2y ago
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
bo0tzz
bo0tzz2y ago
You can set LOG_LEVEL=verbose to get all the logs
Aditya Gupta
Aditya GuptaOP2y ago
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",""
ddshd
ddshd2y ago
Do you have websocket support enabled on your proxy?
Aditya Gupta
Aditya GuptaOP2y ago
Was just verifying that
ddshd
ddshd2y ago
Also try to get to the server using the direct IP and uploading
Aditya Gupta
Aditya GuptaOP2y ago
I can see websockets reaching the contaiers:
No description
Aditya Gupta
Aditya GuptaOP2y ago
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

Did you find this page helpful?