Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: imcintyre on February 08, 2007, 01:37:06 AM
-
I have a SME server 7.0 install production server and a 7.1 test server I just constructed. I read in the announcement that the updates for 7.1 will be made available as updates for 7.0. All good so far.
I have updates on my v7.0 box set to check daily. The main page still readsSME Server 7.0
Copyright 1999-2006 Mitel Corporation
All rights reserved.
Copyright 2006 SME Server, Inc.
How do/will I know that the updates are being install. I tried looking in the logs but couldn't discern anything useful. Thanks in advance for your help.
-
First of all, updates aren't installed automatically. If there are updates available you will see this on the server-manager Software Installer page. You then have to click the appropriate button to "Install updates now".
Furthermore, you could check which repositories have been enabled in the server-manager/software installer settings. For a basic SME server "SME server - addons", "SME server - OS" and "SME server - updates" should be enabled.
Also check the logs called yum/yum.log. That should tell you which updates have been performed.
Finally, you could run this command:
# yum check-update
that will show if any updates are available.
Good luck,
Oz
-
Have you checked the admin mailbox for a "you have updates" email?
===
=== yum reports available updates:
===
bind-libs.i386 20:9.2.4-24.EL4 updates
bind-utils.i386 20:9.2.4-24.EL4 updates
fetchmail.i386 6.2.5-6.el4.5 updates
gtk2.i386 2.4.13-22 updates
kernel.i686 2.6.9-42.0.8.EL updates
kernel-smp.i686 2.6.9-42.0.8.EL updates
rkhunter.noarch 1.2.8-4.el4.sme smeupdates
smeserver-mailsorting.noarch 1.2-3 dungog
sysstat.i386 5.0.5-11.rhel4 base
texinfo.i386 4.7-5.el4.2 updates
xorg-x11-Mesa-libGL.i386 6.8.2-1.EL.13.37.5 updates
xorg-x11-deprecated-libs.i386 6.8.2-1.EL.13.37.5 updates
xorg-x11-libs.i386 6.8.2-1.EL.13.37.5 updates
-
Ozmoosis: I followed your thread with the following results:
I have never looked at these pages before. My "Software Installer" page looks like this:
Software installer
Remove installed software
--------------------------------------------------------------------------------
Check for updates daily Enabled
Manage individual packages Enabled
Change software installer settings
Software installer
Check for updates daily DisabledEnabled
The software installer can manage groups of related package or individual packages. By default, only groups of packages are presented. If you wish to manage individual packages, enable this option. This should only be done by experienced administrators.
Manage individual packages DisabledEnabled
The software installer can install software from any of enabled repositories. To enable a repository, select it from the list. To disable a repository, de-select it from the list. By default, only stable, tested software is available for installation.
Enabled repositories SME Server - addonsSME Server - osSME Server - updatesSME Server - updates testing
I noticed that the updates testing is enabled is this ok?
I logged in as root and ran the code suggested with the following results:
[root@mcserver1 ~]# yum check-update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
================================================================
No new rpms were installed. No additional commands are required.
================================================================
I would read this as up to date. The server has been up and running for 6 months or more but I have never installed except Vip-ire's Openvpn and MoinMoin wiki. Those installs are a couple of months old also.
Does this seem right?
-
I logged in as root and ran the code suggested with the following results:
[root@mcserver1 ~]# yum check-update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
================================================================
No new rpms were installed. No additional commands are required.
================================================================
I would read this as up to date. The server has been up and running for 6 months or more but I have never installed except Vip-ire's Openvpn and MoinMoin wiki. Those installs are a couple of months old also.
Does this seem right?
No, you have only enabled the smeaddons repository. No updates will be found there at the moment. You can enable the repositories per the server-manager by Ctrl+clicking the repositories in the list on the Software Installer page.
An easier option (as I know upgrade from stock 7.0 to 7.1 will provide a few issues) is to issue the following command from the server shell (which will temporary enable smeos and smeupdates repositories):
yum update --enablerepo=smeupdates --enablerepo=smeos
This should list you with a little over 200 packages that will be updated I guess, this will take a while. After the command has completed do not forget to issue the following commands:
signal-event post-upgarde
signal-event reboot
After the reboot you should see that your server is version 7.1. At boot time be sure to check that you have the correct kernel (as this was also a bug that after a upgrade the wrong kernel sometimes was selected).
After the reboot check in the server manager that at least the following repositories are selected for updates:
- CentOS - os
- CentOS - updates
- SME Server - addons
- SME Server - os
- SME Server - updates
Good luck!
-
Thanks for your help, Cactus. However, I disagree with having the Centos repositories enabled in the update settings.
As a matter of fact, you yourself told me not enable them in an answer to a question I posted about updates last december !!! ;-)
Oz
-
Thanks for your help, Cactus. However, I disagree with having the Centos repositories enabled in the update settings.
As a matter of fact, you yourself told me not enable them in an answer to a question I posted about updates last december !!! ;-)
Oz
Policy changed.
Check the bug tracker. (http://bugs.contribs.org/show_bug.cgi?id=1849)
-
As a matter of fact, you yourself told me not enable them in an answer to a question I posted about updates last december !!! ;-)
I know I adviced against it at that time, that was because at that time it was advised (by the development team) not to do so, like william_syd already explained:Policy changed.
Check the bug tracker. (http://bugs.contribs.org/show_bug.cgi?id=1849)
The policies of the development team have changed: new installs will have the base and updates repository enabled by default, upgrades from older version will have them visible but not enabled by default. The latter is done so not to surprise people...
-
Cactus:
I'm a complete "tard" with respect to your advice. I have two concerns:
1) An easier option (as I know upgrade from stock 7.0 to 7.1 will provide a few issues) is to issue the following command from the server shell (which will temporary enable smeos and smeupdates repositories):
This is my home "production" server/gateway so I would like to avoid "issues". Nothing like people sulking cause chat rooms and you tube are not accessible. I will follow your 2nd advice and putty into the server as root and run the code you specified. You mentioned that the update will take "some time". The server is also my gateway. Will my network have access during that time or should I run overnight. Does the update require my input, e.g. selecting yes/no?
2) After the reboot you should see that your server is version 7.1. At boot time be sure to check that you have the correct kernel (as this was also a bug that after a upgrade the wrong kernel sometimes was selected).
Where/how will I check for version?
Thanks in advance for your patience and help.
-
1. You server will act like normal when you're upgrading. Then it wil reboot and that'll take a few minutes more than usual.
2. The simplest way to do this is to look at the server-manager console. You should see SME server 7.1 on the first page.
3. You shouldn't have issues with updating trough server-manager.
-
Thx all, it appeared to work perfectly. There were 263 packages installed/modified as I recall.
I checked the software installer page and have the following repositories enabled
CentOS - os
CentOS - updates
SME Server - addons
SME Server - os
SME Server - updates
SME Server - updates testing
Two questions:
1) What is "updates testing" repository and should it be enabled?
2) Is the procedure I just followed the one I will have to do all the time?
-
Disable updates-testing. You can do this torugh server-manager pannel. Under software installer/change settings.
The proces is managed trough the server-manager pannel. So no you won't have to undergo the same proces. You'll be notified of new updates trough admin mail and then you'll be able to update trough pannel. (software installer/update)
You wanted to update trough ssh and this is fine but the update under server-manager software would do the same and just as well.
The only difference between the two was in 7.0 when you couldn't see what the server was doing. You can see what the server is doing in 7.1 so i use the pannel a lot more for updates now that i can see if the server works or if it had an error or something similar.
-
Thanks again. I did have a problem in that several hours after update and using signal event commands with reboot, the server seemed to freeze. I could not putty into it and the keyboard/monitor on the computer itself would not respond. I powered it down and restarted and everything seems back to normal. I'll keep an eye on it.
-
I went into the Software Installer to remove "SME Server - updates testing" but could not find a way to select or deselect from the menu, even though it says you can. Any advice?
-
To deselect a repository:
Hold down the CTRL-key and click on the repo you want to deselect. The line you click should turn white, the others should stay what they were (blue or white). Release CTRL and click the Save button.
If you make a mistake, then don't click the Save button, just go back and start again,
Oz
-
Thanks again. I did have a problem in that several hours after update and using signal event commands with reboot, the server seemed to freeze. I could not putty into it and the keyboard/monitor on the computer itself would not respond. I powered it down and restarted and everything seems back to normal. I'll keep an eye on it.
If you get this problem again search for my posts. It has been adressed.