# /psh.phar init - problem beim ausführen

**URL:** <https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631>\
**Category:** Installation/Einstieg\
**Created:** [8. März 2018 um 15:20 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631 "2018-03-08T15:20:33Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [8. März 2018 um 15:20 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/1 "2018-03-08T15:20:33Z")

</div>

Hallo!

&nbsp;

folgendes Problem nach dem Befehl bitte um Hilfe:

./psh.phar init

root@vps18066:~/shopware-docker# ./psh.phar init

wie komme ich weiter, es hat bei der installation einen fehler bei mysl gegeben

danke

lg

Peter

**###################**

**Starting Execution of ‘init’** (‘dev-ops/common/actions/init.sh’)

(1/2) Starting

**\> rm -rf ./shopware**

(2/2) Starting

**\> ./sw.phar install:release -r latest -i ./shopware --db-host mysql --db-user app --db-password app --db-name shopware --shop-host 10.100.111.46**

&nbsp;&nbsp; &nbsp;Downloading release

&nbsp;&nbsp; &nbsp;Unzipping archive

&nbsp;&nbsp; &nbsp;sh: 1: unzip: not found

&nbsp;&nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp; [RuntimeException]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp; Command failed. Error Output: &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp; sh: 1: unzip: not found &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;install:release [-r|–release RELEASE] [-i|–install-dir INSTALL-DIR] [–db-host DB-HOST] [–db-port DB-PORT] [–db-socket DB-SOCKET] [–db-user DB-USER] [–db-password DB-PASSWORD] [–db-name DB-NAME] [–no-skip-import] [–shop-locale SHOP-LOCALE] [–shop-host SHOP-HOST] [-p|–shop-path SHOP-PATH] [–shop-name SHOP-NAME] [–shop-email SHOP-EMAIL] [–shop-currency SHOP-CURRENCY] [–skip-admin-creation] [–admin-username ADMIN-USERNAME] [–admin-password ADMIN-PASSWORD] [–admin-email ADMIN-EMAIL] [–admin-locale ADMIN-LOCALE] [–admin-name ADMIN-NAME]

&nbsp;&nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;

**Execution aborted, a subcommand failed!**

&nbsp;

root@vps18066:~/shopware-docker#&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![BestShopPossible](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@BestShopPossible](https://forum.shopware.com/u/BestShopPossible)\
**Post date:** [8. März 2018 um 16:03 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/2 "2018-03-08T16:03:30Z")

</div>

Falsches Forum. Das hier ist das Shopware-Forum, kein Linux Forum.

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [8. März 2018 um 16:08 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/3 "2018-03-08T16:08:00Z")

</div>

Herzlichen Dank für das Verständnis, ich werde das in den entsprechenden Foren lösen versuchen!

&nbsp;

---

<div class="post-metadata">

**Author:** ![AndreHerking](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/andreherking/32/7839_2.png) [@AndreHerking](https://forum.shopware.com/u/AndreHerking)\
**Post date:** [8. März 2018 um 17:21 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/4 "2018-03-08T17:21:07Z")

</div>

Hey

sudo apt-get install zip

Danach sollte es gehen 😉

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [8. März 2018 um 17:22 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/5 "2018-03-08T17:22:36Z")

</div>

Du meinst wohl sudo apt install unzip&nbsp;

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [8. März 2018 um 18:27 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/6 "2018-03-08T18:27:06Z")

</div>

hi danke hat super funktioniert

&nbsp;

ich glaube es gibt beide befehle

&nbsp;

root@vps18066:~/shopware-docker# sudo apt install unzip

Reading package lists… Done

Building dependency tree&nbsp; &nbsp; &nbsp; &nbsp;

Reading state information… Done

unzip is already the newest version (6.0-20ubuntu1).

unzip set to manually installed.

The following packages were automatically installed and are no longer required:

&nbsp; linux-image-4.4.0-45-generic linux-image-extra-4.4.0-45-generic

Use ‘sudo apt autoremove’ to remove them.

0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded.

root@vps18066:~/shopware-docker#

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [8. März 2018 um 18:28 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/7 "2018-03-08T18:28:56Z")

</div>

hängte beim nächsten

was ist:

[PDOException]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

danke

&nbsp;

[PDOException]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp;

(2/2) Starting

**\> ./sw.phar install:release -r latest -i ./shopware --db-host mysql --db-user app --db-password app --db-name shopware --shop-host 10.100.111.46**

&nbsp;&nbsp; &nbsp;Downloading release

&nbsp;&nbsp; &nbsp;Unzipping archive

&nbsp;&nbsp; &nbsp;Creating database shopware

&nbsp;&nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp; [PDOException]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp; could not find driver &nbsp;

&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;install:release [-r|–release RELEASE] [-i|–install-dir INSTALL-DIR] [–db-host DB-HOST] [–db-port DB-PORT] [–db-socket DB-SOCKET] [–db-user DB-USER] [–db-password DB-PASSWORD] [–db-name DB-NAME] [–no-skip-import] [–shop-locale SHOP-LOCALE] [–shop-host SHOP-HOST] [-p|–shop-path SHOP-PATH] [–shop-name SHOP-NAME] [–shop-email SHOP-EMAIL] [–shop-currency SHOP-CURRENCY] [–skip-admin-creation] [–admin-username ADMIN-USERNAME] [–admin-password ADMIN-PASSWORD] [–admin-email ADMIN-EMAIL] [–admin-locale ADMIN-LOCALE] [–admin-name ADMIN-NAME]

&nbsp;&nbsp; &nbsp;

&nbsp;&nbsp; &nbsp;

**Execution aborted, a subcommand failed!**

&nbsp;

---

<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:** [8. März 2018 um 18:31 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/8 "2018-03-08T18:31:36Z")

</div>

Hast du denn php-mysql als Modul installiert?

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [8. März 2018 um 18:44 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/9 "2018-03-08T18:44:46Z")

</div>

hi, du hast recht, diesen befehl hab ich noch nicht ausgeführt

ich such ihn gerade wie er heisst

vielleicht ist es&nbsp;

- sudo apt-get install mysql-server

ich probiere mal&nbsp;

danke danke

&nbsp;

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [8. März 2018 um 18:59 UTC](https://forum.shopware.com/t/psh-phar-init-problem-beim-ausfuhren/51631/10 "2018-03-08T18:59:22Z")

</div>

es liegt an:&nbsp;&nbsp;[PDOException] &nbsp; &nbsp; &nbsp;&nbsp;

ich suche weiter

&nbsp;

danke
