Koozali.org: home of the SME Server

Newbi Upgrade from version 8.2 to version 9.x

Offline howardr

  • 20
  • +0/-0
Newbi Upgrade from version 8.2 to version 9.x
« on: January 18, 2018, 11:15:31 PM »
I'm trying to apply updates using version 8.2 and yum doesn't work.  Looks like I'll have to upgrade to some 9.x version.  Will upgrading to the 9.x version preserve my settings?  Will I loose my ibays etc, users etc.

Also where can I find the upgrade for 9.x  Thanks

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Newbi Upgrade from version 8.2 to version 9.x
« Reply #1 on: January 19, 2018, 12:04:32 AM »
howardr

There are no more updates for sme8.2, & yum upgrades to newer versions are not possible due to CentOS restraints.

You can ONLY upgrade to sme9.2 using the backup & restore method.
ie backup sme8.2 using a standard sme backup method eg in server manger or console. Many people say Affa is good to use & can reduce the downtime but if you are not using it already, then more difficult to setup on sme8.2 now without yum.

Install sme9.2 OS on new "blank" server, or if using old server & hard drives then make sure you "erase" drives (the correct way) before installing the new OS.
See
https://wiki.contribs.org/Raid#Reusing_Hard_Drives
where sdx is sda, or sdb or sdc or sdd etc.


Personally I would keep a hard disk with the sme8.2 installation on it, until after the new sme9.2 server is up & running successfully, it depends on your hard disk arrangement (easy to do with one disk of a RAID 1 array).

You might also like to to a test upgrade first if this is an important mission critical server (to sort out any issues that may arise).

After sme9.2 OS is installed & minimal setup is done, you can then restore from sme8.2 backup. If you selected the console backup, then on first boot you will be asked to connect USB drive & perform restore (from sme8.2 backup). If you did a server manager backup (eg to locally attached USB), then configure the backup settings & then perform the restore.

Note that restores can take many many hours (even all day) depending on your data & server specs etc, & may even appear to have stopped, so WAIT for the prompt that says restore is complete.


Here is download page
https://wiki.contribs.org/SME_Server:Download

Upgrading notes here
https://wiki.contribs.org/SME_Server:9.2#Upgrading

and for upgrading from sme8.x here are known issues
for upgrade from SME8, you might also want to check this : https://wiki.contribs.org/SME_Server:9.2#Known_issues_upgrade_from_SME8

If you follow procedures correctly all settings, ibays, users etc will be preserved.
Note you will have to reinstall any contribs you had on sme 8.2 with sme9.2 compatible versions. In most cases the data will be preserved also via the backup/restore you performed & the new contrib will use the restored backup data.

An extract from
https://wiki.contribs.org/Backup_server_config
"A restore is ONLY done to a fresh installation of sme server OS, and then contribs are reinstalled. As configuration data is restored, you should not need to setup those reinstalled contribs again."

Also here is a"sticky" forum thread to keep an eye on whenever doing any updates.
https://forums.contribs.org/index.php/topic,53106.0.html
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Newbi Upgrade from version 8.2 to version 9.x
« Reply #2 on: January 19, 2018, 12:55:59 AM »
howardr

Also if you want to determine which contribs you have installed on sme8.2, you can tweak the repo settings to allow check routines to run.

See:
(the answer is towards end of this post/thread)
https://forums.contribs.org/index.php?topic=53015.new;topicseen#new

Edit:
This post (& the thread it is in) has useful info re upgrading
https://forums.contribs.org/index.php/topic,52264.msg267940.html#msg267940
« Last Edit: January 19, 2018, 01:09:41 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline howardr

  • 20
  • +0/-0
Re: Newbi Upgrade from version 8.2 to version 9.x
« Reply #3 on: January 19, 2018, 01:09:02 AM »
Thanks all for your helpful and prompt replies.  I never made any custom changes to my 8.2 version, just used as is.  So, I might just takes notes of what I did on 8.2 and make a new SME Server 9.2. Thanks again.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Newbi Upgrade from version 8.2 to version 9.x
« Reply #4 on: January 19, 2018, 01:14:40 AM »
howardr

Quote
....I might just takes notes of what I did on 8.2 and make a new SME Server 9.2.

Valid approach for a small server with not much data or users on it etc.

One proviso:
Do you have Windows users logging in to your sme server (being used as DOMAIN controller).
If so backup & restore is best option as all the machine accounts will be restored.
This will save you having to unjoin your windows machines from the DOMAIN (DC) & having to setup & re-establish new user profiles (a real pain if you have a few to do).

Also consider if you have a lot of email accounts & email messages saved on the old server. More work to move those over manually.
« Last Edit: January 19, 2018, 01:16:25 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jean-Philippe Pialasse

  • *
  • 2,787
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Newbi Upgrade from version 8.2 to version 9.x
« Reply #5 on: January 19, 2018, 01:52:31 AM »
also have a look there: https://wiki.contribs.org/SME_Server:9.2#Known_issues_upgrade_from_SME8

and globally on this same page.