Difference between revisions of "SME Server 8"

From SME Server
Jump to navigationJump to search
Line 29: Line 29:
  
 
=====Setting up your SME Server 8 repository=====
 
=====Setting up your SME Server 8 repository=====
Setup with the following yum repositories...
+
Check to make sure your server has the prerequisites:
  
  /sbin/e-smith/db yum_repositories set sme8os repository \
+
  rpm -q smeserver-yum
Name 'SME Server 8 - smeos' \
 
BaseURL 'http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/testing/8/smeos/i386/' \
 
EnableGroups yes \
 
GPGCheck no \
 
Visible yes \
 
status enabled
 
  
/sbin/e-smith/db yum_repositories set sme8updates repository \
+
If your version isn't at least 1.2.0-21, then upgrade as below:
Name 'SME Server 8 - smeupdates' \
 
BaseURL 'http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/testing/8/smeupdates/i386/' \
 
EnableGroups yes \
 
GPGCheck no \
 
Visible yes \
 
status enabled
 
  
Expand your yum.conf...
+
rpm -Uvh http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/smeserver-yum-1.2.0-25.el4.sme.noarch.rpm \
 +
http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/yum-plugin-fastestmirror-0.2.4-3.c4.noarch.rpm
 +
 
 +
Setting up the repos/yum for upgrade to take place:
 +
 
 +
db yum_repositories print | grep '^sme' | cut -d= -f1 | while read repo
 +
do
 +
    db yum_repositories setprop $repo MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/$repo-8
 +
done
 
  signal-event yum-modify
 
  signal-event yum-modify
 +
rm -rf /var/cache/yum/*
 +
 +
Now perform the upgrade (--enable smeupdates-testing may be needed)
 +
 +
yum --disablerepo smeextras upgrade
  
Clean up, after you have upgraded with the following instructions these repositories will appear in your yum repository listing twice, ie. sme8os/smeos sme8updates/smeupdates remove them with
+
Complete the final post upgrade steps:
  /sbin/e-smith/db yum_repositories delete sme8os
+
 
  /sbin/e-smith/db yum_repositories delete sme8updates
+
  rm -f /var/lib/rpm/__db.00*
  signal-event yum-modify
+
  rpm --rebuilddb
 +
  signal-event post-upgrade
 +
signal-event reboot
  
 
=====SME Server 7.4=====
 
=====SME Server 7.4=====

Revision as of 19:57, 3 November 2009

Status: Beta

SME Server Version 8 will be the next major version of SME Server, and will involve upgrading the base to CentOS 5. SME Server 8.0beta4 is based on CentOS 5.3.

See the Release Announcement for Beta4.

A copy of the Beta4 CD image can be downloaded here.

Testing

Coordinator

  • Gavin Weight

All users are encouraged to test, see our draft quality assurance testing page for tasks SME8.0_QA

Considerations before installing

Please, please any issues report to our bug tracker under the SME Server 8 section

This way all problems can be fixed as quickly, early and efficiently as possible by the development team.

Since SME Server 8.0 is still beta no contribs will be released. Once the Release Candidate status is reached contribs will be released for contrib owners to check if their packages need updating. For testing of contribs in advance of release see SME8.0_Contribs_QA

Upgrade paths

CD

Upgrading from CD should work fine. If not file a bug here .

Yum

Setting up your SME Server 8 repository

Check to make sure your server has the prerequisites:

rpm -q smeserver-yum

If your version isn't at least 1.2.0-21, then upgrade as below:

rpm -Uvh http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/smeserver-yum-1.2.0-25.el4.sme.noarch.rpm \
http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/yum-plugin-fastestmirror-0.2.4-3.c4.noarch.rpm

Setting up the repos/yum for upgrade to take place:

db yum_repositories print | grep '^sme' | cut -d= -f1 | while read repo
do
   db yum_repositories setprop $repo MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/$repo-8
done
signal-event yum-modify
rm -rf /var/cache/yum/*

Now perform the upgrade (--enable smeupdates-testing may be needed)

yum --disablerepo smeextras upgrade

Complete the final post upgrade steps:

rm -f /var/lib/rpm/__db.00*
rpm --rebuilddb
signal-event post-upgrade
signal-event reboot
SME Server 7.4
Important.png Note:
You are advised to only upgrade clean machines, e.g. without contribs or other modifications.


If you are running a fresh installation of SME Server 7.4 may upgrade, detail review of upgrade paths will start with RC versions.

  1. Install the necessary packages from the sme8os repository: yum upgrade --disablerepo=* --enablerepo=sme8os --enablerepo=sme8updates
  2. Once completed issue signal-event post-upgrade; signal-event reboot
SME Server 7.0, 7.1.x, 7.2 or 7.3
Important.png Note:
You are advised to only upgrade clean machines, e.g. without contribs or other modifications.


If you are trying to upgrade from a 7.0, 7.1.x, 7.2 or 7.3 server upgrading yum will fail with the following error:

--> Finished Dependency Resolution
Error: Missing Dependency: yum-metadata-parser is needed by package yum

You can solve this using the following steps:

  1. You will need to download the yum-metadata-parser package from the SME Server 7 repository: wget http://mirror.contribs.org/smeserver/releases/7/smeos/i386/SME/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm
  2. Manually install the package as below: rpm -Uvh --oldpackage yum-metadata-parser-1.0-8.el4.centos.i386.rpm
  3. Then type from command line: yum clean all
  4. After that you should be able to upgrade with the following command: yum upgrade --disablerepo=* --enablerepo=sme8os --enablerepo=sme8updates
  5. After this step completes you will see at the end of the transaction note the error in bold: xorg-x11-libs.i386 0:6.8.2-1.EL.33 yum-plugin-fastestmirror.noarch 0:0.2.4-3.c4 Complete! rpmdb: Program version 4.3 doesn't match environment version error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages index using db3 - (-30974) error: cannot open Packages database in /var/lib/rpm ============================================================== WARNING: You now need to run BOTH of the following commands to ensure consistent system state: signal-event post-upgrade; signal-event reboot You should run these commands unless you are certain that yum made no changes to your system. ============================================================== You will need to run at command line the following before issuing step 6. rm -f /var/lib/rpm/__db.00* rpm --rebuilddb
  6. Once completed issue signal-event post-upgrade;signal-event reboot

Problems and bugs

If you have any bug issues with upgrading please open a new SME Server 8.x file a bug here


Major Changes

  • CentOS 5 has dropped support for i586 and therefore SME Server 8 will not work on i586 hardware. See bugzilla:2845. i586 hardware means processors before and including Intel Pentium, Pentium MMX; AMD K5, K6, K6-II, K6-III and Via C3. i686 architecture processors are Intel Pentium Pro, Pentium II, Pentium III; AMD Athlon, Athlon XP and later.