<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>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.</p>
    <p>See
<a class="moz-txt-link-freetext" href="https://github.com/certtools/intelmq/commit/a2e54de94762f27b7e33be5080f0153fdf5ded4b">https://github.com/certtools/intelmq/commit/a2e54de94762f27b7e33be5080f0153fdf5ded4b</a><br>
      and
<a class="moz-txt-link-freetext" href="https://github.com/certtools/intelmq/commit/28f7aae090bfb7092714d7dc3112a4e48fffee5d">https://github.com/certtools/intelmq/commit/28f7aae090bfb7092714d7dc3112a4e48fffee5d</a><br>
    </p>
    <p>Sebastian<br>
    </p>
    <div class="moz-cite-prefix">On 31/10/2019 16.36, Sebastian Wagner
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:2b6746d5-3a50-e3e6-c5fa-d2b522f4ab3d@cert.at">
      <pre class="moz-quote-pre" wrap="">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:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:majid.salehi.ghamsari@fokus.fraunhofer.de">majid.salehi.ghamsari@fokus.fraunhofer.de</a>

Fraunhofer-Institut 
für Offene Kommunikationssysteme FOKUS
Kaiserin-Augusta-Allee 31
10589 Berlin
<a class="moz-txt-link-freetext" href="http://www.fokus.fraunhofer.de">http://www.fokus.fraunhofer.de</a>

    

_______________________________________________
Intelmq-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Intelmq-dev@lists.cert.at">Intelmq-dev@lists.cert.at</a>
<a class="moz-txt-link-freetext" href="https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev">https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev</a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Intelmq-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Intelmq-dev@lists.cert.at">Intelmq-dev@lists.cert.at</a>
<a class="moz-txt-link-freetext" href="https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev">https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
// Sebastian Wagner <a class="moz-txt-link-rfc2396E" href="mailto:wagner@cert.at"><wagner@cert.at></a> - T: +43 1 5056416 7201
// CERT Austria - <a class="moz-txt-link-freetext" href="https://www.cert.at/">https://www.cert.at/</a>
// Eine Initiative der nic.at GmbH - <a class="moz-txt-link-freetext" href="https://www.nic.at/">https://www.nic.at/</a>
// Firmenbuchnummer 172568b, LG Salzburg</pre>
  </body>
</html>