Ok. Found it. Just to share our shame:
After endless debugging, it seemed like Redis was not storing anything upon startup.
Then we finally remembered the following line in our startup script, right AFTER starting sidekiq.
echo flushdb | /usr/bin/redis-cli
It was put there many, many months ago, trying to work around a totally different and long, long forgotten issue. ![]()
This is the first time that Discourse ever relied on redis. Before this change, redis was ‘just’ a cache.