The process of upgrading from Akeneo 6.X to 7.X is the focus of this blog.
Almost every buyer wants to check the pertinent product information these days before making a purchase.
If the company wasn’t providing customers with accurate information, they probably wouldn’t even consider making a purchase.
The comprehensive, adaptable, and powerful Product Information Management solution offered by Akeneo, one of the leading Akeneo PIM solution providers in the world, has made it well-known.
The Akeneo version 7.x, which includes new features for both the Community and Enterprise Editions, was just launched by Akeneo.
In Akeneo 7, what has changed?
With a number of new features and enhancements, Akeneo 7.0, the most recent version of the well-liked opensource Product Information Management (PIM) platform, may assist organizations in managing their product data more successfully.
It also comes with Long-term Support Version (LTS), which will receive maintenance for an additional 18 months, ending in September 2024.
Steps to Upgrade the Akeneo 6. x to 7. x.
Here you will find the furthermore steps that will help you to upgrade the Akeneo 6. x to 7. 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 7.x.
- PHP 8.1
- MySQL 8.0
- Elasticsearch 8.4.2
You can check here furthermore information on server requirements:
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.1-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/7.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_60_to_70.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 6. x to 7.x.
To know moreover details of the upgrade process, please check here.
Support
The above information covers the steps of Akeneo Upgrade 6 to 7.
For any queries or concerns regarding the Akeneo, you can connect with us at [email protected] or you can also raise a ticket at our helpdesk system.
Be the first to comment.