Huey xapian index update tasks fails with fresh database
The huey index update tasks fails when executed with a fresh database. This can also be replicated by running:
# locally
./manage.py update_index --remove
# docker-compose
docker exec -it grouprise-backend grouprisectl update_index --remove
I’m not sure how to fix this. We could catch the exception and check if the xapian_index
directory is empty and only re-raise it, if it’s not. That’s a little hacky though. Any other thoughts?