# Debian 8: Installation über GIT

**URL:** <https://forum.shopware.com/t/debian-8-installation-uber-git/48251>\
**Category:** Installation/Einstieg\
**Created:** [13. September 2017 um 22:27 UTC](https://forum.shopware.com/t/debian-8-installation-uber-git/48251 "2017-09-13T22:27:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![confiado](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@confiado](https://forum.shopware.com/u/confiado)\
**Post date:** [13. September 2017 um 22:27 UTC](https://forum.shopware.com/t/debian-8-installation-uber-git/48251/1 "2017-09-13T22:27:04Z")

</div>

Hallo Zusammen,

ich habe Shopware mit der folgenden Anleitung [GitHub - shopware/shopware: Shopware 5 Repository - For Shopware 6 visit https://github.com/shopware/platform](https://github.com/shopware/shopware) unter Debian 8 installiert.

Schien alles erstmal gut. Nun rufe ich meine [Domain.de](http://Domain.de) auf, werde ich direkt auf [domain.de/recovery/install/](http://domain.de/recovery/install/) weitergeleitet.

Hier erscheint nun eine weiße Seite.

&nbsp;

In dieser /recovery/install/index.php kommt es anscheinend nicht über

```
require_once __DIR__. '/../common/autoload.php';

```

Die Datei autoload.php existiert natürlich an diesem Ort.

Ein echo Befehl davor wird noch ausgeführt aber einer nach dieser Zeile nicht mehr.

&nbsp;

Fehlen hier noch PHP-Erweiterungen oder ähnliches? Ich habe sämtliche php7-\* Pakete installiert.

Ein reinstall hat auch noch nichts gebracht.

&nbsp;

Kann mir hier jemand helfen?

&nbsp;

Danke und Gruß,

Patrick

---

<div class="post-metadata">

**Author:** ![Thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomas/32/8167_2.png) [@Thomas](https://forum.shopware.com/u/Thomas)\
**Post date:** [14. September 2017 um 07:15 UTC](https://forum.shopware.com/t/debian-8-installation-uber-git/48251/2 "2017-09-14T07:15:44Z")

</div>

Hallo Patrick,

hast Du ggf. den Output von ant zur Hand? Da scheint bei dir ein Step nicht ausgeführt worden zu sein.

&nbsp;

Gruß, Thomas

---

<div class="post-metadata">

**Author:** ![confiado](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@confiado](https://forum.shopware.com/u/confiado)\
**Post date:** [14. September 2017 um 10:16 UTC](https://forum.shopware.com/t/debian-8-installation-uber-git/48251/3 "2017-09-14T10:16:58Z")

</div>

Hallo Thomas,

&nbsp;

ich bin ein Schritt weiter openjdk hat gefällt und daher ist es nicht durchgelaufen.

&nbsp;

Hier nun der Ausschnitt:

&nbsp;

```
Buildfile: /var/www/html/domain.de/shopware/build/build.xml

check-composer-binary:

install-composer-binary:

update-composer-binary:
     [exec] You are already using composer version 1.5.2 (stable channel).

build-composer-install:
     [exec] Do not run Composer as root/super user! See https://getcomposer.org/root for details
     [exec] Loading composer repositories with package information
     [exec] Installing dependencies (including require-dev) from lock file
     [exec] Nothing to install or update
     [exec] Generating optimized autoload files
     [exec] Warning: Ambiguous class resolution, "Doctrine\ORM\Persisters\Entity\BasicEntityPersister" was found in both "$baseDir . '/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php" and "/var/www/html/domain.de/shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php", the first will be used.
     [exec] Warning: Ambiguous class resolution, "Doctrine\Common\Proxy\AbstractProxyFactory" was found in both "$baseDir . '/engine/Library/Doctrine/Common/Proxy/AbstractProxyFactory.php" and "/var/www/html/domain.de/shopware/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php", the first will be used.

build-theme-initialize:
     [exec] Themes initializes

build-create-admin-account:
     [exec]
     [exec] [OK] Adminuser "demo" was successfully created.
     [exec]

build-install-lock-file:

build-disable-firstrunwizard:
     [exec] First Run Wizard disabled

install-git-hooks:

build-unit:

BUILD SUCCESSFUL
Total time: 4 minutes 35 seconds

```

&nbsp;

Das zwischen drin habe ich ausgeschnitten, da alles ok scheint und die Nachricht sonst zu lang wäre.

Wenn ich nun [domain.de](http://domain.de) aufrufe werde ich nicht mehr weitergeleitet aber trotzdem erscheint eine weiße Seite. Unter /recovery/install/ kommt Sie haben bereits die Installation ausgeführt.

&nbsp;

Gruß,

Patrick

---

<div class="post-metadata">

**Author:** ![confiado](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@confiado](https://forum.shopware.com/u/confiado)\
**Post date:** [14. September 2017 um 10:22 UTC](https://forum.shopware.com/t/debian-8-installation-uber-git/48251/4 "2017-09-14T10:22:07Z")

</div>

Nochmal zusammengefasst:

&nbsp;

Ich habe folgendes gemacht:

```
Verzeichnis: /var/www/html/domain.de/

git clone https://github.com/shopware/shopware.git

chmod -R 755 var
chmod -R 755 web
chmod -R 755 files
chmod -R 755 media
chmod -R 755 engine/Shopware/Plugins/Community

cd build/
ant configure
ant build-unit

vhost zeigt auf /var/www/html/domain.de/shopware/

```

Gruß,

Patrick

---

<div class="post-metadata">

**Author:** ![confiado](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@confiado](https://forum.shopware.com/u/confiado)\
**Post date:** [14. September 2017 um 10:42 UTC](https://forum.shopware.com/t/debian-8-installation-uber-git/48251/5 "2017-09-14T10:42:24Z")

</div>

Ich habs …

Irgendwo konnte er kein Verzeichnis erstellen innerhalb /var/www/html/domain.de …

Ich habe es im error.log vom Apache gesehen: PHP Fatal error:&nbsp; Uncaught RuntimeException: Unable to create the store directory

Danke und Gruß,

Patrick

---

<div class="post-metadata">

**Author:** ![confiado](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@confiado](https://forum.shopware.com/u/confiado)\
**Post date:** [14. September 2017 um 10:53 UTC](https://forum.shopware.com/t/debian-8-installation-uber-git/48251/6 "2017-09-14T10:53:55Z")

</div>

Das ist nach wie vor da:

&nbsp;

```
[exec] Warning: Ambiguous class resolution, "Doctrine\ORM\Persisters\Entity\BasicEntityPersister" was found in both "$baseDir . '/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php" and "/var/www/html/domain.de/shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php", the first will be used.
     [exec] Warning: Ambiguous class resolution, "Doctrine\Common\Proxy\AbstractProxyFactory" was found in both "$baseDir . '/engine/Library/Doctrine/Common/Proxy/AbstractProxyFactory.php" and "/var/www/html/domain.de/shopware/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php", the first will be used.

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![Thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomas/32/8167_2.png) [@Thomas](https://forum.shopware.com/u/Thomas)\
**Post date:** [14. September 2017 um 18:54 UTC](https://forum.shopware.com/t/debian-8-installation-uber-git/48251/7 "2017-09-14T18:54:02Z")

</div>

> [@confiado schrieb:](https://forum.shopware.com/profile/27253/confiado "confiado")
> 
> Das ist nach wie vor da:
> 
> [exec] Warning: Ambiguous class resolution, „Doctrine\ORM\Persisters\Entity\BasicEntityPersister“ was found in both „$baseDir . '/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php“ and „/var/www/html/domain.de/shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php“, the first will be used.  
> [exec] Warning: Ambiguous class resolution, „Doctrine\Common\Proxy\AbstractProxyFactory“ was found in both „$baseDir . '/engine/Library/Doctrine/Common/Proxy/AbstractProxyFactory.php“ and „/var/www/html/domain.de/shopware/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php“, the first will be used.
> 
> &nbsp;

&nbsp;Diese Fehlermeldung ist in Ordnung da dadurch Klassen überschrieben. Quasi ein gewolltes verhalten.&nbsp;
