Cannot load alert callbacks created on 1.0 #1428
Graylog 1.2.0 can't load alert callbacks created with Graylog 1.0 or earlier. The problem is that the MongoDB documents for those old alerts contain two ID fields:
A temporary solution while we try to fix it in a better way, is to run this MongoDB command:
Note: Don't forget to backup your MongoDB if you run the previous command. Please stop Graylog server before doing it, and only restart it after the backup and the update command are completed.
The text was updated successfully, but these errors were encountered:
Alarm callbacks created before 1.1 have a duplicated ID field, which confuses MongoJack when loading the objects from MongoDB. Here we add a periodical to migrate those alarm callbacks, removing the duplicated `id` field to ensure we can load the objects. Fixes #1428