Notmuch suddenly stopped working
david at tethera.net
Wed Apr 18 08:58:30 PDT 2018
Neeum Zawaz <mailinglists at nawaz.org> writes:
> David Bremner <david at tethera.net> writes:
>> The only things that happen after that message is closing the notmuch
>> database and running the post-new hook. IIUC, you said you disabled the
>> post-new hook so that leaves closing the database. Not sure what could
>> go wrong there, but some things to try
> Would the post-new hook run if the database did not close? In my case
> the post-new script was running.
Currently that code does not abort if the database fails to close, so
yes, if could run the hook in either case.
>> - check disk space
>> - run xapian-check on the xapian database
> Disk space is fine.
> xapian-check gives:
> baseA blocksize=8K items=2413415 lastblock=53350 revision=73183 levels=2 root=35
> Failed to check B-tree: DatabaseError: Stored total free space value wrong
> baseB blocksize=8K items=22315184 lastblock=75964 revision=73183 levels=2 root=75964
> B-tree checked okay
> position table structure checked OK
That looks a bit worrying. Maybe someone on the xapian-discuss  list
can advise you how serious the problem is. From a notmuch point of view
I would suggest backing up your database with 'notmuch dump',
reindexing, and restoring with 'notmuch restore'.
: xapian-discuss at lists.xapian.org
More information about the notmuch