Closed joselsegura closed 1 month ago
Are you using a reverse proxy? If so, can you check if your reverse proxy allows large file uploads?
Hi Alex.
Yes, I'm using traefik and I think that it allows large size uploads because I uploaded the video using the API, but with a third party program instead official ones.
In any case, I want to focus mainly on the Android app problem about not recognising an already uploaded file, more than the upload problem, as this one can be a configuration related problem at the end.
Can you send the log where you see error code 409?
I saw it when trying, before testing with the third party app, to upload the file from the browser. I'm trying to reproduce right now... but again, this issue is NOT about the upload problem. As you mentioned, it can be caused by a misconfiguration on my reverse proxy or whatever problem in the network...
The problem I'm trying to expose here is that the Android app is not able to detect that the video is already uploaded on the server, so there is no need to sync it again and again
I cannot reproduce it because the web page is able to recognise that the video is already uploaded, so it didn't try.
I'm going to create a modified version of the video just to make sure that it's different from the previous one and I'll try to reproduce
I was able to reproduce, but I cannot see any status code, only "ApiError"
From my reverse proxy logs I was able to see a 502, not a 409.
Any log from the server?
Nothing relevant, just a few websocket connect/disconnect logs.
As I can reproduce it easily, I can try to upload Immich to latest version and enable some more verbose logging, if possible, just let me know.
Is that upload form you shown is on local IP?
Yes, it's in local network, but using the reverse proxy (I'm not exposing the immich web server to my local network)
Look like here is the solution https://github.com/immich-app/immich/discussions/8872
The bug
I tried to sync a video from Immich Android, and later uploading a copy of it from my computer in my Immich instance webpage and it failed with 409. It's a 2GB video and finally my only way to upload it was using an external program (immich-go in my case).
Now that the video is already uploaded correctly, the Android app is always trying to upload it again (and failing). I guessed that Immich app should recognise that it is the same video was already uploaded and avoid trying to upload it again.
I can remove the video from my Android phone to stop this behaviour and download it, if I needed it, from the app... but maybe it is something that can be improved.
The OS that Immich Server is running on
Docker container
Version of Immich Server
v1.108.0
Version of Immich Mobile App
v1.109.0 build.149
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
No response
Additional information
It looks like 2 different issues reported together: not being able to upload a big archive to my server and the Android app unable to recognise that both files (local mobile video and uploaded using immich-go) are exactly the same.
I'm focusing on the second one for this issue.
Best regards