unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: Johannes Altmanninger <aclopte@gmail.com>
Cc: Kyle Meyer <kyle@kyleam.com>, meta@public-inbox.org
Subject: Re: How to delete caches
Date: Sun, 21 Nov 2021 10:19:48 +0000	[thread overview]
Message-ID: <20211121101948.GA5366@dcvr> (raw)
In-Reply-To: <20211120171445.eak27widqqqdltxw@gmail.com>

Johannes Altmanninger <aclopte@gmail.com> wrote:
> On Sat, Nov 20, 2021 at 12:09:46PM -0500, Kyle Meyer wrote:
> > Johannes Altmanninger writes:
> > 
> > > I've been using lei from the 1.7.0 release, which works great.
> > >
> > > I had some unrelated problems with one of the created maildirs so I deleted
> > > said maildir.  Now I can't recreate the maildir. I tried deleting all
> > > persistent data but got an error:
> > >
> > > 	$ rm -rf the-maildir ~/.local/share/lei ~/.cache/{public-inbox,lei}
> > > 	$ lei q -I https://lore.kernel.org/git/ -o the-maildir rt:1.week.ago..
> > > 	failed to open /home/johannes/.cache/lei/all_locals_ever.git/lei_ale.state: No such file or directory
> > > 	 at /usr/share/perl5/vendor_perl/PublicInbox/LeiQuery.pm line 117.
> > >
> > > A quick look at strace doesn't show access to any other files in $HOME
> > 
> > Have you tried killing the daemon (`lei daemon-kill')?
> 
> Thanks, that fixed it. I wasn't aware that there is a daemon

Yeah, these are holes in our inotify coverage.  We use inotify
(and kevent) to monitor some things (Maildirs, sockets, ...),
but there are some missing pieces, as you've noticed :<

Will try to get around to fixing these at some point...

      reply	other threads:[~2021-11-21 10:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-20 15:30 How to delete caches Johannes Altmanninger
2021-11-20 16:36 ` lei q error after deleting cache (can't find mail_sync.sqlite3) Johannes Altmanninger
2021-11-20 17:09 ` How to delete caches Kyle Meyer
2021-11-20 17:14   ` Johannes Altmanninger
2021-11-21 10:19     ` Eric Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211121101948.GA5366@dcvr \
    --to=e@80x24.org \
    --cc=aclopte@gmail.com \
    --cc=kyle@kyleam.com \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).