Hi,
The next bugfix release can automatically upgrade the harmonization configuration with `intelmqctl upgrade-config`, and check for the need to do so with `intelmqctl check`. The behavior is already available in the maintenance and develop branches.
See
https://github.com/certtools/intelmq/commit/a2e54de94762f27b7e33be5080f0153fdf5ded4b
and
https://github.com/certtools/intelmq/commit/28f7aae090bfb7092714d7dc3112a4e48fffee5d
Sebastian
Dear Majid, In version 2.1.0 we added the `extra` field to the *report* message type. But as the harmonization is based on user-modifyable a fully automated upgrade is not possible. If you did not adapt the harmonization manually, you can just copy the `intelmq/etc/harmonization.conf` from the source to `/opt/intelmq/etc/harmonization.conf` or `/etc/intelmq/harmonization.conf`. However, I am now working on making this a bit smoother and adding some code which compares the files and makes minimal upgrades if automatically possible. best regards, Sebastian On 31/10/2019 12.33, Salehi Ghamsari, Majid wrote:Dear community, After updating to version 2.1.0 the file collector raise exceptions.InvalidKey(key). How can I find out what the problem is, this bot has worked very well under 1.1.1? Please help Regards Majid Bot has found a problem. Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/intelmq/lib/bot.py", line 267, in start self.process() File "/usr/local/lib/python3.5/dist-packages/intelmq/bots/collectors/file/collector_file.py", line 66, in process template.add("extra.file_name", f) File "/usr/local/lib/python3.5/dist-packages/intelmq/lib/message.py", line 234, in add raise exceptions.InvalidKey(key) intelmq.lib.exceptions.InvalidKey: invalid key 'extra.file_name' Majid Salehi Ghamsari Wiss. Mitarbeiter Digital Public Services Tel: +49 30 3463-7118 Fax: +49 30 3463-99-7118 E-Mail: majid.salehi.ghamsari@fokus.fraunhofer.de Fraunhofer-Institut für Offene Kommunikationssysteme FOKUS Kaiserin-Augusta-Allee 31 10589 Berlin http://www.fokus.fraunhofer.de _______________________________________________ Intelmq-dev mailing list Intelmq-dev@lists.cert.at https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev
_______________________________________________ Intelmq-dev mailing list Intelmq-dev@lists.cert.at https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev
-- // Sebastian Wagner <wagner@cert.at> - T: +43 1 5056416 7201 // CERT Austria - https://www.cert.at/ // Eine Initiative der nic.at GmbH - https://www.nic.at/ // Firmenbuchnummer 172568b, LG Salzburg