database problem

The database module is very solid (tested with many automated tests), but is has a weak point: if there is a disk error (eg. bad sector), there is a big risk to loose something. I could imagine this is the case here. Hence the importance to make backups.
I can’t give a solution, unfortunatly :frowning:
But maybe you can recover the file reference, by inserting it again in the database?