Koozali.org: home of the SME Server

Update 8.0 to 8.1 via DVD

Offline jekal

  • **
  • 21
  • +0/-0
Update 8.0 to 8.1 via DVD
« on: March 05, 2014, 05:07:58 PM »
Yesterday I upgraded my old 7.6 to 8.0 (Downloaded on Friday just before 8.1 came up  :sad:).
After 7h I had my old data up and running (thanks to that good description in the wiki)
Unfortunatly I cannot install the required contribs because of this error.
Code: [Select]
[Errno -3] Error performing checksum
Now my question (because I did updates in the past only online):
Is the Update from v8.0 to v8.1 a Data-in-Place-Update or do I have to restore all my data again?

Regards
Jens

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Update 8.0 to 8.1 via DVD
« Reply #1 on: March 05, 2014, 06:43:42 PM »
This really needs to be raised as a bug, I believe it is affecting more than just you.
It may be due to python-hashlib. It needs to be investigated and a good solution given - hopefully just documentation.

............

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Update 8.0 to 8.1 via DVD
« Reply #2 on: March 05, 2014, 06:44:34 PM »
Is the Update from v8.0 to v8.1 a Data-in-Place-Update or do I have to restore all my data again?

8.0 to 8.1 is meant to be a Data-in-Place update, it should 'just work' otherwise there is an error that we need to resolve.
............

Offline jekal

  • **
  • 21
  • +0/-0
Re: Update 8.0 to 8.1 via DVD
« Reply #3 on: March 05, 2014, 06:50:29 PM »
thanks, I'll try it tomorrow morning :)

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Update 8.0 to 8.1 via DVD
« Reply #4 on: March 05, 2014, 09:50:59 PM »
............

Offline jekal

  • **
  • 21
  • +0/-0
Re: Update 8.0 to 8.1 via DVD
« Reply #5 on: March 05, 2014, 11:22:35 PM »
thanks, I'll try it tomorrow morning :)
I did the update to 8.1. Now it's working :)

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Update 8.0 to 8.1 via DVD
« Reply #6 on: March 06, 2014, 01:03:42 AM »
Updating on this issue:
Tests have shown that a bear installation from CD of sme8.0 fails to update to sme8.1 using yum.  Looking like a  bug - not identified yet.
Note that updating a bear sme8.0 to sme8.1 using the sme8.1 DVD appears to work ok.
Bugteam is following on this issue, check http://bugs.contribs.org/show_bug.cgi?id=8255 for more information.

As a side note, upgrading an sme7.xx to sme8.xx is not recomended.  Best practice consists in backing up the sme7.xx installation from the console onto a USB storage, performing a clean installation of sme8.1 and restore data from the console when prompted.  As drives are cheap nowadays, keeping the original sme7.xx drive and performing a fresh installation of sme8.1 onto a different drive is a good idea. If things go wrong, you can revert to the old system etc...
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Update 8.0 to 8.1 via DVD [FIXED]
« Reply #7 on: March 06, 2014, 07:33:06 AM »
Update on behalf Ian Wells (wellsi).
This issue has been fixed, updating from bare sme8.0 to sme8.1 with yum is now working, please refer: http://bugs.contribs.org/show_bug.cgi?id=8255 for detail.

- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Update 8.0 to 8.1 via DVD
« Reply #8 on: March 06, 2014, 04:28:14 PM »
chris burnat

Quote
As a side note, upgrading an sme7.xx to sme8.xx is not recomended. 

Sorry to be picky.
Since when did that become a recommendation ?
AFAIK all versions of SME server from 3.1 onwards have supported upgrades between versions using CD, including 7 to 8

Edit
PS I realise that upgrades from SME 8.x to 9.0 will NOT be supported due to changes & lack of support for that functionality in the underlying CentOS OS.

« Last Edit: March 06, 2014, 04:34:52 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Update 8.0 to 8.1 via DVD
« Reply #9 on: March 06, 2014, 11:55:26 PM »
chris burnat

Sorry to be picky.
Since when did that become a recommendation ?
AFAIK all versions of SME server from 3.1 onwards have supported upgrades between versions using CD, including 7 to 8

Edit
PS I realise that upgrades from SME 8.x to 9.0 will NOT be supported due to changes & lack of support for that functionality in the underlying CentOS OS.

It is my personal recommendation. I have seen too much griefs over the years when updating 7.xx to 8.xx.   Especially when contribs are installed which is usually the case.  Upgrading an existing 7.xx system is a one way street, no coming back,  unless one remove one of the RAID drive, update a single drive and sync again...  To find out a week later that something is not quiet right - a recipe for nightmares.

 By the time you perform all of these operations, you could have done a backup in console, installed a new 8.1 system and restored.  And as a bonus end up with a new/clean system.  And you old data still kept on the old 7.xx drive. Belt and braces. Hope it makes sense. Best. chris
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Update 8.0 to 8.1 via DVD
« Reply #10 on: March 07, 2014, 02:27:14 PM »
I agree with Chris..

I never updated a server via cd, never.. always used backup/restore or Affa
I had a 6.01 that became 7.0, updated via yum to 7.6, upgraded to 8 via Affa, always changing hw and , in the middle, 2 hw migration done with Affa at 7.X stage.. never had a issue

yes, I miss Affa :-)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Update 8.0 to 8.1 via DVD
« Reply #11 on: March 07, 2014, 10:41:52 PM »
Stefano & Chris

Quote
I agree with Chris..

Whether you agree with Chris or do not agree, is not the issue (I have raised) here.

Chris stated:
"As a side note, upgrading an sme7.xx to sme8.xx is not recomended."

Since when did official advice become that upgrading sme7 to sme8 is not recommended ?
I never heard that ever said or advised.

My understanding of all SME Server releases from 3.1 to 8 is that upgrades are supported & that developers worked very hard to ensure the upgrade path worked correctly between major versions.

Recommended & supported are different things, but surely if something is supported it would be recommended.

I have updated existing SME 7.6 boxes to SME 8.0 using CD & it was necessary to check compatibility of contribs (as existed at that time) & uninstall incompatible versions, remove custom templates & check for validity & compatibility with SME 8.0 before reusing or recreating those templates.
These steps or precautions are advisable to be followed with all major version updates, & AFAIK have always been officially recommended.

In my opinion it is always wise to do a test upgrade of a production server on an existing single drive taken from a RAID1 array system, & test all contribs you use on a clean version of the new OS before updating a production server, but that "testing" would still apply to backup & restore upgrades.

Doing a backup, installing clean OS on new or existing hardware, & restoring, forces a user to effectively follow those steps, but it is not a case of backup & restore being the only officially recommended way, at least not as far as I was aware.

Really I am just commenting that I believe SME 7.x to SME 8.0 CD upgrades are OK & recommended to do, as long as usual recommended precautions are taken, same as has been the case between earlier major OS versions.

Note that with SME 6.x to SME 7.0 upgrades (particularly RAID1 arrays), CD upgrades were OK, but a backup & restore approach was officially recommended, as the drive partition schema changed from 3 partitions to 2 partitions with new supported RAID rebuild features, & in this case it was officially recommended to install a clean OS to create the new 2 partitions & then restore data from SME 6.x backup.
For different underlying reasons, SME8.x to SME9.0 upgrades are also recommended to only be done using the backup & restore method. CD or yum upgrades will simply be not possible & not supported (ie not tested by devs etc), as at todays date unless someone decides to overcome the technical issues which AFAIK is not really possible.

No need to reply further, it was just a point of correction I was making & readers can decide for themselves which "recommended" upgrade method to follow.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Update 8.0 to 8.1 via DVD
« Reply #12 on: March 08, 2014, 12:05:51 AM »
SME7 to SME8 is a supported update.
use of contribs or other modifications can complicate that.

so Chris' comment is good but unofficial advice.

Personally I would also backup and do a clean install. That's my unofficial advice.

SME 8 to SME 9 will be officially unsupported as an in-place upgrade.
it may or may not be blocked in the installer, that is open.
............

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Update 8.0 to 8.1 via DVD
« Reply #13 on: March 08, 2014, 12:09:18 AM »
If anyone wants to work on sme 8 to sme 9 upgrades then now is the time to try it and report findings in bugzilla. Some work was done by Greg but it was not completed.
............