Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] Re: Unable to execute SQL statement ... Duplicate entry
- From: Olivier Salaün - CRU <address@concealed>
- To: Jean Charles Delepine <address@concealed>
- Cc: address@concealed, Listmaster <address@concealed>
- Subject: [sympa-users] Re: Unable to execute SQL statement ... Duplicate entry
- Date: Wed, 20 Dec 2006 10:43:22 +0100
Hi, This problem happens while upgrading to 5.2.x versions of Sympa because this version adds the full virtual hosting support. This leads to DB changes : new 'robot' field added to both subscriber_table and admin_table. If you forget to stop all Sympa processes during the upgrade process (including wwsympa and the SOAP server ; which require that Apache is stopped), you might end up with such "duplicate entries problems". To fix the problem :
Jean Charles Delepine wrote: Ugrade from 5.1.2-cvs.20060224 gives this message : SYMPA <address@concealed> écrivait (wrote) :Sympa encountered the following error while running upgrade procedures : Duplicate entry 'address@concealed' for key 1 Check log file for further details.In log file for admin_table : [...] Dec 19 15:56:20 oban sympa[29182]: Unable to execute SQL statement "UPDATE admin_table SET robot_admin='listes.u-picardie.fr' WHERE (list_admin='ac-enseignants')" : Duplicate entry 'address@concealed' for key 1 [...] The admin_table table contains double entries, with and without robot_admin feild. [...] It seems from http://sourcesup.cru.fr/tracker/index.php?func=detail&aid=709&group_id=23&atid=167 that for such on old version wwsympa must be turned out before upgrade. Right ? |
-
[sympa-users] Unable to execute SQL statement ... Duplicate entry,
Jean Charles Delepine, 12/19/2006
- [sympa-users] Re: Unable to execute SQL statement ... Duplicate entry, Olivier Salaün - CRU, 12/20/2006
Archive powered by MHonArc 2.6.19+.