1. Enable the maintenance mode
bin/magento maintenance:enable
2. Adapt the root composer.json to 2.4.8-p3
opened 04:45PM - 23 Jan 26 UTC
Composer
upgrade
A part of https://github.com/keyclampstore-com/m/issues/8
3. «magento/product-community-edition 2.4.8-p3 requires ext-ftp * -> it is missing from your system»
How did I workaround «magento/product-community-edition 2.4.8-p3 requires ext-ftp * -> it is missing from your system »?
4. «baldwin/magento2-module-csp-shim replaces magento/module-csp and thus cannot coexist with it»
opened 05:42PM - 23 Jan 26 UTC
closed 05:55PM - 23 Jan 26 UTC
compatibility
Composer
Content Security Policy
upgrade
```text
- Root composer.json requires baldwin/magento2-module-csp-shim v1.x-dev … -> satisfiable by baldwin/magento2-module-csp-shim[v1.x-dev].
- magento/product-community-edition 2.4.8-p3 requires magento/module-csp 100.4.7-p3 -> satisfiable by magento/module-csp[100.4.7-p3].
- Only one of these can be installed: magento/module-csp[100.4.0, ..., 100.4.8-alpha3], baldwin/magento2-module-csp-shim[v1.x-dev]. baldwin/magento2-module-csp-shim replaces magento/module-csp and thus cannot coexist with it.
- Root composer.json requires magento/product-community-edition 2.4.8-p3 -> satisfiable by magento/product-community-edition[2.4.8-p3].
```
A part of https://github.com/keyclampstore-com/m/issues/10, https://github.com/keyclampstore-com/m/issues/8
https://github.com/baldwin-agency/magento2-module-csp-shim
5. «fooman/emailattachments-m2[3.3.10, ..., 3.3.11] require php ~7.1.0||~7.2.0||~7.3.0||~7.4.0||~8.0.0||~8.1.0 -> your php version (8.2.8) does not satisfy that requirement»
opened 05:59PM - 23 Jan 26 UTC
closed 06:03PM - 23 Jan 26 UTC
compatibility
Composer
upgrade
>fooman/emailattachments-m2[3.3.10, ..., 3.3.11] require php ~7.1.0||~7.2.0||~7.… 3.0||~7.4.0||~8.0.0||~8.1.0 -> your php version (8.2.8) does not satisfy that requirement
A part of https://github.com/keyclampstore-com/m/issues/10, https://github.com/keyclampstore-com/m/issues/8
https://github.com/fooman/emailattachments-m2
6. «laminas/laminas-log[2.13.0, ..., 2.14.x-dev] require php ^7.3 || ~8.0.0 -> your php version (8.2.8) does not satisfy that requirement»
opened 06:09PM - 23 Jan 26 UTC
closed 08:09PM - 24 Jan 26 UTC
compatibility
Composer
upgrade
```text
- Root composer.json requires magento/product-community-edition 2.4.8-p3… -> satisfiable by magento/product-community-edition[2.4.8-p3].
- laminas/laminas-log[2.13.0, ..., 2.14.x-dev] require php ^7.3 || ~8.0.0 -> your php version (8.2.8) does not satisfy that requirement.
- laminas/laminas-log[2.15.0, ..., 2.15.x-dev] require php ^7.4 || ~8.0.0 || ~8.1.0 -> your php version (8.2.8) does not satisfy that requirement.
- laminas/laminas-log[2.16.0, ..., 2.18.x-dev] require psr/log ^1.1.2 -> satisfiable by psr/log[1.1.2, 1.1.3, 1.1.4].
- Conclusion: don't install psr/log 1.1.4 (conflict analysis result)
- Root composer.json requires laminas/laminas-log ^2.13 -> satisfiable by laminas/laminas-log[2.13.0, ..., 2.18.x-dev].
```
A part of https://github.com/keyclampstore-com/m/issues/10, https://github.com/keyclampstore-com/m/issues/8
7. Upgrade PHP to 8.2
Magento 2.4.8-p3 requires 8.2 ≤ PHP ≤ 8.4 :
8. Upgrade the «Yotpo Reviews» module from 3.3.0 to 4.3.4
How did I upgrade the «Yotpo Reviews » module from 3.3.0 to 4.3.4 ?
Rationale
How did I fix «Module 'Yotpo_Yotpo' » / «sales_order_data_exporter indexer does not exist » on bin/magento setup:upgrade while upgrading Magento from 2.4.5-p10 to 2.4.8-p3 ?
9. composer update
rm -rf composer.lock
composer clear-cache
composer update --ignore-platform-req=ext-ftp
10. Reimplement the core file patches overwritten by composer update
.editorconfig
pub/get.php
setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php
vendor/magento/framework/Image/Adapter/Gd2.php
vendor/magento/framework/Interception/PluginListGenerator.php
vendor/magento/framework/View/Element/Template/File/Validator.php
vendor/magento/module-catalog/Model/View/Asset/Image.php
opened 08:27PM - 24 Jan 26 UTC
reimplement
upgrade
```text
$ git status
On branch main
Your branch is up to date with 'origin/main'… .
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: .editorconfig
modified: pub/get.php
modified: setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php
modified: vendor/magento/framework/Image/Adapter/Gd2.php
modified: vendor/magento/framework/Interception/PluginListGenerator.php
modified: vendor/magento/framework/View/Element/Template/File/Validator.php
modified: vendor/magento/module-catalog/Model/View/Asset/Image.php
```
A part of https://github.com/keyclampstore-com/m/issues/8
11. bin/magento setup:upgrade
rm -rf var/di var/generation generated/*
bin/magento setup:upgrade
bin/magento cache:enable
bin/magento setup:di:compile
12
13
14
15
16
STUB. Disable the maintenance mode
bin/magento maintenance:disable