Internal error: Message without type term

David Bremner david at tethera.net
Mon Jul 3 13:26:03 BST 2023


"Peter P." <peterparker at fastmail.com> writes:

> I ran xapian-check on ~/.notmuch/xapian and include its messages below at the
> end of this mail. Everyone please forgive me for pasting 1121 there. :)
>

H'mm. It doesn't look familiar to me, but I will check with xapian
experts to see if the failure mode is known/fixable. I'd guess probably
not fixable.

>> 2)  Move the database out of the way, re-run notmuch new,
>> and restore your state using "notmuch restore < notmuch-db.txt"
>  
> I'd be fine regenerating the entire database without a backup dump even,
> I don't think there is anything in there that can't be regernerated,
> no?

The main thing that would be lost is tags that are not synched to
maildir flags. In the "standard" workflow "inbox" is such a tag.

> How could I move the existing database out of the way? I have the
> following files in notmuch's directory:
>
> ~/.notmuch/xapian$ ls -1
> 	docdata.glass
> 	flintlock
> 	iamglass
> 	position.glass
> 	postlist.glass
> 	termlist.glass

just

$ mv ~/.notmuch/xapian ~/.notmuch/xapian.bak

(assuming that partition has space)




More information about the Xapian-discuss mailing list