You are not logged in.

#1 2026-05-07 10:39:46

jrvarma
Member
Registered: 2020-05-06
Posts: 7

[SOLVED] notmuch not finding database after upgrade

Today after I ran a full system upgrade, my email system notmuch exited with the error: unable to find database.

I was able to solve the problem by downgrading  notmuch and notmuch-runtime from 0.40-2 to 0.40-1 and xapian-core from 1:2.0.0-2 to 1:1.4.30-2. Both notmuch and xapian had to be downgraded in lockstep as otherwise notmuch reports an error while loading shared libraries.

Any ideas on what could be the issue?

I do see that xapian 2.0.0.0 is a new release series and it landed on ArchLinux only a week back, but a failure to find the database looks odd.

Last edited by jrvarma (2026-05-19 14:01:54)

Offline

#2 2026-05-07 14:38:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,627

Re: [SOLVED] notmuch not finding database after upgrade

https://nmbug.notmuchmail.org/nmweb/sho … .gmail.com

notmuch config get database.path
notmuch new

Offline

#3 2026-05-19 09:34:58

jrvarma
Member
Registered: 2020-05-06
Posts: 7

Re: [SOLVED] notmuch not finding database after upgrade

I discovered the problem was that I was using the chert backend which is no longer supported by xapian  2.0. The solution was to downgrade notmuch and xapian-core, migrate the data base to the glass backend using the instructions in the notmuchmail website and then upgrade both notmuch and xapian.

Last edited by jrvarma (2026-05-19 09:38:03)

Offline

#4 2026-05-19 13:51:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,627

Re: [SOLVED] notmuch not finding database after upgrade

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

You also might want to record that at https://wiki.archlinux.org/title/Notmuch

Offline

Board footer

Powered by FluxBB