Hi Samuele, I just found http://invenio-software.org/wiki/HowTo/HowToExpungeDeletedFiles
The SQL has a typo, it should be „SELECT id FROM bibdoc …“ (not id_bibdoc), then it runs. But of course it didn’t expunge my ghost records, since they’re not deleted. Best regards, Hraban

