From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oC/oED3WumAeGQAAgWs5BA (envelope-from ) for ; Sat, 05 Jun 2021 03:41:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CKs7DD3WumD2KwAAB5/wlQ (envelope-from ) for ; Sat, 05 Jun 2021 01:41:17 +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) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F15FC17AFE for ; Sat, 5 Jun 2021 03:41:16 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 181C52B254; Fri, 4 Jun 2021 21:41:12 -0400 (EDT) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by mail.notmuchmail.org (Postfix) with ESMTPS id 8EB0D2B24E for ; Fri, 4 Jun 2021 21:41:08 -0400 (EDT) Received: by mail-wm1-x32e.google.com with SMTP id t4-20020a1c77040000b029019d22d84ebdso8878798wmi.3 for ; Fri, 04 Jun 2021 18:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=i025p9bBegkko1eThIoDPIsdIj8kNKXkvxZcfXHMWHk=; b=EsOKvQAbat2EADnw7zse0XQLO0A6iRBusvbO5tDC9bCX0un08SKmkvb/ah7xS6ExEj AllsNSI0ZdK2jX8Pvn+h1xAxLr5S8npu5gigK5iOHkXwxMRCxewf1W2oaDbj0XsAjNkj TneBck0MhFWnc9G+n7rTTbxOIBG2yUjPygCuCXSK168K+/AUSdSyAYxIv5WqMrjLVATM ai3SmvTvUAkYt3lP1UQLigNVXWQnCU/5Cdmgs153fjQCNuItW9Yeo9tNNJ27CaxOSU5w 7llDWdFZuENuDJuUKlz308rU8OG49SfTyrKB9DT8/JbAD9X+dTQHnla704S2TTo02Z9p 7QRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i025p9bBegkko1eThIoDPIsdIj8kNKXkvxZcfXHMWHk=; b=Rnxp7DBrQ6BQfQykjTq0LcG2CsDonihlSTIQ0sO+1Z2HF0iozdu4kMFGK1d24iZN0A zYzexO7mtQ/DrC5R/UQoxKHWYkQpDeiVwSY6SQdXON3nSyl/tKEZnoO9f9k/0MTV+IKU RSWgvOvg6YB6b/TG0jiwBWMr+MdXV/sit9AAVtgd71onlu6GPfFeYb/e7GWftzoX213g K+ZyptlCfXdvhDvC2xthWXCK3jRxxwQqRALOyS1WR7b2eSqwaONIN4g4MH+rSjq8gOZv BpBDPuY9GWb/5y/qM5GWDBTYwGICgjUyhtCuohZ6GcogdZzrLRHC60FOD0tLwcjncp+D PvlA== X-Gm-Message-State: AOAM533wL8vcR5w36FAiEUE6zsz8aK9XGX8yer2La/3j/Dsn0oPgusKE 0m276M8owaSOLGC3tq+fN4CCpb+smNifSbL+QNGwKE8Wc1s8XQ== X-Google-Smtp-Source: ABdhPJy5S6YExBoXg1dPvsUIhPPyn24kYCQTHL/5F+nOe9B4B56q5pbu416FtTv+Us0WSptG960jnNlnjEZmMGQVoyc= X-Received: by 2002:a1c:4d13:: with SMTP id o19mr6111717wmh.100.1622857267501; Fri, 04 Jun 2021 18:41:07 -0700 (PDT) MIME-Version: 1.0 References: <8735txjdmc.fsf@tethera.net> In-Reply-To: <8735txjdmc.fsf@tethera.net> From: Felipe Contreras Date: Fri, 4 Jun 2021 20:40:56 -0500 Message-ID: Subject: Re: How to recover from this permanent fatal error? To: David Bremner Message-ID-Hash: TUZC7D4T2PJM3BYAGRIPZ6ZBYDG35L7R X-Message-ID-Hash: TUZC7D4T2PJM3BYAGRIPZ6ZBYDG35L7R X-MailFrom: felipe.contreras@gmail.com 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 CC: "notmuch@notmuchmail.org" , xapian-discuss@lists.xapian.org 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622857277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=D6/+XN/XHSI1N7Q9cmjNJ/1mUCAWPR3yTlUnlSpK0cA=; b=BNkSLPq/Ac5JvM2B2/cjwd+j5Zbze8k2Dk8pEtSR64guX6XJIVSQSsVIu9iN53ehTQU7R+ AZS09B8yCQb6MTkpwQKK87FG2Ndv1f4iUyj5zqWfTNCMvwOvjqPGF2lx0ia7LL13PRmnlY pdNT5P7NbVJFNcek/p5RBXh6P2Vi/KKBXziFYXkOg2ctlCZ33fx/aV2thFTv9pMzdpixTl Ec2uh8xsuMDDGrXxNxkGTOWZCTnCVRPpCReShqwhQmWNi4VUCbZgWVt160lS16w1KxiBhE dFO2XgRvx3ZhGVsmUpdTPe7r/EDSh4G2ub9eYDRWcAV++0Zd/rUVPxyYpyJ+Mw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622857277; a=rsa-sha256; cv=none; b=GX+SFPx9GWKcxdLMkojfGQVZBOhgA6fqmBaq0BODNqZ0FfagQnZSX+FO473Faa7AcQjEF8 wPJ1r5yNQrew8eunH4SO0ldpli4r5sCjC41G8wK0XIkwu9+55ZrvNvKuq+5B88LDfj9VsK j/M+GTrMEotzCJgpssOtJCLg/SfeOvLxAQ8hbs+XiIQ2/QfvzkxvBWNTtgzZYkDkjJYE6C rA+KAGqFb5cRDtQfVVz2sLLTcyvQ87/JRx/HbQ/e5ruqgOPsE1wNe0SxibdQg0UaoE3XOq ztiYyzUbBs07lgs/hXd24HDYNQ89MpGIP0BkHuGtD6ddP332AC3p3k68eS0fQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=EsOKvQAb; 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-Migadu-Spam-Score: 0.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=EsOKvQAb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Queue-Id: F15FC17AFE X-Spam-Score: 0.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0IjApVm5gOqa On Fri, Jun 4, 2021 at 8:37 PM David Bremner wrote: > Felipe Contreras writes: > > I can't use notmuch anymore, I get this error: > > > > A Xapian exception occurred opening database: The revision being read > > has been discarded - you should call Xapian::Database::reopen() and > > retry the operation > > > > Context. In order to investigate a bug about mbsync I moved away the > > folder ~/mail/.notmuch. I have a timer that calls notmuch new after > > mbsync, so I paused that timer. > > > > Initially I used notmuch, only to see everything empty. Then I > > recalled what I did, removed all the files, and moved back the .nomuch > > directory. > > > > IIRC I was able to use notmuch without problems once, and then I got the issue. > > Maybe the Xapian folk will have a more concrete suggestion, but I would > start by running xapian-check on the database. In your case I guess that > should be "xapian-check ~/mail/.notmuch". Actually `xapian-check ~/mai/.notmuch/xapian`, but I already did that: Database couldn't be opened for reading: DatabaseModifiedError: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation Continuing check anyway docdata: xapian-check: DatabaseCorruptError: Db block overwritten - are there multiple writers? `xapian-check ~/mail/.notmuch/xapian F` doesn't seem to change anything. Thanks for the prompt response though. Cheers. -- Felipe Contreras