-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Immich iOS app cannot upload, stuck #5445
Comments
I am having the same problem. Every time i check the status, it shows the same number of pending uploads. I manually start and it shows all the images uploading.... but the counter is not counting down to zero, it stuck at the same number. I then check my SMB share for the uploads folder and i dont see any new files actually uploading there. I tried background upload, manual upload, its stuck pretending to upload but not actually doing anything it seems. I can do further testing and troubleshooting if needed. |
I have similar issue. Fresh, first time install of immich. At 1.89. iOS. Debian. All my 355 albums show up in ios app. Selected them all and start to backup. It ran in burst twice. First time to about 100 photos, and then stopped. Then goes to about 115 photos, and then stopped. Kinda like you, stuck. Left it over night as I have about 75000 photos. Came to check ios app 1 hr later, and all the backup is back to 0, as if nothing has been selected. The 15x odd photos uploaded cannot be found in web nor in ios app. I can provide logs if needed. Unfortunately, I can't use immich, yet. EDIT: after reading thru reddit, discord, GitHub issues, I guess the problem comes down to this:
= Immich is not handling this scenario properly yet. |
Same here! Everytime my screens (ios) turns off, the upload restarts with the same picture, It also says |
I can't use the app until there is a fix. I'm not sure its worth it to reinstall, I will just wait for the next release. |
@steve5355 if you are using iCloud with optimized storage turned on, this is expected behavior because the app hasn't handled this use case properly yet |
@alextran1502 Yes, this is the issue... you're right, I'm not sure how i missed this. It wasn't obvious to me and now i feel dumb. For anyone else using iCloud: The iphone puts the image in the cloud and removes the original from the device, so immich can't grab the source file, even though you can see the thumbnails and previews on device. I have been using the manually selected photos option for testing, not ready to "allow all" to my camera roll, so few days ago, i selected photos from a few months ago on my camera roll and those must not be on my device. So what are folks doing to work around this issue for now (until there is solution)? |
@steve5355 I am experimenting with a solution for this. I will try to include it in the next release #5508 |
The same issue has occurred with Android version 1.89.0, unable to synchronize, and the remaining backup quantity has not changed |
I don't know if this is entirely related, but I'm running into a situation where Immich will not fully complete the backup and no longer allows me to even select albums for backup. I'm on the latest version, fresh install (1.89). I've ran into multiple issues:
I'm now left in a state where I can't even kick off a manual backup nor can I turn on background syncing. Immich managed to upload about 29,000 of my 32,000 photos before becoming unusable. Here are the workarounds I've attempted – all have failed:
Logs show nothing on these video failures. Progress bar gets to 70-80%, then "completes", only for the next backup to start over again at the large failed video file. Nothing in the server logs either. Ironically, the logs on the device do show Immich finding my local albums. The UI just doesn't reflect that fact. A few things that would really help those of us with large libraries/sync issues would be:
See attached screen shot – logs show it found 90 local albums and then 11 seconds later "Not found albums": |
@joestump just for information, are you using iCloud, with Optimized Storage turned on and Share Albums feature of iCloud? |
@alextran1502 I am not. I disabled that setting per this thread, which did not help. I actually had it on and had zero issues uploading ~15,000 photos when I ran into the issues I described. I turned it off, but it's had no effect on my issue. I recently tried to get it going again and did see this error in the logs - but Immich still does not see my albums nor can I re-initiate my backups any longer: |
Checking in, after more updates (including this one above), still not able to upload. I don't use icloud for photos fyi |
@handonam Do you use reverse proxy to access your instance on the mobile app? Does the proxy set the body size allowance large enough for the file to be accepted? |
update:
Therefore, there must still be an issue on the background uploading, logic. the only way the images are uploaded from my iphone is if i keep the screen on by touching it every few minutes. This also kills the battery while uploading, the phone gets hot, but it is uploading very fast on my local wifi. I believe this is a known issue so I can wait for a fix in a future release. At least its working for me after doing items 1 and 2 above. |
@steve5355 we solved a few issues in the next release. Let's see how it goes |
I don’t have Reverse Proxy set up. should I be? |
What issues did you solve? Just so I know which steps to take, will disabling iCloud still be required for the uploads to work? Thanks! |
@notflip We solved the issue of uploading files from iCloud that causes the process to be hung. And potentially solving an issue of the album selection for backup doesn't load the albums |
hi sir on android device when screen gets locked or switch to another app uploads pause is there any way to fix this too |
@PitchAbyss you can enable background backup, backup process will then run periodically |
on 1.91.4, still reporting with this being stuck. |
same here, proxy body size set enough to handle big uploads, but my uploads keeps restarting, using immich behind SWAG. |
Same here bigger videos don't upload (longer than 2 minutes) Service is behind a reverse proxy. Log file: Failed to get file for asset FCEBA96B-2B92-4E11-A9F4-60DC70CD34AC/L0/001, skipping All iCloud foto data is downloaded to the iPhone. |
@markwien Your reverse proxy probably doesn't set up to accept large files. Try local IP to confirm the issue |
omg u right I was thinking i did - I changed client max body size to 16G now it works. Thank you ! |
I have:
I managed to find the incriminated video: a 2m34s video in a shared album. I am not the owner of the shared album. File size is reported to be "Zero kB" by Photo on MacOS (with cmd+i) while I can't find a way of showing file size on iOS. |
So my dum self realized my storage was full. I had to check the docker logs to find out that it was the case. I could have sworn i tried to look at docker before, and never seeing this error. But digging into the logs recently, it was very clear: the mobile app doesn't really describe that as a failure to upload, it just hangs. Not quite ideal (as i spent months churning on why). In my case, I wouldn't mind if we close this issue. But, I would say: a more verbose failure message for mobile app (either in the UI, or even the logs) would be valuable for triaging faster, and to separate some of these issues people are having into different threads. edit: cc @jrasm91 |
Has this somehow been solved? I am still having this problem unfortunately |
Same for me, issue is still there on Ios |
i would suggest to open a new issue if it's not related to the free storage issue i had. that way, the devs can triage it better |
this saved me, thank you for anyone using nginx-ingress on their k8s cluster, this annotation fixed the issue for me
|
I'm having the same issue but not using a reverse proxy, instead i'm using cloudflare tunnel. Are there similar file size constraints that people are aware of there? I never can seem to get a reverse proxy working on my unraid config. |
@Whamp yes CF limit to 100MB file, we don't have chunk upload implemented yet so the request is rejected by CF |
I got the same issue, which seems due to the unsupport file type. And the upload stuck with repeated logs as following:
The upload only started again after I deleted the files immich complainted. |
This happened to me as well. In my case it seems that the error was that I have photos synced via macOS and they do not have a name. These were the logs I was getting in the client:
And in the server:
I think the root cause is that the client is doing an invalid request to the server and it is not recovering correctly. This is just a hack, and I do not think it can be merged. Probably a more elegant solution has to be found. |
EDIT: March 7th, 2024 - SOLVED, I ran out of disk space.
The bug
I took a bit of a break since around November 5th through November 17th, in which I didn't have immich running. So, I started immich again on Nov 17th, updating to 1.87.0. I forgot what I was on when it was November 5th and prior.
But, fact is, iOS hasn't been uploading images since 1.87.0. And checking the app, the server storage says "0 of 0 used"
In the backup screen, none of the numbers in "Backup" and "Remainder" have moved:
Most notably, this "Uploading file info" section does not move at all. Even if you click "Cancel" followed by "Start Backup"
Singularly uploading images do not change anything as well.
Attempted to check iOS app for any logs (including Troubleshooting mode on with finest log settings), but nothing came up. Logs are fairly blind to this issue.
The OS that Immich Server is running on
docker-compose via Unraid
Version of Immich Server
1.89.0 and 1.88.2
Version of Immich Mobile App
1.89.0 build.129
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response
The text was updated successfully, but these errors were encountered: