This page has moved to Adobe Experience League and will be redirected soon.
Adobe Commerce 2.4.0 installation fails with outdated stores cache
Adobe Commerce 2.4.0 installation fails with outdated stores cache
This article provides a solution for the issue where your Adobe Commerce 2.4.0 installation fails with the error message: The default website isn't defined. Set the website and try again. displayed in the console.
Affected products and versions
Adobe Commerce on cloud infrastructure 2.4.0
Adobe Commerce on-premises 2.4.0
Issue
Prerequisites:
A third-party extension with dependencies on APIs for the Store module in CLI commands is configured as required in composer.json
. This causes the installation of Adobe Commerce 2.4.0 to fail with an error message: The default website isn't defined. Set the website and try again. displayed in the console.
Cause
The issue appears for the third-party extensions which have dependencies on stores in their CLI commands. One is Amazon Sales Channels.
Solution
Before the installation of Adobe Commerce 2.4.0, merchants have to:
Remove these third-party extensions from composer.json
.
Install Adobe Commerce without extensions.
Add the extensions after the installation.
The issue will be fixed in the scope of 2.4.1 release.
Was this article helpful?
Yes
No
0 out of 3 found this helpful