Closed aptiko closed 5 years ago
Apparently during the problem I upgraded the system to Debian 9.9. As part of this upgrade PostgreSQL restarted. Celery did not automatically reconnect and resume after PostgreSQL was up again. This is probably a celery issue.
Unfortunately the Celery django database backend is not well supported, so to solve the problem we probably need to move to RabbitMQ or similar.
Old versions of kombu
do not support Django 2, and newer ones have entirely removed Django support. We need to fix this before upgrading to Django 2.
Fixed in openmeteo/aira@e40ad30c1facdbd140e6313fcd9c2b609213a792.
Celery sometimes stops processing and needs restarting: