-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento 2.3 - clean install - Unable to apply patch for Magento_InventorySales #2017
Comments
Hey @patvdleer thanks for the issue report. What version of MSI you are installing? Do you do composer installation or git? |
@maghamed same issue happening here
|
Hi @patvdleer ! |
I didn't, this is a clean composer install what else do you need? |
@patvdleer @smoskaluk |
@danielciornei that doesn't fix it |
ok, on closer look you had a different exception message changing opcache.save_comments to 1 fixed my issue. |
Does the issue still exist for you @patvdleer ? |
@maghamed sadly yes |
@patvdleer Hello.
|
@IvanPletnyov Before install? It's a clean install so there are no tables in the schema. |
@patvdleer Okay, without SQL. What about other ones? |
config.php<?php
return [
'modules' => [
'Magento_Store' => 1,
'Magento_Directory' => 1,
'Magento_Theme' => 1,
'Magento_Backend' => 1,
'Magento_Variable' => 1,
'Magento_Eav' => 1,
'Magento_AdminNotification' => 1,
'MSP_ReCaptcha' => 1,
'Magento_Config' => 1,
'Magento_Indexer' => 1,
'Magento_AdvancedPricingImportExport' => 1,
'Magento_Search' => 1,
'Magento_Amqp' => 1,
'Magento_Security' => 1,
'Magento_User' => 1,
'Magento_Authorization' => 1,
'Magento_Customer' => 1,
'Magento_Rule' => 1,
'Magento_Backup' => 1,
'Magento_Cms' => 1,
'Magento_Catalog' => 1,
'Magento_GraphQl' => 1,
'Magento_BundleImportExport' => 1,
'Magento_CacheInvalidate' => 1,
'Magento_Quote' => 1,
'Magento_SalesSequence' => 1,
'Magento_Integration' => 1,
'Magento_EavGraphQl' => 1,
'Magento_CatalogImportExport' => 1,
'Magento_Payment' => 1,
'Magento_CatalogInventory' => 1,
'Magento_Cron' => 1,
'Magento_Msrp' => 1,
'Magento_CatalogRule' => 1,
'Magento_CatalogUrlRewrite' => 1,
'Magento_CatalogUrlRewriteGraphQl' => 1,
'Magento_Widget' => 1,
'Magento_Sales' => 1,
'Magento_Checkout' => 1,
'Magento_Vault' => 1,
'Magento_CmsGraphQl' => 1,
'Magento_CmsUrlRewrite' => 1,
'Magento_CmsUrlRewriteGraphQl' => 1,
'MSP_TwoFactorAuth' => 1,
'Magento_ConfigurableImportExport' => 1,
'Magento_ConfigurableProduct' => 1,
'Magento_StoreGraphQl' => 1,
'Magento_ConfigurableProductSales' => 1,
'Magento_Contact' => 1,
'Magento_Cookie' => 1,
'Magento_Email' => 1,
'Magento_CurrencySymbol' => 1,
'Magento_Paypal' => 1,
'Magento_Analytics' => 1,
'Magento_CustomerGraphQl' => 1,
'Magento_CustomerImportExport' => 1,
'Magento_Deploy' => 1,
'Magento_Developer' => 1,
'Magento_Dhl' => 1,
'Amazon_Core' => 1,
'Magento_Downloadable' => 1,
'Magento_CatalogGraphQl' => 1,
'Magento_ImportExport' => 1,
'Magento_Authorizenet' => 1,
'Magento_BundleGraphQl' => 1,
'Magento_CatalogSearch' => 1,
'Magento_Newsletter' => 1,
'Magento_EncryptionKey' => 1,
'Magento_Fedex' => 1,
'Magento_GiftMessage' => 1,
'Magento_GoogleAdwords' => 1,
'Magento_GoogleAnalytics' => 1,
'Magento_Ui' => 1,
'Magento_ConfigurableProductGraphQl' => 1,
'Magento_GroupedImportExport' => 1,
'Magento_GroupedProduct' => 1,
'Magento_GroupedProductGraphQl' => 1,
'Magento_DownloadableImportExport' => 1,
'Magento_Braintree' => 1,
'Magento_InstantPurchase' => 1,
'Magento_CatalogAnalytics' => 1,
'Magento_Inventory' => 1,
'Magento_InventoryAdminUi' => 1,
'Magento_InventoryApi' => 1,
'Magento_InventoryBundleProduct' => 1,
'Magento_InventoryBundleProductAdminUi' => 1,
'Magento_InventoryCatalog' => 1,
'Magento_InventorySales' => 1,
'Magento_InventoryCatalogAdminUi' => 1,
'Magento_InventoryCatalogApi' => 1,
'Magento_InventoryCatalogSearch' => 1,
'Magento_InventoryConfigurableProduct' => 1,
'Magento_InventoryConfigurableProductAdminUi' => 1,
'Magento_InventoryConfigurableProductIndexer' => 1,
'Magento_InventoryConfiguration' => 1,
'Magento_InventoryConfigurationApi' => 1,
'Magento_InventoryGroupedProduct' => 1,
'Magento_InventoryGroupedProductAdminUi' => 1,
'Magento_InventoryGroupedProductIndexer' => 1,
'Magento_InventoryImportExport' => 1,
'Magento_InventoryIndexer' => 1,
'Magento_InventoryLowQuantityNotification' => 1,
'Magento_InventoryLowQuantityNotificationAdminUi' => 1,
'Magento_InventoryLowQuantityNotificationApi' => 1,
'Magento_InventoryMultiDimensionalIndexerApi' => 1,
'Magento_InventoryProductAlert' => 1,
'Magento_InventoryReservations' => 1,
'Magento_InventoryReservationsApi' => 1,
'Magento_InventoryCache' => 1,
'Magento_InventorySalesAdminUi' => 1,
'Magento_InventorySalesApi' => 1,
'Magento_InventorySalesFrontendUi' => 1,
'Magento_InventoryShipping' => 1,
'Magento_Shipping' => 1,
'Magento_InventorySourceDeductionApi' => 1,
'Magento_InventorySourceSelection' => 1,
'Magento_InventorySourceSelectionApi' => 1,
'Magento_LayeredNavigation' => 1,
'Magento_Marketplace' => 1,
'Magento_MediaStorage' => 1,
'Magento_MessageQueue' => 1,
'Magento_CatalogRuleConfigurable' => 1,
'Magento_Multishipping' => 1,
'Magento_MysqlMq' => 1,
'Magento_NewRelicReporting' => 1,
'Magento_ProductAlert' => 1,
'Magento_OfflinePayments' => 1,
'Magento_SalesRule' => 1,
'Magento_PageCache' => 1,
'Magento_Captcha' => 1,
'Klarna_Core' => 1,
'Magento_Persistent' => 1,
'Magento_Reports' => 1,
'Magento_ProductVideo' => 1,
'Amazon_Login' => 1,
'Magento_QuoteAnalytics' => 1,
'Magento_QuoteGraphQl' => 1,
'Magento_ReleaseNotification' => 1,
'Magento_Review' => 1,
'Magento_RequireJs' => 1,
'Magento_SendFriend' => 1,
'Magento_ReviewAnalytics' => 1,
'Magento_Robots' => 1,
'Magento_Rss' => 1,
'Magento_AdvancedSearch' => 1,
'Amazon_Payment' => 1,
'Magento_SalesAnalytics' => 1,
'Magento_SalesInventory' => 1,
'Magento_OfflineShipping' => 1,
'Klarna_Ordermanagement' => 1,
'Magento_UrlRewrite' => 1,
'Magento_Elasticsearch' => 1,
'Magento_CustomerAnalytics' => 1,
'Magento_Wishlist' => 1,
'Magento_InventoryShippingAdminUi' => 1,
'Magento_Signifyd' => 1,
'Magento_Sitemap' => 1,
'Magento_CatalogInventoryGraphQl' => 1,
'Magento_DownloadableGraphQl' => 1,
'Magento_Webapi' => 1,
'Magento_SwaggerWebapi' => 1,
'Magento_SwaggerWebapiAsync' => 1,
'Magento_Swatches' => 1,
'Magento_SwatchesGraphQl' => 1,
'Magento_SwatchesLayeredNavigation' => 1,
'Magento_Tax' => 1,
'Magento_TaxGraphQl' => 1,
'Magento_TaxImportExport' => 1,
'Magento_CheckoutAgreements' => 1,
'Magento_Tinymce3' => 1,
'Magento_Translation' => 1,
'Magento_GoogleOptimizer' => 1,
'Magento_Ups' => 1,
'Magento_SampleData' => 1,
'Magento_UrlRewriteGraphQl' => 1,
'Magento_AsynchronousOperations' => 1,
'Magento_Usps' => 1,
'Magento_Bundle' => 1,
'Klarna_Kp' => 1,
'Magento_Version' => 1,
'Magento_Swagger' => 1,
'Magento_WebapiAsync' => 1,
'Magento_WebapiSecurity' => 1,
'Magento_Weee' => 1,
'Magento_WeeeGraphQl' => 1,
'Magento_CatalogWidget' => 1,
'Dotdigitalgroup_Email' => 1,
'Magento_WishlistAnalytics' => 1,
'Temando_Shipping' => 1,
'Vertex_Tax' => 1
]
]; Composer.json{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"require": {
"magento/product-community-edition": "2.3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~2.13.0",
"lusitanian/oauth": "~0.8.10",
"magento/magento2-functional-testing-framework": "2.3.9",
"pdepend/pdepend": "2.5.2",
"phpmd/phpmd": "@stable",
"phpunit/phpunit": "~6.5.0",
"sebastian/phpcpd": "~3.0.0",
"squizlabs/php_codesniffer": "3.3.1"
},
"conflict": {
"gene/bluefoot": "*"
},
"autoload": {
"psr-4": {
"Magento\\Framework\\": "lib/internal/Magento/Framework/",
"Magento\\Setup\\": "setup/src/Magento/Setup/",
"Magento\\": "app/code/Magento/",
"Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"
},
"psr-0": {
"": [
"app/code/",
"generated/code/"
]
},
"files": [
"app/etc/NonComposerComponentRegistration.php"
],
"exclude-from-classmap": [
"**/dev/**",
"**/update/**",
"**/Test/**"
]
},
"autoload-dev": {
"psr-4": {
"Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
"Magento\\Tools\\": "dev/tools/Magento/Tools/",
"Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
"Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
"Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
}
},
"version": "2.3.0",
"minimum-stability": "stable",
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
],
"extra": {
"magento-force": "override"
}
} Install.log
|
install.log formatted<span class="text-info">Starting Magento installation:</span>
<br><span class="text-info">File permissions check...</span>
<br><span class="hidden">[Progress: 1 / 773]</span>
<br><span class="text-info">Required extensions check...</span>
<br><span class="hidden">[Progress: 2 / 773]</span>
<br><span class="text-info">Enabling Maintenance Mode...</span>
<br><span class="hidden">[Progress: 3 / 773]</span>
<br><span class="text-info">Installing deployment configuration...</span>
<br><span class="hidden">[Progress: 4 / 773]</span>
<br><span class="text-info">Installing database schema:</span>
<br><span class="text-info">Schema creation/updates:</span>
<br><span class="text-info">Module 'Magento_Store':</span>
<br><span class="hidden">[Progress: 5 / 773]</span>
<br><span class="text-info">Module 'Magento_Directory':</span>
<br><span class="hidden">[Progress: 6 / 773]</span>
<br><span class="text-info">Module 'Magento_Theme':</span>
<br><span class="hidden">[Progress: 7 / 773]</span>
<br><span class="text-info">Module 'Magento_Backend':</span>
<br><span class="hidden">[Progress: 8 / 773]</span>
<br><span class="text-info">Module 'Magento_Variable':</span>
<br><span class="hidden">[Progress: 9 / 773]</span>
<br><span class="text-info">Module 'Magento_Eav':</span>
<br><span class="hidden">[Progress: 10 / 773]</span>
<br><span class="text-info">Module 'Magento_AdminNotification':</span>
<br><span class="hidden">[Progress: 11 / 773]</span>
<br><span class="text-info">Module 'MSP_ReCaptcha':</span>
<br><span class="hidden">[Progress: 12 / 773]</span>
<br><span class="text-info">Module 'Magento_Config':</span>
<br><span class="hidden">[Progress: 13 / 773]</span>
<br><span class="text-info">Module 'Magento_Indexer':</span>
<br><span class="hidden">[Progress: 14 / 773]</span>
<br><span class="text-info">Module 'Magento_AdvancedPricingImportExport':</span>
<br><span class="hidden">[Progress: 15 / 773]</span>
<br><span class="text-info">Module 'Magento_Search':</span>
<br><span class="hidden">[Progress: 16 / 773]</span>
<br><span class="text-info">Module 'Magento_Amqp':</span>
<br><span class="hidden">[Progress: 17 / 773]</span>
<br><span class="text-info">Module 'Magento_Security':</span>
<br><span class="hidden">[Progress: 18 / 773]</span>
<br><span class="text-info">Module 'Magento_User':</span>
<br><span class="hidden">[Progress: 19 / 773]</span>
<br><span class="text-info">Module 'Magento_Authorization':</span>
<br><span class="hidden">[Progress: 20 / 773]</span>
<br><span class="text-info">Module 'Magento_Customer':</span>
<br><span class="hidden">[Progress: 21 / 773]</span>
<br><span class="text-info">Module 'Magento_Rule':</span>
<br><span class="hidden">[Progress: 22 / 773]</span>
<br><span class="text-info">Module 'Magento_Backup':</span>
<br><span class="hidden">[Progress: 23 / 773]</span>
<br><span class="text-info">Module 'Magento_Cms':</span>
<br><span class="hidden">[Progress: 24 / 773]</span>
<br><span class="text-info">Module 'Magento_Catalog':</span>
<br><span class="hidden">[Progress: 25 / 773]</span>
<br><span class="text-info">Module 'Magento_GraphQl':</span>
<br><span class="hidden">[Progress: 26 / 773]</span>
<br><span class="text-info">Module 'Magento_BundleImportExport':</span>
<br><span class="hidden">[Progress: 27 / 773]</span>
<br><span class="text-info">Module 'Magento_CacheInvalidate':</span>
<br><span class="hidden">[Progress: 28 / 773]</span>
<br><span class="text-info">Module 'Magento_Quote':</span>
<br><span class="hidden">[Progress: 29 / 773]</span>
<br><span class="text-info">Module 'Magento_SalesSequence':</span>
<br><span class="hidden">[Progress: 30 / 773]</span>
<br><span class="text-info">Module 'Magento_Integration':</span>
<br><span class="hidden">[Progress: 31 / 773]</span>
<br><span class="text-info">Module 'Magento_EavGraphQl':</span>
<br><span class="hidden">[Progress: 32 / 773]</span>
<br><span class="text-info">Module 'Magento_CatalogImportExport':</span>
<br><span class="hidden">[Progress: 33 / 773]</span>
<br><span class="text-info">Module 'Magento_Payment':</span>
<br><span class="hidden">[Progress: 34 / 773]</span>
<br><span class="text-info">Module 'Magento_CatalogInventory':</span>
<br><span class="hidden">[Progress: 35 / 773]</span>
<br><span class="text-info">Module 'Magento_Cron':</span>
<br><span class="hidden">[Progress: 36 / 773]</span>
<br><span class="text-info">Module 'Magento_Msrp':</span>
<br><span class="hidden">[Progress: 37 / 773]</span>
<br><span class="text-info">Module 'Magento_CatalogRule':</span>
<br><span class="hidden">[Progress: 38 / 773]</span>
<br><span class="text-info">Module 'Magento_CatalogUrlRewrite':</span>
<br><span class="hidden">[Progress: 39 / 773]</span>
<br><span class="text-info">Module 'Magento_CatalogUrlRewriteGraphQl':</span>
<br><span class="hidden">[Progress: 40 / 773]</span>
<br><span class="text-info">Module 'Magento_Widget':</span>
<br><span class="hidden">[Progress: 41 / 773]</span>
<br><span class="text-info">Module 'Magento_Sales':</span>
<br><span class="hidden">[Progress: 42 / 773]</span>
<br><span class="text-info">Module 'Magento_Checkout':</span>
<br><span class="hidden">[Progress: 43 / 773]</span>
<br><span class="text-info">Module 'Magento_Vault':</span>
<br><span class="hidden">[Progress: 44 / 773]</span>
<br><span class="text-info">Module 'Magento_CmsGraphQl':</span>
<br><span class="hidden">[Progress: 45 / 773]</span>
<br><span class="text-info">Module 'Magento_CmsUrlRewrite':</span>
<br><span class="hidden">[Progress: 46 / 773]</span>
<br><span class="text-info">Module 'Magento_CmsUrlRewriteGraphQl':</span>
<br><span class="hidden">[Progress: 47 / 773]</span>
<br><span class="text-info">Module 'MSP_TwoFactorAuth':</span>
<br><span class="text-info">Installing schema... </span><span class="text-info">Upgrading schema... </span>
<br><span class="hidden">[Progress: 48 / 773]</span>
<br><span class="text-info">Module 'Magento_ConfigurableImportExport':</span>
<br><span class="hidden">[Progress: 49 / 773]</span>
<br><span class="text-info">Module 'Magento_ConfigurableProduct':</span>
<br><span class="hidden">[Progress: 50 / 773]</span>
<br><span class="text-info">Module 'Magento_StoreGraphQl':</span>
<br><span class="hidden">[Progress: 51 / 773]</span>
<br><span class="text-info">Module 'Magento_ConfigurableProductSales':</span>
<br><span class="hidden">[Progress: 52 / 773]</span>
<br><span class="text-info">Module 'Magento_Contact':</span>
<br><span class="hidden">[Progress: 53 / 773]</span>
<br><span class="text-info">Module 'Magento_Cookie':</span>
<br><span class="hidden">[Progress: 54 / 773]</span>
<br><span class="text-info">Module 'Magento_Email':</span>
<br><span class="hidden">[Progress: 55 / 773]</span>
<br><span class="text-info">Module 'Magento_CurrencySymbol':</span>
<br><span class="hidden">[Progress: 56 / 773]</span>
<br><span class="text-info">Module 'Magento_Paypal':</span>
<br><span class="hidden">[Progress: 57 / 773]</span>
<br><span class="text-info">Module 'Magento_Analytics':</span>
<br><span class="hidden">[Progress: 58 / 773]</span>
<br><span class="text-info">Module 'Magento_CustomerGraphQl':</span>
<br><span class="hidden">[Progress: 59 / 773]</span>
<br><span class="text-info">Module 'Magento_CustomerImportExport':</span>
<br><span class="hidden">[Progress: 60 / 773]</span>
<br><span class="text-info">Module 'Magento_Deploy':</span>
<br><span class="hidden">[Progress: 61 / 773]</span>
<br><span class="text-info">Module 'Magento_Developer':</span>
<br><span class="hidden">[Progress: 62 / 773]</span>
<br><span class="text-info">Module 'Magento_Dhl':</span>
<br><span class="hidden">[Progress: 63 / 773]</span>
<br><span class="text-info">Module 'Amazon_Core':</span>
<br><span class="hidden">[Progress: 64 / 773]</span>
<br><span class="text-info">Module 'Magento_Downloadable':</span>
<br><span class="hidden">[Progress: 65 / 773]</span>
<br><span class="text-info">Module 'Magento_CatalogGraphQl':</span>
<br><span class="hidden">[Progress: 66 / 773]</span>
<br><span class="text-info">Module 'Magento_ImportExport':</span>
<br><span class="hidden">[Progress: 67 / 773]</span>
<br><span class="text-info">Module 'Magento_Authorizenet':</span>
<br><span class="hidden">[Progress: 68 / 773]</span>
<br><span class="text-info">Module 'Magento_BundleGraphQl':</span>
<br><span class="hidden">[Progress: 69 / 773]</span>
<br><span class="text-info">Module 'Magento_CatalogSearch':</span>
<br><span class="hidden">[Progress: 70 / 773]</span>
<br><span class="text-info">Module 'Magento_Newsletter':</span>
<br><span class="hidden">[Progress: 71 / 773]</span>
<br><span class="text-info">Module 'Magento_EncryptionKey':</span>
<br><span class="hidden">[Progress: 72 / 773]</span>
<br><span class="text-info">Module 'Magento_Fedex':</span>
<br><span class="hidden">[Progress: 73 / 773]</span>
<br><span class="text-info">Module 'Magento_GiftMessage':</span>
<br><span class="hidden">[Progress: 74 / 773]</span>
<br><span class="text-info">Module 'Magento_GoogleAdwords':</span>
<br><span class="hidden">[Progress: 75 / 773]</span>
<br><span class="text-info">Module 'Magento_GoogleAnalytics':</span>
<br><span class="hidden">[Progress: 76 / 773]</span>
<br><span class="text-info">Module 'Magento_Ui':</span>
<br><span class="hidden">[Progress: 77 / 773]</span>
<br><span class="text-info">Module 'Magento_ConfigurableProductGraphQl':</span>
<br><span class="hidden">[Progress: 78 / 773]</span>
<br><span class="text-info">Module 'Magento_GroupedImportExport':</span>
<br><span class="hidden">[Progress: 79 / 773]</span>
<br><span class="text-info">Module 'Magento_GroupedProduct':</span>
<br><span class="hidden">[Progress: 80 / 773]</span>
<br><span class="text-info">Module 'Magento_GroupedProductGraphQl':</span>
<br><span class="hidden">[Progress: 81 / 773]</span>
<br><span class="text-info">Module 'Magento_DownloadableImportExport':</span>
<br><span class="hidden">[Progress: 82 / 773]</span>
<br><span class="text-info">Module 'Magento_Braintree':</span>
<br><span class="hidden">[Progress: 83 / 773]</span>
<br><span class="text-info">Module 'Magento_InstantPurchase':</span>
<br><span class="hidden">[Progress: 84 / 773]</span>
<br><span class="text-info">Module 'Magento_CatalogAnalytics':</span>
<br><span class="hidden">[Progress: 85 / 773]</span>
<br><span class="text-info">Module 'Magento_Inventory':</span>
<br><span class="hidden">[Progress: 86 / 773]</span>
<br><span class="text-info">Module 'Magento_InventoryAdminUi':</span>
<br><span class="hidden">[Progress: 87 / 773]</span>
<br><span class="text-info">Module 'Magento_InventoryApi':</span>
<br><span class="hidden">[Progress: 88 / 773]</span>
<br><span class="text-info">Module 'Magento_InventoryBundleProduct':</span>
<br><span class="hidden">[Progress: 89 / 773]</span>
<br><span class="text-info">Module 'Magento_InventoryBundleProductAdminUi':</span>
<br><span class="hidden">[Progress: 90 / 773]</span>
<br><span class="text-info">Module 'Magento_InventoryCatalog':</span>
<br><span class="hidden">[Progress: 91 / 773]</span>
<br><span class="text-info">Module 'Magento_InventorySales':</span>
<br><span class="text-danger">[ERROR] Magento\Framework\Setup\Exception: Unable to apply patch Magento\InventorySales\Setup\Patch\Schema\InitializeWebsiteDefaultSock for module Magento_InventorySales. Original exception message: No such entity. in /var/www/vhosts/[HOST_REDACTED]/httpdocs/vendor/magento/framework/Setup/Patch/PatchApplier.php:232 |
Hi @patvdleer, in your composer.json MSI package line is missing, please insert it like this if you want latest MSI package 1.1.0 "require": { or "magento/inventory-composer-metapackage": "1.0.3" - for previous MSI version here is full instruction how to install MSI |
Well that's the thing, I wasn't looking for that, I am trying to run the default install. Should I still add it? |
sure, if you want MSI to be installed |
@smoskaluk I don't, I don't need it |
Hi @patvdleer , as a work around you may disable all Magento_Inventory* modules in your Magento (set 0 for all of them in app/etc/config.php) and then try to install Magento_Inventory => 0, |
For details see https://devdocs.magento.com/guides/v2.3/comp-mgr/install-extensions/inventory-management-installation.html This page goes over upgrading from previous Magento versions: |
still doesn't explain how a clean install causes this error |
Hey @patvdleer ,
MSI is a core part, it's a name for the new Inventory mechanism in Magento. So, MSI is not just for merchants who want to use multi-sourcing capabilities of Magento, but for all merchants who wish to use Inventory functionality (as product Qty calculation) for their eCommerce stores. With a high probability, the legacy mechanism (CatalogInventory) would be fully eliminated within the next major Magento release (2.4). Thus, we recommend using MSI interfaces for all new projects if in the scope of the project you need to work/customize out of the box inventory operations.
A clean Magento install includes MSI, as MSI is a core bundle extension. |
True, this is still an open question. On Magento marketplace, we generate meta-package which includes MSI. |
I can not, for the life of me, figure out why this is... I've tried switching to PHP7.2, reverting to "regular" MySQL instead of Percona MySQL... Still same shit (composer) reinstalled multiple times, including clearing the cache... |
via the tar.gz install
|
Yes, it's very weird situation. I'm installing Magento several times every day and never faced such problem. Did you have any errors when you create your Database for Magento? Did you try to re-create new one before installation? |
I tried 2.2.7 which also gave me issues, so I did what every reasonable devop would do, reinstall the VPS en threaten the server with a glass of water. I'll keep you posted once I finish setting it back up again |
after this the installation went flawless |
Is this still a bug /relevant? Not using composer or git, clean install zip package from site.. version 2.3.3 PHP 7.2.26 [ERROR] Magento\Framework\Setup\Exception: Unable to apply patch Magento\InventorySales\Setup\Patch\Schema\InitializeWebsiteDefaultSock for module Magento_InventorySales. Original exception message: Could not load Sales Channels for Stock in /var/www/vhosts/domain/htdocs/vendor/magento/framework/Setup/Patch/PatchApplier.php:241 |
For anybody still experiencing this issue on fresh installs please see: https://magento.stackexchange.com/questions/315644/unable-to-apply-patch-magento-inventorysales-setup-patch-schema-initializewebsit/315645#315645 |
Amazing, that we still have to patch the core in order to get a running magento installation 😂 |
Completely clean setup, new server about an hour old, installed Ubuntu 18.04, Apache 2, MySQL 5.7 and PHP 7.1. When trying to run the Magento 2.3 setup it failed.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Refs: magento/magento2#21003
The text was updated successfully, but these errors were encountered: