This repository was archived by the owner on May 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on May 22, 2025. It is now read-only.
La migration n'aboutit pas - auteurs en double #2
Copy link
Copy link
Open
Description
Je teste une migration entre deux sites mediaspip vides (version de SPIP : 3.0.12-dev). Sur le site source, la migration apparaît comme réussie, tout est vert. Sur le site cible, la page reste en cours de migration:
Avancement :
Connexion depuis http://localhost/mediaspip
X Suppression des tables
Table spip_articles : 0 ligne(s)
Table spip_auteurs_liens : 0 ligne(s)
Table spip_breves : 0 ligne(s)
Table spip_depots : 1 ligne(s)
Table spip_depots_plugins : 538 ligne(s)
...
Table spip_auteurs : 1 ligne(s)
Table spip_meta : 171 ligne(s)
Fichier IMG/distant/csl/principalxml369a.csl : 2.3 MB
Fichier IMG/distant/csl/principalxml369a.csl.md5.txt : 1.4 MB
Fichier IMG/distant/png/intranetpng-39eb.png : 1.8 KB
[aborted]
Dans les logs (tmp/log/spip.log), je vois:
Aug 22 16:15:36 90.47.37.223 (pid 19716) :Pub:!INFO: creation 'spip_auteurs' sur serveur ''
Aug 22 16:15:37 90.47.37.223 (pid 19819) :Pub:!INFO: Vider 1 tables sur serveur '' : spip_meta
Aug 22 16:15:37 90.47.37.223 (pid 19819) :Pub:!INFO: creation 'spip_meta' sur serveur ''
Aug 22 16:15:38 90.47.37.223 (pid 19817) :Pub:ERREUR: Erreur mysql 1062
Aug 22 16:15:38 90.47.37.223 (pid 19817) :Pub:ERREUR: Duplicate entry 'adresse_site' for key 'PRIMARY' - INSERT INTO spip_meta (nom,valeur,impt,maj) VALUES ('a...
Aug 22 16:15:38 90.47.37.223 (pid 19817) :Pub:ERREUR: Erreur mysql 1062
Aug 22 16:15:38 90.47.37.223 (pid 19817) :Pub:ERREUR: Duplicate entry 'langues_proposees' for key 'PRIMARY' - INSERT INTO spip_meta (nom,valeur,impt,maj) VALUES ('iecomp...
...
Aug 22 16:15:41 90.47.37.223 (pid 19817) :Pub:ERREUR: Erreur mysql 1062
Aug 22 16:15:41 90.47.37.223 (pid 19817) :Pub:ERREUR: Duplicate entry 'plugin_header' for key 'PRIMARY' - INSERT INTO spip_meta (nom,valeur,impt,maj) VALUES ('plu...
Aug 22 16:15:42 90.47.37.223 (pid 19817) :Pub:ERREUR: Erreur mysql 1062
Aug 22 16:15:42 90.47.37.223 (pid 19817) :Pub:ERREUR: Duplicate entry 'taille_preview' for key 'PRIMARY' - INSERT INTO spip_meta (nom,valeur,impt,maj) VALUES ('taille_preview','300','non','2013-08-22 15:24:21')
Aug 22 16:15:43 90.47.37.223 (pid 19712) :Pub:ERREUR: Erreur mysql 1062
Aug 22 16:15:43 90.47.37.223 (pid 19712) :Pub:ERREUR: Duplicate entry '1' for key 'PRIMARY' -
UPDATE `mediaspip`.spip_auteurs
SET id_auteur=-id_auteur
WHERE id_auteur<0
Aug 22 16:15:43 90.47.37.223 (pid 19712) :Pub:ERREUR: Erreur mysql 1062
Aug 22 16:15:43 90.47.37.223 (pid 19712) :Pub:ERREUR: Duplicate entry '1' for key 'PRIMARY' - query inconnue
Aug 22 16:15:43 90.47.37.223 (pid 19712) :Pub:ERREUR: Erreur 1062 de mysql: Duplicate entry '1' for key 'PRIMARY'
UPDATE `mediaspip`.spip_auteurs
SET id_auteur=-id_auteur
WHERE id_auteur<0
Enfin, sur le site cible, quand je vais dans la page des auteurs, j'ai deux auteurs, au lieu d'un, le premier avec l'identifiant id_auteur égal à "-1", et le deuxième avec l'identifiant égal à "1".
Est-ce normal ? Comment je peux corriger ?
Metadata
Metadata
Assignees
Labels
No labels