From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IOH8Bg46tV9RNAAA0tVLHw (envelope-from ) for ; Wed, 18 Nov 2020 15:13:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6DTRAg46tV8jPQAAB5/wlQ (envelope-from ) for ; Wed, 18 Nov 2020 15:13:18 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3E570940482 for ; Wed, 18 Nov 2020 15:13:14 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 318E528C67; Wed, 18 Nov 2020 10:13:06 -0500 (EST) Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by mail.notmuchmail.org (Postfix) with ESMTPS id 6A72E27113 for ; Wed, 18 Nov 2020 10:13:03 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3FC18528B4; Wed, 18 Nov 2020 16:13:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jQPy5_XS7l4A; Wed, 18 Nov 2020 16:12:59 +0100 (CET) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1605712379; bh=Mqf87kFXlofYwvdieZYiizH7e9hnWi2tMMs3WIzGlRo=; h=From:To:Subject:In-Reply-To:References:Date; b=Jh2hY+PT/9Ze3KwtBMmuL+e/PBF1oh/HEtEJiTXKDXbmVFckimOkyAwW8W+zfJzc9 k45kyYZ1Svm+qdhP+08rnGAeDBKXzM/SEF82HEXhTmz/2rxu1/OGosbAQ482rbVwnB ApipTOSgM9pGZ58GxPXm3XJTVV9qTUtwhVwgFctTakRt5UgSChGIwgEKNs9MSSE/iz rAmGMDT9DYL5b2zsMHexsbx5/HzH+XhNdLR9nGAjvJ/CsodX/YngSQ/SrrvNFToUwV SKhbwg3upiHKCAQ4r67B3In2qM2RFceV7K2XmDEffLj7zN4VT9ipsxZYlf8E1Ls0cs jAVch7qmtHlyQ== To: David Bremner , notmuch@notmuchmail.org Subject: Re: Corrupted database (notmuch 0.31, Emacs 27.1.50, afew 3.0.1, OfflineIMAP, Python) In-Reply-To: <874klm67k4.fsf@tethera.net> References: <878saykd2z.fsf@disroot.org> <874klm67k4.fsf@tethera.net> Mail-Followup-To: David Bremner , notmuch@notmuchmail.org Date: Wed, 18 Nov 2020 12:12:55 -0300 Message-ID: <873616k8aw.fsf@disroot.org> Mime-Version: 1.0 Message-ID-Hash: QCJD7U3CNWZJFXPWVI4EYGVDV23OLRFQ X-Message-ID-Hash: QCJD7U3CNWZJFXPWVI4EYGVDV23OLRFQ X-MailFrom: jorge+list@disroot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Scanner: ns3122888.ip-94-23-21.eu X-Spam-Score: 6.00 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=disroot.org header.s=mail header.b=Jh2hY+PT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disroot.org (policy=quarantine); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam: Yes X-TUID: +ZFc7rFlknJC Em [2020-11-18 qua 10:52:43-0400], David Bremner escreveu: > "Jorge P. de Morais Neto" writes: >> >> I have also saved the binary corrupted database. If you want to see it, >> then tell me and I may upload it to Disroot's Lufi instance. It should >> probably be shown to as few people as possible for the sake of my >> privacy. > > Can you run xapian-check on the corrupted database? > > You should not have to put it anywher that will interfere with notmuch > for that, just point xapian-check to the directory containing the backup > copy of the database. xapian-check (from buster xapian-tools, which is version 1.4.11) found no errors. Note that the database directory is named "compact_backup" because, when I tried compacting the database to fix the error, I invoked $ notmuch compact --backup=compact_backup --8<---------------cut here---------------start------------->8--- $ xapian-check compact_backup/ docdata: blocksize=8K items=84 firstunused=1 revision=20879 levels=0 root=0 B-tree checked okay docdata table structure checked OK termlist: blocksize=8K items=125188 firstunused=15901 revision=20879 levels=2 root=15862 B-tree checked okay termlist table structure checked OK postlist: blocksize=8K items=952837 firstunused=24179 revision=20879 levels=2 root=12823 B-tree checked okay postlist table structure checked OK position: blocksize=8K items=12120294 firstunused=46553 revision=20879 levels=2 root=44626 B-tree checked okay position table structure checked OK spelling: Lazily created, and not yet used. synonym: Lazily created, and not yet used. No errors found --8<---------------cut here---------------end--------------->8--- Regards -- - - If an email of mine arrives at your spam box, please notify me. - Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z. - Free/libre software for Replicant, LineageOS and Android: https://f-droid.org - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]