Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: DanB35 on May 03, 2017, 03:02:53 AM

Title: "yum update" to upgrade SME 9.1 to 9.2?
Post by: DanB35 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.
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: TerryF on May 03, 2017, 04:48:16 AM
Correct

Added: added edited note and caveat to wiki
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: MSmith 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.
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: Jean-Philippe Pialasse 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.
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: MSmith on May 15, 2017, 11:06:45 PM
Thank you, that's very helpful!
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: ReetP 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

Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: Stefano 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
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: ReetP 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 !
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: turandot 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.
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: idp_qbn 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
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: TerryF 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
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: stabilys 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
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: Bud 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  :-)
Title: Re: "yum update" to upgrade SME 9.1 to 9.2?
Post by: TerryF 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.