This document describes patches and minor updates of OXID eShop. Follow the steps below to upgrade the compilation from an existing version 6.2.x to a newer version 6.2.x.
Updates should always be installed in a test environment, a copy of your current shop. Backup the shop files and the database before updating. Disable all modules and check whether the shop works in general. After updating, test the shop again by paying special attention to the ordering process as well as payment and shipping methods.
Before updating from OXID eShop 6.2.0 till 6.2.4 to OXID eShop 6.2.5 or higher, Composer must be updated to version 2.
Specifying the target version of the update¶
In the file
composer.json located in the shop’s main directory, the version of the metapackage must be updated.
Example of an update for a Community Edition 6.2.0 to 6.2.1:
composer require --no-update oxid-esales/oxideshop-metapackage-ce:v6.2.1
The name of the metapackage must be adapted to the used shop edition.
If you are using Composer 2, what is possible with an update to OXID eShop 6.2.3 or higher, you need to update the IDE Helper in
require-dev section as well.
composer require --dev --no-update oxid-esales/oxideshop-ide-helper:^v4.0.0
Even if you do not install the dev requirements, Composer verifies their dependencies. Therefore this change is mandatory, if you are using Composer 2.
Open a shell in the shop’s main directory and execute the following Composer command. This will update all required libraries. Specify the --no-dev parameter if the development-related files are not required.
composer update --no-plugins --no-scripts --no-dev
Obtaining new compilation¶
The second Composer command executes all scripts to obtain the new compilation. For shop files, themes and modules, you will need to confirm that the update will overwrite the existing files.
composer update --no-dev
Deleting temporary files¶
To ensure the cached elements do not contain any incompatibilities the
/tmp directory needs to be cleared.
rm -rf source/tmp/*
The third and final Composer command will migrate the database if necessary.
Optional: Generating views¶
Depending on changes and shop edition you might see the maintenance mode in the shop as long as the views are not generated again.
Usually required when updating an Enterprise Edition.
This completes the updating process.