Apple Event: May 7th at 7 am PT

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

Photos stopped scanning people in MacOs sierra. About 2/3's complete. I have done everything as directed by having MacBook connected to power and app closed.

Photos started scanning people but is hanging at 6500 complete with about 3650 photos left. I have left the MacBook connected to power with the photos app closed per the instructions. Are there any ideas or suggestions for getting through the process.

MacBook Pro with Retina display, macOS Sierra (10.12)

Posted on Sep 21, 2016 8:30 AM

Reply
Question marked as Best reply

Posted on Nov 2, 2017 1:23 PM

Apple Engineering worked on with me on this same issue. Here are the steps they provided that fixed everything on two of my Macs.


  • Shut the Mac down completely. Restart the Mac holding down SHIFT.

    This will boot the Mac into Safe Mode and reset deletes / kernel cache / other system cache files (which apparently includes some caches for the photoanalysisd and photolibraryd you see in Activity Monitor).

    This also prevents photoanalysisd an and photolibraryd from loading during the next step (which we need to guarantee).

  • Go to the Photos application. Click SHIFT and then double click on the Photos application. This apparently opens Photos in a special Safe Mode as well and clears the application caches.

    COMMAND + Q the application and verify that the application did not crash on closure. If it did, repeat the above step again until it does not crash on closure.

  • Open Terminal and type:
    • diskutil resetUserPermissions / ‘id -u’
    • Wait for the command to run. You will receive a confirmation by seeing “User permissions have been reset”

    This will reset the permissions to the Photos Library AND all photos within the Photos Library Package Container that stores all your photos.

  • Restart the Mac.
  • Open the Photos application and allow it five minutes to reset everything that was cleared in Safe Mode (should only need 30 seconds but run it for five minutes to be safe). This kicks off the scheduler for the photo analysis process. COMMAND + Q Photos.
  • Go to System Preferences and tell your computer not to sleep for the next 24 hours. Walk away from the machine and let it run.
47 replies

Sep 24, 2016 8:46 AM in response to derekdthurman

Killing processes did not work for me. I suspect that this was serendipitous rather than causal. I had a similar experience that I briefly thought was a solution. Originally, it was scanning fine. I clicked on the "View People Album" button and started using it, including the "confirm additional photos" function. After that is when I discovered that scanning had stalled at about 10,000 scanned with about 26,000 left to go. Suspecting that my use of the "confirm" function had somehow fouled things up, I made a copy of the the Photos database for safety and used Time Capsule to restore yesterday's version of the Photos database, before I had used the "confirm" function. (Restoring was a nightmare of it's own, but never mind.) I had it "keep both" copies when I restored, so now I had 3 versions of the database: A = the active DB at the time I started all this, B = the copy that I made manually with the finder, and C = the version restored with Time Capsule. Then I switched the database in Photos. (Photos > Preferences > General > Library location) After switching back and forth between the three a few times, I noticed that it had started scanning again. So I thought I had confirmed my theory about using the "confirm" function. I let it keep scanning. Later I realized that it was scanning the A database -- the active one when the problem started -- so my theory could not be correct. Over the next few hours, it got up to 13,570. Then it stalled again. I tried all sorts of things, switching the database, rebooting in safe mode so that no startup items could interfere, running disk utility, resetting the PRAM. Nothing worked. I've noticed other little glitchy things with Sierra too. Sometimes the startup is incredibly slow, sometimes it can't find my external monitor but sometimes it can, etc. I suspect we just need to wait for an update to the OS. I read that one is already in the works.


I just checked and I see that Photos is scanning again. It went up to 13,578 while I was typing this. Wow! +8! At that rate, if I leave my computer on 24/7 and don't let it sleep, it should be all done by Thanksgiving!

Sep 24, 2016 3:21 PM in response to clipper99

To Rolahoy22 and clipper99: Did it continue to scan? Did it finish?


I've tried killing processes multiple times. It definitely isn't working for me. Doesn't make sense to me that this would work. Rebooting kills all processes. Why wouldn't that work.


I left mine running while I was out of the house for a couple of hours. It scanned 42 pictures in 2 hours.

Sep 25, 2016 8:10 PM in response to Rick Feldkamp

Actually, this only worked once. It went on to scan about another 400 pictures and has stopped again for the last 24 hours. I did do a repair on my library and it scanned another 4 pictures after that and has been stuck now for about 12 hours. With 60,000 images in my library it has managed to get up to about 23,000 scanned in the last week since Sierra has been released. At this rate it may be done by Christmas. So far you can colour me unimpressed.


I even tried installing the latest Sierra public beta with no success. I have also tried changing my networks by using an extertal USB network interface but that has also not worked.

Photos stopped scanning people in MacOs sierra. About 2/3's complete. I have done everything as directed by having MacBook connected to power and app closed.

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