Menu Close
    Hire Us Request Quote Reading List Switch to Dark Mode

    How To Resolve Multi Akeneo Cache Conflict at Single Instance

    If you have multiple Akeneo instances over the same server. some times 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 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 --no-warmup --env=prod && php bin/console pim:install:asset --env=prod && php bin/console assets:install web --symlink && yarn run webpack && php bin/console d:s:update --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

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close