Back to Top

Upgrade Akeneo PIM from 5. x to 6. x

Updated 27 February 2024

This blog is all about the Upgrade Akeneo PIM process from Akeneo 5. x to 6. x.

Today, practically every customer wants to review the relevant product information before making a purchase.

In most cases, they wouldn’t even think about making a purchase if the retailer wasn’t giving them the correct information.

Now, in modern commerce, you can invest in new technologies like PIM to provide compelling product information to the end-user.

Akeneo is one of the best PIM solution providers in the World also, it is famous due to its powerful, flexible, and adaptable Product Information Management solution.

Start your headless eCommerce
now.
Find out More

Recently, Akeneo released the Akeneo version 6. x with almost 15 new features in Community as well as Enterprise Edition.

Akeneo is the most used open-source PIM solution in the World. There are 75k companies over the Globe managing Product Information using Akeneo.

They have also the enterprise edition of the Akeneo solution. It is famous among all the PIM because of its organizability functionalities.

Webkul is one of the best Akeneo solution providers in the World. It has the largest number of Akeneo connectors available for various eCommerce frameworks.

Webkul developed more than 75+ extensions for Akeneo and, it is expanding day by day.

Also, Akeneo 6. x is released with some outstanding key features. You can check key features here:

  • Automation
  • Data governance
  • Productivity
  • Improved Data Quality
  • Connectivity
  • Reporting
  • Collaboration
  • Scalability

Steps to Upgrade the Akeneo 5. x to 6. x.

Here you will find the furthermore steps that will help you to upgrade the Akeneo 5. x to 6. x.

Note: Please make sure that you have taken the database backup before the upgrade. Further, you have to check that the daemon is not running in the background.

Step 1: Firstly, you have to stop running Daemon.

Step 2: Take the MySQL Dump of your Production Database using the terminal or our Backup Connector.

Upgradation Requirement

Step 3: You need to upgrade the server component for the new version 6.x.

  • PHP 8.0
  • MySQL 8.0.23
  • Elasticsearch 7.16

You can check here furthermore information of server requirement here:

You can check here moreover details of the “Periodic tasks & Crontab configuration“.

Step 4: In addition, you have to upgrade the “Virtual Host Configuration“.

<VirtualHost *:80>
    ServerName akeneo-pim.local

    DocumentRoot /path/to/installation/pim-community-standard/public
    <Directory /path/to/installation/pim-community-standard/public>
        AllowOverride None
        Require all granted

        Options -MultiViews
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ index.php [QSA,L]
    </Directory>

    <Directory /path/to/installation/pim-community-standard/public/bundles>
        RewriteEngine Off
    </Directory>

    <FilesMatch \.php$>
        SetHandler "proxy:unix:/run/php/php8.0-fpm.sock|fcgi://localhost/"
    </FilesMatch>

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

    ErrorLog ${APACHE_LOG_DIR}/akeneo-pim_error.log
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/akeneo-pim_access.log combined
</VirtualHost>

Prepare the Setup

Step 5: The root of the current installation directory will be $INSTALLATION_DIR. Further, you need to run these commands.

$ export APP_ENV=prod
$ cd $INSTALLATION_DIR
$ cp -R ./vendor/akeneo/pim-community-dev/upgrades/* ./upgrades/
$ php bin/console doctrine:migrations:version --add --all -q
$ rm -rf var/cache/

Akeneo PIM COMPOSER.JSON can be downloaded from the Github repository.

$  curl https://raw.githubusercontent.com/akeneo/pim-community-standard/6.0/composer.json > $INSTALLATION_DIR/composer.json

Upgrade Process

Step 6: Moreover, for the preparation of the upgrade process run these commands:

$ export APP_ENV=prod
$ vendor/akeneo/pim-community-dev/std-build/migration/prepare_50_to_60.sh

Step 7: Please ensure that your environment is ready to be upgraded.

$ rm -Rf var/cache
$ bin/console pim:installer:check-requirements

After running this command if you will face any issues then you need to check the server required to process the next step.

Step 8: After that you need to prepare the Front-end dependencies.

$ make upgrade-front

Step 9: Then run the final command to upgrade your data.

$ bin/console doctrine:migrations:migrate
$ bin/console pimee:data-quality-insights:migrate-product-criterion-evaluation
$ bin/console pim:data-quality-insights:recompute-product-scores

Above all steps will help you to upgrade the data from Akeneo 5.x to 6.x.

Further, to know more about the Akeneo 6.x changes, then you need to check this blog

To know moreover details of the upgrade process, please check here.

Support

That is all about the Akeneo 5.x to 6.x Upgrade Process. Moreover, if you have any doubts or queries regarding the extension get back to us at [email protected] or create a ticket at our HelpDesk system.

. . .

Leave a Comment

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


Be the first to comment.

Back to Top

Message Sent!

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

Back to Home

Upgrade Akeneo PIM from 5. x to 6. x