Difference between revisions of "SME Server 8"

From SME Server
Jump to navigationJump to search
m
(Rewrite of the yum update section, updated yum commands to use official parameters)
Line 39: Line 39:
 
  expand-template /etc/yum.conf
 
  expand-template /etc/yum.conf
  
Then run yum command
+
=====SME Server 7.3=====
yum upgrade --disable '*' --enable sme8os
 
  
Once completed issue
+
You are adviced to only upgrade clean machines, e.g. without contribs or other modifications.
signal-event post-upgrade;signal-event reboot
+
 
 +
If you are running a fresh installation of SME Server 7.3 your upgrade should run problem free, if not please {{BugzillaFileBug|product=SME%20Server%20Release%208.X|component=|comment=|summary=|title=file a bug here}}.
  
=====If your running SME Server 7.x (clean install & excluding 7.3)=====
+
You can upgrade your clean SME Server 7.3 server by following these steps:
  
Upgrading via yum if you have SME Server 7.x clean (Excluding 7.3) install can now be done, you will first encounter this error:
+
<ol></li><li>Install the necessary packages from the sme8os repository:
 +
yum upgrade --disablerepo=* --enablerepo=sme8os
 +
</li><li>Once completed issue
 +
signal-event post-upgrade; signal-event reboot
 +
</li></ol>
 +
=====SME Server 7.0, 7.1.x or 7.2=====
 +
If you are trying to upgrade from a 7.0, 7.1.x or 7.2 server upgrading yum will fail with the following error:
  
 
  --> Running transaction check
 
  --> Running transaction check
Line 67: Line 73:
 
  [root@example ~]#
 
  [root@example ~]#
  
You will need to download from the [http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7.3/smeos/i386/SME/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm yum-metadata-parser] and manually install the package as below:
+
You can solve this using the following steps:
 
+
<ol></li><li>You will need to download the yum-metadata-parser package from the SME Server 7.3 repository:
 +
wget <nowiki>http://mirror.contribs.org/smeserver/releases/7.3/smeos/i386/SME/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm</nowiki>
 +
</li><li>Manually install the package as below:
 
  rpm -Uvh --oldpackage yum-metadata-parser-1.0-8.el4.centos.i386.rpm
 
  rpm -Uvh --oldpackage yum-metadata-parser-1.0-8.el4.centos.i386.rpm
 
+
</li><li>Then type from command line:
Then type from command line:
 
  
 
  yum clean all
 
  yum clean all
 +
</li><li>After that you should be able to upgrade with the following command:
 +
yum upgrade --disablerepo=* --enablerepo=smeos
 +
</li><li>Once completed issue
 +
signal-event post-upgrade;signal-event reboot
 +
</li></ol>
  
followed by:
+
===Problems and bugs===
 
 
yum upgrade --disable "*" --enable smeos
 
 
 
Now you should be on your way to upgrading to SME Server 8beta :)
 
 
 
=====If your running SME Server 7.3 (clean install)=====
 
 
 
 
 
If you have SME Server 7.3 clean install you will be able to upgrade to SME Server 8beta without any issues.
 
 
 
You should only do this if you are interested in helping with development/testing and of course if you find a bug remember to report to our bug tracker.
 
 
 
 
 
 
If you have any bug issues with upgrading please open a new SME Server 8.x {{BugzillaFileBug|product=SME%20Server%20Release%208.X|component=|comment=|summary=|title=file a bug here}}
 
If you have any bug issues with upgrading please open a new SME Server 8.x {{BugzillaFileBug|product=SME%20Server%20Release%208.X|component=|comment=|summary=|title=file a bug here}}
  

Revision as of 13:24, 21 January 2008

Status: Beta

SME Server Version 8 will be the next major version of SME Server, and will involve upgrading the base to CentOS 5. We are just in the early stages of development, but so far things look good.

See the Release Announcement for Beta1 http://forums.contribs.org/index.php?topic=39499.0

http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/testing/8.0/iso/i386/ - 8.0 beta1 (based on CentOS 5.1)

Please, please any issues report to our bug tracker under the SME Server 8 section.
(especially with SME Server 8.0beta1 as this is an early beta release) 

Notes:
 - Also no contribs will be released for 8.0 until we get to the RC status.

New Install

Install with the CD, should work fine. If not report a bug.

Upgrade paths

With CD

Should work fine. If not report a bug.

bugzilla:3726

With Yum

Setting up your SME Server 8 repository

Setup with the following yum repositories...

/sbin/e-smith/db yum_repositories set sme8os repository \
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

Expand your yum.conf...

expand-template /etc/yum.conf
SME Server 7.3

You are adviced to only upgrade clean machines, e.g. without contribs or other modifications.

If you are running a fresh installation of SME Server 7.3 your upgrade should run problem free, if not please file a bug here .

You can upgrade your clean SME Server 7.3 server by following these steps:

  1. Install the necessary packages from the sme8os repository: yum upgrade --disablerepo=* --enablerepo=sme8os
  2. Once completed issue signal-event post-upgrade; signal-event reboot
SME Server 7.0, 7.1.x or 7.2

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

--> Running transaction check
--> Processing Dependency: libstartup-notification-1.so.0 for package: libwnck
--> Processing Dependency: yum-metadata-parser for package: yum
--> Processing Dependency: startup-notification >= 0.5 for package: libwnck
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for startup-notification to pack into transaction set.
startup-notification-0.8- 100% |=========================| 5.0 kB    00:00
---> Package startup-notification.i386 0:0.8-4.1 set to be updated
--> Running transaction check
--> Processing Dependency: yum-metadata-parser for package: yum
--> Finished Dependency Resolution
Error: Missing Dependency: yum-metadata-parser is needed by package yum
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@example ~]#

You can solve this using the following steps:

  1. You will need to download the yum-metadata-parser package from the SME Server 7.3 repository: wget http://mirror.contribs.org/smeserver/releases/7.3/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=smeos
  5. 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