Upgrade to Jessie

From Roaring Penguin
Revision as of 13:24, 20 July 2017 by JohnMertz (talk | contribs) (Upgrade Debian Wheezy to Jessie)

Jump to: navigation, search

Upgrade Debian Wheezy to Jessie

  1. Make sure your existing CanIt installation is up-to-date:
  2. Now upgrade the OS to Jessie:
    upgrade-canit-appliance jessie
    Then you'll see messages scroll by, as the machine downloads, unpacks, and re-starts assorted services. (This all only delays mail during the re-start phase).
  3. We have had troubles with some appliances failing to install the Grub bootloader after the Jessie upgrade, so be sure to generate it again for all hard drives:
    dpkg-reconfigure grub-pc
    Should Grub fail to be installed, the system will not be able to load after a reboot. The only way to recover is to configure Grub with a rescue disk.
  4. Reboot the machine.
    To check if mail is flowing use the following:
    tail -f /var/log/mail-daily/current.log or wherever they are to see if working

NOTE: The above commands are for a single machine. If you are upgrading a cluster, then you should modify the steps as follows, starting with the DataBase machine:

  1. Stop CanIt on all cluster members before each command:
    /etc/init.d/canit-system stop-gracefully
  2. After the command in step (4) above, run:
    /etc/init.d/canit-system start
  3. Also, all commands should be run in parallel. That is, run (i) and then (1) on all machines, then (i) and (2) on all machines, and so on, finishing with (ii).

Upgrade to Stretch

With the release of Stretch in June 2017, Jessie is now the Old-Stable version of Debian. Work is currently being done to finalize the CanIt packages and ISOs for Stretch and support is expected with the next version of CanIt. Once this has been released, documentation will be added to the wiki regarding this upgrade. You should be able to find a link here or from the Debian Upgrades wiki article shortly thereafter.

Jessie will still be supported by Debian and CanIt packages will be released for it for the foreseeable future, so you are under no immediate obligation to upgrade.