# Nach PHP 7 Umstellung Wartungsmodus im Backend

**URL:** <https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933>\
**Category:** Installation/Einstieg\
**Created:** [6. Juli 2018 um 12:36 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933 "2018-07-06T12:36:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 12:36 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/1 "2018-07-06T12:36:22Z")

</div>

Hallo,

leider wurde vom Hoster im Produktivmodus auf PHP 7 umgestellt und nun funktioniert rein gar nichts mehr. Alle Bereich inklusive Backend sind im Wartungsmodus.

Die PHP Version ist wieder zurückgestellt, aber wie gesagt funktioniert nichts mehr. Was kann man hier machen?

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [6. Juli 2018 um 12:43 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/2 "2018-07-06T12:43:44Z")

</div>

Backend im Wartungsmodus?

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [6. Juli 2018 um 12:45 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/3 "2018-07-06T12:45:53Z")

</div>

Klingt mir eher so als habe jemand das Auto-Update gestartet. Ruf mal /recovery/update auf.

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 12:55 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/4 "2018-07-06T12:55:31Z")

</div>

Offensichtlich ist hier das Problem:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/8/8aaad69b886e372d15c27ab8829a93061a99a57f.png)

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 13:16 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/5 "2018-07-06T13:16:08Z")

</div>

Anscheinend hängt es auch mit dieser Cronjob Meldung zusammen:

```
 Url '[http://www.hbdekor.de/backend/cron](http://www.hbdekor.de/backend/cron)' fetched Status: 503 Output: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Wartungsmodus</title><style>
		article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font:1em monospace,serif}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea
 {font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}

		body, html { min-height: 100%; background: #e9ebed; }
		.maintenance-container {
			position: relative;
			background: #fff;
			-webkit-border-radius: 3px;
			-moz-border-radius: 3px;
			border-radius: 3px;
			margin: 50px auto;
			width: 475px;
			padding: 30px;
			text-align: center;

			-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, .5);
			-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, .5);
			-ms-box-shadow: 0px 1px 3px rgba(0, 0, 0, .5);
			box-shadow: 0px 1px 3px rgba(0, 0, 0, .5);
		}
		.maintenance-headline {
			font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
			font-weight: 300;
			margin: 0 0 .8em;
		}
		.maintenance-text { font-size: 13px }
		.maintenance-progress {
			border-top: 1px solid #529e52;
			height: 4px; width: 100%;
			position: absolute;
			bottom: 0; left: 0;
			background-color: #5eb95e;
			-webkit-background-size: 40px 40px;
			-moz-background-size: 40px 40px;
			-o-background-size: 40px 40px;
			background-size: 40px 40px;
			-webkit-animation: progress-bar-stripes 2s linear infinite;
			-moz-animation: progress-bar-stripes 2s linear infinite;
			-ms-animation: progress-bar-stripes 2s linear infinite;
			-o-animation: progress-bar-stripes 2s linear infinite;
			animation: progress-bar-stripes 2s linear infinite;
			background-color: #62C462;
			background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, rgba(0, 0, 0, 0)), color-stop(0.5, rgba(0, 0, 0, 0)), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0)));
			background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
			background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
			background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
			background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
		}

		hr {
			background: transparent url(<a class="moz-txt-link-rfc2396E" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAHUlEQVR42q3IoREAAACCQHdy/91IFrLcfSGqc5wAdFYCZQo/LFUAAAAASUVORK5CYII=">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAHUlEQVR42q3IoREAAACCQHdy/91IFrLcfSGqc5wAdFYCZQo/LFUAAAAASUVORK5CYII="</a>) repeat-x;
			border: 0 none;
			color: #CCC;
			height: 4px;
			padding: 0;
			margin: 30px 0;
		}

		@-webkit-keyframes progress-bar-stripes {
			from {
				background-position: 40px 0;
			}
			to {
				background-position: 0 0;
			}
		}

		@-moz-keyframes progress-bar-stripes {
			from {
				background-position: 40px 0;
			}
			to {
				background-position: 0 0;
			}
		}

		@-ms-keyframes progress-bar-stripes {
			from {
				background-position: 40px 0;
			}
			to {
				background-position: 0 0;
			}
		}

		@-o-keyframes progress-bar-stripes {
			from {
				background-position: 0 0;
			}
			to {
				background-position: 40px 0;
			}
		}

		@keyframes progress-bar-stripes {
			from {
				background-position: 40px 0;
			}
			to {
				background-position: 0 0;
			}
		}
	</style>

# 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.
```

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [6. Juli 2018 um 13:21 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/6 "2018-07-06T13:21:39Z")

</div>

> Die PHP Version ist wieder zurückgestellt

Wenn dem so ist, dann lösche doch mal den kompelten Cache und probier dann dich im Backend einzuloggen.

> Status: 503

Da hilft oft ein Blick in die error\_log vom Server:

- Fehlermeldungen in Shopware debuggen und untersuchen  
[http://community.shopware.com/Fehlermeldungen-in-Shopware-debuggen\_detail\_1880.html](http://community.shopware.com/Fehlermeldungen-in-Shopware-debuggen%5C_detail%5C_1880.html)

- Fehlermeldungen in error\_log auf Server untersuchen  
Bitte nicht mit Shopware Log verwechseln - ggf. beim Hoster anfragen

&nbsp;

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 13:32 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/7 "2018-07-06T13:32:00Z")

</div>

Den cache vom browser? Die Meldung kommt auf mehreren getrennten Computern vor.

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 13:33 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/8 "2018-07-06T13:33:04Z")

</div>

> [@Moritz Naczenski schrieb:](https://forum.shopware.com/profile/14574/Moritz%20Naczenski "Moritz%20Naczenski")
> 
> Klingt mir eher so als habe jemand das Auto-Update gestartet. Ruf mal /recovery/update auf.
> 
> &nbsp;
> 
> Fehlermeldung:
> 
> Error
> 
> Received the following error message:  
> Could not apply migration: SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‚s\_filter\_values\_attributes‘ already exists
> 
> Please try to fix this error and restart the update.

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [6. Juli 2018 um 13:49 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/9 "2018-07-06T13:49:58Z")

</div>

Hallo,

da würde ich den Hoster einmal kontaktieren und ein Backup wiederherstellen lassen.  
Denn deine Installation will nun ein Update durchführen (das kann nichts mit einer Umstellung auf PHP 7 zu tun haben). Das Update wurde manuell draufkopiert oder über das Shopware Backend gestartet. Deine Datenbank ist aber bereits neuer, als das was der Updater nun ausführen will.&nbsp;

Da passt also richtig was nicht. Daher sollte am besten die lauffähig Version aus einem Backup komplett zurückgesichert werden. (Wichtig: sauber zurückspielen auf einen cleanen FTP und Datenbank. Nicht überschreiben)

Danach muss man im Detail schauen, was nicht läuft. Das liegt in der Regel dann nur an Plugins, welche man updaten muss. Shopware ist bereits sehr lange PHP 7 kompatibel - außer deine Version war sehr sehr alt

VG  
Sebastian

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 14:14 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/10 "2018-07-06T14:14:54Z")

</div>

Tja, selbst nach Einspielen des Backups erscheint der Fehler…

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [6. Juli 2018 um 14:58 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/11 "2018-07-06T14:58:34Z")

</div>

Der Wartungsmodus kommt nur, wenn man das Update angestoßen hat.  
Evtl. wurde das Backup nicht richtig zurückgespielt - wie geschrieben muss das auf jeweils einen leeren Ort zurückgesichert werden! Und natürlich ein Backup, wo der Shop noch lief.

Dann kann die Meldung gar nicht mehr kommen, außer jedes Backup ist schon mit dem Defekt.

Man kann das versuchen manuell zu “retten”. Dann muss man genau sehen, welche Shopware Version das ist. Das Update muss man dann entweder sauber durchführen oder als erledigt markieren (Datenbank s\_schema\_version) (Siehe auch Doku)

VG  
Sebastian

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 15:22 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/12 "2018-07-06T15:22:14Z")

</div>

Eben bin ich in das Backend gekommen, dann kam wieder eine Cron Mail und sofort hat wieder der Wartungsmodus eingeschaltet…

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [6. Juli 2018 um 15:29 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/13 "2018-07-06T15:29:02Z")

</div>

Das ist wohl einfach nur, weil der Cronjob ausgeführt wird. Der verschickt ja ebenfalls nur die&nbsp;wartungsseite als Inhalt&nbsp;

Ich würde dringend empfehlen noch einmal den Hoster zu fragen. Da ist was anderes auf dem System schief gelaufen.

Wie oben&nbsp;geschrieben kann es nicht an der reinen Umstellung auf PHP 7 liegen. Da muss irgendwie mehr passiert sein, dass dort das Update jetzt ausgeführt wird. Das kann/macht Shopware nicht von alleine&nbsp;

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 15:34 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/14 "2018-07-06T15:34:32Z")

</div>

Was soll ich denn den Hoster fragen? Er sagt nur, dass einfach nur von 7 zurückgestellt wurde. Die Wartungsschleife ist nicht sofort eingetreten, sondern nach etwa 15 min.

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 16:50 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/15 "2018-07-06T16:50:28Z")

</div>

Ich habe nochmal selbst den Backup geladen und gesehen, dass fast alle Versuche eine Fehlermeldung generiert haben:

> NING:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The component awstats is not installed. It will be unavailable for the following websites: ,[hbdekor.de](http://hbdekor.de)

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [6. Juli 2018 um 17:07 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/16 "2018-07-06T17:07:46Z")

</div>

Das Backup muss in eine komplett leere Datenbank eingespielt werden und auch die Daten auf dem Server komplett ausgetauscht. Entweder das jetztige Verzeichnis löschen und das Backup einspielen oder einen neuen Ordner nehmen und die Domain umrouten. Backup einspielen heißt nicht einfach das ale wieder drüber zu packen!

Kling mir so, als wären noch Dateien von vor dem Backup da und das darf nicht.

---

<div class="post-metadata">

**Author:** ![NurIch](https://avatars.discourse-cdn.com/v4/letter/n/df705f/32.png) [@NurIch](https://forum.shopware.com/u/NurIch)\
**Post date:** [6. Juli 2018 um 18:16 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/17 "2018-07-06T18:16:57Z")

</div>

du bist nicht alleine

[https://forum.shopware.com/discussion/54889/shopware-nicht-mehr-erreichbar-nach-umstellung-auf-php7#latest](https://forum.shopware.com/discussion/54889/shopware-nicht-mehr-erreichbar-nach-umstellung-auf-php7#latest)

welcher Hoster?

Da ist ja was gründlich schief gelaufen

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [6. Juli 2018 um 18:51 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/18 "2018-07-06T18:51:35Z")

</div>

Das ist mein Techniker. Der Hoster ist Estugo.

---

<div class="post-metadata">

**Author:** ![Hbaer](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hbaer](https://forum.shopware.com/u/Hbaer)\
**Post date:** [11. Juli 2018 um 09:08 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/19 "2018-07-11T09:08:01Z")

</div>

Das Problem wurde nun durch das RICHTIGE Abspielen des Updates gelöst.

Nun, nach Update von 5.1 auf 5.4.5 erscheinen nach einiger Zeit alle Seiten weiß. Bei Einkaufswelten wird Masonry veraltet angegeben. Wahrscheinlich hängt es damit zusammen? Was muss man da ändern?

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [18. Juli 2018 um 10:09 UTC](https://forum.shopware.com/t/nach-php-7-umstellung-wartungsmodus-im-backend/53933/20 "2018-07-18T10:09:26Z")

</div>

> Nun, nach Update von 5.1 auf 5.4.5 erscheinen nach einiger Zeit alle Seiten weiß. Bei Einkaufswelten wird Masonry veraltet angegeben. Wahrscheinlich hängt es damit zusammen? Was muss man da ändern?

Alle wichtigen Hinweise zu jedem Update stehen hier:&nbsp;[https://community.shopware.com/Downloads\_cat\_448.html](https://community.shopware.com/Downloads%5C_cat%5C_448.html)

&nbsp;
