New photos suddenly not detected
As of a few days ago, immich stopped detecting new photos on my phone and updating the DB. I hadn't updated anything. I tried connecting directly to the IP but there's no change. The new photos show up in the thumbnail previews of the backed up folders that I have selected but not in the actual timeline. The error that shows up in the logs are as follows
Message
PlatformDispatcher - Catch all
Details
Bad state: Unable to fetch properties for path -1033394188.
Stack Trace
#0 AssetPathEntity.obtainPathFromProperties (package:photo_manager/src/types/entity.dart:162)
<asynchronous suspension>
#1 AssetPathEntity.fromId (package:photo_manager/src/types/entity.dart:59)
<asynchronous suspension>
#2 AlbumMediaRepository.getAssets (package:immich_mobile/repositories/album_media.repository.dart:44)
<asynchronous suspension>
#3 HashService.getHashedAssets (package:immich_mobile/services/hash.service.dart:38)
<asynchronous suspension>
#4 SyncService._syncDeviceAlbumFast (package:immich_mobile/services/sync.service.dart:656)
<asynchronous suspension>
#5 SyncService._syncAlbumInDbAndOnDevice (package:immich_mobile/services/sync.service.dart:563)
<asynchronous suspension>
#6 diffSortedLists (package:immich_mobile/utils/diff.dart:23)
<asynchronous suspension>
#7 SyncService._syncLocalAlbumAssetsToDb (package:immich_mobile/services/sync.service.dart:510)
<asynchronous suspension>
#8 AlbumService.refreshDeviceAlbums (package:immich_mobile/services/album.service.dart:132)
<asynchronous suspension>
#9 AssetNotifier.getAllAsset (package:immich_mobile/providers/asset.provider.dart:56)
<asynchronous suspension>
#10 AppLifeCycleNotifier.handleAppResume (package:immich_mobile/providers/app_life_cycle.provider.dart:67)
<asynchronous suspension>
I updated my server to the latest with no change.
Any idea what could have suddenly caused this?21 Replies
:wave: Hey @tens,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. 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 ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJAChecklist
I have...
1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: 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)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like
fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
FAQ | Immich
User
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Hello, can you help open an issue on GitHub with the stack trace you shown here so we can fix it?
done - https://github.com/immich-app/immich/issues/15382. Is there anything I can try in the meantime?
I believe clearing cache data should work
I tried that but with no success sadly
can you try reinstall the app?
just did and reconnected locally. There weren't any errors when I initially logged in, but after I turned on backup the same
PlatformDispatcher - Catch all
error showed up again
actually, I did change phones during this time. I didn't expect it to affect anything but was one of the larger changesI assum the phone data migration causes this hiccup
hm is there anything i can do on the immich side? I'd like to avoid recreating a user account (+ link existing pics as external library) but if that's the best option I can do it
yeah I will have to track down the bug and make an exception for it to not blocking the entire process
okay, I'll wait for that then and hold off on backing up to immich in the meantime
Can you give me more info of which album are you selecting for backup that cause the issue?
I wonder if it helps to restart the phone
it looks like the album you want to select for backup has changed its ID but somehow the phone still report it as the older ID
sorry I wasn't notified of this. I just have recents and camera folders selected
interestingly enough I just opened it and it uploaded 2 pictures I took today. but the ones from the last 7 days are still missing
if you just select recent, do you see the error message?
yes, i just changed the selection, closed and reopened and a new PlatformDispatcher - Catch all error showed up still
if it's useful, the stats under the "Backup" screen say I only have 3 assets under both Total and Backup
do phones assign the album IDs themselves? if so that would be strange if the new phone was reporting an ID created by the old phone
yeah they do but I believe it can change
Hi Alex,
im the User from the discussion:
https://github.com/immich-app/immich/discussions/15425#discussioncomment-11876327
the webpage it selve works fine from normal browser, only the apps got difficulthys to connect
Please open a new thread and don't just hijack some existing one. Thanks
oh sorry