Difference between revisions of "SME Server 8"

From SME Server
Jump to navigationJump to search
m (SME 8 is discontinued)
 
(108 intermediate revisions by 25 users not shown)
Line 1: Line 1:
===Status: Beta===
+
<blockquote style="background-color: #EEFFD9; border: solid thin grey; padding: 7px 7px 7px 7px;box-shadow: 3px 3px 3px #888888;">
 +
<center>
 +
<span style="font-size:150%;">Announcing '''Koozali SME Server 8 series is discontinued'''</span><br>
 +
The Koozali SME Server development team is announcing the discontinuation of the Koozali SME Server 8.x series as per <br>'''March 31, 2017'''.<br>
 +
Please see [https://forums.contribs.org/index.php/topic,52058.0.html this post] for more information.</center></blockquote>
 +
{{Donate}}
  
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. SME Server 8.0beta1 is based on CentOS 5.1.
+
===Status: Final Release===
  
See the [http://forums.contribs.org/index.php?topic=39499.0 Release Announcement for Beta1].
+
SME Server Version 8.0 is the current major version of SME Server, and is based on CentOS 5.8. http://wiki.contribs.org/SME_Server:About
  
A copy of the CD image can be downloaded [http://mirror.contribs.org/smeserver/releases/testing/8.0/iso/i386/ here].
+
See the [http://forums.contribs.org/index.php/topic,48671.0.html Release Announcement for 8.0 Final].
  
===Testing Team===
+
A copy of the latest CD image can be downloaded [http://mirror.contribs.org/smeserver/releases/8/iso/i386/ here].
 +
===SME Server 8.1beta2===
  
Here are a list of the Testing Team for this release.
+
Due to the large number and size of updates for SME 8.0, we are working on a new installer ISO to include all updates of CentOS 5.9 in SME Server 8.1. Please,  use only for test purpose to help with development. You should read these [[SME_Server:8.1|notes]] to be aware of any and all new features.
  
Gavin Weight (Coordinator)
+
See this [[SME_Server:Download#Testing_release|wiki page]] to download the ISO.
Craig Jensen (~10 hrs a week)
+
 
 +
===Testing===
 +
 
 +
All users are encouraged to test, see our draft quality assurance testing page for tasks [[SME8.0 QA]]
 +
 
 +
All testing should be based on the released version plus updates from smeupdates-testing.
  
 
===Considerations before installing===
 
===Considerations before installing===
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). This way all problems can be fixed as quickly, early and efficiently as possible by the development team.
+
{{Note box|After installing the 8.0 final release, users should ensure that smeupdates-testing repo is disabled in the server-manager panel, if it was previously enabled during beta testing.}}
{{Note box|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.}}
+
 
 +
{{Note box|You are advised to only upgrade clean machines, e.g. without contribs or other modifications. If any contribs is installed you must remove them; you may re-install contribs after upgrade. All contribs settings are saved in /etc/e-smith/templates or /etc/e-smith/templates-custom so when you re-install any contrib settings will be retrieved.}}
 +
 
 +
See [[Bugzilla: 6732]] and [[Bugzilla: 7056]]
 +
{{Note box|Before performing an upgrade to SME 8 from version 7.xx you need to fully update the installation of version 7.xx before attempting the upgrade.}}
 +
 
 +
Please report any issues to our bug tracker under the SME Server 8 section only if you have installed all current updates.
 +
 
 +
This way all problems can be fixed as quickly, early and efficiently as possible by the development team.
 +
 
 +
Contrib owners/maintainers should check their packages for compatibility on SME Server 8.0 final and update them if necessary.  
 +
 
 +
For comments regarding contrib test results on previous SME8beta releases see [[SME8.0 Contribs QA]]
  
 
===Upgrade paths===
 
===Upgrade paths===
 +
Check for rpms installed from outside the standard yum repositories and remove at least all contribs:
 +
/sbin/e-smith/audittools/newrpms
  
 
====CD====
 
====CD====
Upgrading from CD should work fine. If not {{BugzillaFileBug|product=SME%20Server%20Release%208.X|component=|comment=|summary=|title=file a bug here}}.
+
This is the most affordable way to get a clean and secure upgrade. During the upgrade process the existing installation is detected and the option to upgrade the existing system is displayed.
 +
 
 +
If upgrading with less than SME Server 8.0 Beta 6, reset repositories to SME 8, see below, bug [[bugzilla:5705]]. This is fixed for SME Server 8.0 Beta 6
  
 
====Yum====
 
====Yum====
 +
Even if possible and tested the yum upgrade must be performed only with stable internet connections and, above all, not remotely. Loosing connection may leave your system in an unknown state.
  
=====Setting up your SME Server 8 repository=====
+
Check for known issues, here [[SME8.0 QA]] and at open bugs for SME 8 in bugzilla.
Setup with the following yum repositories...
 
  
  /sbin/e-smith/db yum_repositories set sme8os repository \
+
'''Note especially [[bugzilla:5316]], detach all USB drives, ie your backup'''
  Name 'SME Server 8 - smeos' \
+
 
BaseURL 'http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/testing/8/smeos/i386/' \
+
=====Pointing repositories to SME 8=====
EnableGroups yes \
+
Update the MirrorList property to point to the sme8 lists...
GPGCheck no \
+
 
Visible yes \
+
  db yum_repositories print | grep '^sme' | cut -d= -f1 | while read repo
  status enabled
+
  do
 +
    db yum_repositories setprop $repo MirrorList \
 +
    <nowiki>http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/$repo-8</nowiki>
 +
  done
  
 
Expand your yum.conf...
 
Expand your yum.conf...
  expand-template /etc/yum.conf
+
  /etc/e-smith/events/actions/generic_template_expand yum-modify
  
=====SME Server 7.3=====
+
=====Performing the upgrade=====
 
{{Note box|You are advised to only upgrade clean machines, e.g. without contribs or other modifications.}}
 
{{Note box|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.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}}.
+
<ol></li><li>Clean out the yum cache so upgrades work:
 +
yum --enablerepo '*' clean all
 +
</li><li>Perform the upgrade:
 +
yum --disablerepo '*' \
 +
    $(echo --enablerepo\ sme{os,updates,extras,addons}) \
 +
    upgrade
 +
</li><li>Remove outdated rpm database and rebuild it (zeros not O's)
 +
rm -f /var/lib/rpm/__db.00*
 +
rpm --rebuilddb
 +
</li><li>Reset yum updates repositories to defaults, (will delete local changes)
 +
mv /home/e-smith/db/yum_repositories /home/e-smith/db/yum_repositories.pre8
 +
/etc/e-smith/events/actions/initialize-default-databases
 +
</li><li>Perform a post-upgrade and reboot
 +
signal-event post-upgrade
 +
signal-event reboot
 +
</li></ol>
 +
 
 +
=====Check for contrib packages that may need upgrading=====
 +
Even though it is recommended that you only upgrade clean machines (e.g. without contribs or other modifications), it may be possible that you have a contrib installed that you forgot about. After the upgrade, use the following command to see if there are any remaining '''el4''' packages installed that may require an upgrade from the smecontribs repository.
 +
 +
rpm -qa | grep el4
  
You can upgrade your clean SME Server 7.3 server by following these steps:
+
Note that some of the contribs packages may be listed as an '''el4''' package but function correctly on SME8. Check the [[SME8.0_Contribs_QA]] pages for more information.
  
<ol></li><li>Install the necessary packages from the sme8os repository:
+
=====Potential issues that may arise=====
  yum upgrade --disablerepo=* --enablerepo=sme8os
+
If you are running a 7.0 system you may need to upgrade smeserver-yum.
</li><li>Once completed issue
+
<ol></li><li>Check which version of smeserver-yum you are running:
  signal-event post-upgrade; signal-event reboot
+
  rpm -q smeserver-yum
 +
</li><li>If it isn't at least <b>1.2.0-25.el4.sme</b> install an updated version:
 +
  rpm -Uvh \
 +
<nowiki>http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/smeserver-yum-1.2.0-25.el4.sme.noarch.rpm</nowiki> \
 +
<nowiki>http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/yum-plugin-fastestmirror-0.2.4-3.c4.noarch.rpm</nowiki>
 
</li></ol>
 
</li></ol>
  
=====SME Server 7.0, 7.1.x or 7.2=====
+
If you receive the following error while trying to upgrade:
{{Note box|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 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
 
  --> Finished Dependency Resolution
 
  Error: Missing Dependency: yum-metadata-parser is needed by package yum
 
  Error: Missing Dependency: yum-metadata-parser is needed by package yum
  ================================================================
+
Solve it by installing the correct version of yum-metadata-parser:
No new rpms were installed. No additional commands are required.
+
rpm -Uvh --oldpackage \
  ================================================================
+
  <nowiki>http://mirror.contribs.org/smeserver/releases/7/smeos/i386/SME/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm</nowiki>
  [root@example ~]#
+
 
 +
===Upgrading samba===
 +
The Samba packages in SME Server 8.0 Beta 6 have reverted to those provided by CentOS to simplify the support needed. This version of samba provides support for Windows 7
 +
domain logins. Due to this change from samba-3.4 to samba3x-3.3 it is necessary to remove samba if samba-3.4.x has been installed.
 +
All users of SME Server 8.0 Beta 5 are affected. Users of other versions of SME Server can check their samba version.
 +
 
 +
  rpm -q samba samba3x
 +
 
 +
Here is the example output showing samba 3.4 packages installed which need removal.
 +
 
 +
samba-3.4.3-1.1.el5.sme
 +
  package samba3x is not installed
 +
 
 +
Here is the example output showing samba3x 3.3 packages installed which need no further steps
 +
 
 +
package samba is not installed
 +
samba3x-3.3.8-0.52.el5_5
 +
 
 +
If samba-3.4.x then you need to run two commands:
 +
 
 +
rpm -e --nodeps libtalloc libtdb samba samba-client samba-common samba-winbind
  
You can solve this using the following steps:
+
  yum install tdb-tools
<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
 
</li><li>Then type from command line:
 
  
yum clean all
+
Now you are ready to upgrade to SME Server 8.0 Beta 6
</li><li>After that you should be able to upgrade with the following command:
+
 
yum upgrade --disablerepo=* --enablerepo=sme8os
+
===USB drives===
</li><li>Once completed issue
+
USB drives are detected differently on SME8, see
signal-event post-upgrade;signal-event reboot
+
http://wiki.contribs.org/USBDisks#USB_on_SME_8
</li></ol>
 
  
 +
=== Additional steps and potential changes ===
  
 +
==== VMWare ====
 +
VMware-server installations now work per the wiki entry, see [[Vmware]]. Previous work arounds dated SME8beta5 are no longer required.
  
 
===Problems and bugs===
 
===Problems and bugs===
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%208.X|component=|comment=|summary=|title=file a bug here}}
  
 
===Major Changes===
 
===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.
  
* 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.
+
[[Category:SME Server]]
 +
[[Category:SME Server Releases]]

Latest revision as of 21:23, 22 April 2017

Announcing Koozali SME Server 8 series is discontinued
The Koozali SME Server development team is announcing the discontinuation of the Koozali SME Server 8.x series as per
March 31, 2017.

Please see this post for more information.

The Koozali SME Server project

The Koozali Foundation Inc. is a nonprofit corporation that governs the open source Koozali SME Server project. Koozali SME Server is a stable, secure and easy to use/manage linux server that provides common server functionalities out of the box. Many open source contributions are available that can extend the default server functionality making Koozali SME Server an even more powerful and flexible business server solution. Thousands of Koozali SME Severs have been deployed as real or virtual servers and in the cloud to serve many small to medium enterprises, and this number is growing day by day. The Koozali SME Server is free to use but it takes a lot of effort and money to develop, make, and maintain. We therefore ask you for your considerations.

Volunteering

Koozali Foundation Inc. together with its community hosted at https://contribs.org is a collaborative effort of volunteers. You too can contribute to the development and continuity of the Koozali SME Server project as described on our volunteering page. Everybody is welcome to join the already 4000+ member contribs.org community and can contribute with any skill set.

Financial donations

You can also show your support by making financial donations. The preferred way to make financial donations is using the donate option in the forums. You are free to choose any amount and frequency, being monthly, yearly or only once. The benefit of donating through your forums account is that your forum user name will receive a badge, showing your donation status. If you do not have a forum account, you can create one, or select the below PayPal option to make your donations.

Commercial usage

Organizations that use Koozali SME Server for their business, provide professional services related to SME Server or in any other way benefit commercially from the Koozali SME Server project, are kindly requested to consider regular financial donations that reflect their business benefits.

Koozali Foundation Inc. is happy to supply an invoice for any donations received. For more information on invoicing please send a mail to treasurer@koozali.org.

Thank you for your considerations and support!

Status: Final Release

SME Server Version 8.0 is the current major version of SME Server, and is based on CentOS 5.8. http://wiki.contribs.org/SME_Server:About

See the Release Announcement for 8.0 Final.

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

SME Server 8.1beta2

Due to the large number and size of updates for SME 8.0, we are working on a new installer ISO to include all updates of CentOS 5.9 in SME Server 8.1. Please, use only for test purpose to help with development. You should read these notes to be aware of any and all new features.

See this wiki page to download the ISO.

Testing

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

All testing should be based on the released version plus updates from smeupdates-testing.

Considerations before installing

Important.png Note:
After installing the 8.0 final release, users should ensure that smeupdates-testing repo is disabled in the server-manager panel, if it was previously enabled during beta testing.



Important.png Note:
You are advised to only upgrade clean machines, e.g. without contribs or other modifications. If any contribs is installed you must remove them; you may re-install contribs after upgrade. All contribs settings are saved in /etc/e-smith/templates or /etc/e-smith/templates-custom so when you re-install any contrib settings will be retrieved.


See Bugzilla: 6732 and Bugzilla: 7056

Important.png Note:
Before performing an upgrade to SME 8 from version 7.xx you need to fully update the installation of version 7.xx before attempting the upgrade.


Please report any issues to our bug tracker under the SME Server 8 section only if you have installed all current updates.

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

Contrib owners/maintainers should check their packages for compatibility on SME Server 8.0 final and update them if necessary.

For comments regarding contrib test results on previous SME8beta releases see SME8.0 Contribs QA

Upgrade paths

Check for rpms installed from outside the standard yum repositories and remove at least all contribs:

/sbin/e-smith/audittools/newrpms

CD

This is the most affordable way to get a clean and secure upgrade. During the upgrade process the existing installation is detected and the option to upgrade the existing system is displayed.

If upgrading with less than SME Server 8.0 Beta 6, reset repositories to SME 8, see below, bug bugzilla:5705. This is fixed for SME Server 8.0 Beta 6

Yum

Even if possible and tested the yum upgrade must be performed only with stable internet connections and, above all, not remotely. Loosing connection may leave your system in an unknown state.

Check for known issues, here SME8.0 QA and at open bugs for SME 8 in bugzilla.

Note especially bugzilla:5316, detach all USB drives, ie your backup

Pointing repositories to SME 8

Update the MirrorList property to point to the sme8 lists...

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

Expand your yum.conf...

/etc/e-smith/events/actions/generic_template_expand yum-modify
Performing the upgrade
Important.png Note:
You are advised to only upgrade clean machines, e.g. without contribs or other modifications.


  1. Clean out the yum cache so upgrades work: yum --enablerepo '*' clean all
  2. Perform the upgrade: yum --disablerepo '*' \ $(echo --enablerepo\ sme{os,updates,extras,addons}) \ upgrade
  3. Remove outdated rpm database and rebuild it (zeros not O's) rm -f /var/lib/rpm/__db.00* rpm --rebuilddb
  4. Reset yum updates repositories to defaults, (will delete local changes) mv /home/e-smith/db/yum_repositories /home/e-smith/db/yum_repositories.pre8 /etc/e-smith/events/actions/initialize-default-databases
  5. Perform a post-upgrade and reboot signal-event post-upgrade signal-event reboot
Check for contrib packages that may need upgrading

Even though it is recommended that you only upgrade clean machines (e.g. without contribs or other modifications), it may be possible that you have a contrib installed that you forgot about. After the upgrade, use the following command to see if there are any remaining el4 packages installed that may require an upgrade from the smecontribs repository.

rpm -qa | grep el4

Note that some of the contribs packages may be listed as an el4 package but function correctly on SME8. Check the SME8.0_Contribs_QA pages for more information.

Potential issues that may arise

If you are running a 7.0 system you may need to upgrade smeserver-yum.

  1. Check which version of smeserver-yum you are running: rpm -q smeserver-yum
  2. If it isn't at least 1.2.0-25.el4.sme install an updated version: 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

If you receive the following error while trying to upgrade:

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

Solve it by installing the correct version of yum-metadata-parser:

rpm -Uvh --oldpackage \
http://mirror.contribs.org/smeserver/releases/7/smeos/i386/SME/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm

Upgrading samba

The Samba packages in SME Server 8.0 Beta 6 have reverted to those provided by CentOS to simplify the support needed. This version of samba provides support for Windows 7 domain logins. Due to this change from samba-3.4 to samba3x-3.3 it is necessary to remove samba if samba-3.4.x has been installed. All users of SME Server 8.0 Beta 5 are affected. Users of other versions of SME Server can check their samba version.

rpm -q samba samba3x

Here is the example output showing samba 3.4 packages installed which need removal.

samba-3.4.3-1.1.el5.sme
package samba3x is not installed

Here is the example output showing samba3x 3.3 packages installed which need no further steps

package samba is not installed
samba3x-3.3.8-0.52.el5_5

If samba-3.4.x then you need to run two commands:

rpm -e --nodeps libtalloc libtdb samba samba-client samba-common samba-winbind
yum install tdb-tools

Now you are ready to upgrade to SME Server 8.0 Beta 6

USB drives

USB drives are detected differently on SME8, see http://wiki.contribs.org/USBDisks#USB_on_SME_8

Additional steps and potential changes

VMWare

VMware-server installations now work per the wiki entry, see Vmware. Previous work arounds dated SME8beta5 are no longer required.

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.