Open DaVinciEngineer opened 4 months ago
@fyfrey Do you have any thoughts on this? I am planning to dive into the code to see what could be the issue there but figure to ask your opinion first.
The hashing code written in native iOS code (Swift?) occurs an error... Due to something. This makes the entire chain in dart abort as well. So, this is an iOS file issue or bug in our swift code.
If this issue has been resolved? After updating to the latest version 1.112.1, the corresponding app on my IOS device also encountered the same problem, which is particularly confusing. The local photo album on the mobile phone cannot be fully displayed on the timeline, but if you choose to synchronize recent projects, it can be fully uploaded to the server. However, the problem is that the local server does not have these photos available. I feel like the problem lies with the mobile app, but I'm not sure if there's a problem with the server. During the detection process, there will be an error message on the mobile terminal. _MESSAGE Platform Dispatcher - Catchall (FROM ImmichError Logger),. DETIALS:PlatformException(Error Domain=PHPhotosErrorDomain Code=-1 "(null)", null, null, null) STACK TRACE:#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648)_
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334)
<asynchronous suspension>
#2 AssetEntity._getFile (package:photo_manager/src/types/entity.dart:735)
<asynchronous suspension>
#3 HashService._hashAssets (package:immich_mobile/services/hash.service.dart:57)
<asynchronous suspension>
#4 SyncService._addAlbumFromDevice (package:immich_mobile/services/sync.service.dart:687)
<asynchronous suspension>
#5 diffSortedLists (package:immich_mobile/utils/diff.dart:30)
<asynchronous suspension>
#6 SyncService._syncLocalAlbumAssetsToDb (package:immich_mobile/services/sync.service.dart:504)
<asynchronous suspension>
#7 AlbumService.refreshDeviceAlbums (package:immich_mobile/services/album.service.dart:118)
<asynchronous suspension>
#8 AssetNotifier.getAllAsset (package:immich_mobile/providers/asset.provider.dart:55)
<asynchronous suspension>
#9 PhotosPage.build.refreshAssets (package:immich_mobile/pages/photos/photos.page.dart:86)
<asynchronous suspension>
#10 MultiselectGrid.build.wrapLongRunningFun.<anonymous closure> (package:immich_mobile/widgets/asset_grid/multiselect_grid.dart:396)
<asynchronous suspension>
#11 RefreshIndicatorState._show.<anonymous closure>.<anonymous closure> (package:flutter/src/material/refresh_indicator.dart:503)
<asynchronous suspension>
—————————————————————————— —————————————————————————— Finally, I have identified the key reason that triggered this issue. After investigating each of my over 30,000 images and videos, I discovered that a particularly loooooooooooong-named image caused the interruption of the local album scanning process. Everything returned to normal after I deleted this problematic image. For users of IOS devices who are experiencing similar issues, you may refer to my solution for this problem.
In addition, I have two more questions: 1,Could the developers consider fixing this issue in a future iterative update of the APP? Identifying the problematic filename is not an easy task, especially when dealing with a vast number of photos. 2,When playing videos using the Immich APP on IOS, it feels like there's a filter applied, making the colors appear lighter or colder than they do when played normally in the phone's album. The colors are not authentic. I'm using an Iphone12, and I'm wondering if other users are experiencing the same issue. I also hope that the developers can address this issue. ![Uploading errorPIC.png…]()
I am also facing the same issue, logs below:
https://github.com/immich-app/immich/issues/11519#issuecomment-2294867533
The bug
is it not possible to see not synced assets in the iOS app, however full background sync uploads them and then they gets displayed with "cloud" icon.
The OS that Immich Server is running on
Ubuntu 22.04.4 LTS
Version of Immich Server
v1.109.2
Version of Immich Mobile App
v1.109.0 build.164
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
Additional information
No response