When running a fresh install I am presented with this error. This is using the lastest composer package, as per the Magento docs.
[Progress: 113 / 1106]
Module 'Magento_InventorySales':
In PatchApplier.php line 247:
Unable to apply patch Magento\InventorySales\Setup\Patch\Schema\InitializeW
ebsiteDefaultSock for module Magento_InventorySales. Original exception mes
sage: The default website isn't defined. Set the website and try again.
The install command I am using is:
php bin/magento setup:install --base-url='https://YYY.mdoq.io/' --db-host='****' --db-name='magento' --db-user='magento' --db-password='****' --admin-firstname='Admin' --admin-lastname='Admin' --admin-email='admin' --admin-user='admin' --admin-password='****' --language='en_GB' --currency='GBP' --timezone='Europe/London' --use-rewrites=1 --cleanup-database