Projet

Général

Profil

Actions

Fonctionnalité #11937

fermé

Erreur lors de la migration vers develop

Ajouté par Guillaume HEURTIER il y a environ 5 ans. Mis à jour il y a plus de 3 ans.

Statut:
R&D - Terminé
Priorité:
2-Sérieux
Assigné à:
Version cible:
Début:
30/09/2019
Echéance:

Description

Erreurs lors du lancement des scripts migration.

En exécutant migrate.sh sur la base de cd45 (en 19.04), j'obtiens :

Cannot load Xdebug - it was already loaded
Migration Champs Custom (CUSTOM cs_maarch_courrier_dev) : 0 Champs custom utilisé(s) et migré(s).
Cannot load Xdebug - it was already loaded
Migration Plan de Classement (CUSTOM cs_maarch_courrier_dev) : 6 Plan trouvé(s) et migré(s).
Cannot load Xdebug - it was already loaded

Fatal error: Uncaught Exception: SQLSTATE[42703]: Undefined column: 7 ERROR: column "level" does not exist
LINE 1: ...n, folder_name, parent_id FROM folder_tmp ORDER BY level asc
^ in /var/www/html/MaarchCourrierDev/src/core/models/DatabasePDO.php on line 167

Exception: SQLSTATE[42703]: Undefined column: 7 ERROR: column "level" does not exist
LINE 1: ...n, folder_name, parent_id FROM folder_tmp ORDER BY level asc
^ in /var/www/html/MaarchCourrierDev/src/core/models/DatabasePDO.php on line 167

Call Stack:
0.0003 413784 1. {main}() /var/www/html/MaarchCourrierDev/migration/19.12/migrateFolders.php:0
0.0191 1190224 2. SrcCore\models\DatabaseModel::select() /var/www/html/MaarchCourrierDev/migration/19.12/migrateFolders.php:19
0.0198 1190944 3. SrcCore\models\DatabasePDO->query() /var/www/html/MaarchCourrierDev/src/core/models/DatabaseModel.php:121

Cannot load Xdebug - it was already loaded
Migration Full Text : 1 custom(s) avec un fichier config.xml trouvé(s) et migré(s).
Cannot load Xdebug - it was already loaded
Migration keywords redirection vide (CUSTOM cs_maarch_courrier_dev) : 0 keyword(s) ALL_ENTITIES ajouté(s).
Cannot load Xdebug - it was already loaded
Migration Indexing Basket (CUSTOM cs_maarch_courrier_dev) : 0 groupe(s) avec le service et la bannette IndexingBasket trouvé(s) et migré(s).

Fatal error: Uncaught Exception: SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "keyword" violates not-null constraint
DETAIL: Failing row contains (21, null, Indexation, INIT, N, index_mlb, Y, v1Action). in /var/www/html/MaarchCourrierDev/src/core/models/DatabasePDO.php on line 167

Exception: SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "keyword" violates not-null constraint
DETAIL: Failing row contains (21, null, Indexation, INIT, N, index_mlb, Y, v1Action). in /var/www/html/MaarchCourrierDev/src/core/models/DatabasePDO.php on line 167

Call Stack:
0.0006 446328 1. {main}() /var/www/html/MaarchCourrierDev/migration/19.12/migrateIndexing.php:0
0.0580 1311512 2. SrcCore\models\DatabaseModel::update() /var/www/html/MaarchCourrierDev/migration/19.12/migrateIndexing.php:225
0.0588 1313176 3. SrcCore\models\DatabasePDO->query() /var/www/html/MaarchCourrierDev/src/core/models/DatabaseModel.php:249

Cannot load Xdebug - it was already loaded
0 custom(s) avec services.xml (entities) trouvé(s) et migré(s).
Cannot load Xdebug - it was already loaded
0 custom(s) avec menu.xml (entities) trouvé(s) et migré(s).
Cannot load Xdebug - it was already loaded
Export Affaires (CUSTOM cs_maarch_courrier_dev) : 30 Affaire(s) exportée(s) dans le fichier cases_cs_maarch_courrier_dev.csv
Cannot load Xdebug - it was already loaded
Export Plans de Classements (CUSTOM cs_maarch_courrier_dev) : 0 Plan(s) de classement public exporté(s) dans le fichier fileplans_cs_maarch_courrier_dev.csv
Cannot load Xdebug - it was already loaded
Export Dossiers (CUSTOM cs_maarch_courrier_dev) : 2 Dossier(s) public(s) exporté(s) dans le fichier folders_cs_maarch_courrier_dev.csv
Cannot load Xdebug - it was already loaded

Warning: simplexml_load_file(): I/O warning : failed to load external entity "custom/cs_maarch_courrier_dev/apps/maarch_entreprise/xml/entreprise.xml" in /var/www/html/MaarchCourrierDev/migration/19.12/removeProcessModes.php on line 16

Call Stack:
0.0001 393304 1. {main}() /var/www/html/MaarchCourrierDev/migration/19.12/removeProcessModes.php:0
0.0050 872088 2. simplexml_load_file() /var/www/html/MaarchCourrierDev/migration/19.12/removeProcessModes.php:16

Migration Process Mode : 0 custom(s) avec un fichier entreprise.xml trouvé(s) et migré(s).
Cannot load Xdebug - it was already loaded

Warning: Invalid argument supplied for foreach() in /var/www/html/MaarchCourrierDev/migration/19.12/migrateCategories.php on line 26

Call Stack:
0.0003 408712 1. {main}() /var/www/html/MaarchCourrierDev/migration/19.12/migrateCategories.php:0

1 custom(s) avec config.xml (categorie) trouvé(s) et migré(s).
Cannot load Xdebug - it was already loaded
Migration anciens modèles d'indexation (CUSTOM cs_maarch_courrier_dev) : 1 modèle(s) utilisé(s) et migré(s).

Actions

Formats disponibles : Atom PDF