Quelle est la cause de la «non-concordance des entités dans le document» lors de l'exécution de la migration: delta


12

J'ai réussi à mettre à niveau une base de données magento 1.4.1 vers 1.4.2 puis vers 1.6.0. J'ai également réussi à migrer: définir et migrer: les données de la base de données 1.6.0 vers ma base de données Magento 2.1.2. (Les choses étaient superbes! ...)

Depuis, je travaille sur le site 2.1.2; l'ajout d'un nouveau thème, la modification de certains paramètres et la modification des blocs cms. J'ai fait tout cela en supposant que je pouvais exécuter une migration: delta et apporter de nouveaux clients et données de commande, car c'est tout ce dont j'avais vraiment besoin pour lancer le nouveau site. (Je n'ai créé aucune nouvelle commande ou client dans la base de données 2.1.2)

Dans ma tentative de migration: delta (après avoir exécuté à nouveau le processus de mise à niveau 1.4.1 -> 1.6.0 pour obtenir les données actuelles en cours), j'ai rencontré une erreur de manquer les tables deltalog (avec le préfixe m2cl *). J'ai extrait ces tables, toutes vides , de la première base de données à partir de laquelle j'ai migré. Cela m'a permis d'exécuter une migration: delta avec les avertissements suivants:

2017-01-25 23:32:29][INFO][mode: delta][stage: delta delivering][step: Customer Attributes Step]: started
[2017-01-25 23:32:30][INFO][mode: delta][stage: volume check][step: Customer Attributes Step]: started
100% [============================] Remaining Time: 1 sec
[2017-01-25 23:32:30][WARNING]: Mismatch of entities in the document: customer_entity
[2017-01-25 23:32:30][WARNING]: Mismatch of entities in the document: customer_address_entity
[2017-01-25 23:32:30][WARNING]: Volume Check failed
[2017-01-25 23:32:30][INFO][mode: delta][stage: delta delivering][step: Map Step]: started
[2017-01-25 23:32:30][INFO][mode: delta][stage: volume check][step: Map Step]: started
100% [============================] Remaining Time: 1 sec
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_category_entity
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_category_entity_int
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_category_entity_text
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_category_entity_varchar
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_category_product
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_compare_item
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_entity
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_entity_datetime
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_entity_decimal
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_entity_int
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_entity_media_gallery
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_entity_media_gallery_value
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_entity_text
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_entity_varchar
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_option
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_option_price
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_option_title
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_option_type_price
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_option_type_title
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_option_type_value
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalog_product_website
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: cataloginventory_stock_item
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: catalogrule
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: search_query
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: cms_block
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: cms_block_store
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: salesrule_coupon_aggregated
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: customer_eav_attribute_website
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: newsletter_subscriber
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: report_compared_product_index
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: report_event
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: report_viewed_product_index
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_bestsellers_aggregated_daily
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_bestsellers_aggregated_monthly
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_bestsellers_aggregated_yearly
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_invoice
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_invoice_item
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_order
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_order_address
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_order_item
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_order_payment
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_order_status_history
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: quote
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: quote_address
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: quote_address_item
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: quote_item
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: quote_item_option
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: quote_payment
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: quote_shipping_rate
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_shipment
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_shipment_item
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_shipment_track
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_invoiced_aggregated
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_invoiced_aggregated_order
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_order_aggregated_created
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_order_tax
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_payment_transaction
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_shipping_aggregated
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_shipping_aggregated_order
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: salesrule
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: salesrule_coupon
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: salesrule_coupon_usage
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: salesrule_customer
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: tax_calculation
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: tax_calculation_rate
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: tax_order_aggregated_created
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: wishlist
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: wishlist_item
[2017-01-25 23:32:35][WARNING]: Volume Check failed
[2017-01-25 23:32:35][INFO][mode: delta][stage: delta delivering][step: Log Step]: started
[2017-01-25 23:32:35][INFO][mode: delta][stage: volume check][step: Log Step]: started
100% [============================] Remaining Time: 1 sec
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: customer_visitor
[2017-01-25 23:32:35][WARNING]: Volume Check failed
[2017-01-25 23:32:35][INFO][mode: delta][stage: delta delivering][step: OrderGrids Step]: started
[2017-01-25 23:32:35][INFO][mode: delta][stage: volume check][step: OrderGrids Step]: started
100% [============================] Remaining Time: 1 sec
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_order_grid
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_invoice_grid
[2017-01-25 23:32:35][WARNING]: Mismatch of entities in the document: sales_shipment_grid
[2017-01-25 23:32:35][WARNING]: Volume Check failed
[2017-01-25 23:32:35][INFO][mode: delta][stage: delta delivering][step: SalesIncrement Step]: started
[2017-01-25 23:32:35][INFO][mode: delta][stage: volume check][step: SalesIncrement Step]: started
100% [============================] Remaining Time: 1 sec
[2017-01-25 23:32:35][WARNING]: Mismatch in last increment id of order entity
[2017-01-25 23:32:35][WARNING]: Mismatch in last increment id of invoice entity
[2017-01-25 23:32:35][WARNING]: Mismatch in last increment id of shipment entity
[2017-01-25 23:32:35][WARNING]: Volume Check failed
[2017-01-25 23:32:35][INFO][mode: delta][stage: volume check][step: SalesIncrement Step]: Migration completed successfully

Je suppose que ma question est quelques questions:

  • L'approche que j'ai prise est-elle une bonne façon d'obtenir des données de 1.4.1 à 2.1.2
  • Y a-t-il une référence manquante que migrate: delta recherche
    car cette base de données mise à jour n'était pas celle d'origine à partir de laquelle j'ai migré?
  • et la question du titre.

Réponses:


0

Dans votre approche après la configuration réussie du site Web magento 2, je veux dire que la migration des données sur le développement et la configuration du thème complet et du site Web est effectuée. Vous devez migrer à nouveau les nouvelles données de magento 1 et vous pouvez utiliser la même base de code et votre magasin magento 2 avec de nouvelles données sera opérationnel. Veuillez essayer de suivre cette approche.


@LRV, puis-je savoir comment vous avez résolu ce problème?
CodeForGood
En utilisant notre site, vous reconnaissez avoir lu et compris notre politique liée aux cookies et notre politique de confidentialité.
Licensed under cc by-sa 3.0 with attribution required.