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
Re-enable FTS when it proves stable #751
Comments
Hello, where do you store your mailu data. Locally ? on a remote share ? (I had similar issues with an NFS share) |
I use local storage on Scaleway Instance. |
It seems that the Log file is locked by another process or a lock that remained in place from a crash or improper shutdown? It would be interesting to know what PID 236 and if it is still running? |
Tomorrow I'll try to create core dumps and trace backs to submit a report upstream. Would be helpful to make sure if it deployment related or agnostic. |
I can confirm on my test server. Fresh install, empty mailbox and no exotic filesystem. When sending the first mail to the server it crashed the worker with:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Workaround for bug in issue Mailu#751
This is a workaround for the bug in issue Mailu#751
See #775. Furthermore I would like add some info (as discussed on matrix earlier this week). On systems that are affected by this bug, the crashing indexer-worker sometimes leaves index files corrupted. This slowly kills the imap server to the point where login is no longer possible. To fix this condition you need to delete the index files and restart the imap container to force client re-login.
The index files will be re-generated by Dovecot. |
Since this issue is part of the milestone 1.6, and @HorayNarea just removed FTS to increase stability of the upcoming 1.6 release … shall we take this issue out of 1.6, or close it in favor of one that describes getting clucene working and back in? |
A potential option might be to go for fts-solr, according to the docs it's more stable than fts-lucense (see https://wiki.dovecot.org/Plugins/FTS/Lucene ) |
1320: Add xapian full-text-search plugin to dovecot r=mergify[bot] a=Nebukadneza ## What type of PR? Enhancement ## What does this PR do? Currently we are not able to offer our users a FTS experience after the demise of lucene due to unfixed coredumps with musl/alpine. We now add lucene, the only remaining maintained small/lean FTS plugin for dovecot. It is quite simple to add to our stack: A two-stage docker build is used to compile the fts plugin in the first stage, and copy over only the resulting plugin-artifact to the second stage, which is our usual dovecot container. Configuration is also minimal. There was a upstream issue where bodies were not able to be searched for subwords, but fortunately it was fixed quite quickly. We currently need to wait for a new release to use a stable tag in our `Dockerfile`. ### Related issue(s) - #1176 - #1297 - #751 - **Upstream-issues which is the cause for the `TODO` in the `Dockerfile`**: grosjo/fts-xapian#32 ## Prerequistes - [ ] Wait for upstream to prepare new release after grosjo/fts-xapian#32 — so that we can use a stable tag in our `Dockerfile` - [ ] In case of feature or enhancement: documentation updated accordingly - [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file. Co-authored-by: Dario Ernst <dario@kanojo.de>
1320: Add xapian full-text-search plugin to dovecot r=mergify[bot] a=Nebukadneza ## What type of PR? Enhancement ## What does this PR do? Currently we are not able to offer our users a FTS experience after the demise of lucene due to unfixed coredumps with musl/alpine. We now add lucene, the only remaining maintained small/lean FTS plugin for dovecot. It is quite simple to add to our stack: A two-stage docker build is used to compile the fts plugin in the first stage, and copy over only the resulting plugin-artifact to the second stage, which is our usual dovecot container. Configuration is also minimal. There was a upstream issue where bodies were not able to be searched for subwords, but fortunately it was fixed quite quickly. We currently need to wait for a new release to use a stable tag in our `Dockerfile`. ### Related issue(s) - #1176 - #1297 - #751 - **Upstream-issues which is the cause for the `TODO` in the `Dockerfile`**: grosjo/fts-xapian#32 ## Prerequistes - [ ] Wait for upstream to prepare new release after grosjo/fts-xapian#32 — so that we can use a stable tag in our `Dockerfile` - [ ] In case of feature or enhancement: documentation updated accordingly - [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file. Co-authored-by: Dario Ernst <dario@kanojo.de> Co-authored-by: Dario Ernst <dario.ernst@rommelag.com>
In #1320 , we added a FTS again. Thus, closing this as finished. |
Hello,
I've got some problem with my Mailu. All is ok, and then roundcube respond 504 Gateway Timeout, email not comes. I've got theses errors in docker-compose logs :
i'm on Master.
If i docker-compose restart, it's OK but each message is received in quadruple
The text was updated successfully, but these errors were encountered: