Mac Photos Has Attempted To Repair The Library

Pam Bush upgraded her Mac to the latest version of OS X, but her Photos library is full of black thumbnails, rather than tiny images. The Mac consultant who handled her upgrade told her it was a bug, and she needed to “rotate every image manually.” “Not going to happen in my lifetime,” Pam writes.

However, if above method failed to work then downloading photo recovery software is the ideal way to get back your photos from iPhoto library. Get Back Photos from corrupted iPhoto Library: Mac Photo Recovery software facilitates an easy way to get back photos from corrupted iPhoto Library on your Mac based computer. By using this application. Mac comes with a pre-installed photo repair tool when your Photos library won't open, or if photos behave abnormally. The repair operation is easy: holding down the Option and Command keys while you open Photos on your Mac, then, clicking Repair to start the repair process. Apple’s Photos Library repair tool detects any discrepancy in the library’s database and repairs the same. Depending on the number and size of your library photos, and the network speed, the process might take some time. For instance, a 150GB photo library may take about 24 hours. So you need to be patient to get it finished. You will see photos previously deleted from the Photos app itself - and any iOS devices if you are using iCloud Photo Library. ICloud keeps deleted photos in purgatory for 30 days before getting.

Repair Photo Library. Your Mac system contains in-built repair functions to fix the version.

The consultant is technically correct: iPhoto and Photos rebuilds previews if you rotate an image, which can be done in Photos in the All Photos view by selecting Edit > Select All and then Image > Rotate Clockwise or Rotate Counterclockwise, and then the opposite after the rotation is complete.

However, for a large photo library, this is a lot of wasted time and effort, and might mask other problems in the file structure. Instead, you can rebuild thumbnails or repair the library, depending on the software you use.

For iPhotos and Photos alike, quit the app, then hold down Command and Option while launching, and keep them held down until you see a dialog.

In iPhoto, you’re prompted with the Photo Library First Aid dialog, and can choose among a number of options, including Rebuild Thumbnails. Select it, and click Repair. (Earlier versions of iPhoto had the Rebuild Photo Library dialog with two thumbnails options, and others that could be checked off at the same time.)

Photos removed any options: when it’s launched with Command and Option held down, you can opt to Rebuild or Quit. Rebuilding performs all maintenance operations and shows you the progress as it goes.

Ask Mac 911

We’re always looking for problems to solve! Email yours to mac911@macworld.com including screen captures as appropriate. Mac 911 cannot reply to email with troubleshooting advice nor can we publish answers to every question.

Note: When you purchase something after clicking links in our articles, we may earn a small commission. Read ouraffiliate link policyfor more details.

    Related:
Glenn Fleishman is the author of dozens of books. His most recent include Take Control of Your M-Series Mac, Take Control of Securing Your Mac, Take Control of Zoom, and Six Centuries of Type and Printing. In his spare time, he makes Tiny Type Museums. He’s a senior contributor to Macworld, where he writes Mac 911.

What are disk permissions and why do they need repairing?

Disk permissions on macOS are used to keep your files secure. They’re designed so that certain programs (or other users if you share your Mac) can’t just dip into a system file they have no business with and modify it. They’d need permission to do that.

Every file and folder on your Mac comes with an associated set of permissions. From the Apple Community:

“Many things you install in Mac OS X are installed from package files (whose filename extension is '.pkg'). Each time something is installed from a package file, a 'Bill of Materials' file (whose filename extension is '.bom') is stored in the package's receipt file, which is kept in /Library/Receipts/ in Mac OS X v10.5 and earlier. These files don't take up much disk space and you shouldn't put them in the Trash. Each of those '.bom' files contains a list of the files installed by that package, and the proper permissions for each file.”

Unfortunately, these permissions can easily become messed up unintentionally. It’s quite common for this to happen when installing and uninstalling apps on your system. And when it does, apps can find themselves with free reign to alter files and modify read-only files which can cause all kinds of permission errors and system issues such as lagging, freezing, or crashing.

If you notice anything out of the norm regarding system performance, the first thing you should do is troubleshoot those disk permissions.

Below we’ll show you two ways: the manual and the easy one. Choose the way that works best for you.

How to repair permissions on Mac: The manual way

If you’re running an older version of macOS, Disk Utility is the go-to tool for troubleshooting problems.

Why an older version?

Because as of macOS version 10.11 El Capitan, Disk Utility no longer comes with the option 'repair disk permissions'. Boooo!

Mac Photos Has Attempted To Repair The Library

How To Repair Mac Photos Library

Apple even removed the command line:

But there’s a method to the madness. macOS now comes with a feature called System Integrity Protection (SIP) which is designed to automatically repair file permissions during software updates and system changes. SIP works by restricting the root account so that it can’t do things like modify protected locations and processes such as /System and /usr. This should prevent malware from gaining root permissions and infecting your system files.

Anyway, back to using Disk Utility to repair disk permissions. If you’re running a pre-El Capitan version of macOS, follow these steps:

  1. Press Command + Space to open Spotlight, type in “Disk Utility”, and hit Enter.
  2. Select Macintosh HD from the left sidebar menu.
  3. Click on the First Aid tab.
  4. Click on Verify Disk Permissions. By taking this step, Disk Utility will work through your hard drive to detect broken or misbehaving permissions and list them for repair. This might take a few minutes but you can check the Show details box to keep an eye on its progress.
  5. Click on Repair Disk Permissions and wait while Disk Utility runs through the identified permissions to fix them.

If disk permission issues have played such havoc that your Mac won’t boot correctly, it’s possible to access Disk Utility in Recovery Mode. Do this by holding Command + R during bootup.

Mac Photos Has Attempted To Repair The Library System

If you’re installing a newer (or older) version of macOS on top of your existing operating system, Mac will perform a disk permission repair as a part of the installation so that you start from a clean slate.

How to repair disk permissions on Mac: The easy way

For users of macOS versions El Capitan and newer, the removal of Repair Disk Permissions means you have no troubleshooting solution to turn to in if your Mac is ailing.

But worry not, CleanMyMac X is the hero you need.

CleanMyMac is like Disk Utility in that it does all of the heavy lifting for you to verify permissions and repair your Mac’s disk.

Even System Integrity Protection running quietly in the background doesn’t prevent certain issues from arising. If you’re suffering from any of the following problems, boot up CleanMyMac and have it take care of business:

  • Improper functioning of applications.
  • Inability to move or delete files.
  • Inability to access files.

If you Mac appears to be running fine, it’s still worth running repairs every so often to ensure it stays that way. Not all broken permissions affect performance but that doesn’t mean they shouldn’t be fixed.

Mac Photos Has Attempted To Repair The Library But Is Unable To Open It

Repairing Disk Permissions in a few clicks

First things first, you’ll need to download CleanMyMac X. You can do that here. It’s free so you won’t need your credit card. Once that’s done, follow these four steps:

  1. Launch CleanMyMac.
  2. Click on Maintenance from the left sidebar menu.
  3. Check the box next to Repair Disk Permissions.
  4. Click Run.

CleanMyMac will scan your system to verify disk permissions and automatically repair permissions that are found to be faulty. When the task is complete, you’ll be able to view a log of all the permissions that were repaired.

Mac Photos Has Attempted To Repair The Library Window

And that’s all there is to it. Your Mac should now be running as intended.

Disk permissions are critical to your system’s security and performance but only when they’re working as they should. Use CleanMyMac to verify and repair disk permissions whenever you run into issues with apps or files for a healthy running Mac.

How To Fix A Damaged Macos Photos Library

Enjoy a clean, happy Mac!