Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: neggard on October 04, 2015, 01:28:43 AM
-
As topic say, Upgrade from 9.1 beta 2 to 9.1 beta3
Do I need to download the iso-file and make a new installation or does the upgrade show in SME-manager?
-
A 'yum upgrade" on the command line as root would do the trick, and yes, the upgrade would also show in Server-manager. No need to download the ISO.
-
Approx 90mb of upgrades :-)
-
I have tried "yum upgrade" and also add SME server updates testing.
Still no update, and text with version says SME Server 9.1.beta2.
-
"yum update" ?
-
yum upgrade on a beta 2 install realised 89mb of updates..
-
[root@webserver ~]# yum upgrade
Loaded plugins: fastestmirror, smeserver
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
* base: mirror.fysik.dtu.dk
* smeaddons: koozali.groenz.co.nz
* smeextras: koozali.groenz.co.nz
* smeos: koozali.groenz.co.nz
* smeupdates: koozali.groenz.co.nz
* smeupdates-testing: koozali.groenz.co.nz
* updates: mirror.fysik.dtu.dk
No Packages marked for Update
[root@webserver ~]# yum update
Loaded plugins: fastestmirror, smeserver
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: mirror.fysik.dtu.dk
* smeaddons: koozali.groenz.co.nz
* smeextras: koozali.groenz.co.nz
* smeos: koozali.groenz.co.nz
* smeupdates: koozali.groenz.co.nz
* smeupdates-testing: koozali.groenz.co.nz
* updates: mirror.fysik.dtu.dk
No Packages marked for Update
[root@webserver ~]#
-
Neggard
Disable the smeupdates-testing repo or you will install unwanted packages & create other problems.
Then do
yum clean all --enablerepo=*
Then try again
yum update
If that still does not work tell us whether you have an upstream proxy server in front of your SME server
-
[root@webserver ~]# yum clean all --enablerepo=*
Loaded plugins: fastestmirror, smeserver
Cleaning repos: base centosplus contrib extras fasttrack smeaddons smecontribs smedev smeextras
: smeos smetest smeupdates smeupdates-testing updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@webserver ~]# yum update
Loaded plugins: fastestmirror, smeserver
Setting up Update Process
Determining fastest mirrors
* base: ftp.crc.dk
* smeaddons: mirror.canada.pialasse.com
* smeextras: mirror.canada.pialasse.com
* smeos: mirror.canada.pialasse.com
* smeupdates: mirror.canada.pialasse.com
* updates: mirror.fysik.dtu.dk
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:00
smeaddons | 2.9 kB 00:00
smeaddons/primary_db | 1.2 kB 00:00
smeextras | 2.9 kB 00:00
smeextras/primary_db | 109 kB 00:00
smeos | 3.1 kB 00:00
smeos/primary_db | 1.0 MB 00:01
smeupdates | 2.9 kB 00:00
smeupdates/primary_db | 115 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 1.9 MB 00:00
No Packages marked for Update
[root@webserver ~]#
I use SME as a server, before SME I have a firewall with IPfire.
On IPfire I running webproxy for filtering virus and advertise ads.
I have just start using SME server and I like it.
Before I tried it I looked at ClearOS but that was to big and you need an account and other.
The thing I liked with IP fire is DynamicDNS that support loopia.se.
But if SME have the DynDNS with loopia and ability to filter my traffic for virus and advertise ads I maybe consider change to just running SME.
I suppose it SME have a pretty fast firewall.
What do you think is the best?
-
Just so there is no misunderstanding..
A clean sme9 beta 2 install - yum upgrade 186mb of updates/upgrades
login as: root
root@192.168.2.92's password:
Last login: Mon Oct 5 02:10:07 2015
[root@sme91b2 ~]# yum upgrade
Loaded plugins: fastestmirror, smeserver
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
* base: mirror.optus.net
* smeaddons: mirror.canada.pialasse.com
* smeextras: mirror.canada.pialasse.com
* smeos: mirror.canada.pialasse.com
* smeupdates: mirror.canada.pialasse.com
* updates: mirror.as24220.net
Resolving Dependencies
--> Running transaction check
---snip---
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
kernel x86_64 2.6.32-573.7.1.el6 updates 30 M
Updating:
bash x86_64 4.1.2-33.el6_7.1 updates 908 k
---snip---
yum noarch 3.2.29-69.el6.centos base 1.0 M
Installing for dependencies:
python-argparse noarch 1.2.1-2.1.el6 base 48 k
redhat-rpm-config noarch 9.0.3-44.el6.centos base 59 k
vim-filesystem x86_64 2:7.4.629-5.el6 base 15 k
Transaction Summary
================================================================================
Install 4 Package(s)
Upgrade 157 Package(s)
Total download size: 186 M
Is this ok [y/N]:
-
I too have a clean sme9 beta 2 installation.
But I cant get it to beta 3.
I really want to upgrade, I need this :)
Add an upload_tmp_folder setting by db command
-
If I do a backup and reinstall with beta 3, does the backup system backup my i-bays?
-
neggard
Sometimes a proxy server in front of your SME can block updates using yum. You need to temporarily disable the proxy server.
See
http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section01#Yum_.28system_updates.29
I am having a similar problem to you, but have not had time to investigate why as yet, see comments below.
If I do a backup and reinstall with beta 3, does the backup system backup my i-bays?
Yes, but you should not need to be doing this yet, hold off a while if that is your attempt to resolve the upgrade.
Let devs find the problem with yum update (if there is one) or let repos have time to get updated.
Despite Terrys success, & I think he is in Australia, (Sydney ?) as I am, I tried upgrading using yum & it was not successful
This is on a Vbox VM SME9.0 install from CD, upgraded to 9.1beta2 using CD (burnt from iso), then attempted yum update to 9.1beta3, running server & gateway mode with a bridged modem in front of my server.
Yum update worked previously from this setup when testing 9.0 to 9.1beta2 yum update.
[root@xxxxxx ~]# yum update
Loaded plugins: fastestmirror, smeserver
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.digitalpacific.com.au
* smeaddons: smeserver.hkisl.net
* smeextras: smeserver.hkisl.net
* smeos: smeserver.hkisl.net
* smeupdates: smeserver.hkisl.net
* updates: mirror.ventraip.net.au
No Packages marked for Update
I also tried this first
yum clean all --enablerepo=*
As the beta3 was only released on 2 October, maybe the updates are not yet in the correct repo.
Best move would be to post a bug.
If you are in a hurry to do the update, (& I have not tested this beta3 release iso yet but expect it would work) is to download the beta3 iso & burn a disk from the image, then do an upgrade from CD or DVD. You can upgrade over the existing installation & all data & settings should be retained.
Do a backup first just to play safe in case something goes wrong.
...Add an upload_tmp_folder setting by db command
That functionality is already in 9.1beta2 release, so you should be able to do that now, check the release notes for 9.1beta2.
-
In Melbourne Janet..
Clean install on a Esxi VM from the iso..
Scratching my head here..
-
neggard & TerryF
Oops. It was early in the morning when I answered. Had more sleep since then.
I tricked myself by using the command that Terry issued, he must have smeupdates-testing enabled permanently.
I realised to enable smeupdates-testing temporarily, & yum update works OK now.
As the version is still in beta, it has not been released or moved to smeupdates repo, & is still in smeupdates-testing.
Going from 9.1beta2 to 9.1beta3 there are 9.6Mb of updates
So for me it works OK.
This does not appear to be a bug with repos.
Neggard maybe your problem is the proxy server, you can diasable that tempoerarily or use the workaround to bypass it.
I have that problem when using dansguardian on my gateway SME server at another location & need to temporarily disable dansguardian related db settings when doing yum updates on a server behind my main SME gateway.
[root@xxxxxxd ~]# yum update --enablerepo=smeupdates-testing
Loaded plugins: fastestmirror, smeserver
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.digitalpacific.com.au
* smeaddons: smeserver.hkisl.net
* smeextras: smeserver.hkisl.net
* smeos: smeserver.hkisl.net
* smeupdates: smeserver.hkisl.net
* smeupdates-testing: mirror.canada.pialasse.com
* updates: mirror.ventraip.net.au
......snip.....
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
dar i686 2.4.18-1.el6 smeupdates-testing 774 k
e-smith-base noarch 5.6.0-24.el6.sme smeupdates-testing 342 k
e-smith-domains noarch 2.4.0-3.el6.sme smeupdates-testing 25 k
e-smith-openssh noarch 2.4.0-6.el6.sme smeupdates-testing 51 k
e-smith-samba noarch 2.4.0-22.el6.sme smeupdates-testing 106 k
initscripts i386 9.03.49-1.el6.sme.1.1 smeupdates-testing 944 k
libdar i686 2.4.18-1.el6 smeupdates-testing 639 k
perl-Net-Server noarch 2.007-2.el6 smeupdates-testing 208 k
perl-Object-Persistence noarch 0.92-5.el6.sme smeupdates-testing 14 k
proftpd i686 1.3.3g-6.el6 smeupdates-testing 3.3 M
qpsmtpd noarch 0.84-15.el6.sme smeupdates-testing 180 k
qpsmtpd-plugins noarch 0.0.1-4.el6.sme smeupdates-testing 19 k
smeserver-clamav noarch 2.4.0-4.el6.sme smeupdates-testing 51 k
smeserver-locale-bg noarch 2.4.0-22.el6.sme smeupdates-testing 73 k
smeserver-locale-da noarch 2.4.0-22.el6.sme smeupdates-testing 72 k
smeserver-locale-de noarch 2.4.0-22.el6.sme smeupdates-testing 75 k
smeserver-locale-el noarch 2.4.0-22.el6.sme smeupdates-testing 71 k
smeserver-locale-es noarch 2.4.0-22.el6.sme smeupdates-testing 74 k
smeserver-locale-et noarch 2.4.0-22.el6.sme smeupdates-testing 71 k
smeserver-locale-fr noarch 2.4.0-22.el6.sme smeupdates-testing 74 k
smeserver-locale-he noarch 2.4.0-22.el6.sme smeupdates-testing 62 k
smeserver-locale-hu noarch 2.4.0-22.el6.sme smeupdates-testing 74 k
smeserver-locale-id noarch 2.4.0-22.el6.sme smeupdates-testing 72 k
smeserver-locale-it noarch 2.4.0-22.el6.sme smeupdates-testing 71 k
smeserver-locale-ja noarch 2.4.0-22.el6.sme smeupdates-testing 61 k
smeserver-locale-nb noarch 2.4.0-22.el6.sme smeupdates-testing 72 k
smeserver-locale-nl noarch 2.4.0-22.el6.sme smeupdates-testing 74 k
smeserver-locale-pl noarch 2.4.0-22.el6.sme smeupdates-testing 65 k
smeserver-locale-pt noarch 2.4.0-22.el6.sme smeupdates-testing 73 k
smeserver-locale-pt_BR noarch 2.4.0-22.el6.sme smeupdates-testing 73 k
smeserver-locale-ro noarch 2.4.0-22.el6.sme smeupdates-testing 71 k
smeserver-locale-ru noarch 2.4.0-22.el6.sme smeupdates-testing 78 k
smeserver-locale-sl noarch 2.4.0-22.el6.sme smeupdates-testing 70 k
smeserver-locale-sv noarch 2.4.0-22.el6.sme smeupdates-testing 73 k
smeserver-locale-th noarch 2.4.0-22.el6.sme smeupdates-testing 70 k
smeserver-locale-tr noarch 2.4.0-22.el6.sme smeupdates-testing 72 k
smeserver-locale-zh_CN noarch 2.4.0-22.el6.sme smeupdates-testing 70 k
smeserver-locale-zh_TW noarch 2.4.0-22.el6.sme smeupdates-testing 64 k
smeserver-qpsmtpd noarch 2.4.0-11.el6.sme smeupdates-testing 113 k
smeserver-support noarch 2.6.0-5.el6.sme smeupdates-testing 68 k
spamassassin i386 3.3.2-60.el6.sme smeupdates-testing 1.1 M
Installing for dependencies:
perl-IO-Multiplex noarch 1.13-1.el6 smeupdates-testing 24 k
Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 41 Package(s)
Total download size: 9.6 M
Is this ok [y/N]:
-
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..
-
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.
-
cat /etc/redhat-release
-
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
****************************************************
-
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.
-
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
-
Hi stephdl
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
-
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
-
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, 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
-
Daniel B then I hold my horses until friday.
Thanks for all help, I think SME is gonna be my main serverdistro now.
-
Daniel B then I hold my horses until friday.
I meant past friday ;-)
-
TerryF
....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.
-
neggard
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