All alerts dropped after update

Hi. When updating (from earlier than 2025.06.0), there’s a database migration file that basically removes all our alerts, or at least destroys acks and notes. If I remove the update after migration using “php artisan migrate:rollback --step=X” the alerts are back, but acks and notes are gone. I figured out that the update removes the “rule” column from the alert_rules table. My guess is that there’s some code somewhere that uses column indexes rather than the column names and that breaks the function a bit. The change was made in Remove AlertDB from codebase by laf · Pull Request #17775 · librenms/librenms · GitHub but I don’t want to exclude that every time I do an update of our system. This feels like a definite bug that needs to be addressed.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.