Differences between revisions 4 and 5
Revision 4 as of 2006-06-12 21:23:48
Size: 2951
Comment: typo
Revision 5 as of 2006-06-19 10:12:23
Size: 3980
Comment: add update to 3.2.9
Deletions are marked like this. Additions are marked like this.
Line 104: Line 104:
The release 3.2.9 is out, but no update information is available. Please subscribe to this page. The update information will be published as soon as possible. The upgrade procedure is to set the LDAP password and then change every assistent to assistant in the LDAP server by executing the migration script.

3.1 Updating
-------------

* Be sure that you have the cipux source in your /etc/apt/sources.list

deb http://debian.cipworx.org/ sid main contrib

* Update the local repository information

  (2) apt-get update

* Install the new version

  (3) aptitude install cipux-common cipux-cibot cipux-cat-webmin

3.2 Afterwork
-------------

(1) edit as root /etc/cipux/ldappassword.conf with an editor and save the LDAP
password WITHOUT a newline!

or do as root

echo -n "the LDAP password" > /etc/cipux/ldappassword.conf

when nobody is looking at your screen and nobody else is logged in.

(2)
chmod 400 /etc/cipux/ldappassword.conf

(3)
(not nessesary, but save)
chown root:root /etc/cipux/ldappassword.conf

(4)
Test if you have access to the user database
cipux_task_list_users

(5) If you have access get the upgrade script
wget debian.cipworx.org/migrate_3.2.8_to_3.2.9.pl

(6)
chmod 750 migrate_3.2.8_to_3.2.9.pl

(7) do the upgrade (do no kill the script)
./migrate_3.2.8_to_3.2.9.pl

                     CipUX 3.2.x update manual
                   for Debian-Edu/Skolelinux 2.0


                          Original by
                      Christian Kuelker
                          2005-09-07


                        License GPL 


Revision 0.1 2005-09-07 by Christian Kuelker   (init)
Revision 0.2 2005-09-09 by Christian Kuelker   (add Setup Feature)
Revision 0.3 2005-09-16 by Christian Kuelker   (exec setup again)
Revision 0.4 2005-11-25 by Christian Kuelker   (new version structure)
Revision 0.5 2006-04-19 by Christian Kuelker   (moved to debian wiki)
Revision 0.6 2006-04-19 by Christian Kuelker   (changed license)

Contents
--------

1   General hints for updates
1.1 Preparation before the update

2   Update from 3.2.7 to 3.2.8
2.1 Updating
2.2 Afterwork

3   Update from 3.2.8 to 3.2.9
3.1 Updating
3.2 Afterwork


1 General hints for updates
----------------------------

* before an update: MAKE a backup
  Example: /skole/backup/etc_cipux_backup_2005-09-07
* after an update:
  Generally: Check the difference between /etc/cipux 
  and /skole/backup/etc_cipux_backup_2005-09-07

  Reinvent YOUR changes to the new configuration. So YOU have to KNOW what
  your changes are. Normally this would be in system.conf (Customer) and 
  cipux.conf (may be LDAP connection with -ZZ or without -ZZ)

  If you do not know what your changes are read the installation manual
  and change /etc/cipux accordingly. And for the future you should mark 
  you changes like:

  # ckuelker 2005-09-07
  # Cipux_Debug=0
  Cipux_Debug=1

  This means: ckuelker changed this on 2005-09-07, the value before the 
  change was CipUX_Debug=0 and CipUX_Debug=1 after the change. Easy, 
  isn't it?

1.1 Preparation before the update
---------------------------------

* Save your changes from the /etc/cipux folder just to be save

  (1) cp -a /etc/cipux /skole/backup/etc_cipux_backup_2005-09-07

  (Change 2005-09-07 to the actual date)


2   Update from 3.2.7 to 3.2.8
------------------------------

2.1 Updating
------------

* Update the local repository information

  (2) apt-get update

* Install the new version

  (3) aptitude install cipux-common cipux-cibot cipux-cat-webmin


2.2 Afterwork
-------------

* if upgrading to 3.2.8 add some LDAP values in CipUX configuration 

  If 

    cipux_get_value -x Cat -e cipuxVariable|grep Setup 

  is empty, do

    cipux_set_value -a -x Cat -e cipuxVariable -v Cat_Feature_Setup=1
    cipux_set_value -a -x Cat -e cipuxVariable -v Cat_Acl_Setup=assistent


3   Update from 3.2.8 to 3.2.9
------------------------------

The upgrade procedure is to set the LDAP password and then change every assistent to assistant in the LDAP server by executing the migration script.

3.1 Updating
-------------

* Be sure that you have the cipux source in your /etc/apt/sources.list

deb http://debian.cipworx.org/ sid main contrib

* Update the local repository information

  (2) apt-get update

* Install the new version

  (3) aptitude install cipux-common cipux-cibot cipux-cat-webmin

3.2 Afterwork
-------------

(1) edit as root /etc/cipux/ldappassword.conf with an editor and save the LDAP 
password WITHOUT a newline!

or do as root

echo -n "the LDAP password" > /etc/cipux/ldappassword.conf

when nobody is looking at your screen and nobody else is logged in.

(2) 
chmod 400 /etc/cipux/ldappassword.conf

(3)
(not nessesary, but save)
chown root:root /etc/cipux/ldappassword.conf

(4)
Test if you have access to the user database
cipux_task_list_users

(5) If you have access get the upgrade script
wget debian.cipworx.org/migrate_3.2.8_to_3.2.9.pl

(6)
chmod 750 migrate_3.2.8_to_3.2.9.pl

(7) do the upgrade (do no kill the script)
./migrate_3.2.8_to_3.2.9.pl

?Navigation(siblings,1)