Can't access photos on external network drive after upgrading to Catalina
Hi,
After upgrading to Catalina, I am not able to access my Photos library anymore. I store photos on an external network drive. It is accessible via AFP and SMB, but in both ways it is not working. After starting Photos application and choosing the external library after few seconds I see this error message:
Repair Library Permissions
This photo library is locked or you do not have permissions to make changes to it. Photos can try to repair the permissions.
So I start the repair process. It progresses to 100% then starts counting again to fail after like 10-15 seconds with the following error message:
The library could not be opened.
Photos was unable to open the library “Photos Library”. (1000)
The system has access to this folder, permissions are correct, ownership as well. Even if I remove it, it is created again by the migration process. After the second error I can see the following logs:
2019-10-18 21:48:55.026 (NSOperationQueue 0x7f84f1d149e0 (QOS: UTILITY)) MigrationOperation.m:242 Failed to migrate the library for state MigrationStateResourceMigration and original library url: file:///Volumes/user-1/Zdjecia/iPhoto/Photos%20Library.photoslibrary/. Error: Error Domain=NSCocoaErrorDomain Code=513 "“thumbs” couldn’t be removed because you don’t have permission to access it." UserInfo={NSUserStringVariant=(
Remove
), NSFilePath=/Volumes/user-1/Zdjecia/iPhoto/Photos Library.photoslibrary/resources/derivatives/thumbs, NSUnderlyingError=0x7f84f4294630 {Error Domain=NSPOSIXErrorDomain Code=66 "Directory not empty"}}
2019-10-18 21:48:55.727 (NSOperationQueue 0x7f84f1d149e0 (QOS: UTILITY)) MigrationOperation.m:918 Migration completion for url file:///Volumes/user-1/Zdjecia/iPhoto/Photos%20Library.photoslibrary/
2019-10-18 21:48:55.951 (NSOperationQueue 0x7f84f1d149e0 (QOS: UTILITY)) MigrationOperation.m:942 REASON: Error Domain=com.apple.photos.error Code=46104 "(null)" UserInfo={NSUnderlyingError=0x7f84f42996c0 {Error Domain=NSCocoaErrorDomain Code=513 "“thumbs” couldn’t be removed because you don’t have permission to access it." UserInfo={NSUserStringVariant=(
Remove
), NSFilePath=/Volumes/user-1/Zdjecia/iPhoto/Photos Library.photoslibrary/resources/derivatives/thumbs, NSUnderlyingError=0x7f84f4294630 {Error Domain=NSPOSIXErrorDomain Code=66 "Directory not empty"}}}}
Any ideas how to fix it?
Regards,
MacBook, macOS 10.15