Op 22 jan 2024, om 16:30 heeft Marco van Tol <mvantol@ripe.net> het volgende geschreven:
Op 18 jan 2024, om 12:17 heeft Stephen J. Turnbull <turnbull.stephen.fw@u.tsukuba.ac.jp> het volgende geschreven:
Marco van Tol writes:
(Sorry for the top-quote)
Awwwwww....
Here I was hoping for a success report! ;-)
Heh, sorry :)
It took me a while to find time to try it, but I have just now.
I realize I might just need to be patient to wait for the next cron iteration, but here’s what I currently see happening.
I use containers based on those made by maxking, which luckily already install xapian.
So in settings.py I changed what was there to what was suggested by the documentation pointed to by Odhiambo, adapted for the paths the container can use:
HAYSTACK_CONNECTIONS = { 'default': { 'PATH': "/opt/mailman-web-data/xapian_index", 'ENGINE': 'xapian_backend.XapianEngine' }, }
When I restart the container the path gets mkdir’ed, but nothing appears in it, and searches give an error.
[...]
Turns out I was just one ./manage.py rebuild_index
away, so all good :-)
Thanks!
Marco van Tol