Photos does not finish indexing

Photos does not finish indexing my photo library


User uploaded file


I had 268 to go this time yesterday. I will have 268 to go this time tomorrow.


If I cannot solve the 268 then Memories (etc) do not display correctly.


Now I have seen this before. I tried to repair the library. That REDUCED my number of pictures to 85,000. Something is corrupt. I had to go back to backups to get to the point I am at today. Please do not, certainly at this stage, suggest I repair it. I am way past that point


How do I find the 268 photos that it cannot index? If I can find them I can, I hope, make manual decisions about them

MacBook Pro (13-inch Mid 2009), macOS Sierra (10.12.2), null

Posted on Jan 13, 2017 2:32 AM

Reply
25 replies

Jan 14, 2017 7:47 AM in response to Lurkums

I am having this issue as well. In a catalog of 35,000+ images, I've been stuck at "663 photos" for days (a week, probably). I have 656 videos in my library, so I assumed the holdup was related. Like you, some of my videos have faces detected, some are named, and some seem undetected. Nothing looks wrong in the console. I only have 3 memories, which seems weird for how long it's been indexing. But the thing that makes me think that this process will truly never finish is that the photoanalysisd process in Activity Monitor has gone to literally 0.0% of CPU usage.

Jan 13, 2017 5:27 AM in response to léonie

First, yes, I do have videos, snippets, really. Standard granddaughter phone videos. I'm willing to let it continue processing for a good length of time more before worrying if you think it advisable. I have 96 of them, almost none of which are longer that 40 seconds or so. I have no enormous ones. Most are sub 10 seconds.


The log has entries such as this one:


User uploaded file


I'm not sure what information one gets from that, save that it is doing 'something' with the memories feed. (Thanks for the screenshot, BTW, I can see why folk need to be handheld. I do at times, too.)

Jan 13, 2017 4:22 AM in response to Lurkums

Check the Console.app if you can see, what Photos is currently doing. The Console can be launched from Applications > Utilities.

Select "Diagnostic / Usage" in the sidebar of the Console. Enter "photo" in the search field of the Console and enter the Return key.


Can you see any messages of the photoanalysisd related to categories, faces, or Memories? If you click one of these messages, does it show the filename of a video or a photo being processed? Frequently Photos is hanging during the face detection, because the library contains videos with a codec that cannot be processed. The face detection for videos is taking a very long time. For my library the 100 videos caused the face detection to hang for two days, before I could see any further progress. Do you have any videos In your library?


If you can see that the photosanalysisd is already trying to create memories let it simply run. In my library the scanning for memories started, before the face detection message went down to zero. Photos had already finished the faces scan, but did not update this message.

Jan 13, 2017 6:16 AM in response to Lurkums

You can see from this Console message, that Photos already started to create memories. It is not really necessary, that all faces have ben detected, before it will create memories. With only roughly 200 photos left to detect faces in, you can start to merge and name the already detected persons using the "Add People" button at the bottom of the People album.


Standard granddaughter phone videos.

If that are not too many of them, open the videos in turn and check, if Photos started to assign faces circles to them, or if none of them have been processed.

I'm not sure what information one gets from that, save that it is doing 'something' with the memories feed.

I have been hoping for some messages, that contain the name of the file that is currently processed. If the filename of one image or video would appear repeatedly, we would be able to see, which item may be preventing the further analysis.

Jan 13, 2017 6:32 AM in response to léonie

None of the console messages contain anything that resembles a filename. I was hoping for that too.


Some of the videos have faces named, some have faces detected but not yet named. Some videos do not have faces detected, yet I might expect them to be. Perhaps it is detecting them.


Each video has a real, visible thumbnail.


I wonder whether the fact that there are 96 videos and 268 photos to process is in any way related. What I mean is I had expected a 1:1 correlation between the 96 and the 268. But, if 'something' is holding the process up then there is no reason for the numbers to correspond at all.


The latest log entry is very recent, so 'things' are still happening.

Jan 14, 2017 8:25 AM in response to Lurkums

Assuming Photos to be reliable,

Photos is probably reliable, but if the library contains an item that cannot be processed, because it is damaged or incompatible, Photos may try over and over again to process it whenever it starts up, and then give up and not proceed to the items it could process.


This can happen, if your library has been migrated from iPhoto or Aperture. Then the library may contain images or videos in older formats that Photos would not allow to import, but they are in the library, because they have been imported by Aperture or iPhoto.

I had to remove a few TIFF files from my library because they had an incompatible color profile assigned, some BMP files sent to me by Windows users, also a few PICT files. Three videos needed removing.


I found some suspicious items by creating a smart album "photo is unable to upload to iCloud Photo Library". This collected a few items with an incompatible format.

Jan 14, 2017 8:59 AM in response to Lurkums

I don't use iCloud Photo Library. Can I create such a smart album usefully without using it?

Yes. You do not have to enable iCloud Photo Library to be able to create this album. It will just list all items with a file format incompatible with iCloud, and this tis pretty much the same as the formats that cannot be processed by Photos.

Jan 14, 2017 9:46 AM in response to léonie

Memories are certainly showing up, possibly an increasing population, though that is hard to verify.


So the 268 issue is not limiting the creation of Memories. It may be that this will resolve itself at some future point. I have left the machine constantly on with the Photos app closed, only opening it from time to time to see if the 268 figure has moved.

Jan 14, 2017 11:12 AM in response to Lurkums

It not clear from the message , if Photos should be running or not. The message says "when you ar not using the app", whatever this means. I noticed that photos kept scanning for faces even when it was open, but I did not interact with it, so switched between keeping I open and quitting it. I still cannot say for sure, if we need to quit Photos or not - try both.

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.

Photos does not finish indexing

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