-
-
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
New photos suddenly not detected #15382
Comments
I'm experiencing the same. I resolved a few days ago by uninstalling the Immich Android client, and then reinstalling, then logging back in. Now it's not working again. Been doing this since 1.123 for me. But the Backup feature in the client seems to see the photos. I just cannot see them in the Photos Preview Tab |
Do you mind restarting the phone to see if it helps? |
No, still got the same error in the logs when I opened the app after a
restart.
…On Thu, Jan 16, 2025 at 9:42 PM Alex ***@***.***> wrote:
Do you mind restarting the phone to see if it helps?
—
Reply to this email directly, view it on GitHub
<#15382 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIHUOOFNDZ7E7UX3U4AIS532LBUYLAVCNFSM6AAAAABVI22XQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJXGMYTKOJSHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I'm experiencing something similar. The app detects new pictures, uploads them and they are visible in the timeline on all clients, but the (sync/backup) status symbol always shows a cloud. The app seems to "think" the new pictures are only present on the server and not locally on the device as well, but they are. They are also missing from the "on this device" albums. Looking at the logs, they are pretty much identical to the one above. If I refresh the timeline or restart the app the error appears again. Restarting the phone/server doesn't change anything, nor does wiping the app cache. The app has full access permissions to photos and videos on the device.
|
After some quick experimentation, I've narrowed this issue down to this piece of code: immich/mobile/lib/repositories/album_media.repository.dart Lines 53 to 58 in d249b63
From my limited understanding, following the stack trace, this snippet seems to filter files modified after the local database's known state. What I've realized is that removing it resolves the issue—again, I do not fully know the implications of removing this. What I do know is how exactly this error pops up in my case. Here's how it goes:
Pictures still upload to the Immich instance; however, the app thinks it's only available remotely (thus showing the empty cloud icon). Now pictures saved in any other folder, such as I will see if I can find a proper fix tomorrow. |
Also experiencing this, logging out and logging back in was enough to fix it. Hopefully sticks for awhile until it's fixed. Backing up and uploading seems to work in the broken state. Edit: It doesn't stick, you have to relogin to build the timeline. 1.124.0 Client |
I'm also encountering this issue on Android 15 Immich server is v1.124.2
|
Luke1123's issue actually seems slightly different from my originally
reported issue - in my case the app didn't even detect the photos and they
didn't show up in the timeline. However, the thrown error seems to be the
same. As of now Immich is detecting new photos, but is solidly missing a
week of photos (and still throwing the reported error). I did switch phones
during that time, but am not sure what the root cause is.
…On Sun, Jan 19, 2025 at 3:43 PM Jordy ***@***.***> wrote:
I'm also encountering this issue on Android 15
Immich server is v1.124.2
Immich app is v1.124.2
Bad state: Unable to fetch properties for path -1572118126.
PlatformDispatcher - Catch all
#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>
—
Reply to this email directly, view it on GitHub
<#15382 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIHUOOEHFZ7MGZY2XA52Y2L2LQE7DAVCNFSM6AAAAABVI22XQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBRGAYTIOBQGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I might have found the reason. Can you guys try the APK here? https://drive.google.com/file/d/1W-YtUGclK_b7jprM8tTZqwG1D_x3ZXY6/view?usp=sharing |
I'm still getting the same error. Pictures upload just fine but they sometimes don't show up in the timeline, and when they do show up, it just shows the remote-only icon. |
So on my issue, I tried to reboot the phone, and it did not resolve. I then found that when I selct the Recents album, the backup sees it, but the files did not show in the Preview. I then found that if I manually selcted a particular Album that contained the photos in Recent, I could then see them in Preview before and after backup. I'm going to download and try the linked APK and see if it does something differently. |
Just from my initial install and login, that seems it may have kinda fixed it for me. I installed this linked APK, was able to select just the Recents, and see Photos. I then snapped a few new ones, and they would not show (but did indicate in the Backup). I then deselected Recents in Backup, then reselected Recents in Backup, and the new pictures showed up. So it's better and I can at least toggle the Recents to get new photos to show up. |
Please also that you don't have the spinner icon at the bottom of the page (indicate hashing progress) Also the log from the apk should be good as well |
Hi, I was hitting the same error so I've installed the APK mentioned by @alextran1502. Some info
I'm struggling with night sight pictures taken automatically by the phone. They don't appear at all in the timeline and the error thrown is the following Immich app: Immich app: 1.124.2 build.175
Stack trace
I tried with normal pictures and everything is fine, they are uploaded to the server and shown in the timeline. I tried to install the latest available immich app 1.124.2 build.2175 but I have the same issue and the stack trace is the following
|
No spinners on mine.
Fairphone 4
Android 14
Immich server 1.124.2
Immich client 1.124.2 build 175
Logs:
PlatformDispatcher - Catch all
Bad state: Unable to fetch properties for path -1521312547.
#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>
|
This issue will be fixed in #15461. Sorry for the inconvenience guys |
No problem! Thank you for your help! |
This seems to have worked for me as well. Many thanks!
|
It seems that the error's come back for me in the logs, although it doesn't seem to be causing any noticeable effects for now (i.e. the photos are still being recognized). It seems to be the same as before: |
Can confirm that the issue is fixed in v1.125.1 for me |
Great! thank you! |
The bug
note: changed phone and used data transferred mechanism
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
I updated my server to the latest with no change.
Any idea what could have suddenly caused this?
The OS that Immich Server is running on
Ubuntu 22.04.4 LTS
Version of Immich Server
1.124.2
Version of Immich Mobile App
1.124.2
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
...
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: