-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database is locked by another process #1518
Comments
Hmm, something must have opened the database, that's why you're getting that error message. What does
give you when you run it before you start mu4e? |
No output of that command before or after starting mu4e. Forgot to mention that I'm using mbsync and msmtp w/ mu/mu4e as well. Tried removing all messages and re-building the mail dir w/ no results after reading the discussion here: My command to make the mail dir:
|
Rebuilding etc. won't really help here, I think. It's about another process having the xapian database open for writing which makes mu4e error out. For instance you cannot run So perhaps try immediately after you get that error: Perhaps you have some other script running |
No output from
I tried:
which returned the following:
Also, no other scripts running mu index. |
I deleted everything I could find related to mu and mu4e and rebuilt/reinstalled. It seems to be working now. I couldn't track what was actually causing the issue, but am closing since I have the desired behavior now. Thanks. |
Hmm good that it works, even if we don't know why! If it ever happens again, perhaps check if the .lock exists before starting mu4e. |
Once I knew the process ID, all I had to do was kill it, run mbsync, and then run |
Expected or desired behavior
I would like to use mu4e to view/manage/read email.
Actual behavior
Calling 'mu4e' always yields the following error message (even after system and emacs restart):
Steps to reproduce
Call 'mu4e' in emacs.
Versions of mu, mu4e/emacs, operating system etc.
mu/mu4e 1.2
GNU Emacs 25.3.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
ubuntu 18.04
Any other detail
I followed the instructions at:
https://groups.google.com/forum/#!topic/mu-discuss/EncdNPKhUYo
#8
The solution:
didn't change anything for me.
I can run the following from the command line:
w/o an error message.
I can also run 'mu4e-update-mail-and-index' w/o an error message.
So, basically, I can't get to the mu4e headers. I've been using mu4e on a mac for several years and am using essentially the same config on this system.
There were a couple of discussion of possible .lock files. Could you elaborate on what to look for. On my system:
shows the following:
I don't think any of these are related to mu/mu4e.
Any help much appreciated. Thanks.
The text was updated successfully, but these errors were encountered: