iOS app - Backup trying to upload photo that doesn't exist
I have run into an issue recently where the automated backup is trying to upload a file that doesn't exist. It always fails and I cannot find the photo it is trying to upload anywhere. It is from November 25, 2014 and I have no photos or videos on my phone from that date. I checked in iCloud and I don't have a photo on that date either. The main problem is that this causes the backup process to hang for a very long time before uploading the rest of the photos, forcing me to manually upload them.
Is there anyway I can force Immich to ignore that image or reset the app DB so it doesn't try to upload that file?
18 Replies
:wave: Hey @dotfortun3,
Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker compose ps
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
Checklist
1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: I have read applicable release notes.
3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
4. :ballot_box_with_check: I have reviewed Github for known issues.
5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.probably a photo from a Shared Album feature of iCloud
which might be deleted
I forgot to mention that, I thought that might be the case because we disabled our shared library when we moved to Immich to stop duplicate uploads
Huh... I just did a manual backup and it fixed itself.
I have tried this dozens of times and it persisted. Now it is gone. Case closed I guess haha
So actually, this issue came back when the next backup was scheduled and causes the backup to hang. Is there any way I can force it to ignore that file?
If you take new photos and videos, are they getting uploaded to the server?
Yeah, they get uploaded eventually, but that nonexistent file takes a couple minutes to be skipped before the rest upload
Can you grab the mobile app log please?
Sure
I had the logs set to fine when I was trying to figure out what was going on so hopefully that adds some more details
Debug log is fine, fine would add a lot of noises
Do you want me to send a Debug one? I don't see an option for the in the app... Is it called Config in the app?
Ah it is called INFO
Ok, I’ll get another log with it in info
Can you check this file? name: IMG_0305.JPG, created on: 2014-11-25 17:35:58.000
I can't find that file anywhere... It's not on my phone, Immich, or the server file system.
Do you mind restart your phone to see if that file entry is removed from the iOS database
Sure
That may have fixed it. It seems to be uploading normally, but the backup still shows it like it wants to upload it.

But it at least uploads instantly now so I am good with that.
The issue has come back for the same file. I am considering uninstalling and reinstalling the app, but I am not sure if that would mess with the files that are already synced.