Open bmv234 opened 4 years ago
which docker image/version you have tryed? the default reindex form the os shut be allready set to START=“no”
I pulled woa7/piler:latest
Then I'm not sure why I lost my index. I had updated the host os and rebooted, then the next time I used the auditor search it only has emails from that day. Then I proceeded to rebuild to get all the emails back.
in woa7/piler:latest it shut be with the fixes form / out of the deb org package.
can you test it with woa7/piler:focal ? if its with this the same problem, than i know its some bug in the start.sh
When I reboot the OS I lose the index and have to rebuild it. Any suggestions?
I has the following issue:
Some Linux distributions (notably Debian and Ubuntu) have a daily cron job to reindex everything. Unfortunately this ruins the sphinx index files piler relies on. However the older emails are not lost you still have them, they are just disappeared from the sphinx index. To bring them back, perform the following steps.
I recommend you to use the piler shipped init.d/rc.searchd script to start searchd. You may call it from /etc/rc.local. (Note that it starts it as user piler, so make sure /var/piler/sphinx has proper ownership.)
cd /tmp
reindex -a
My question is since this is in a Docker container, do you happen to know where the '/etc/default/sphinxsearch' location is and what all needs to be modified to resolve this issue. I search from the sphinxsearch location and couldn't find it. I had to reindex to get old emails to show back up in search, but I have not made the proper modifications to keep this from happening again. Any suggestions? Running Ubuntu 18.04