-
-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Environment
self-hosted 25.2.0, commit cut off: 9574780
Steps to Reproduce
On a running self-hosted instance, just assume we've applied all these settings: getsentry/self-hosted#3304 (comment)
Then do another ./install.sh on the self-hosted repo, which basically runs (1) docker compose down, (2) execute some bash stuff to migrate database and all that, (3) docker compose up -d. The redis data is not persisted, therefore the uptime:configs:{id} keys on redis would disappear, making the uptime checks not working.
Expected Result
Uptime checks works and can survive Redis restarts.
Actual Result
No uptime checks was done. The uptime-results Kafka topic is empty.
To hack this, I disable and enable the uptime monitor from the web UI, and the uptime:configs:{id} keys on redis was repopulated. But this is kind of a burden if you have lots of monitors.
My question would be: How can fix this? Should we stay on Redis and create an additional Redis container that has persisted volumes, or should we use some other persistence for storing configs?