Error: database file ***.db could not be opened

Weird! The important bit is:

Not sure why your system is doing this though. Is there anything odd about the filesystem this is on? Is it a network mount? Anything strange about the permissions on the enclosing directory? Can you create and edit a text file in that directory?

Pretty much stumped here!