Hello,

On 2019-08-25 18:29, BKH wrote:

unfortunately all older emails were gone in WebGUI.
After checking sphinx index i found them in spinx index.
I dont know how to get then back to WebGUI an so i tried to reindex.
But this did not work for me.

In fact that this is not a big problem - yes, i made some backups - i'm
going to set up a new testing environment.
But how to get back emails when they are gone in WebGUI but are found in
sphinx index?


it appears that the index data defined for sphinx v3 is not compatible with
v2 (and vice versa). So do the following:

- stop searchd
- rm -f /var/piler/sphinx/*
- su -c "indexer --all --config /usr/local/etc/piler/sphinx.conf" piler
- verify that you have files owned by piler in /var/piler/sphinx/
- startd searchd
- reindex all emails, ie. su - piler; cd /tmp; reindex -f 1 -t 100; /usr/local/libexec/piler/indexer.delta.sh

After this you should see some emails in the gui. If so, run reindex -a (as user piler)
to reindex all emails.

Janos

Reply via email to