Mac Photos Repairing Library Is Stuck

It’s easy from the perch of writing the Mac 911 column to appear as if I have all the answer. Dear readers, I do not. I am always delighted to research on your behalf, but sometimes problems fall into my lap that I know will help you all, because I’m unable to find a ready solution and nobody in any forum or on any blog has found an answer, sometimes across many years.

  1. Mac Photos Repairing Library Is Stuck Around
  2. Mac Photos Repairing Library Is Stuck In Screen
  3. Mac Photos Repairing Library Is Stuck In Lock

Photos for macOS is a bugbear for many of you, one of the most regular sources of questions. But I encountered a sync problem that no one has written in about, yet I can find a history of frustrated people across the Internet trying to solve it. I did find a solution—but you might not like it!

My problem emerged a few weeks ago, when I noticed that Photos for macOS on my office computer, an iMac running Mojave, was out of date. I checked my laptop Mac, my iPhone, and iCloud.com: photos were synced and up to date in each of those locations.

This has happened before, and I go through a series of escalating troubleshooting steps:

  1. Quit Photos and re-launch it.
  2. Using the Terminal to “kill” certain Photos-related background agents and jobs. (This is a little tweaky and can cause problems, so I hesitate to recommend it. In any case, it didn’t help.)
  3. Restart my Mac.
  4. Rebuild the Photos database by holding down Command-Option while launching the app and following prompts.
  5. Disabling iCloud Photos and re-enabling it in Photos > Preferences > iCloud. This can force a re-sync, though often it’s relatively fast as Photos and iCloud seem to bypass pictures that are in both places.

Digital photos are a convenient way to preserve life’s most important memories and moments,people like to take photos by camera,mobile phone or other mobile devices.However,maybe a download failed, an archive was damaged,virus attack,or other reasons may lead to damage the JPEG photo– it really doesn’t matter.All you know is that one of. Feb 20, 2017 After you repair photos library on Mac, you can use this amazing app again. Repairing the library solves most of the issues in Photos app. However, if your problem still remains, maybe you have to opt for a different app in Mac OS for the time being. Reinstalling Mac could fully resolve the issue.

May 24, 2015 Photos has attempted to repair the library Photos Library.photoslibrary but is unable to open it. The most common cause of this is a permissions problem. Not necessarily that you don’t have the permission, as Photos will prompt for administrator permissions if that’s simply the case, but that permissions can’t be obtained, even with.

None of this worked. After reading years’ worth of posts of people trying to overcome the problem, I tried one suggestion: deleting a deeply nested folder in the Photos library that tracks iCloud synchronization.

StuckLibrary

Warning! Apple doesn’t advise making these kinds of low-level changes. I strongly recommend making a full backup of your Photos library, if not a fresh full clone of your drive or forcing a Time Machine update, before proceeding.

Mac photos repairing library is stuck in space

Find your Photos library and Control-click it, and then select Show Package Contents. Now traverse down to:

private/com.apple.cloudphotosd/CloudSync.noindex

With Photos not running, I deleted the contents of this folder, which required entering an administrative password. I then-relaunched Photos.

Photos and iCloud apparently had a behind-the-scenes confab and decided my copy of Photos had never synced with iCloud at all. This led Photos on my Mac to re-upload about 45,000 images and videos, even though they were identical in my library at iCloud.com.

Fortunately, I have gigabit Internet service with no cap on usage and no overage fee. (The local legacy wired telephone company has rolled out fiber like mad and charges a relatively low amount for it—even less than slower service via a cable ISP.)

If you have more normal broadband service, even in the 50Mbps to 100Mbps range, or get throttled, blocked, or charged overage fees above a certain amount of monthly data, this won’t seem like a good solution to you at all. (Although during the pandemic, a number of ISPs with home broadband service have removed caps and overage charges, including AT&T and Comcast.)

The resync took about two days and showed steady progress. At the end, all my media remained in exactly the same state, but my Mac’s Photos library was finally up to date with other devices in its iCloud account set.

Ask Mac 911

We’ve compiled a list of the questions we get asked most frequently along with answers and links to columns: read our super FAQ to see if your question is covered. If not, we’re always looking for new problems to solve! Email yours to mac911@macworld.com including screen captures as appropriate, and whether you want your full name used. Not every question will be answered, we don’t reply to email, and we cannot provide direct troubleshooting advice.

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

    Related:

Mac Photos Repairing Library Is Stuck Around

Mac photos library
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.

Mac Photos Repairing Library Is Stuck In Screen

To get to the Photos Repair Library tool on your Mac, follow these steps:

  1. If Photos is open, close the app. Then, while you click to open Photos, hold down the Command and Option keys at the same time.
  2. In the window that opens, click Repair to start the repair process. You might be asked to enter your user account password.

The Repair Library tool analyzes the library's database and repairs any inconsistencies it detects. Depending on the size of your library, the repairs might take some time. When the process is done, Photos opens the library.

If you repair a library that's used with iCloud Photos, iCloud checks the library after the repair process completes to ensure everything is synced correctly.

Mac Photos Repairing Library Is Stuck In Lock

If these steps still don't work, or you can't open the repair tool, contact Apple Support.