unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Database corruption after clean rebuild
@ 2018-04-06 16:12 Javier Garcia
  2018-04-07  1:49 ` David Bremner
  0 siblings, 1 reply; 10+ messages in thread
From: Javier Garcia @ 2018-04-06 16:12 UTC (permalink / raw)
  To: notmuch

I can't build a healthy database for notmuch. My mail directory has
quite a few mails, around 20,000.

$ rm -rf ~/.mail/.notmuch
$ notmuch new
$ xapian-check ~/.mail/.notmuch/xapian/
> docdata:
> blocksize=8K items=63 firstunused=1 revision=2 levels=0 root=0
> B-tree checked okay
> docdata table structure checked OK
>
> termlist:
> blocksize=8K items=43520 firstunused=8291 revision=2 levels=2 root=748
> xapian-check: DatabaseError: 1 unused block(s) missing from the free
list, first is 0

I've tried to repair the database to no avail

$ xapian-check ~/.mail/.notmuch/xapian/ F
> docdata:
> B-tree checked okay
> docdata table structure checked OK
>
> termlist:
> xapian-check: DatabaseError: 1 unused block(s) missing from the free
list, first is 0

I've also tried to delete the mail directory and sync again with the
same result. I used mbsync(isync) to build it.

Notmuch version: 0.25
Xapian-core: 1.4.5
isync version: 1.2.3

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-04-29 18:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-06 16:12 Database corruption after clean rebuild Javier Garcia
2018-04-07  1:49 ` David Bremner
2018-04-07  8:39   ` Javier Garcia
2018-04-07 10:51     ` David Bremner
2018-04-07 15:09       ` Javier Garcia
2018-04-07 15:17         ` David Bremner
2018-04-07 20:58           ` Olly Betts
2018-04-29 10:17         ` Gregor Zattler
2018-04-29 14:27           ` David Bremner
2018-04-29 18:54             ` Gregor Zattler

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).