Before updating Shopware, create a backup. Only with backups you can rollback easily if needed.
Before updating, take care that all of your installed plugins are up-to-date and compatible with the new Shopware version, otherwise your shop may have problems at updating and you have to recover it from your backup. Whether or not your plugins are compatible can be checked in our Community Store, in the Auto-Updater in the backend or in your Shopware Account at Licenses.
Unzip the update archive and copy all files by FTP to your Shopware directory on your server - overwrite all existing Shopware files.
Alternatively you can upload and unzip the zip file through your hoster's control panel. This is usually much faster.
Only use the "Update Package" from the Changelog Site!
After you successfully uploaded the files a maintenance page will be displayed automatically :
Now open the updater: http(s)://www.your-shop.com/recovery/update
Follow the update instructions. If you update a shop with a large amount of data, the database migration step may take a while to process.
To complete the update you must delete the directory/update-assets from your Shopware directory after the update
Before you open the Backend, please delete your browser cache (cache & offline website data).
Open the Backend and delete the following caches in the "Configuration -> Caches/Performance -> Cache" module:
Open your frontend and check the functionality - if problems occur, additionally delete the following directories:
xxxxxxxxx stands for the revision of your Shopware version.
After updating Shopware, please open the Plugin Manager and take a look for plugin updates. If available, please process all the available plugin updates to compelete your update.
This tutorial is made for professionals who are familiar with the shell! The shell executes commands without further inquiry, you should follow this tutorial only if you know what you're doing! Shopware doesn't give any warranty to this, so please make a backup of your server before start working in any case!
Please find the correct Shopware version in the change log and and copy the download link for it. Make sure that the link points to the archive with the update.
Now navigate with the shell to the main directory of the shop. There you enter this command to download the update package:
wget URL_FOR_DOWNLOAD
Often the download link can be added in the shell by right-clicking with the mouse. If your shell does not support pasting from the clipboard, enter the download link manually.
After the download is completed, unpack the archive with:
unzip NAME_OF_THE_ZIP_FILE
Usually it is sufficient to enter a unique part of the name after unzip here. The tab key is used to add the complete name.
Important! Both commands must be executed within the Shopware main directory.
Possibility 1: Update via wizard
The wizard update is started with the following command:
php recovery/update/index.php
The updater will start:
Press ENTER to start the update.
After the database updates, old files and the cache are cleared.
After the update is done, the directory /update-assets has to be removed to set the shop live again:
You can delete the directory /update-assets with the following command:
// delete update-assets
rm -r update-assets/
Possibility 2: One line update
The update can also be executed without the wizard, you can use the following parameters for this purpose:
The update command would look like this:
php recovery/update/index.php --no-interaction --quiet && rm -r update-assets/
Before you open the Backend, please delete your browser cache (cache & offline website data).
Open the frontend and check the shop for functionality - if problems occur, clear the following caches in the cache module in "Configuration -> Caches/performance -> Cache" at first:
and if needed the following directories:
xxxxxxxxxxxx is the revision of your Shopware version.
After updating Shopware, please open the Plugin Manager and take a look for plugin updates. If available, please process all the available plugin updates to complete your update.
Shopware can also be updated via AutoUpdate, this method is the easiest.
In the basic settings in "System > Shopware Auto Update" you can choose the update channel on which you want to be notified. Here you can choose the following channels:
If you have a update code, you can enter this code in the destined field.
If an update is available for your channel, you will be notified by a growl message:
Clicking on "Close" the notification will be hidden for this version, by clicking "details" the detail window for the update will pop up.
If you keep the update detail window opened, the updater will check your plugins and system requirements for compatibility. If all requirements are fulfilled, it will mark the tabs "Requirements" and "Plugins" with a green check:
If any plugin or requirement is not compatible, a yellow "!" icon is shown in the corresponding tab:
Take a look at the problem and solve it before updating your shop!
In the plugin overview you'll see whether or not the plugins are compatible or if an update is avaiable for a plugin. Please make sure before updating, that all plugins are installed in the newest version, otherwise the update may lead to problems.
You can only update your shop, if you confirm, that you made a backup. Thats is conductive for solving update problems easily and recover your backup in case of trouble at updating.
When all requirements are solved you can start the update by clicking "start update". The update process runs automatically until the "cleanup" step.
Here you can see all files which were removed by the updater, you just have to aggree to that.
The updater now finishes the update and also removes the "/update-assets" folder itself. After finishing the update, you can switch back to the frontend or backend.
Now the Shopware updates has finished.
After updating Shopware you first have to check you shopware account and set the right shopware version. Afterwards open the Plugin Manager and take a look for plugin updates. If available, please process all the available plugin updates to compelete your update.
If problems occur after the update the Update-FAQs may help you.
Alternatively to the default maintenance page you can use your own by creating a maintenance.html in the Showpare main directory. Shopware will automatically use this page instead of the default one.