agaitan026
Verified User
- Joined
- Mar 24, 2021
- Messages
- 42
Hi i just migrated from cpanel, but now the roundcube search function is not working, it doesnt found anything. How i can fix that?
thank you
thank you
i just ran this right now:
for USER in `cat /etc/virtual/domainowners | cut -d: -f2 | cut -d\ -f2`
do
doveadm fts rescan -u $USER
done
and its working now, the search
Scan what mails exist in the full text search index and compare those to what actually exist in mailboxes. This removes mails from the index that have already been expunged and makes sure that the next doveadm index will index all the missing mails (if any). Note that currently most FTS backends do not implement this properly, but instead they delete all the FTS indexes. This may change in the future versions.
Add unindexed messages in a mailbox into index/cache file. If full text search is enabled, also add unindexed messages to the fts database.
The caching adds only the fields that were previously added to the mailbox's caching decisions, so it won't do anything useful for mailboxes that user's client hasn't accessed yet. You can use doveadm dump command to show a specific mailbox's current caching decisions.
for USER in `cat /etc/virtual/domainowners | cut -d: -f2 | cut -d\ -f2`
do
doveadm fts rescan -u $USER
doveadm index -q -u $USER '*'
done
# Make sure mailbox has no errors
doveadm -D force-resync -u <[email protected]> '*'
# Re-index the mailbox
# Will remove all indexes
doveadm fts rescan -u <[email protected]>
# Start new index
doveadm index -q -u <[email protected]> '*'