Closed an0nz closed 1 month ago
Hi
Ubuntu Package is maintained by Joe Nahmias @jnahmias can you help ? Thank you
Hi @grosjo,
Interestingly after upgrade I also ran into the same error a day later on multiple mailboxes, the solution was a rescan then index for the 2 I had access to, I did not try just running an index without the rescan.
For all other mailboxes I have run doveadm index without the rescan in case it was a compatibility issue with the index DB from the previous version. I will monitor and see if that fixes it permanently or not.
Hopefully the Ubuntu packages can be updated by @jnahmias to address all the other bugs you have already fixed.
Interestingly this time there is no 5 minute timeout but it does hang at the same point (Get last UID of INBOX), maybe fts-xapian is crashing here but I see no log entries that would indicate this
Jan 8 02:19:43 mail dovecot: imap-login: Login: user=user@domain.com, method=PLAIN, rip=yyy.yyy.yyy.yyy, lip=xxx.xxx.xxx.xxx, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) Jan 8 02:19:43 mail dovecot: imap(user@domain.com)<2966264>
: FTS Xapian: Index path = /var/vmail/vmail1/domain.com/user//Maildir/xapian-indexes Jan 8 02:19:43 mail dovecot: imap(user@domain.com)<2966264> : FTS Xapian: Starting with partial=3 full=18 verbose=1 lowmemory=250 MB vs freemem=232 MB Jan 8 02:19:44 mail dovecot: imap(user@domain.com)<2966264> : FTS Xapian: fts_backend_xapian_get_last_uid Jan 8 02:19:44 mail dovecot: imap(user@domain.com)<2966264> : FTS Xapian: Set box 'INBOX' (79704f04f3940863160a0900b1498442) Jan 8 02:19:44 mail dovecot: imap(user@domain.com)<2966264> : FTS Xapian: Index path = /var/vmail/vmail1/domain.com/user//Maildir/xapian-indexes Jan 8 02:19:44 mail dovecot: imap(user@domain.com)<2966264> : FTS Xapian: Get last UID of INBOX (79704f04f3940863160a0900b1498442) = 13625 Jan 8 02:21:34 mail dovecot: imap-login: Login: user=user@domain.com, method=PLAIN, rip=yyy.yyy.yyy.yyy, lip=xxx.xxx.xxx.xxx, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) Jan 8 02:21:34 mail dovecot: imap(user@domain.com)<2966866> : FTS Xapian: Index path = /var/vmail/vmail1/domain.com/user//Maildir/xapian-indexes Jan 8 02:21:34 mail dovecot: imap(user@domain.com)<2966866> : FTS Xapian: Starting with partial=3 full=18 verbose=1 lowmemory=250 MB vs freemem=512 MB Jan 8 02:21:35 mail dovecot: imap(user@domain.com)<2966866> : Disconnected: Logged out in=933 out=97495 deleted=0 expunged=0 trashed=0 hdr_count=35 hdr_bytes=61913 body_count=0 body_bytes=0 Jan 8 02:21:35 mail dovecot: imap(user@domain.com)<2966866> : FTS Xapian: Deinit /var/vmail/vmail1/domain.com/user//Maildir/xapian-indexes)
@jnahmias Can you push Version 1.5.8 ? Thank you
https://tracker.debian.org/pkg/dovecot-fts-xapian
Getting updated
debian/Ubuntu upodated
fts-xapian is effectively broken on Ubuntu 22.04 due to bugs in the old packaged version (dovecot-fts-xapian v1.5.2-1build1)
After installation, configuration, and indexing on a live mail server with around 500GB of mail and users with up to 70GB mailboxes, users are unable to search their INBOX. Searching smaller folders such as Sent work correctly.
Compiling v1.5.7 from source resolved the below issue. Would be great if the latest version could be pushed to Ubuntu repo's for current LTS branches.
Server
Mailbox
FTS config
Logs when searching INBOX (Fails and time out after 5 minutes)
Logs when searching Sent (Works correctly)
Solution Compile from source (v1.5.7) and restart dovecot
Logs when searching INBOX (Works as expected) on fts-xapian v1.5.7 compiled from source, my main concern is if the Ubuntu package is updated to an older version and replaces the updated files