When upgrading a site from Magento 2.2.6 to 2.3.0, the following error occurs during setup:upgrade

Module 'Magento_AdminNotification':
Module 'Magento_Search':
Module 'Magento_Amqp':
Running schema recurring...
Module 'Magento_Config':
Module 'Magento_User':
Module 'Magento_Authorization':
Module 'Magento_Indexer':
Running schema recurring...Constraint "email_order_to_sales_order" references table that does not exist.
  • Do you install any third-party module? I think you should disable all of them and try run s:up once again – bachlee89 Dec 20 '18 at 23:17

This problem occurs when running the setup:upgrade command while having the newer Dotdigitalgroup_Enterprise module enabled and the Dotdigitalgroup_Email module disabled.

Prior to this Enterprise module the Dotdigitalgroup_Email was not compatible with the split database setup that Magento2 Commerce offers, but this doesn't have to be the reason for disabling the Email module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.