Reading list Switch to dark mode

    How To Resolve Multi Akeneo Cache Conflict at a Single Instance

    Updated 25 August 2023

    If you have multiple Akeneo instances over the same server. Sometimes cache will be a conflict and throws the errors like (domain is currently unable to handle this request. HTTP ERROR 500). It may be an issue due to the multi akeneo cache conflict. You can split the cache using the following steps:

    1. Create the config_cache.yml file inside the app/config of your PIM directory and add the following lines
       doctrine_cache:
           providers:
               pim:
                   chain:
                       providers: [doctrine_cache.providers.pim_apcu, doctrine_cache.providers.pim_array]
                   namespace: '%database_name%'
    

    1. Copy the config_cache.yml file inside the app/config of your PIM directory.
    2. Edit the config_prod.yml and the following line inside the import section.
      • imports:
        • – { resource: config.yml }
        • { resource: config_cache.yml }
    3. Run the following command using the terminal at your PIM root directory. ( Note: Please note that neither the Apache user or the CLI should be the root user of the system. )
      1. php bin/console cache:clear --env=prod && php bin/console pim:installer:assets --symlink --clean --env=prod && yarn run webpack && php bin/console d:s:u --force

    after running the above commands if still face same HTTP ERROR 500. you can check the correct permissions to all directories and Akeneno requirements are fulfilled.

    php bin/console pim:installer:check-requirements

    Start your headless eCommerce
    now.
    Find out More

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    2 comments

  • Oliver Riske
    • navneet kumar (Moderator)
  • Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home