Accéder au contenu.
Menu Sympa

fr - Re: [sympa-fr] Upgrade 4.1.2 -> 5.0b, procedure ?

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: Foucou Nicolas <adresse@cachée>
  • To: Olivier Salaün - CRU <adresse@cachée>
  • Cc: adresse@cachée
  • Subject: Re: [sympa-fr] Upgrade 4.1.2 -> 5.0b, procedure ?
  • Date: Thu, 06 Jan 2005 11:45:11 -0300

Merci beaucoup pour ces précisions et cette procédure :)

Et meilleurs voeux pour 2005.

Que cette année soit SYMPA pour tous :-D

Nicolas Foucou - RSSI
CATI - Rectorat de la Guyane
Place Léopold Heder - BP 6011
97300 Cayenne Cedex
Content-Type: multipart/mixed;
boundary="------------020105080800010705040104"


--------------020105080800010705040104
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Foucou Nicolas wrote:

>[...] si il y a de la doc dispo pour ce problème de migration je suis aussi
>preneur :)
>
>
La voici en avant première ci-joint.

>PS : petite requête_de_ma_part_à_moi_tout_seul_dans_mon_coin : Quand est-ce
>que la version en bon français de la doc sera-t-elle dispo ? Ou, du moins,
>est-ce prévu que le CRU fasse une doc en français ?
>
>
On ne prévoit pas de version française de la doc : c'est déja dur d'en
maintenir une seule version. Pour les fracophones, il y a les tutoriaux
et autres supports de cours en français : http://www.sympa.org/doc.html

--
Olivier Salaün
Comité Réseau des Universités
-------------------------------------------
Validation signature / Trusting signature: --> http://igc.cru.fr/trust.html
-------------------------------------------


--------------020105080800010705040104
Content-Type: text/html; charset=ISO-8859-1;
name="node15.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="node15.html"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html><head><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others --><title>14.
Upgrading Sympa</title>

<meta name="description" content="14. Upgrading Sympa">
<meta name="keywords" content="sympa">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="jLaTeX2HTML v2002 JA patch-1.4">
<meta http-equiv="Content-Style-Type" content="text/css">

<link rel="STYLESHEET" href="node15_files/sympa.css">

<link rel="next" href="http://www.cru.fr/sympadev/sympa/doc/html/node16.html";>
<link rel="previous"
href="http://www.cru.fr/sympadev/sympa/doc/html/node14.html";>
<link rel="up" href="http://www.cru.fr/sympadev/sympa/doc/html/sympa.html";>
<link rel="next"
href="http://www.cru.fr/sympadev/sympa/doc/html/node16.html";></head>



<body bgcolor="#ffffff" text="#000000">
<!--Navigation Panel-->
<a name="tex2html1098"
href="http://www.cru.fr/sympadev/sympa/doc/html/node16.html";>
<img alt="next" src="node15_files/next.png" align="bottom" border="0"
height="24" width="37"></a>
<a name="tex2html1092"
href="http://www.cru.fr/sympadev/sympa/doc/html/sympa.html";>
<img alt="up" src="node15_files/up.png" align="bottom" border="0" height="24"
width="26"></a>
<a name="tex2html1086"
href="http://www.cru.fr/sympadev/sympa/doc/html/node14.html";>
<img alt="previous" src="node15_files/prev.png" align="bottom" border="0"
height="24" width="63"></a>
<a name="tex2html1094"
href="http://www.cru.fr/sympadev/sympa/doc/html/node1.html";>
<img alt="contents" src="node15_files/contents.png" align="bottom" border="0"
height="24" width="65"></a>
<a name="tex2html1096"
href="http://www.cru.fr/sympadev/sympa/doc/html/node26.html";>
<img alt="index" src="node15_files/index.png" align="bottom" border="0"
height="24" width="43"></a>
<br>
<b> Next:</b> <a name="tex2html1099"
href="http://www.cru.fr/sympadev/sympa/doc/html/node16.html";>15. Mailing list
definition</a>
<b> Up:</b> <a name="tex2html1093"
href="http://www.cru.fr/sympadev/sympa/doc/html/sympa.html";>Sympa Mailing
Lists Management Software version</a>
<b> Previous:</b> <a name="tex2html1087"
href="http://www.cru.fr/sympadev/sympa/doc/html/node14.html";>13. Customizing
Sympa/WWSympa</a>
&nbsp; <b> <a name="tex2html1095"
href="http://www.cru.fr/sympadev/sympa/doc/html/node1.html";>Contents</a></b>
&nbsp; <b> <a name="tex2html1097"
href="http://www.cru.fr/sympadev/sympa/doc/html/node26.html";>Index</a></b>
<br>
<br>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<a name="CHILD_LINKS"><strong>Subsections</strong></a>

<ul>
<li><a name="tex2html1100"
href="http://www.cru.fr/sympadev/sympa/doc/html/node15.html#SECTION001510000000000000000";>14.1
Uncompatible changes</a>
</li><li><a name="tex2html1101"
href="http://www.cru.fr/sympadev/sympa/doc/html/node15.html#SECTION001520000000000000000";>14.2
CPAN modules update</a>
</li><li><a name="tex2html1102"
href="http://www.cru.fr/sympadev/sympa/doc/html/node15.html#SECTION001530000000000000000";>14.3
Database structure update</a>
</li><li><a name="tex2html1103"
href="http://www.cru.fr/sympadev/sympa/doc/html/node15.html#SECTION001540000000000000000";>14.4
Preserving your customizations</a>
</li></ul>
<!--End of Table of Child-Links-->
<hr>

<h1><a name="SECTION001500000000000000000"></a>
<a name="upgrading-sympa"></a>
<br>
14. Upgrading Sympa
</h1>

<p>
Sympa upgrade is a relatively riskless operations, mainly because the install
process preserves your
customizations (templates, configuration, authorization scenarios,...) and
also because Sympa automates
a few things (DB update, CPAN modules installation).

</p><p>

</p><h1><a name="SECTION001510000000000000000"></a>
<a name="2164"></a>
<br>
14.1 Uncompatible changes
</h1>

<p>
New features, changes and bug fixes are summarized in the <a
name="7791"></a><tt>NEWS</tt> file, part of the tar.gz (the
<a name="7794"></a><tt>Changelog</tt> file is a complete log file of CVS
changes). As mentionned at the beginning of this
file, uncompatible changes are preceded by '*****'. While running the <a
name="7797"></a><tt>make install</tt> Sympa will
detect the previously installed version and will prompt you with uncompatible
changes between both versions
of the software. You can interrupt the install process at that stage if you
are too frightened.
Output of the <a name="7800"></a><tt>make install</tt> :</p><pre>You are
upgrading from Sympa 4.2
You should read CAREFULLY the changes listed below ; they might be
uncompatible changes :
&lt;RETURN&gt;

***** require new perlmodule XML-LibXML

***** You should update your DB structure (automatically performed by Sympa
with MySQL), adding the following table (mySQL example) :
***** CREATE TABLE admin_table (
***** list_admin varchar(50) NOT NULL,
***** user_admin varchar(100) NOT NULL,
***** role_admin enum('listmaster','owner','editor') NOT NULL,
***** date_admin datetime NOT NULL,
***** update_admin datetime,
***** reception_admin varchar(20),
***** comment_admin varchar(150),
***** subscribed_admin enum('0','1'),
***** included_admin enum('0','1'),
***** include_sources_admin varchar(50),
***** info_admin varchar(150),
***** profile_admin enum('privileged','normal'),
***** PRIMARY KEY (list_admin, user_admin,role_admin),
***** INDEX (list_admin, user_admin,role_admin)
***** );

***** Extend the generic_sso feature ; Sympa is now able to retrieve the
user email address in a LDAP directory
&lt;RETURN&gt;
</pre>

<p>

</p><h1><a name="SECTION001520000000000000000"></a>
<a name="2174"></a>
<br>
14.2 CPAN modules update
</h1>

<p>
Required and optional perl modules (CPAN) installation is automatically
handled at the <a name="7803"></a><tt>make</tt> time. You are asked before
each module is installed. For optional modules, associated features are
listed.

</p><p>
Output of the <a name="7806"></a><tt>make</tt> command :</p><pre>Checking for
REQUIRED modules:
------------------------------------------
perl module from CPAN STATUS
----------- --------- ------
Archive::Zip Archive-Zip OK (1.09 &gt;= 1.05)
CGI CGI OK (2.89 &gt;= 2.52)
DB_File DB_FILE OK (1.806 &gt;= 1.75)
Digest::MD5 Digest-MD5 OK (2.20 &gt;= 2.00)
FCGI FCGI OK (0.67 &gt;= 0.67)
File::Spec File-Spec OK (0.83 &gt;= 0.8)
IO::Scalar IO-stringy OK (2.104 &gt;= 1.0)
LWP libwww-perl OK (5.65 &gt;= 1.0)
Locale::TextDomain libintl-perl OK (1.10 &gt;= 1.0)
MHonArc::UTF8 MHonArc version is too old ( &lt; 2.4.6).
&gt;&gt;&gt;&gt;&gt;&gt;&gt; You must update "MHonArc" to version ""
&lt;&lt;&lt;&lt;&lt;&lt;.
Setting FTP Passive mode
Description:
Install module MHonArc::UTF8 ? n
MIME::Base64 MIME-Base64 OK (3.05 &gt;= 3.03)
MIME::Tools MIME-tools OK (5.411 &gt;= 5.209)
Mail::Internet MailTools OK (1.60 &gt;= 1.51)
Regexp::Common Regexp-Common OK (2.113 &gt;= 1.0)
Template Template-ToolkitOK (2.13 &gt;= 1.0)
XML::LibXML XML-LibXML OK (1.58 &gt;= 1.0)

Checking for OPTIONAL modules:
------------------------------------------
perl module from CPAN STATUS
----------- --------- ------
Bundle::LWP LWP OK (1.09 &gt;= 1.09)
Constant subroutine CGI::XHTML_DTD redefined at
/usr/lib/perl5/5.8.0/constant.pm line 108, &lt;STDIN&gt; line 1.
CGI::Fast CGI CGI::Fast doesn't return 1 (check it).
Crypt::CipherSaber CipherSaber OK (0.61 &gt;= 0.50)
DBD::Oracle DBD-Oracle was not found on this system.
Description: Oracle database driver, required if you connect to a Oracle
database.
Install module DBD::Oracle ?
</pre>

<p>

</p><h1><a name="SECTION001530000000000000000"></a>
<a name="2182"></a>
<br>
14.3 Database structure update
</h1>

<p>
Whatever RDBMS you are using (mysql, Pg, Sybase or Oracle) Sympa will check
every database tables and fields. If one is missing <a
name="7809"></a><tt>sympa.pl</tt>
will not start. If you are using <a name="7812"></a>mysql Sympa will also
check field types and will try to change them (or create them) automatically ;
assuming that the DB user configured has sufficient privileges. If You are
not using Mysql or if the DB user configured in <a
name="7813"></a><tt>sympa.conf</tt>
does have sufficient privileges, then you should change the database
structure yourself, as mentionned in the <a name="7816"></a><tt>NEWS</tt>
file.

</p><p>
Output of Sympa logs :</p><pre>Table admin_table created in database sympa
Field 'comment_admin' (table 'admin_table' ; database 'sympa') was NOT found.
Attempting to add it...
Field comment_admin added to table admin_table
Field 'date_admin' (table 'admin_table' ; database 'sympa') was NOT found.
Attempting to add it...
Field date_admin added to table admin_table
Field 'include_sources_admin' (table 'admin_table' ; database 'sympa') was
NOT found. Attempting to add it...
Field include_sources_admin added to table admin_table
Field 'included_admin' (table 'admin_table' ; database 'sympa') was NOT
found. Attempting to add it...
Field included_admin added to table admin_table
Field 'info_admin' (table 'admin_table' ; database 'sympa') was NOT found.
Attempting to add it...
Field info_admin added to table admin_table
Field 'list_admin' (table 'admin_table' ; database 'sympa') was NOT found.
Attempting to add it...
Field list_admin added to table admin_table
Field 'profile_admin' (table 'admin_table' ; database 'sympa') was NOT found.
Attempting to add it...
Field profile_admin added to table admin_table
Field 'reception_admin' (table 'admin_table' ; database 'sympa') was NOT
found. Attempting to add it...
Field reception_admin added to table admin_table
Field 'role_admin' (table 'admin_table' ; database 'sympa') was NOT found.
Attempting to add it...
Field role_admin added to table admin_table
Field 'subscribed_admin' (table 'admin_table' ; database 'sympa') was NOT
found. Attempting to add it...
Field subscribed_admin added to table admin_table
Field 'update_admin' (table 'admin_table' ; database 'sympa') was NOT found.
Attempting to add it...
Field update_admin added to table admin_table
Field 'user_admin' (table 'admin_table' ; database 'sympa') was NOT found.
Attempting to add it...
Setting list_admin,user_admin,role_admin fields as PRIMARY
Field user_admin added to table admin_table
</pre>

<p>

</p><h1><a name="SECTION001540000000000000000"></a>
<a name="2192"></a>
<br>
14.4 Preserving your customizations
</h1>

<p>
Sympa comes with default configuration files (templates, scenarios,...) that
will be installed in the <a name="7819"></a><tt>/home/sympa/bin</tt>
directory.
If you need to customize some of them, you should copy the file first in a
safe place, ie in the <a name="7822"></a><tt>/home/sympa/etc</tt> directory.
If you do so, the Sympa upgrade process will preserve your site
customizations.

</p><p>

</p><hr>
<!--Navigation Panel-->
<a name="tex2html1098"
href="http://www.cru.fr/sympadev/sympa/doc/html/node16.html";>
<img alt="next" src="node15_files/next.png" align="bottom" border="0"
height="24" width="37"></a>
<a name="tex2html1092"
href="http://www.cru.fr/sympadev/sympa/doc/html/sympa.html";>
<img alt="up" src="node15_files/up.png" align="bottom" border="0" height="24"
width="26"></a>
<a name="tex2html1086"
href="http://www.cru.fr/sympadev/sympa/doc/html/node14.html";>
<img alt="previous" src="node15_files/prev.png" align="bottom" border="0"
height="24" width="63"></a>
<a name="tex2html1094"
href="http://www.cru.fr/sympadev/sympa/doc/html/node1.html";>
<img alt="contents" src="node15_files/contents.png" align="bottom" border="0"
height="24" width="65"></a>
<a name="tex2html1096"
href="http://www.cru.fr/sympadev/sympa/doc/html/node26.html";>
<img alt="index" src="node15_files/index.png" align="bottom" border="0"
height="24" width="43"></a>
<br>
<b> Next:</b> <a name="tex2html1099"
href="http://www.cru.fr/sympadev/sympa/doc/html/node16.html";>15. Mailing list
definition</a>
<b> Up:</b> <a name="tex2html1093"
href="http://www.cru.fr/sympadev/sympa/doc/html/sympa.html";>Sympa Mailing
Lists Management Software version</a>
<b> Previous:</b> <a name="tex2html1087"
href="http://www.cru.fr/sympadev/sympa/doc/html/node14.html";>13. Customizing
Sympa/WWSympa</a>
&nbsp; <b> <a name="tex2html1095"
href="http://www.cru.fr/sympadev/sympa/doc/html/node1.html";>Contents</a></b>
&nbsp; <b> <a name="tex2html1097"
href="http://www.cru.fr/sympadev/sympa/doc/html/node26.html";>Index</a></b>
<!--End of Navigation Panel-->
<address>
root
2005-01-05
</address>
</body></html>
--------------020105080800010705040104--



Archives gérées par MHonArc 2.6.19+.

Haut de le page