Difference between revisions of "Upgrade to Jessie"

From Roaring Penguin
Jump to: navigation, search
(Upgrade to Stretch)
Line 43: Line 43:
 
==Upgrade to Stretch==
 
==Upgrade to Stretch==
  
With the release of Stretch in June 2017, Jessie is now the Old-Stable version of Debian, however it is still considered to be the stable version for use with CanIt.  
+
Jessie is now the old-stable version of Debian. There is another wiki discussing the [[Upgrade to Stretch]], which is the current stable release. <b>The upgrade to Jessie MUST be done before you can upgrade to Stretch!</b>
  
While Stretch has been tested successfully and packages are available for it, we still consider it to be experimental. A wiki has been created detailing the [[Upgrade to Stretch]].
+
Jessie will still receive security updates from Debian for several years (probably 2020 or 2021, but this has yet to be announced) and will get new CanIt packages for years after that. You are under no immediate need to upgrade at this time, however running the newest stable software is always recommended, so it would be wise to upgrade when it is convenient.
 
 
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. Also, when Stretch does become stable be aware that <b>the upgrade to Jessie MUST be done before you can upgrade to it!</b>
 
 
 
We will send an announcement out when Stretch is determined to be stable. If you are not signed up for our mailing list, you can find it [https://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/canit-announce here].
 
  
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
[[category:All]][[category:Upgrade]]
 
[[category:All]][[category:Upgrade]]

Revision as of 13:13, 26 September 2017

Note

Debian upgrades must be performed one version change at a time. If you don't know which version you are on, or which version is next, you can find information on the entire upgrade path at Debian Upgrades.

This upgrade should only be performed if you installed from, or already run the Upgrade to Wheezy (Debian 7).

Upgrade Debian Wheezy to Jessie

  1. Make sure your existing CanIt installation is up-to-date:
    upgrade-canit-appliance
  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. At this point the new version of CanIt is running, but Debian is not yet using it's new kernel. This requires a reboot:
    reboot

To check if mail is flowing use the following:

tail -f /var/log/mail-daily/current.log

or wherever the logs are stored (/var/log/mail.log if the log-indexer is not installed).


NOTE: The above commands are for a single machine. If you are upgrading a cluster, then you should run each on all machines before moving onto the next step, starting with the DataBase machine. Also modify the steps as follows:

For steps 1:

  1. First download the packages before installing them to minimize downtime by running the command with the following flag after it:
    --download-only
    eg:
    upgrade-canit-appliance --download-only
  2. Stop CanIt on all cluster members:
    /etc/init.d/canit-system stop-gracefully
  3. Run the actual command listed for that step above.
  4. After the command above, run:
    /etc/init.d/canit-system start

Repeat for step 2.

Then run steps 3 and 4.

Upgrade to Stretch

Jessie is now the old-stable version of Debian. There is another wiki discussing the Upgrade to Stretch, which is the current stable release. The upgrade to Jessie MUST be done before you can upgrade to Stretch!

Jessie will still receive security updates from Debian for several years (probably 2020 or 2021, but this has yet to be announced) and will get new CanIt packages for years after that. You are under no immediate need to upgrade at this time, however running the newest stable software is always recommended, so it would be wise to upgrade when it is convenient.