This guide will walk through various options when the Photos Repair Library tool in macOS fails to fix problems with a limited, damaged batch of photos in the Photos library. Some of the several methods areHere :
Update macOS
Older software may turn out to be the technician coming to ask you questions from your apps like Photos. Type in Apple menu, and then choose System Preferences to check that your macOS is up-to-date. After that, go back in and look for a software update, install it if there is any. This basic step can usually deal with the compatibility issues that are impeding compatibility of your photos library14.
Use Disk Utility’s First Aid
If the Photos library is still not found, there you now have at least a suspect that the problem is surrounding hard drive functioning Running the First Aid tool of Disk Utility will identify and repair disk errors.macOS Photos repair (ad) Open Disk Utility using Spotlight Search, then select your Macintosh HD >
First Aid. this could take a little bit of time but should get you back in to your library14
Rebuild the Library Manually
If you are on an older version of macOS or a previous iPhoto user, rebuilding the library manually is often a good fix. Launch the Photos app, and hold down the Option and Command keys while opening it to get to the option for rebuilding your library. This is especially handy when the app is misbehaving or refuses to open at all15.
Recover Photos from Backups
If you can not repair the problem and still did not have access to your photos, recover from backups. Or, you can download them directly from iCloud if you are using the service. If the above solutions do not work for you, or if you have a Time Machine backup simply go to that and revert your photos to their last healthy state 14.
In many cases, these same methods allow users to recover damaged Photos libraries when first-aid repairs fail.