Internal error: Database; UNIQUE constraint failed; UPDATE .....= ? WHERE
Lightroom suddenly shows "No photos in selected Folder" on all 19 of the folders on an external drive that's 5-weeks old. The previous import path in navigation panel shows nothing. I think I right-clicked on one of the folders and got this error message:
"An Internal Error has occured: Database C/Users/XXXXX/Pictures/Lightroom/LightroomCatalog-2-v10.lrcat: UNIQUE constraint failed: AgLibrary.rootFlder, AgLibraryFolder.pathFromRoot
Statement: UPDATE AgLibraryFolder SET rootfolder = ?,pathFromRoot = ? WHERE
I had exported one folder to create a new catalog of just that folder. Though it was after that, that I imported the two latest folders. I don't have the ? showing the folders are missing, and I can't reimport those images, because they are already there, without deleting the folders.
Any help is greatly appreciated.