Consent to the use of Personal Data and Cookies

This website needs your consent to use cookies in order to customize ads and content.

If you give us your consent, data may be shared with Google.

Shopware stuck in maintenance mode

If shopware is stuck in maintenance mode, make sure to delete the update fulder and disable maintenance mode manually.


By. Jacob

Edited: 2022-10-01 20:03

Unsere Website befindet sich gerade in der Wartung. Wir stehen Ihnen bald wieder zur Verfügung.
Entschuldigen Sie etwaige Unannehmlichkeiten.

Our website is currently undergoing maintenance.
We'll be back very soon. Sorry for any inconvenience.

If Shopware gets stuck in maintenance mode after attempting to apply an update, then it might be because there is still a folder at /var/www/shopware/files/update/.

Note. The folder can probably be safely deleted, and and maintenance mode disabled afterwards.

Here is how to fix it assuming you are in Shopware's root:

sudo rm -R files/update/
sudo -u www-data bin/console sales-channel:maintenance:disable --all

You can then attempt to update again afterwards.

sudo -u www-data composer update

The web-based updater has failed numerous of times for me, and then I have had to finish the update via CLI instead. I recommend you update via composer to avoid such issues.

Tell us what you think:

  1. How to fix an apparent bug after upgrading to Shopware
  2. Typical causes and solutions for the No alive nodes found in your cluster error with Elasticsearch.
  3. How you may be able to safely downgrade your Shopware installation in case you accidentally updated.
  4. How to disable certain Exception error messages in Shopware, so that redundant messages do not show up in the log file.

More in: Shopware