Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: Question regarding corrupt iCloud photo/video library

Hi Everyone, not sure how it happened, but I realized last weekend that several thousand photos/videos were missing from iCloud.


My setup - iPhone and MacBook Photos apps are set to 'optimize storage'. MacMini Photos app set to 'download and store original' photos/videos.


iCloud has been turned off on my MacMini for two weeks (changed password, forgot to log back in). However, MacMini Photos app appears to have all photos/videos (complete library)!


My question - what happens when I log back into iCloud on the MacMini? Will it update iCloud and 'fill in the blanks' or will it remove the extra photos/videos from the MacMini not currently present in iCloud? Note - there are only a couple of items in my 'recently deleted' folder, none of which match the several thousand that are missing from iCloud.


Any advise would be appreciated!


Dave

Posted on

Reply

Page content loaded

Mar 10, 2018 5:08 AM in response to ndlessfun In response to ndlessfun

iCloud has been turned off on my MacMini for two weeks (changed password, forgot to log back in). However, MacMini Photos app appears to have all photos/videos (complete library)!

before you try anything, make a backup copy of the Photos library from your Mac mini on an external drive.

As long, as you do not know, why the photos vanished from iCloud, be careful, before you set up iCloud again.

Usually, if you enable a Phots Library as your iCloud Library, the photos will all upload and be merged with the library in upload. You should not have less photos after syncing with iCloud.

Mar 10, 2018 5:08 AM

Reply Helpful

Mar 10, 2018 7:22 AM in response to léonie In response to léonie

Thanks léonie. I was able to do a Time Machine backup that included the full Photos library on the MacMini. However, I was unable to successfully copy the library itself. I've tried multiple times and always get Error code -36 after approximately half of the library is copied ("The Finder can't complete the operation because some data in "Photos Library" can't be read or written."). I've also been unsuccessful in trying to export originals from the library. Guess I'm going to have to roll the dice on this one and see what happens...

Mar 10, 2018 7:22 AM

Reply Helpful

Mar 10, 2018 7:36 AM in response to ndlessfun In response to ndlessfun

You cannot copy the library to a drive, that is used by Time Machine. And the file system of the drive, where you copy the library to, should also be MacOs Extended (Journaled) and not case-sensitive

I was able to do a Time Machine backup that included the full Photos library on the MacMini. However, I was unable to successfully copy the library itself. I've tried multiple times and always get Error code -36 after approximately half of the library is copied ("The Finder can't complete the operation because some data in "Photos Library" can't be read or written.").

There may be a few items in the library that are having wrong permissions or unreadable path names.

Error -36 means that one of the files cannot be read or written. If reformatting does still not help to copy the library, either use cloning software (super duper, carbon copy cloner) or copy the library by opening the package and copy the folders inside separately.


You could try to isolate the file that is giving this error.

The error -36 could also be created by a corrupted image file or video in your Photos Library.

If the Library cannot be read, and the file system on the destination drive is correct, but you can still not copy, one of the files inside may be corrupted and cannot be read. Then try to copy the library in parts. This way, you are able to identify the culprit that is causing the I/O error and can skip it, when copying:


  • Create a new folder on your external drive. Call it "Photos Library Copy".
  • Ctrl-click (or right-click) your current Photos Library and use the command "Show Package Contents". This will open a folder, showing you the files and folders inside your Photos Library.
  • Copy these folders one-by-one to to the new folder on your external drive. If one of these folders is giving an error -36, check how far the copying proceeded. The files, that have been copied, are o.k. The file or folder, that should have been copied next will be the unreadable file. Probably the problem is caused by one of the files in "Masters" or a database folder. In that case look into the Masters folder and copy as much as you can, while leaving out the file that will not copy.

  • When you are done, rename the copy of your Photos Library to "Photos Library Copy.photoslibrary" and double click it to open it in Photos. Can Photos open this library?

    Mar 10, 2018 7:36 AM

    Reply Helpful
    User profile for user: ndlessfun

    Question: Question regarding corrupt iCloud photo/video library