Closed hjspencer closed 8 months ago
Hello, I assume you are using Shared Album feature from iOS?
I do have shared albums enabled but I don't have any shared. I did have a mate who shared an album woth me quite some time agao but I can't see it now so I assume he's turned that off. I've disabled the feature
With the shared album feature disabled I've just had another pathnotfoundexception error. I left the app for over 10 mins but it didn't kick back in backing up photos so I had to force close it It was down to around 700 left. When re-opening it was over 2000
Hello is this issue still relevance?
Hello! I have the same issue. Same error as OP, shared albums was enabled, went away when "shared albums" are disabled in iOS (even if no shared album is present on the device, feature was not used).
When enabled, the selection screen where you chose which album to back up won't load (loading animation)
Same issue here on the latest iOS, no shared albums. The backup stalls every few minutes with the pathnotfoundexception in the logs. I have also commented on the other github issue for this.
@jetblack-nz Just for some more data points, which phone model are you one, and which features of Photos are you using, such as iCloud...etc?
@alextran1502 this is related to the other issue I commented on today: https://github.com/immich-app/immich/issues/4339#issuecomment-1811493506
Same (?) Problem here.
MESSAGE:
Catch all error: PathNotFoundException: Cannot delete file, path = '/private/var/mobile/Containers/Data/Application/FEC06F14-E47E-4A21-ABA1-EE91DAAD47FA/tmp/.image/93170CDF-5E02-489A-8E43-1499CF3863CD_L0_001_1692334770.196182_o_FullSizeRender.jpg' (OS Error: No such file or directory, errno = 2) - PathNotFoundException: Cannot delete file, path = '/private/var/mobile/Containers/Data/Application/FEC06F14-E47E-4A21-ABA1-EE91DAAD47FA/tmp/.image/93170CDF-5E02-489A-8E43-1499CF3863CD_L0_001_1692334770.196182_o_FullSizeRender.jpg' (OS Error: No such file or directory, errno = 2)
FROM:
ImmichErrorLogger
STACK TRACES:
#0 _File.throwIfError (dart:io/file_impl.dart:675)
#1 _File._deleteSync (dart:io/file_impl.dart:329)
#2 FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:424)
#3 BackupService.backupAsset (package:immich_mobile/modules/backup/services/backup.service.dart:398)
<asynchronous suspension>
#4 BackupNotifier.startBackupProcess (package:immich_mobile/modules/backup/providers/backup.provider.dart:461)
<asynchronous suspension>
#5 BackupNotifier._resumeBackup (package:immich_mobile/modules/backup/providers/backup.provider.dart:592)
<asynchronous suspension>
Device: iPhone 13 mini
iOS: 17.2
Shared albums: yes
Photos with iCloud sync enabled and 'Optimise iPhone Storage' also enabled
App Version: 1.91.0 build.131
Server Version: 1.91.3
After 24 h only 500 of 12500 pics are backed up.
This issue should be fixed in 1.91.4
still happening for me in 1.91.4 when run as background task, it seems to be ok for foreground? different code path? (iphone 12 pro, icloud sync, latet immich server)
The bug
I uploaded most of 30k images/videos via the CLI and the IOS app is slowly cycling though. I keep hitting an issue where I get a pathnotfoundexception error where it cannot delete a file.
This stalls the process for a few mins (or sometimes fully and I need to force close the app) When the backup process starts again the remaining number of assets to backup has increase by sometime over 2000. It starts backing up assets but again stalls and I cycle round the same problem.
Do to the size of photos/videos on my phone I do have Photos optimised for iCloud Storage so it could be this that is too aggressive removing the image before Immich has completed backing up.
Happy to share logs
The OS that Immich Server is running on
QNAP QTS 5.0.1.2425
Version of Immich Server
v1.69.0
Version of Immich Mobile App
v1.68.0 build.108
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response