Step 1.
- The recent Cloudways update broke
bin/magento setup:upgrade
for Magento < 2.4.4, 2.4.4 < 2.4.4-p9, 2.4.5 < 2.4.5-p8 - How did I fix «Current version of RDBMS is not supported. Used Version: 10.5.25-MariaDB-deb11-log. Supported versions: MySQL-8, MySQL-5.7, MariaDB-(10.2-10.4)» on
bin/magento setup:upgrade
?
Step 2.
2.1.
Magento 2.4.7-p2 requires PHP ~8.1.0||~8.2.0||~8.3.0
:
2.2.
Magento 2.4.4 requires PHP ~7.4.0||~8.1.0
:
2.3.
Therefore, PHP ~8.1.0
is the only PHP version supported by both Magento 2.4.4 and 2.4.7-p2.
2.4.
So, I upgraded PHP to ~8.1.0
.
How did I upgrade PHP on cabinetsbay.com from 7.4 to 8.1?
Step 3.
How did I upgrade the root composer.json
file of cabinetsbay.com from Magento 2.4.4 to 2.4.7-p2?
Step 4.
Backup the code.
Step 5.
rm -rf composer.lock
composer clear-cache
composer update
Step 6.
How did I port the Magento 2.4.4 core file modifications of cabinetsbay.com to Magento 2.4.7-p2?
Step 7.
Update readme.md
:
Step 8.
bin/magento setup:upgrade
Step 9.
bin/magento cache:enable
Step 10.
bin/magento setup:di:compile
Step 11.
bin/magento cache:clean
rm -rf pub/static/* var/cache var/page_cache var/view_preprocessed
bin/magento setup:static-content:deploy \
--area adminhtml \
--theme Magento/backend \
-f en_US
bin/magento setup:static-content:deploy \
--area frontend \
--theme Cabinetsbay/cabinetsbay_default \
-f en_US
bin/magento cache:clean
Step 12.
bin/magento indexer:reindex
bin/magento cron:run --bootstrap=standaloneProcessStarted=1
bin/magento cache:clean
Step 13.
How did I make cabinetsbay.com compatible with Magento 2.4.7-p2?