Skip to Content.
Sympa Menu

en - Re: [sympa-users] Upgrade strategy from Sympa 3.4.3 to Sympa 6.x

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Jean-Baptiste Denis" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Upgrade strategy from Sympa 3.4.3 to Sympa 6.x
  • Date: Mon, 14 Jun 2010 12:26:02 +0200

Hello everybody,

i'm not in a very advanced state at the moment. Here is where i am :

- database creation with create_Pg.sql script from the 6.0.3 source
- dumped the old database using pg_dump -Fp --data-only
- running some cleaning script on it. I've manually added the
'robot_subscriber' column in the subscriber table and added the '*' default
value to it. it looks like that :

sympa=> select list_subscriber, user_subscriber, robot_subscriber from
subscriber_table limit 1;
list_subscriber | user_subscriber | robot_subscriber
-----------------+--------------------------+------------------
mylist | myname@mydomain | *

- i have imported cleaned version of user_table and subscriber_table in the
new database without any warnings

- i have copied the content of the old sympa/expl folder in the new
sympa/list_data folder.

- i have copied the content of the old sympa/arc folder in the new
sympa/arc folder

I didn't have spotted anything in the NEWS file to reach the 4.2b.1, maybe it
wasn't obvious to me.

- i've changed data_structure.version to 4.2b.1 and ran sympa.pl --upgrade.
Here is the output :

--------------------------------------------------------
~/bin$ ./sympa.pl --upgrade
Configuration file read, default log level 0
Sympa 6.0.3 started
Upgrade process...
Upgrading from 4.2b.1 to 6.0.3...
Upgrade::upgrade() Upgrade::upgrade(4.2b.1, 6.0.3)
Upgrade::upgrade() Rebuilding config.bin files for ALL lists...it may take a
while...
Upgrade::upgrade() Rebuilding the admin_table...
Upgrade::upgrade() Initializing the new admin_table...
Upgrade::upgrade() Old web templates HTML structure is not compliant with
latest ones.
Upgrade::upgrade() Moving old-style web templates out of the include_path...
Upgrade::upgrade() Cleaning buggy list config files...
Upgrade::upgrade() Rename archives/log. files...
Upgrade::upgrade() Updating the new robot_subscriber and robot_admin Db
fields...
Upgrade::upgrade() Renaming web archive directories with the list domain...
List::new() Missing robot parameter, cannot create list object for acces-
periodiques-ip
Upgrade::upgrade() Skipping unknown list acces-periodiques-ip
.....
.....
..... (same message for each list)
--------------------------------------------------------

Before looking precisely at Dan Pritts script, i come here to ask for any
advices, again.

Thank you.

Jean-Baptiste




Archive powered by MHonArc 2.6.19+.

Top of Page