Do not repair the Photos Library unless you are sure, the library is damaged

I would not recommend to repair the Photos Library, unless we have tracked down our Photos Library as the likely culprit, when Photos is acting up.

I listed my reasons for this here in this new user Tip:

When should we repair a Photos Library? - Apple Community


Comments are welcome 😊

MacBook Pro 15”, macOS 10.15

Posted on Feb 13, 2020 3:16 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 22, 2020 12:30 PM

When I am sure, that all my photos and videos are in iCloud, and I think the library needs repairing, I prefer to download the library from iCloud to a new, empty library instead of repairing it.

That will save the lengthy upload and merging into the iCloud Library, and the library will be rebuilt, perfectly in sync with iCloud. The project will be gone, however, but I have not created any projects anyway, since Apple stopped the print services.


It is nice to see you back in the Photos forum, Rysz.

11 replies
Question marked as Top-ranking reply

Feb 22, 2020 12:30 PM in response to Rysz

When I am sure, that all my photos and videos are in iCloud, and I think the library needs repairing, I prefer to download the library from iCloud to a new, empty library instead of repairing it.

That will save the lengthy upload and merging into the iCloud Library, and the library will be rebuilt, perfectly in sync with iCloud. The project will be gone, however, but I have not created any projects anyway, since Apple stopped the print services.


It is nice to see you back in the Photos forum, Rysz.

Feb 21, 2020 4:07 PM in response to Rysz

My biggest concern is that the repair may be making the damage worse, if there is a problem that cannot be repaired, for example, if the drive is failing or the format of the file system is wrong or the library has been damaged by third party cleaning software or moving it into a dropbox or similar.


After a repair we should look for recovered items. A repair might turn up orphaned files or lost albums. I found recently many edited versions created by external editors, that suddenly appeared as new photos. Older Live Photos suddenly appeared as a pair of a video and still frame.

Sometimes manually added faces disappeared.



Feb 16, 2020 3:21 PM in response to 1BirchView

To find new user tips you could use the "my Subscriptions" view in the ASC forums. Use the filter at the left side of the My Subscriptions page the filter for user tips and the forums you want.

For example, for me, the My Subscriptions is looking like this, when I filter for user tips.


The filter will produce a URL like this: https://discussions.apple.com/profile/léonie/subscriptions?page=1&activity=filterFollowing&type=filterUserTips


Sometimes you will also find new User Tips on the entry page to the Apple Support Communities.



Feb 24, 2020 11:15 AM in response to Rysz

Your tests confirm - repairing is not a routine operation, to be taken lightly, and never without having a working backup. And rebuilding by downloading from iCloud will only help, if the problem has not been propagated to iCloud.


It would help, if Apple would clearly describe, what kind of problems can be fixed by "repairing". The Photos user guide is rather vague on this: Repair your library in Photos on Mac - Apple Support

"If you experience problems with photos in a library, you can try to repair it."


What kind of problems can be fixed?

Feb 24, 2020 10:54 AM in response to Rysz

For the record...


I rebuild a copy of my 19K Photos Library. After a quick review...


Results:

  • About 30 images are now blank; interestingly, when double-clicking on the blank thumbnail, some open as all-white, while others open as all-black;
  • About 20 images reverted their orientation;
  • People album seems to show all faces, but the status after two days and nights still says “0 Photos Scanned” [the original Library was stuck at about 700 photos remaining];
  • About 20 images lost their edits completely and reverted to their “original” state;
  • Already edited images that had the issue of reverting to pre-edit condition when I clicked on the Edit button at a later time again, was not fixed; this was the problem I was most interested in repairing.


Conclusion:

  • In my case, rebuilding the Photos Library created more problems and did not solve any.
  • It seems the problems I’m encountering are bugs in the Photos app and not Library database issues that rebuilding can resolve.


Your mileage (with Rebuilding) may vary...

Feb 15, 2020 3:38 AM in response to léonie

More recent User Tips for Photos in Catalina - frequently asked questions

Feb 22, 2020 1:04 PM in response to léonie

Good point, perhaps I’ll try this method first. Have to digest the options some more.


My main concern is that I’m experiencing problems (although it’s difficult to say if they’re always identical) on my laptop and iPad, not just the Mac, so the issues might be propagating over iCloud Photos.


[ Yeah, I’m back as a “consumer” but since I’m here... ]

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Do not repair the Photos Library unless you are sure, the library is damaged

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.