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