Hi everyone
As some of you may have noticed, updating the SAIL 3.1 ISO (from
http://www.sailpbx.com/iso/) with yum causes dependency problems due to the need to have the various kernel modules match the installed kernel. Right now the latest SME kernel does not have a matching set of modules in either the
asterisk-current or
digium-current repositories.
However, with a bit of massaging it is possible to update almost everything. The trick is to manually install the right kernel, currently
2.6.18-308.8.2, first. This is actually a minor downgrade from the kernel included on the ISO, but doesn't appear to break anything.
Please note that I have only worked out how to do this very recently and haven't had much of a chance to test the resulting build!Anyway, if you're keen to try it out, here's how to do your update. First, let's download and install the new kernel:
cd /tmp
wget http://ftp.riken.jp/Linux/centos/5.8/updates/i386/RPMS/kernel-2.6.18-308.8.2.el5.i686.rpm
yum localinstall kernel-2.6.18-308.8.2.el5.i686.rpm
Now we need to stop SME Server from trying to update the kernel automatically:
db yum_repositories setprop smeupdates Exclude kernel
db yum_repositories setprop updates Exclude initscripts,libgsf,kernel
db yum_repositories setprop base Exclude initscripts,libgsf,kernel
signal-event yum-modify
Once this is done we can run an update session which includes the asterisk-current repository, which is hosted on Asterisk.org. Note that attempting to update from the Digium repository currently fails.
yum --enablerepo=asterisk-current update
signal-event post-upgrade
signal-event reboot
Doing this update appears to reset some of the yum exclusions, so we'll need to re-apply them:
db yum_repositories setprop updates Exclude initscripts,libgsf,kernel
db yum_repositories setprop base Exclude initscripts,libgsf,kernel
signal-event yum-modify
Now that we have a working solution, you may wish to try exposing the asterisk-current repository to the graphical server-manager updater. This step is optional and may break your updating function in the future.
db yum_repositories setprop asterisk-current status enabled
db yum_repositories setprop asterisk-current Visible yes
signal-event yum-modify
And finally, we can update to the latest version of the 3.1 series of SAIL:
cd /tmp
wget http://www.sailpbx.com/sail/sail-3.1/sail-3.1.1-43.noarch.rpm
yum localinstall sail-3.1.1-43.noarch.rpm
Alternatively, you can upgrade to the latest in the V4 (beta/development) series:
cd /tmp
wget http://www.sailpbx.com/sail/sail-4.0/rpms/sail-4.0.0-103.noarch.rpm
wget http://www.sailpbx.com/sail/sail-4.0/rpms/smesailenv-4.0.0-11.noarch.rpm
yum localinstall s*.noarch.rpm
Let's reboot and start configuring our new install!
signal-event post-upgrade
signal-event reboot
Don't forget that if you upgrade to V4 then the SAIL admin password has been decoupled from the underlying SME admin password. The default V4 SAIL password is
sarkadmin.