-
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
I can not run mu index when mu4e/mu-server #8
Comments
The underlying database (Xapian) can be opened in read/write-mode only once... To prevent this error, you can either retrieve your mail from within mu4e (ie., 'U' in the main view), or in your cron script put something like: pkill -2 -u $UID mu This will sent a SIGINT to the mu process, which will then terminate gracefully. Mu4e will automatically restart mu when it is needed again (of course, you can still only have one mu at the same time, but in practice it works quite well). |
Just a important note for the readers: The full command set to it work fine is:
The 1 second delay was needed for me. ;-) |
Hi Dirk-Jan, I have a similar problem, and of course your answer clarify everything. But my setup is a little bit different: Thank you. |
That's not possible...mu4e cannot do its job when it cannot write the database. However, what you can do is either the pkill trick mentioned above, or in your background script check for a running mu and if there is already, let mu4e handle indexing. |
Just a tip: if you have an Emacs daemon running, you can index with mu4e using the following shell command:
|
See also the related discussion in the list: https://groups.google.com/forum/#!searchin/mu-discuss/Keybinding$20for$20mu4e-update-index|sort:relevance/mu-discuss/MCbP8Gwiujc/kg1QA2rPAgAJ |
I was doing what @tituomin writes and from version 1.x of mu I cannot even run
Running I swear I haven't touch my configuration of mu for Emacs or the configuration of my goimapnotify (nor touched the source code in months) and after the update to 1.x mu have been showing such behavior. |
La versión 1.x de mu4e rompió mi flujo de trabajo - djcb/mu#8 (comment)
I assume that if mu server is running then Emacs is also running (mu server is started by mu4e) and Emacs server is enabled. And my way to solve the problem is the following.
|
Any idea how to suppress the message resulting from
|
Remove the |
Thank you, but consider there is more than one person using mu4e simultaneously. Martin. |
I currently run
offlineimap
from cron and just aftermu index
, but I receive the following message when I have mu4e opened:There is no way to let the user run
mu index
when the mu-server is running?Thanks and thanks for mu/mu4e. It is everything I was looking for!
The text was updated successfully, but these errors were encountered: