Koozali.org: home of the SME Server

Upgrade from 9.1 beta 2 to 9.1 beta3?

Offline neggard

  • **
  • 29
  • +0/-0
Upgrade from 9.1 beta 2 to 9.1 beta3?
« 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?

guest22

Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #1 on: October 04, 2015, 05:40:30 AM »
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.

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #2 on: October 04, 2015, 06:08:39 AM »
Approx 90mb of upgrades :-)
--
qui scribit bis legit

Offline neggard

  • **
  • 29
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #3 on: October 04, 2015, 03:08:06 PM »
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.


guest22

Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #4 on: October 04, 2015, 03:10:27 PM »
"yum update" ?

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #5 on: October 04, 2015, 03:18:37 PM »
yum upgrade on a beta 2 install realised 89mb of updates..
--
qui scribit bis legit

Offline neggard

  • **
  • 29
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #6 on: October 04, 2015, 03:40:09 PM »
[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 ~]#

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #7 on: October 04, 2015, 04:23:28 PM »
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



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

Offline neggard

  • **
  • 29
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #8 on: October 04, 2015, 04:34:43 PM »
[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?

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #9 on: October 04, 2015, 05:17:27 PM »
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]:
--
qui scribit bis legit

Offline neggard

  • **
  • 29
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #10 on: October 04, 2015, 07:08:29 PM »
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


Offline neggard

  • **
  • 29
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #11 on: October 04, 2015, 07:16:05 PM »
If I do a backup and reinstall with beta 3, does the backup system backup my i-bays?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #12 on: October 04, 2015, 09:30:08 PM »
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.

Quote
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.

Quote
...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.
« Last Edit: October 04, 2015, 09:35:46 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 TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #13 on: October 05, 2015, 02:13:02 AM »
In Melbourne Janet..

Clean install on a Esxi VM from the iso..

Scratching my head here..
--
qui scribit bis legit

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Upgrade from 9.1 beta 2 to 9.1 beta3?
« Reply #14 on: October 05, 2015, 02:41:08 AM »
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]:
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.