Thousands of log warnings after moving OS to new drive but leaving Photos on old drive

I recently added a second internal drive (an SSD) to my old mac mini. I installed a fresh copy of the OS on it and made it my boot drive. I left my Photos library on my second internal drive (and HDD)


After restarting my mac I started Photos and pointed it to the old Library by starting Photos while holding down the Option key. My Photo Library is located here: /Volumes/Macintosh HD/Users/jci/Pictures/Photos Library


Photos starts fine, I see my photos and People is showing all the faces, and Places is showing all the locations. So I thought I had successfully gotten Photos to work.


But ... I've noticed that I am getting thousands of photoanalysisd log warnings now. Looking at the console they just keep coming and never stop. There are two warning continuously being logged:


error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///Volumes/Macintosh%20HD/Users/jci/Pictures/Photos%20Library.photoslibrary/private/com.apple.photoanalysisd/GraphService/PhotosGraph/construction-photosgraph.graphdb options:{

  NSInferMappingModelAutomaticallyOption = 1;

  NSMigratePersistentStoresAutomaticallyOption = 1;

} ... returned error Error Domain=NSCocoaErrorDomain Code=259 "The file couldn’t be opened because it isn’t in the correct format." UserInfo={NSSQLiteErrorDomain=26, NSUnderlyingException=File at path does not appear to be a SQLite database: /Volumes/Macintosh HD/Users/jci/Pictures/Photos Library.photoslibrary/private/com.apple.photoanalysisd/GraphService/PhotosGraph/construction-photosgraph.graphdb} with userInfo dictionary {

  NSSQLiteErrorDomain = 26;

  NSUnderlyingException = "File at path does not appear to be a SQLite database: /Volumes/Macintosh HD/Users/jci/Pictures/Photos Library.photoslibrary/private/com.apple.photoanalysisd/GraphService/PhotosGraph/construction-photosgraph.graphdb";

}


And this one:


An error occured creating database store: "The file couldn’t be opened because it isn’t in the correct format."


What's wrong and how can I fix it? All this logging is using up quite a bit of resources. I'm also worried that it's indicative of something wrong with my library.

Mac mini, macOS 10.13

Posted on Apr 3, 2020 4:44 AM

Reply

Similar questions

2 replies

Apr 6, 2020 9:03 AM in response to totsubo2000

Greetings totsubo2000,


Thank you for using Apple Support Communities. It seems like you are trying to use a library on the second drive and you are receiving error messages now. There are a couple things you can try that may be able to help. I would recommend you read these articles and use them to help troubleshoot the issue.


Get help with the Photos app on your Mac


How to use the Photos library repair tool


Please don't hesitate to let us know if the steps resolved your issue or if you need additional assistance.


Take care.

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.

Thousands of log warnings after moving OS to new drive but leaving Photos on old drive

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