Koozali.org: home of the SME Server

"yum update" to upgrade SME 9.1 to 9.2?

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
"yum update" to upgrade SME 9.1 to 9.2?
« on: May 03, 2017, 03:02:53 AM »
I just wanted to verify, because the wiki page (https://wiki.contribs.org/SME_Server:9.2) isn't quite clear: to upgrade from SME 9.1 to 9.2, it's just a matter of a "yum update", right?  There's nothing special that needs to be done with yum?  Obviously contribs and custom modifications (i.e., custom templates) need to be considered, but assuming a clean system.
......

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #1 on: May 03, 2017, 04:48:16 AM »
Correct

Added: added edited note and caveat to wiki
« Last Edit: May 03, 2017, 05:01:52 AM by TerryF »
--
qui scribit bis legit

Offline MSmith

  • *
  • 675
  • +0/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #2 on: May 15, 2017, 10:42:24 PM »
Any success stories, or more importantly FAILURE stories, to report when doing this?  Links to relevant bug reports most welcome.
...

Offline Jean-Philippe Pialasse

  • *
  • 2,760
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #3 on: May 15, 2017, 10:49:16 PM »
Any success stories, or more importantly FAILURE stories, to report when doing this?  Links to relevant bug reports most welcome.
they should be all referenced here: https://wiki.contribs.org/SME_Server:9.2#Known_issues_when_upgrading_from_previous_SME9.x
Bug number were omitted, but you have at least majors caveats and workarounds or solutions.

Offline MSmith

  • *
  • 675
  • +0/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #4 on: May 15, 2017, 11:06:45 PM »
Thank you, that's very helpful!
...

Offline ReetP

  • *
  • 3,730
  • +5/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #5 on: May 16, 2017, 10:20:16 AM »
There is a big upgrade to the mail system in 9.2 so in particular make sure you update the mail contribs if installed or your mail will break

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,838
  • +2/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #6 on: May 16, 2017, 12:50:40 PM »
There is a big upgrade to the mail system in 9.2 so in particular make sure you update the mail contribs if installed or your mail will break

and make sure you don't have any qpsmptd custom fragments too

Offline ReetP

  • *
  • 3,730
  • +5/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #7 on: May 16, 2017, 02:30:36 PM »
and make sure you don't have any qpsmptd custom fragments too

Yes - I forgot to mention that little gotcha !
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline turandot

  • *
  • 82
  • +0/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #8 on: May 16, 2017, 09:43:40 PM »
Any success stories...
I updated three SMEs 9.1 via yum update to become SME 9.2, no issues at all. However there are "simple" file servers with Windows DC, so no gateway, nor email servers.

Offline idp_qbn

  • ****
  • 346
  • +0/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #9 on: May 17, 2017, 02:52:38 AM »
And I have upgraded 6 SME 9.1 to SME 9.2 with no problems.
All were simple fileservers.
The only contribs are AFFA, Hardware info, Diskusage  and Fetchmail (not using fetchmail for much at all)

I did what was suggested with the contribs - made sure they were the latest version.

After 2 weeks, still no problems.

Ah, what a happy little bunny I am!

Cheers
Ian
___________________
Sydney, NSW, Australia

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #10 on: May 17, 2017, 05:19:11 AM »
Three 9.1s to 9.2..none use mail

Only contribs between the three, shared folders, logwatch, fail2ban, joomla, CMSimple,

No issues all updated fine..just added Softether VPN to two of above, there is a gotchas with that, just a config issue, will be added to wiki

Otherwise L is G
--
qui scribit bis legit

Offline stabilys

  • *
  • 76
  • +0/-0
  • Ah din't do it!!
    • Stabilys Ltd
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #11 on: May 17, 2017, 12:39:03 PM »
Any success stories, or more importantly FAILURE stories, to report when doing this?  Links to relevant bug reports most welcome.

Just success stories: I went around updating every SME server we administrate over the last weekend due to Wannacry (just as a precaution) and they all upgraded to SME 9.2 without issue. I did have to reconfigure some of them twice to clear the 'reconfigure required' message.

MeJ
« Last Edit: May 17, 2017, 12:41:11 PM by stabilys »
This, too, will pass ;)

Offline Bud

  • *
  • 487
  • +0/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #12 on: June 13, 2017, 05:38:08 AM »
please can you assist with logwatch

i have installed logwatch on sme 9.2 but i am not receiving the logwatch mail message

i have made the following changes to - /usr/share/logwatch/scripts/logwatch.pl

1. Line 84 - $Config{'output'} = "html";
2. Line 69 - $Config{'mailto'} = "myname@mydomain.com";

any ideas  :-)

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: "yum update" to upgrade SME 9.1 to 9.2?
« Reply #13 on: June 13, 2017, 06:39:53 AM »
please can you assist with logwatch

i have installed logwatch on sme 9.2 but i am not receiving the logwatch mail message

i have made the following changes to - /usr/share/logwatch/scripts/logwatch.pl

1. Line 84 - $Config{'output'} = "html";
2. Line 69 - $Config{'mailto'} = "myname@mydomain.com";

any ideas  :-)

Logwatch mails its results to the email address set for admin, just set it in server-manager for the user admin. Return line 69 to its original setting -    $Config{'mailto'} = "root";

The wiki does not say to modify that setting.
--
qui scribit bis legit