<?xml version="1.0" encoding="UTF-8"?>
<section version="5.0" xml:id="wb_upgrade"
         xmlns="http://docbook.org/ns/docbook"
         xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:svg="http://www.w3.org/2000/svg"
         xmlns:m="http://www.w3.org/1998/Math/MathML"
         xmlns:html="http://www.w3.org/1999/xhtml"
         xmlns:db="http://docbook.org/ns/docbook">
  <title>Upgrading</title>

  <para>On this page we will provide information about upgrading from one
  version to another.</para>

  <para>During developing cycle there might be cases where the handling of
  bugfixes might touch the userspace. This aren't very funny cases but
  sometime they are not preventable.</para>

  <section>
    <title>Icinga 0.8.0 to 0.8.1</title>

    <section>
      <title>Archived Logfilename Fix</title>

      <para>There was a small misspelling bug in Icinga 0.8.0 resulting in
      archived logfilenames spelled like <emphasis
      role="bold">'Icinga-$date'</emphasis>, with a capital <emphasis
      role="bold">'i'</emphasis>. This bug was fixed in version 0.8.1.</para>

      <para>To recognize these change you should rename your current archived
      logfiles like this:</para>

      <para><programlisting>cd /usr/local/icinga/var/archives/
for oldfilename in `find ./ -name "Icinga-*"`
do
  newfilename=`echo $oldfilename | sed -e 's/Icinga/icinga/g'`
  mv $oldfilename $newfilename
done</programlisting></para>
    </section>
  </section>

  <section>
    <title>Normal upgrade path</title>

    <para>Regular updates should be possible by only re-install icinga like
    your first time.</para>

    <para>Read ahead: <xref linkend="wb_quickstart-icinga" /> for normal
    install or <xref linkend="wb_quickstart-idoutils" /> for a installation
    inlcuding the idoutils.</para>
  </section>
</section>
