Skip to content

Commit

Permalink
Merge pull request #1835 from akeneo/SQUIR-118
Browse files Browse the repository at this point in the history
[SQUIR-118] Improve How to apply a patch -  Community
  • Loading branch information
Doodoune authored Mar 23, 2023
2 parents 830ff97 + dd71df5 commit 3049e9d
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions migrate_pim/apply_patch/apply_patch_ce.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Run the composer update command:
Be aware that your composer.json won't be updated and some dependencies might be missing or coming from an outdated version.

You have to check whether the latest composer.json is different from yours. In this case you should backup your current composer.json and download the newest one beforehand.
You have to make sure you have the latest version composer.json. In this case you should backup your current composer.json and download the newest one beforehand.

Double check in the output of this command that the latest version has been fetched, you can also check it by using the following command:

Expand All @@ -22,7 +22,7 @@ Then clean the cache, re-install assets and warmup the cache:

.. note::

Before launching the following commands, remember to stop the daemon to avoid generating outdated cache.
Before launching the following commands, remember to stop the daemons to avoid generating outdated cache.


.. code-block:: bash
Expand All @@ -43,7 +43,19 @@ Please **clear your browser's cache** before testing.
We set any other dependencies to their exact patch versions to avoid compatibility issues.


.. note::
Troubleshooting
-----------------------


**Cache issues**

If you get a 500 error after upgrading and clear cache isn't working, try clearing the apc cache with a PHP script or restart the Apache/Web server.


**Composer issues**

You have to make sure you have the latest version of composer.json. If this isn't the case, you should backup your current composer.json and download the newest one before updating.

If you get a 500 error after upgrading, and clear cache isn't working, try to clear the apc cache with a php script or restart Apache/Web server.
You need to get an archive containing Akeneo PIM and its PHP dependencies: https://download.akeneo.com/pim-community-standard-v6.0-latest-icecat.tar.gz

You can then copy the composer.json file to your pim installation.

0 comments on commit 3049e9d

Please sign in to comment.