Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Morac

macrumors 68020
Original poster
Dec 30, 2009
2,306
681
I updated my MacBook Air M1 (2020) from 14.0 to 14.1 yesterday. I had taken a couple of pictures on my phone so all my devices needed to "process duplicates", etc. I left them all plugged in overnight and in the morning my iPhone and iPad were done processing photos, but my Mac was not.

I checked the photoanalysisd logs and I'm seeing thousands of the following errors repeated over and over again. They started at 11:30 pm yesterday and occur every few hours. There are no such logs prior to last night..

2023-10-26 05:51:14.732808-0400 0x16af5 Error 0x0 1020 0 photoanalysisd: (libsqlite3.dylib) [com.apple.libsqlite3:logging] misuse at line 94117 of [554764a6e7]
2023-10-26 05:51:14.732809-0400 0x16af5 Error 0x0 1020 0 photoanalysisd: (KnowledgeGraphKit) [com.apple.photos.graph:KnowledgeGraphDatabase] statement step error: 21
2023-10-26 05:51:14.591537-0400 0x16af5 Error 0x0 1020 0 photoanalysisd: (PhotosGraph) [com.apple.PhotosGraph:enrichment] Could not find highlight node for highlight <private>: Graph might be out of date.

It seems like a sql database corruption, but it says it's the knowledge graph database and not the photo database.
I've tried rebooting, but that doesn't make a difference.

Anyone know what this is or how to fix it?
 

Morac

macrumors 68020
Original poster
Dec 30, 2009
2,306
681
I logged out and back in again and let it run and it finished in 30 minutes.

Sonoma seems to have issues completing Photo Analysis that frequently requires logging out and in or rebooting.
 

ChrisN718

macrumors 6502
Jan 8, 2013
324
1,289
Flushing, NY
Ever since Sonoma I'm also noticing photos that are taken at home are most of the time not being labeled as "Home", instead it names the photo the actual city.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.