Koozali.org: home of the SME Server

Upgrade from 9.1 beta 2 to 9.1 beta3?

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #15 on: October 05, 2015, 02:55:12 AM »
Curios and curioser :-)

using:
[root@sme91b2 ~]# yum upgrade

I'll just get some more details, however smeupdates-tesing is not enabled as this is a brand new install of beta2

[root@sme91b2 ~]# /sbin/e-smith/audittools/repositories
base: enabled
centosplus: disabled
contrib: disabled
extras: disabled
fasttrack: disabled
smeaddons: enabled
smecontribs: disabled
smedev: disabled
smeextras: enabled
smeos: enabled
smetest: disabled
smeupdates: enabled
smeupdates-testing: disabled
updates: enabled

That sees 186mb bought down..
--
qui scribit bis legit

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #16 on: October 05, 2015, 04:46:15 AM »
TerryF

It seems like you are doing an upgrade from original release of SME 9.0, with that amount of updates (???)

My upgraded system shows 9.1beta2 in /etc/motd
and in server manager, instead of showing 9.1beta3.

Other than knowing the update was successful, the system reports a wrong version.
I know this was dealt with in a recent bug report as NOTABUG, but it does not seem right to me, how does a user know what version he/she is at other than checking package versions etc.

If you have multiple versions running for testing etc, it can get confusing.
It does not matter really, just rambling.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

guest22

Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #17 on: October 05, 2015, 04:49:11 AM »
cat /etc/redhat-release

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #18 on: October 05, 2015, 05:43:20 AM »
cat /etc/redhat-release

Thanks hf but still shows

[root@xxxxxx ~]# cat /etc/redhat-release

************ Welcome to SME Server 9.1.beta2 *************

Before editing configuration files, familiarise
yourself with the automated events and templates
systems.

Please take the time to read the documentation
http://wiki.contribs.org/Main_Page

Remember that SME Server is free to download
and use, but it is not free to build

Please help the project :
http://wiki.contribs.org/Donate

****************************************************

I had already/previously edited motd for my own benefit

[root@xxxxxx ~]# cat /etc/motd
#now
********** Welcome to SME Server 9.1.beta3 **********

#was
#************ Welcome to SME Server 9.1.beta2 *************


Before editing configuration files, familiarise
yourself with the automated events and templates
systems.

Please take the time to read the documentation
http://wiki.contribs.org/Main_Page

Remember that SME Server is free to download
and use, but it is not free to build

Please help the project :
http://wiki.contribs.org/Donate

****************************************************
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

guest22

Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #19 on: October 05, 2015, 05:47:16 AM »
I think we should give Daniel some slack to sort the versioning number out.


1. Can not 'upgrade update from Beta 2 to Beta 3'
2. How can we tell the correct version major/minor.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #20 on: October 05, 2015, 07:25:07 AM »
the bad versionning is 'normal', in fact updaterepo,the script we use to create the Iso, don't push to smeupdate-testing the rpm smeserver-release. It is wanted and it will be pushed, only when the version will be in a final stage. For now the relevant version is only visible in the cdrom's smeos repository

therefore, even if you are fully updated to sme9.1beta3, the motd can not indicate it.

http://bugs.contribs.org/show_bug.cgi?id=9054
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #21 on: October 05, 2015, 08:31:47 AM »
Hi stephdl

Quote
http://bugs.contribs.org/show_bug.cgi?id=9054

As I said, it does not really matter.
There was no intention to force or create work on those few developers who are doing a good job of keeping SME server going.

It's a test server so updating the package using the rpm command rather than yum is not a serious problem.
The required rpm is in smeupdates-testing repo, so it is easily resolved by doing this

rpm -Uvh http://distro.ibiblio.org/smeserver/releases/9/smeupdates-testing/i386/RPMS/smeserver-release-9.1-0.beta3.el6.sme.noarch.rpm
signal-event post-upgrade
signal-event reboot

Then
cat /etc/motd & cat /etc/redhat-release both show

************ Welcome to SME Server 9.1.beta3 *************

Before editing configuration files, familiarise
yourself with the automated events and templates
systems.

Please take the time to read the documentation
http://wiki.contribs.org/Main_Page

Remember that SME Server is free to download
and use, but it is not free to build

Please help the project :
http://wiki.contribs.org/Donate


Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #22 on: October 05, 2015, 10:52:08 AM »
Janet, F!@# me, NO its a clean install of SME9.1 BETA 2 - smeserver-9.1.beta2-x86_64.iso no longer available from the mirrors now that beta 3 is out..

Added: A full update from SME9.0 is now almost 300+MB
« Last Edit: October 05, 2015, 10:54:10 AM by TerryF »
--
qui scribit bis legit

Offline neggard

  • **
  • 29
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #23 on: October 05, 2015, 12:07:20 PM »
Is there a way that I can see if my system is beta 2 or beta3?

Maybe some version of any files or something to sort out what version I have and if the MOTD is OK or not.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #24 on: October 05, 2015, 12:19:34 PM »
Well, quite easy: if you've updated (using yum from the command line) with the smeupdates-testing repo enabled after friday, then you're running beta3
C'est la fin du monde !!! :lol:

Offline neggard

  • **
  • 29
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #25 on: October 05, 2015, 03:54:42 PM »
Daniel B then I hold my horses until friday.

Thanks for all help, I think SME is gonna be my main serverdistro now.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #26 on: October 05, 2015, 03:55:48 PM »
Daniel B then I hold my horses until friday.
I meant past friday ;-)
C'est la fin du monde !!! :lol:

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #27 on: October 05, 2015, 07:21:29 PM »
TerryF

Quote
....its a clean install of SME9.1 BETA 2 - smeserver-9.1.beta2-x86_64.iso no longer available from the mirrors now that beta 3 is out..
Added: A full update from SME9.0 is now almost 300+MB

I think I see why we have differences, I am installing 32 bit version, you are using 64 bit version.
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: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #28 on: October 05, 2015, 07:43:18 PM »
neggard

Quote
Is there a way that I can see if my system is beta 2 or beta3?
Maybe some version of any files or something to sort out what version I have and if the MOTD is OK or not.

Well you can check package versions using the rpm command
Look here for 32 bit
http://distro.ibiblio.org/smeserver/releases/9/smeupdates-testing/i386/RPMS/
& here for 64 bit
http://distro.ibiblio.org/smeserver/releases/9/smeupdates-testing/x86_64/RPMS/

then compare the latest version listed in the repo against what you have installed.

eg
rpm -q e-smith-base
& so on one by one for each rpm package

If you saw yum complete the update, then highly likely you are updated.

You can also run this command to see all extra packages installed beyond the original CD install
/sbin/e-smith/audittools/newrpms

You can also check what yum has installed (rpm package versions & date installed) by reviewing
/var/log/yum/yum.log
eg from my 32 bit install
Oct 05 13:24:02 Updated: qpsmtpd-0.84-15.el6.sme.noarch
Oct 05 13:24:02 Updated: qpsmtpd-plugins-0.0.1-4.el6.sme.noarch
Oct 05 13:24:03 Updated: smeserver-locale-th-2.4.0-22.el6.sme.noarch
Oct 05 13:24:03 Updated: smeserver-locale-id-2.4.0-22.el6.sme.noarch
Oct 05 13:24:03 Updated: smeserver-locale-pl-2.4.0-22.el6.sme.noarch
Oct 05 13:24:03 Updated: smeserver-locale-hu-2.4.0-22.el6.sme.noarch
Oct 05 13:24:03 Updated: smeserver-locale-pt_BR-2.4.0-22.el6.sme.noarch
Oct 05 13:24:03 Updated: smeserver-locale-zh_TW-2.4.0-22.el6.sme.noarch
Oct 05 13:24:04 Updated: smeserver-locale-pt-2.4.0-22.el6.sme.noarch
Oct 05 13:24:04 Updated: smeserver-locale-ru-2.4.0-22.el6.sme.noarch
Oct 05 13:24:04 Updated: smeserver-locale-sl-2.4.0-22.el6.sme.noarch
Oct 05 13:24:04 Updated: smeserver-locale-es-2.4.0-22.el6.sme.noarch
Oct 05 13:24:05 Updated: e-smith-samba-2.4.0-22.el6.sme.noarch
Oct 05 13:24:05 Updated: smeserver-locale-ja-2.4.0-22.el6.sme.noarch
Oct 05 13:24:05 Updated: smeserver-locale-fr-2.4.0-22.el6.sme.noarch
Oct 05 13:24:05 Updated: smeserver-locale-he-2.4.0-22.el6.sme.noarch
Oct 05 13:24:05 Updated: smeserver-locale-nl-2.4.0-22.el6.sme.noarch
Oct 05 13:24:05 Updated: smeserver-locale-de-2.4.0-22.el6.sme.noarch
Oct 05 13:24:06 Updated: smeserver-locale-sv-2.4.0-22.el6.sme.noarch
Oct 05 13:24:06 Updated: smeserver-locale-zh_CN-2.4.0-22.el6.sme.noarch
Oct 05 13:24:06 Updated: smeserver-locale-tr-2.4.0-22.el6.sme.noarch
Oct 05 13:24:06 Updated: smeserver-locale-el-2.4.0-22.el6.sme.noarch
Oct 05 13:24:06 Updated: smeserver-locale-bg-2.4.0-22.el6.sme.noarch
Oct 05 13:24:06 Installed: perl-IO-Multiplex-1.13-1.el6.noarch
Oct 05 13:24:06 Updated: smeserver-locale-da-2.4.0-22.el6.sme.noarch
Oct 05 13:24:07 Updated: smeserver-locale-ro-2.4.0-22.el6.sme.noarch
Oct 05 13:24:07 Updated: smeserver-locale-it-2.4.0-22.el6.sme.noarch
Oct 05 13:24:07 Updated: smeserver-locale-nb-2.4.0-22.el6.sme.noarch
Oct 05 13:24:07 Updated: smeserver-locale-et-2.4.0-22.el6.sme.noarch
Oct 05 13:24:09 Updated: initscripts-9.03.49-1.el6.sme.1.1.i386
Oct 05 13:24:09 Updated: smeserver-clamav-2.4.0-4.el6.sme.noarch
Oct 05 13:24:09 Updated: e-smith-domains-2.4.0-3.el6.sme.noarch
Oct 05 13:24:09 Updated: smeserver-support-2.6.0-5.el6.sme.noarch
Oct 05 13:24:11 Updated: e-smith-base-5.6.0-24.el6.sme.noarch
Oct 05 13:24:12 Updated: libdar-2.4.18-1.el6.i686
Oct 05 13:24:12 Updated: smeserver-qpsmtpd-2.4.0-11.el6.sme.noarch
Oct 05 13:24:13 Updated: perl-Net-Server-2.007-2.el6.noarch
Oct 05 13:24:13 Updated: perl-Object-Persistence-0.92-5.el6.sme.noarch
Oct 05 13:24:13 Updated: e-smith-openssh-2.4.0-6.el6.sme.noarch
Oct 05 13:24:13 Updated: dar-2.4.18-1.el6.i686
Oct 05 13:24:14 Updated: proftpd-1.3.3g-6.el6.i686
Oct 05 13:24:18 Updated: spamassassin-3.3.2-60.el6.sme.i386

...and finally, if you are certain the beta3 update occurred,  you can update your version of e-smith-release as I mentioned earlier
for 32 bit
rpm -Uvh http://distro.ibiblio.org/smeserver/releases/9/smeupdates-testing/i386/RPMS/smeserver-release-9.1-0.beta3.el6.sme.noarch.rpm
signal-event post-upgrade
signal-event reboot

for 64 bit
rpm -Uvh http://distro.ibiblio.org/smeserver/releases/9/smeupdates-testing/x86_64/RPMS/smeserver-release-9.1-0.beta3.el6.sme.noarch.rpm
signal-event post-upgrade
signal-event reboot
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.