shopwareArchive / shopware-docker

A docker setup ready for shopware development
74 stars 37 forks source link

app_server is not starting #46

Closed Kartoffelpeter closed 5 years ago

Kartoffelpeter commented 5 years ago

I've installed shopware like this:

$ git clone https://github.com/shopwareLabs/shopware-docker.git shopware-test ``` Cloning into 'shopware-test'... remote: Enumerating objects: 32, done. remote: Counting objects: 100% (32/32), done. remote: Compressing objects: 100% (23/23), done. remote: Total 343 (delta 10), reused 24 (delta 9), pack-reused 311 Receiving objects: 100% (343/343), 2.03 MiB | 526.00 KiB/s, done. Resolving deltas: 100% (147/147), done. ```
$ ./psh.phar docker:start ``` ################### Starting Execution of 'docker:start' ('dev-ops/docker/actions/start.sh') (1/6) Starting > echo "COMPOSE_PROJECT_NAME: ${COMPOSE_PROJECT_NAME}" COMPOSE_PROJECT_NAME: (2/6) Starting > dev-ops/docker/containers/scriptcreator.sh Created /home/dieter/shopware-test/dev-ops/docker/containers/php7/createuser.sh Created /home/dieter/shopware-test/dev-ops/docker/containers/mysql/createuser.sh (3/6) Starting > docker-compose build && docker-compose up -d Building app_mysql Step 1/9 : FROM mysql:5.7 5.7: Pulling from library/mysql Digest: sha256:f7985e36c668bb862a0e506f4ef9acdd1254cdf690469816f99633898895f7fa Status: Downloaded newer image for mysql:5.7 ---> 383867b75fd2 Step 2/9 : RUN apt-get update && apt-get install --no-install-recommends -y vim netcat-openbsd ---> Running in 7f9b903f5862 Get:1 http://repo.mysql.com/apt/debian stretch InRelease [21.6 kB] Get:2 http://security-cdn.debian.org/debian-security stretch/updates InRelease [94.3 kB] Get:4 http://repo.mysql.com/apt/debian stretch/mysql-5.7 amd64 Packages [5695 B] Get:5 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 Packages [506 kB] Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease Get:6 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB] Get:8 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [27.4 kB] Get:7 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB] Get:9 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2365 B] Get:10 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [7086 kB] Fetched 7952 kB in 2s (3100 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libbsd0 vim-common vim-runtime xxd Suggested packages: ctags vim-doc vim-scripts The following NEW packages will be installed: libbsd0 netcat-openbsd vim vim-common vim-runtime xxd 0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded. Need to get 6856 kB of archives. After this operation, 31.4 MB of additional disk space will be used. Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 xxd amd64 2:8.0.0197-4+deb9u3 [132 kB] Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 vim-common all 2:8.0.0197-4+deb9u3 [159 kB] Get:3 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libbsd0 amd64 0.8.3-1 [83.0 kB] Get:4 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 netcat-openbsd amd64 1.130-3 [38.2 kB] Get:5 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 vim-runtime all 2:8.0.0197-4+deb9u3 [5409 kB] Get:6 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 vim amd64 2:8.0.0197-4+deb9u3 [1034 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 6856 kB in 1s (5986 kB/s) Selecting previously unselected package xxd. (Reading database ... 8908 files and directories currently installed.) Preparing to unpack .../0-xxd_2%3a8.0.0197-4+deb9u3_amd64.deb ... Unpacking xxd (2:8.0.0197-4+deb9u3) ... Selecting previously unselected package vim-common. Preparing to unpack .../1-vim-common_2%3a8.0.0197-4+deb9u3_all.deb ... Unpacking vim-common (2:8.0.0197-4+deb9u3) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../2-libbsd0_0.8.3-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.3-1) ... Selecting previously unselected package netcat-openbsd. Preparing to unpack .../3-netcat-openbsd_1.130-3_amd64.deb ... Unpacking netcat-openbsd (1.130-3) ... Selecting previously unselected package vim-runtime. Preparing to unpack .../4-vim-runtime_2%3a8.0.0197-4+deb9u3_all.deb ... Adding 'diversion of /usr/share/vim/vim80/doc/help.txt to /usr/share/vim/vim80/doc/help.txt.vim-tiny by vim-runtime' Adding 'diversion of /usr/share/vim/vim80/doc/tags to /usr/share/vim/vim80/doc/tags.vim-tiny by vim-runtime' Unpacking vim-runtime (2:8.0.0197-4+deb9u3) ... Selecting previously unselected package vim. Preparing to unpack .../5-vim_2%3a8.0.0197-4+deb9u3_amd64.deb ... Unpacking vim (2:8.0.0197-4+deb9u3) ... Setting up xxd (2:8.0.0197-4+deb9u3) ... Setting up libbsd0:amd64 (0.8.3-1) ... Setting up netcat-openbsd (1.130-3) ... update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/nc.1.gz because associated file /usr/share/man/man1/nc_openbsd.1.gz (of link group nc) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/netcat.1.gz because associated file /usr/share/man/man1/nc_openbsd.1.gz (of link group nc) doesn't exist Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up vim-common (2:8.0.0197-4+deb9u3) ... Setting up vim-runtime (2:8.0.0197-4+deb9u3) ... Setting up vim (2:8.0.0197-4+deb9u3) ... update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode update-alternatives: warning: skip creation of /usr/share/man/fr/man1/vi.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/it/man1/vi.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/pl/man1/vi.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ru/man1/vi.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ja/man1/vi.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/vi.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group vi) doesn't exist update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode update-alternatives: warning: skip creation of /usr/share/man/fr/man1/view.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/it/man1/view.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/pl/man1/view.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ru/man1/view.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ja/man1/view.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/view.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group view) doesn't exist update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode update-alternatives: warning: skip creation of /usr/share/man/fr/man1/ex.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/it/man1/ex.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/pl/man1/ex.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ru/man1/ex.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ja/man1/ex.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/ex.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group ex) doesn't exist update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode update-alternatives: warning: skip creation of /usr/share/man/fr/man1/editor.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/it/man1/editor.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/pl/man1/editor.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ru/man1/editor.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/ja/man1/editor.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group editor) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group editor) doesn't exist Removing intermediate container 7f9b903f5862 ---> 3cd42f43b6eb Step 3/9 : ADD dev.cnf /etc/mysql/conf.d/dev.cnf ---> 91929259464b Step 4/9 : ADD remote-access.cnf /etc/mysql/conf.d/remote-access.cnf ---> 0e7e42cdb6ef Step 5/9 : ADD performance-schema.cnf /etc/mysql/conf.d/performance-schema.cnf ---> 8b0c26b34314 Step 6/9 : COPY createuser.sh /tmp/createuser.sh ---> 800ec5580589 Step 7/9 : RUN chmod +rwx /tmp/createuser.sh ---> Running in d763af42ae51 Removing intermediate container d763af42ae51 ---> 2b9139f8acd7 Step 8/9 : RUN /tmp/createuser.sh ---> Running in 1d12cf72b1dc Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Removing intermediate container 1d12cf72b1dc ---> 70e4b00bb3df Step 9/9 : COPY grant.sql /docker-entrypoint-initdb.d/grant.sql ---> 8697d7e6d203 Successfully built 8697d7e6d203 Successfully tagged shopware-test_app_mysql:latest Building app_redis Step 1/1 : FROM redis:4 ---> 969e92fbf946 Successfully built 969e92fbf946 Successfully tagged shopware-test_app_redis:latest Building app_es Step 1/1 : FROM docker.elastic.co/elasticsearch/elasticsearch:5.5.2 ---> ca27036dd5e7 Successfully built ca27036dd5e7 Successfully tagged shopware-test_app_es:latest Building app_server Step 1/11 : FROM webdevops/php-apache-dev:7.2 ---> 15daa32332b6 Step 2/11 : ENV COMPOSER_HOME=/.composer ---> Running in ec1cdb28fcc5 Removing intermediate container ec1cdb28fcc5 ---> ed81f7b0ded7 Step 3/11 : ENV WEB_DOCUMENT_ROOT=/var/www/shopware/shopware ---> Running in 8496dca6b9ec Removing intermediate container 8496dca6b9ec ---> b77ebc4e2c89 Step 4/11 : COPY wait-for-it.sh /usr/local/bin/ ---> 0785057a2790 Step 5/11 : COPY php-config.ini /usr/local/etc/php/conf.d/ ---> e5abc252fec9 Step 6/11 : COPY xdebug.ini /usr/local/etc/php/conf.d/ ---> 4deda05ae07c Step 7/11 : COPY createuser.sh /addExternalUser ---> cac1032f661a Step 8/11 : RUN mkdir -p /usr/share/man/man1 ---> Running in 408722eedc4c Removing intermediate container 408722eedc4c ---> 10eb70951aa1 Step 9/11 : RUN apt-get update && apt-get install -y ant mysql-client ---> Running in fbb4a7cf33ce Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB] Ign:2 http://deb.debian.org/debian stretch InRelease Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB] Get:4 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB] Get:5 http://deb.debian.org/debian buster InRelease [122 kB] Get:6 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] Get:7 http://deb.debian.org/debian stretch Release [118 kB] Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [506 kB] Get:9 http://deb.debian.org/debian stretch Release.gpg [2365 B] Get:10 http://security.debian.org/debian-security buster/updates/main amd64 Packages [91.3 kB] Get:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages [27.4 kB] Get:12 http://deb.debian.org/debian buster/main amd64 Packages [7899 kB] Get:13 http://deb.debian.org/debian buster-updates/main amd64 Packages [3352 B] Get:14 http://deb.debian.org/debian stretch/contrib amd64 Packages [50.9 kB] Get:15 http://deb.debian.org/debian stretch/main amd64 Packages [7086 kB] Get:16 https://packages.blackfire.io/debian any InRelease [23.2 kB] Get:17 http://deb.debian.org/debian stretch/non-free amd64 Packages [78.3 kB] Get:18 https://packages.blackfire.io/debian any/main amd64 Packages [1200 B] Fetched 16.3 MB in 3s (4791 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: ant-optional ca-certificates-java default-jre-headless default-mysql-client java-common libaio1 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libpcsclite1 libreadline5 libterm-readkey-perl libxi6 libxtst6 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mysql-common openjdk-8-jre-headless Suggested packages: ant-doc ant-gcj default-jdk | java-compiler | java-sdk ant-optional-gcj antlr javacc junit junit4 jython libbcel-java libbsf-java libcommons-logging-java libcommons-net-java libmail-java libjaxp1.3-java libjdepend-java libjsch-java liblog4j1.2-java liboro-java libregexp-java libxalan2-java libxml-commons-resolver1.1-java default-jre libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl pcscd libnss-mdns fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei fonts-indic The following NEW packages will be installed: ant ant-optional ca-certificates-java default-jre-headless default-mysql-client java-common libaio1 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libpcsclite1 libreadline5 libterm-readkey-perl libxi6 libxtst6 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mysql-client mysql-common openjdk-8-jre-headless 0 upgraded, 23 newly installed, 0 to remove and 2 not upgraded. Need to get 42.8 MB of archives. After this operation, 183 MB of additional disk space will be used. Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 ant all 1.9.9-1+deb9u1 [1923 kB] Get:2 http://deb.debian.org/debian stretch/main amd64 ca-certificates-java all 20170929~deb9u3 [15.1 kB] Get:3 http://deb.debian.org/debian stretch/main amd64 java-common all 0.58+deb9u1 [13.6 kB] Get:4 http://deb.debian.org/debian stretch/main amd64 libpcsclite1 amd64 1.8.20-1 [56.5 kB] Get:5 http://deb.debian.org/debian stretch/main amd64 libxi6 amd64 2:1.7.9-1 [82.6 kB] Get:6 http://deb.debian.org/debian stretch/main amd64 libxtst6 amd64 2:1.2.3-1 [27.8 kB] Get:7 http://deb.debian.org/debian stretch/main amd64 openjdk-8-jre-headless amd64 8u222-b10-1~deb9u1 [27.3 MB] Get:8 http://deb.debian.org/debian stretch/main amd64 default-jre-headless amd64 2:1.8-58+deb9u1 [10.1 kB] Get:9 http://deb.debian.org/debian stretch/main amd64 mysql-common all 5.8+1.0.2 [5608 B] Get:10 http://deb.debian.org/debian stretch/main amd64 mariadb-common all 10.1.41-0+deb9u1 [28.5 kB] Get:11 http://deb.debian.org/debian stretch/main amd64 libaio1 amd64 0.3.110-3 [9412 B] Get:12 http://deb.debian.org/debian stretch/main amd64 libreadline5 amd64 5.2+dfsg-3+b1 [119 kB] Get:13 http://deb.debian.org/debian stretch/main amd64 mariadb-client-core-10.1 amd64 10.1.41-0+deb9u1 [5132 kB] Get:14 http://deb.debian.org/debian stretch/main amd64 libconfig-inifiles-perl all 2.94-1 [53.4 kB] Get:15 http://deb.debian.org/debian stretch/main amd64 libjemalloc1 amd64 3.6.0-9.1 [89.8 kB] Get:16 http://deb.debian.org/debian stretch/main amd64 mariadb-client-10.1 amd64 10.1.41-0+deb9u1 [5930 kB] Get:17 http://deb.debian.org/debian stretch/main amd64 default-mysql-client all 1.0.2 [3050 B] Get:18 http://deb.debian.org/debian stretch/main amd64 libdbi-perl amd64 1.636-1+b1 [766 kB] Get:19 http://deb.debian.org/debian stretch/main amd64 libmariadbclient18 amd64 10.1.41-0+deb9u1 [782 kB] Get:20 http://deb.debian.org/debian stretch/main amd64 libdbd-mysql-perl amd64 4.041-2 [114 kB] Get:21 http://deb.debian.org/debian stretch/main amd64 libterm-readkey-perl amd64 2.37-1 [27.2 kB] Get:22 http://deb.debian.org/debian stretch/main amd64 mysql-client amd64 5.5.9999+default [1698 B] Get:23 http://security.debian.org/debian-security stretch/updates/main amd64 ant-optional all 1.9.9-1+deb9u1 [350 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 42.8 MB in 4s (9617 kB/s) Selecting previously unselected package ca-certificates-java. (Reading database ... 29374 files and directories currently installed.) Preparing to unpack .../00-ca-certificates-java_20170929~deb9u3_all.deb ... Unpacking ca-certificates-java (20170929~deb9u3) ... Selecting previously unselected package java-common. Preparing to unpack .../01-java-common_0.58+deb9u1_all.deb ... Unpacking java-common (0.58+deb9u1) ... Selecting previously unselected package libpcsclite1:amd64. Preparing to unpack .../02-libpcsclite1_1.8.20-1_amd64.deb ... Unpacking libpcsclite1:amd64 (1.8.20-1) ... Selecting previously unselected package libxi6:amd64. Preparing to unpack .../03-libxi6_2%3a1.7.9-1_amd64.deb ... Unpacking libxi6:amd64 (2:1.7.9-1) ... Selecting previously unselected package libxtst6:amd64. Preparing to unpack .../04-libxtst6_2%3a1.2.3-1_amd64.deb ... Unpacking libxtst6:amd64 (2:1.2.3-1) ... Selecting previously unselected package openjdk-8-jre-headless:amd64. Preparing to unpack .../05-openjdk-8-jre-headless_8u222-b10-1~deb9u1_amd64.deb ... Unpacking openjdk-8-jre-headless:amd64 (8u222-b10-1~deb9u1) ... Selecting previously unselected package default-jre-headless. Preparing to unpack .../06-default-jre-headless_2%3a1.8-58+deb9u1_amd64.deb ... Unpacking default-jre-headless (2:1.8-58+deb9u1) ... Selecting previously unselected package ant. Preparing to unpack .../07-ant_1.9.9-1+deb9u1_all.deb ... Unpacking ant (1.9.9-1+deb9u1) ... Selecting previously unselected package ant-optional. Preparing to unpack .../08-ant-optional_1.9.9-1+deb9u1_all.deb ... Unpacking ant-optional (1.9.9-1+deb9u1) ... Selecting previously unselected package mysql-common. Preparing to unpack .../09-mysql-common_5.8+1.0.2_all.deb ... Unpacking mysql-common (5.8+1.0.2) ... Selecting previously unselected package mariadb-common. Preparing to unpack .../10-mariadb-common_10.1.41-0+deb9u1_all.deb ... Unpacking mariadb-common (10.1.41-0+deb9u1) ... Selecting previously unselected package libaio1:amd64. Preparing to unpack .../11-libaio1_0.3.110-3_amd64.deb ... Unpacking libaio1:amd64 (0.3.110-3) ... Selecting previously unselected package libreadline5:amd64. Preparing to unpack .../12-libreadline5_5.2+dfsg-3+b1_amd64.deb ... Unpacking libreadline5:amd64 (5.2+dfsg-3+b1) ... Selecting previously unselected package mariadb-client-core-10.1. Preparing to unpack .../13-mariadb-client-core-10.1_10.1.41-0+deb9u1_amd64.deb ... Unpacking mariadb-client-core-10.1 (10.1.41-0+deb9u1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../14-libconfig-inifiles-perl_2.94-1_all.deb ... Unpacking libconfig-inifiles-perl (2.94-1) ... Selecting previously unselected package libjemalloc1. Preparing to unpack .../15-libjemalloc1_3.6.0-9.1_amd64.deb ... Unpacking libjemalloc1 (3.6.0-9.1) ... Selecting previously unselected package mariadb-client-10.1. Preparing to unpack .../16-mariadb-client-10.1_10.1.41-0+deb9u1_amd64.deb ... Unpacking mariadb-client-10.1 (10.1.41-0+deb9u1) ... Selecting previously unselected package default-mysql-client. Preparing to unpack .../17-default-mysql-client_1.0.2_all.deb ... Unpacking default-mysql-client (1.0.2) ... Selecting previously unselected package libdbi-perl. Preparing to unpack .../18-libdbi-perl_1.636-1+b1_amd64.deb ... Unpacking libdbi-perl (1.636-1+b1) ... Selecting previously unselected package libmariadbclient18:amd64. Preparing to unpack .../19-libmariadbclient18_10.1.41-0+deb9u1_amd64.deb ... Unpacking libmariadbclient18:amd64 (10.1.41-0+deb9u1) ... Selecting previously unselected package libdbd-mysql-perl. Preparing to unpack .../20-libdbd-mysql-perl_4.041-2_amd64.deb ... Unpacking libdbd-mysql-perl (4.041-2) ... Selecting previously unselected package libterm-readkey-perl. Preparing to unpack .../21-libterm-readkey-perl_2.37-1_amd64.deb ... Unpacking libterm-readkey-perl (2.37-1) ... Selecting previously unselected package mysql-client. Preparing to unpack .../22-mysql-client_5.5.9999+default_amd64.deb ... Unpacking mysql-client (5.5.9999+default) ... Setting up libxi6:amd64 (2:1.7.9-1) ... Setting up libconfig-inifiles-perl (2.94-1) ... Setting up libjemalloc1 (3.6.0-9.1) ... Setting up libpcsclite1:amd64 (1.8.20-1) ... Setting up mysql-common (5.8+1.0.2) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up java-common (0.58+deb9u1) ... Setting up libmariadbclient18:amd64 (10.1.41-0+deb9u1) ... Setting up libterm-readkey-perl (2.37-1) ... Setting up libxtst6:amd64 (2:1.2.3-1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up libaio1:amd64 (0.3.110-3) ... Setting up libreadline5:amd64 (5.2+dfsg-3+b1) ... Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Setting up libdbi-perl (1.636-1+b1) ... Setting up mariadb-common (10.1.41-0+deb9u1) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up mariadb-client-core-10.1 (10.1.41-0+deb9u1) ... Setting up libdbd-mysql-perl (4.041-2) ... Setting up mariadb-client-10.1 (10.1.41-0+deb9u1) ... Setting up default-mysql-client (1.0.2) ... Setting up mysql-client (5.5.9999+default) ... Setting up openjdk-8-jre-headless:amd64 (8u222-b10-1~deb9u1) ... update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/clhsdb to provide /usr/bin/clhsdb (clhsdb) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/hsdb to provide /usr/bin/hsdb (hsdb) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode Setting up ca-certificates-java (20170929~deb9u3) ... Adding debian:ssl-cert-snakeoil.pem Adding debian:Certum_Root_CA.pem Adding debian:Symantec_Class_1_Public_Primary_Certification_Authority_-_G6.pem Adding debian:Atos_TrustedRoot_2011.pem Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem Adding debian:AffirmTrust_Commercial.pem Adding debian:TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.pem Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem Adding debian:GlobalSign_Root_CA.pem Adding debian:Staat_der_Nederlanden_EV_Root_CA.pem Adding debian:DST_Root_CA_X3.pem Adding debian:Secure_Global_CA.pem Adding debian:TeliaSonera_Root_CA_v1.pem Adding debian:Network_Solutions_Certificate_Authority.pem Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem Adding debian:EE_Certification_Centre_Root_CA.pem Adding debian:DigiCert_Trusted_Root_G4.pem Adding debian:Security_Communication_RootCA2.pem Adding debian:AddTrust_External_Root.pem Adding debian:EC-ACC.pem Adding debian:CA_Disig_Root_R2.pem Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem Adding debian:AC_Raíz_Certicámara_S.A..pem Adding debian:LuxTrust_Global_Root_2.pem Adding debian:USERTrust_RSA_Certification_Authority.pem Adding debian:SSL.com_Root_Certification_Authority_ECC.pem Adding debian:Symantec_Class_2_Public_Primary_Certification_Authority_-_G6.pem Adding debian:SecureTrust_CA.pem Adding debian:IdenTrust_Commercial_Root_CA_1.pem Adding debian:Actalis_Authentication_Root_CA.pem Adding debian:Certplus_Root_CA_G2.pem Adding debian:thawte_Primary_Root_CA_-_G2.pem Adding debian:Certum_Trusted_Network_CA.pem Adding debian:Sonera_Class_2_Root_CA.pem Adding debian:Trustis_FPS_Root_CA.pem Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem Adding debian:OpenTrust_Root_CA_G1.pem Adding debian:Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.pem Adding debian:Certigna.pem Adding debian:Camerfirma_Global_Chambersign_Root.pem Adding debian:Buypass_Class_3_Root_CA.pem Adding debian:Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.pem Adding debian:T-TeleSec_GlobalRoot_Class_2.pem Adding debian:AffirmTrust_Premium_ECC.pem Adding debian:GeoTrust_Universal_CA_2.pem Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem Adding debian:OpenTrust_Root_CA_G2.pem Adding debian:SwissSign_Platinum_CA_-_G2.pem Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem Adding debian:OpenTrust_Root_CA_G3.pem Adding debian:certSIGN_ROOT_CA.pem Adding debian:Staat_der_Nederlanden_Root_CA_-_G2.pem Adding debian:QuoVadis_Root_CA.pem Adding debian:GeoTrust_Primary_Certification_Authority_-_G3.pem Adding debian:VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem Adding debian:Staat_der_Nederlanden_Root_CA_-_G3.pem Adding debian:UTN_USERFirst_Email_Root_CA.pem Adding debian:Symantec_Class_1_Public_Primary_Certification_Authority_-_G4.pem Adding debian:Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem Adding debian:DigiCert_Global_Root_CA.pem Adding debian:QuoVadis_Root_CA_1_G3.pem Adding debian:Swisscom_Root_CA_2.pem Adding debian:SwissSign_Silver_CA_-_G2.pem Adding debian:SwissSign_Gold_CA_-_G2.pem Adding debian:thawte_Primary_Root_CA.pem Adding debian:Camerfirma_Chambers_of_Commerce_Root.pem Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem Adding debian:USERTrust_ECC_Certification_Authority.pem Adding debian:AC_RAIZ_FNMT-RCM.pem Adding debian:Comodo_AAA_Services_root.pem Adding debian:AddTrust_Low-Value_Services_Root.pem Adding debian:ComSign_CA.pem Adding debian:Entrust_Root_Certification_Authority.pem Adding debian:GeoTrust_Global_CA.pem Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem Adding debian:Taiwan_GRCA.pem Adding debian:Amazon_Root_CA_3.pem Adding debian:E-Tugra_Certification_Authority.pem Adding debian:Certplus_Root_CA_G1.pem Adding debian:Certum_Trusted_Network_CA_2.pem Adding debian:COMODO_Certification_Authority.pem Adding debian:Amazon_Root_CA_4.pem Adding debian:Certinomis_-_Root_CA.pem Adding debian:COMODO_RSA_Certification_Authority.pem Adding debian:TrustCor_RootCert_CA-1.pem Adding debian:AffirmTrust_Premium.pem Adding debian:T-TeleSec_GlobalRoot_Class_3.pem Adding debian:TWCA_Root_Certification_Authority.pem Adding debian:Deutsche_Telekom_Root_CA_2.pem Adding debian:Izenpe.com.pem Adding debian:D-TRUST_Root_CA_3_2013.pem Adding debian:ePKI_Root_Certification_Authority.pem Adding debian:TWCA_Global_Root_CA.pem Adding debian:Chambers_of_Commerce_Root_-_2008.pem Adding debian:GeoTrust_Primary_Certification_Authority.pem Adding debian:Cybertrust_Global_Root.pem Adding debian:Amazon_Root_CA_2.pem Adding debian:Visa_eCommerce_Root.pem Adding debian:TrustCor_RootCert_CA-2.pem Adding debian:Entrust_Root_Certification_Authority_-_G2.pem Adding debian:CFCA_EV_ROOT.pem Adding debian:GlobalSign_Root_CA_-_R2.pem Adding debian:Starfield_Class_2_CA.pem Adding debian:OISTE_WISeKey_Global_Root_GA_CA.pem Adding debian:TC_TrustCenter_Class_3_CA_II.pem Adding debian:TrustCor_ECA-1.pem Adding debian:Certplus_Class_2_Primary_CA.pem Adding debian:thawte_Primary_Root_CA_-_G3.pem Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem Adding debian:Go_Daddy_Class_2_CA.pem Adding debian:GlobalSign_Root_CA_-_R3.pem Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem Adding debian:GeoTrust_Primary_Certification_Authority_-_G2.pem Adding debian:Security_Communication_Root_CA.pem Adding debian:DigiCert_Assured_ID_Root_G2.pem Adding debian:Buypass_Class_2_Root_CA.pem Adding debian:ACCVRAIZ1.pem Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem Adding debian:S-TRUST_Universal_Root_CA.pem Adding debian:QuoVadis_Root_CA_2_G3.pem Adding debian:QuoVadis_Root_CA_2.pem Adding debian:GDCA_TrustAUTH_R5_ROOT.pem Adding debian:SZAFIR_ROOT_CA2.pem Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem Adding debian:Hongkong_Post_Root_CA_1.pem Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem Adding debian:Global_Chambersign_Root_-_2008.pem Adding debian:Baltimore_CyberTrust_Root.pem Adding debian:Microsec_e-Szigno_Root_CA_2009.pem Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem Adding debian:SSL.com_Root_Certification_Authority_RSA.pem Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem Adding debian:VeriSign_Universal_Root_Certification_Authority.pem Adding debian:SecureSign_RootCA11.pem Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem Adding debian:COMODO_ECC_Certification_Authority.pem Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem Adding debian:Amazon_Root_CA_1.pem Adding debian:DigiCert_Global_Root_G2.pem Adding debian:VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem Adding debian:XRamp_Global_CA_Root.pem Adding debian:DigiCert_Global_Root_G3.pem Adding debian:AffirmTrust_Networking.pem Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem Adding debian:ISRG_Root_X1.pem Adding debian:DigiCert_Assured_ID_Root_CA.pem Adding debian:QuoVadis_Root_CA_3.pem Adding debian:GeoTrust_Universal_CA.pem Adding debian:QuoVadis_Root_CA_3_G3.pem Adding debian:Symantec_Class_2_Public_Primary_Certification_Authority_-_G4.pem Adding debian:DigiCert_Assured_ID_Root_G3.pem done. Setting up ant (1.9.9-1+deb9u1) ... Setting up default-jre-headless (2:1.8-58+deb9u1) ... Setting up ant-optional (1.9.9-1+deb9u1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. done. Removing intermediate container fbb4a7cf33ce ---> 8857ca050ec3 Step 10/11 : RUN chmod +x /usr/local/bin/wait-for-it.sh && ln -s /app/psh.phar /bin/psh ---> Running in 070ce9e79a51 Removing intermediate container 070ce9e79a51 ---> 30168186a53a Step 11/11 : WORKDIR /var/www/shopware ---> Running in d58b18daee69 Removing intermediate container d58b18daee69 ---> 64ab1249913c Successfully built 64ab1249913c Successfully tagged shopware-test_app_server:latest Creating network "shopware-test_default" with the default driver Creating shopware-test_app_redis_1 ... done Creating shopware-test_app_mysql_1 ... done Creating shopware-test_app_es_1 ... done Creating shopware-test_app_server_1 ... done (4/6) Starting > wait (5/6) Starting > echo "All containers started successfully" All containers started successfully (6/6) Starting > echo "Web server IP: http://localhost:8083" Web server IP: http://localhost:8083 Duration: 1m 10s All commands successfully executed! ```
$ ./psh.phar docker:ssh ``` ################### Starting Execution of 'docker:ssh' ('dev-ops/docker/actions/ssh.sh') (1/1) Starting > docker exec -i -u 1000:1004 -t 9563666a2df113260d2684af4c8220a91aa8f886fb49ab50e2d25aff654b8f3c bash ```
application@9563666a2df1:/var/www/shopware$ ./psh.phar init ``` ################### 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 localhost:8083 Downloading release PHP Warning: count(): Parameter must be an array or an object that implements Countable in phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 67 PHP Stack trace: PHP 1. {main}() /var/www/shopware/sw.phar:0 PHP 2. require() /var/www/shopware/sw.phar:11 PHP 3. ShopwareCli\Application->run() phar:///var/www/shopware/sw.phar/bin/sw:18 PHP 4. ShopwareCli\Application->doRun() phar:///var/www/shopware/sw.phar/vendor/symfony/console/Application.php:122 PHP 5. ShopwareCli\Application->doRun() phar:///var/www/shopware/sw.phar/src/Application.php:65 PHP 6. ShopwareCli\Application->doRunCommand() phar:///var/www/shopware/sw.phar/vendor/symfony/console/Application.php:191 PHP 7. Shopware\Install\Command\ShopwareInstallReleaseCommand->run() phar:///var/www/shopware/sw.phar/vendor/symfony/console/Application.php:846 PHP 8. Shopware\Install\Command\ShopwareInstallReleaseCommand->execute() phar:///var/www/shopware/sw.phar/vendor/symfony/console/Command/Command.php:267 PHP 9. Shopware\Install\Services\Install\Release->installShopware() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Command/ShopwareInstallReleaseCommand.php:116 PHP 10. Shopware\Install\Services\ReleaseDownloader->downloadRelease() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/Install/Release.php:111 PHP 11. Shopware\Install\Services\ReleaseDownloader->downloadFromUpdateApi() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/ReleaseDownloader.php:69 PHP 12. Shopware\Install\Services\ReleaseDownloader->getIndexedReleasesList() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/ReleaseDownloader.php:87 PHP 13. GuzzleHttp\Client->get() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/ReleaseDownloader.php:130 PHP 14. GuzzleHttp\Client->__call() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/ReleaseDownloader.php:130 PHP 15. GuzzleHttp\Client->request() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Client.php:87 PHP 16. GuzzleHttp\Client->requestAsync() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Client.php:129 PHP 17. GuzzleHttp\Client->transfer() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Client.php:123 PHP 18. GuzzleHttp\HandlerStack->__invoke() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Client.php:275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 67 Call Stack: 0.0089 1017336 1. {main}() /var/www/shopware/sw.phar:0 0.0090 1013408 2. require('phar:///var/www/shopware/sw.phar/bin/sw') /var/www/shopware/sw.phar:11 0.0203 2792016 3. ShopwareCli\Application->run() phar:///var/www/shopware/sw.phar/bin/sw:18 0.0222 3002472 4. ShopwareCli\Application->doRun() phar:///var/www/shopware/sw.phar/vendor/symfony/console/Application.php:122 0.0492 4612768 5. ShopwareCli\Application->doRun() phar:///var/www/shopware/sw.phar/src/Application.php:65 0.0493 4612768 6. ShopwareCli\Application->doRunCommand() phar:///var/www/shopware/sw.phar/vendor/symfony/console/Application.php:191 0.0493 4612768 7. Shopware\Install\Command\ShopwareInstallReleaseCommand->run() phar:///var/www/shopware/sw.phar/vendor/symfony/console/Application.php:846 0.0497 4616736 8. Shopware\Install\Command\ShopwareInstallReleaseCommand->execute() phar:///var/www/shopware/sw.phar/vendor/symfony/console/Command/Command.php:267 0.0528 4918192 9. Shopware\Install\Services\Install\Release->installShopware() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Command/ShopwareInstallReleaseCommand.php:116 0.0528 4918192 10. Shopware\Install\Services\ReleaseDownloader->downloadRelease() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/Install/Release.php:111 0.0529 4918248 11. Shopware\Install\Services\ReleaseDownloader->downloadFromUpdateApi() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/ReleaseDownloader.php:69 0.0529 4918248 12. Shopware\Install\Services\ReleaseDownloader->getIndexedReleasesList() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/ReleaseDownloader.php:87 0.0557 5353480 13. GuzzleHttp\Client->get() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/ReleaseDownloader.php:130 0.0557 5353856 14. GuzzleHttp\Client->__call() phar:///var/www/shopware/sw.phar/src/Extensions/Shopware/Install/Services/ReleaseDownloader.php:130 0.0557 5353856 15. GuzzleHttp\Client->request() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Client.php:87 0.0558 5357728 16. GuzzleHttp\Client->requestAsync() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Client.php:129 0.0568 5474824 17. GuzzleHttp\Client->transfer() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Client.php:123 0.0572 5512272 18. GuzzleHttp\HandlerStack->__invoke() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Client.php:275 0.0573 5528680 19. GuzzleHttp\Middleware::GuzzleHttp\{closure:phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Middleware.php:55-68}() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/HandlerStack.php:67 0.0574 5528680 20. GuzzleHttp\RedirectMiddleware->__invoke() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Middleware.php:59 0.0574 5529432 21. GuzzleHttp\Middleware::GuzzleHttp\{closure:phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Middleware.php:28-42}() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:68 0.0574 5529432 22. GuzzleHttp\PrepareBodyMiddleware->__invoke() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Middleware.php:30 0.0574 5529432 23. GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure:phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:49-53}() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:42 0.0574 5529432 24. GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure:phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:25-29}() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51 0.0574 5529432 25. GuzzleHttp\Handler\CurlHandler->__invoke() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28 0.3460 5584944 26. GuzzleHttp\Handler\CurlFactory::finish() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43 0.3460 5584944 27. GuzzleHttp\Handler\CurlFactory->release() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:107 0.3460 5584944 28. count() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:67 PHP 19. GuzzleHttp\Middleware::GuzzleHttp\{closure:phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Middleware.php:55-68}() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/HandlerStack.php:67 PHP 20. GuzzleHttp\RedirectMiddleware->__invoke() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Middleware.php:59 PHP 21. GuzzleHttp\Middleware::GuzzleHttp\{closure:phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Middleware.php:28-42}() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:68 PHP 22. GuzzleHttp\PrepareBodyMiddleware->__invoke() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Middleware.php:30 PHP 23. GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure:phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:49-53}() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:42 PHP 24. GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure:phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:25-29}() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51 PHP 25. GuzzleHttp\Handler\CurlHandler->__invoke() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28 PHP 26. GuzzleHttp\Handler\CurlFactory::finish() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43 PHP 27. GuzzleHttp\Handler\CurlFactory->release() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:107 PHP 28. count() phar:///var/www/shopware/sw.phar/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:67 0/44107 [>---------------------------] 0% 513/44107 [>---------------------------] 1% 1026/44107 [>---------------------------] 2% ... 43520/44107 [===========================>] 98% 44036/44107 [===========================>] 99% Download finished 44107/44107 [============================] 100%Unzipping archive Creating database shopware Writing config.php === Import Database === 0/2406 [>---------------------------] 0% ... 2406/2406 [============================] 100% === Import Snippets === 0/1593 [>---------------------------] 0% ... 1593/1593 [============================] 100% Running post release scripts Themes initialized Running license import Successfully refreshed Successfully refreshed Plugin by name "SwagLicense" was not found. Skipping license import: Command failed. Error Output: Clearing the cache Clearing caches Install completed Duration: 37s All commands successfully executed! ```

If I look at the logs, they say this:

$ docker-compose logs -f
Mysql ``` app_mysql_1 | Initializing database app_mysql_1 | 2019-09-21T13:48:39.090078Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 50000) app_mysql_1 | 2019-09-21T13:48:39.090265Z 0 [Warning] Changed limits: max_connections: 214 (requested 10000) app_mysql_1 | 2019-09-21T13:48:39.090777Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). app_mysql_1 | 2019-09-21T13:48:39.100247Z 0 [Warning] InnoDB: Setting innodb_checksums to OFF is DEPRECATED. This option may be removed in future releases. You should set innodb_checksum_algorithm=NONE instead. app_mysql_1 | 100 200 300 400 500 app_mysql_1 | 100 200 300 400 500 app_mysql_1 | 2019-09-21T13:48:41.966079Z 0 [Warning] InnoDB: New log files created, LSN=45790 app_mysql_1 | 2019-09-21T13:48:42.361385Z 0 [Warning] InnoDB: Creating foreign key constraint system tables. app_mysql_1 | 2019-09-21T13:48:42.426872Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 86057a9e-dc76-11e9-89ce-0242ac1a0002. app_mysql_1 | 2019-09-21T13:48:42.435764Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. app_mysql_1 | 2019-09-21T13:48:42.436390Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. app_mysql_1 | Database initialized app_mysql_1 | Initializing certificates app_mysql_1 | Generating a RSA private key app_mysql_1 | ..........................+++++ app_mysql_1 | ......+++++ app_mysql_1 | unable to write 'random state' app_mysql_1 | writing new private key to 'ca-key.pem' app_mysql_1 | ----- app_mysql_1 | Generating a RSA private key app_mysql_1 | ............................+++++ app_mysql_1 | ...........................+++++ app_mysql_1 | unable to write 'random state' app_mysql_1 | writing new private key to 'server-key.pem' app_mysql_1 | ----- app_mysql_1 | Generating a RSA private key app_mysql_1 | ..................................................................................................................+++++ app_mysql_1 | .............................................+++++ app_mysql_1 | unable to write 'random state' app_mysql_1 | writing new private key to 'client-key.pem' app_mysql_1 | ----- app_mysql_1 | Certificates initialized app_mysql_1 | MySQL init process in progress... app_mysql_1 | 2019-09-21T13:48:49.135698Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 50000) app_mysql_1 | 2019-09-21T13:48:49.135754Z 0 [Warning] Changed limits: max_connections: 214 (requested 10000) app_mysql_1 | 2019-09-21T13:48:49.295231Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). app_mysql_1 | 2019-09-21T13:48:49.296565Z 0 [Note] mysqld (mysqld 5.7.27) starting as process 95 ... app_mysql_1 | 2019-09-21T13:48:49.298981Z 0 [Warning] InnoDB: Setting innodb_checksums to OFF is DEPRECATED. This option may be removed in future releases. You should set innodb_checksum_algorithm=NONE instead. app_mysql_1 | 2019-09-21T13:48:49.299033Z 0 [Note] InnoDB: PUNCH HOLE support available app_mysql_1 | 2019-09-21T13:48:49.299040Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins app_mysql_1 | 2019-09-21T13:48:49.299043Z 0 [Note] InnoDB: Uses event mutexes app_mysql_1 | 2019-09-21T13:48:49.299046Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier app_mysql_1 | 2019-09-21T13:48:49.299048Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 app_mysql_1 | 2019-09-21T13:48:49.299051Z 0 [Note] InnoDB: Using Linux native AIO app_mysql_1 | 2019-09-21T13:48:49.299260Z 0 [Note] InnoDB: Number of pools: 1 app_mysql_1 | 2019-09-21T13:48:49.299347Z 0 [Note] InnoDB: Using CPU crc32 instructions app_mysql_1 | 2019-09-21T13:48:49.302145Z 0 [Note] InnoDB: Initializing buffer pool, total size = 2G, instances = 8, chunk size = 128M app_mysql_1 | 2019-09-21T13:48:49.399788Z 0 [Note] InnoDB: Completed initialization of buffer pool app_mysql_1 | 2019-09-21T13:48:49.421894Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). app_mysql_1 | 2019-09-21T13:48:49.438757Z 0 [Note] InnoDB: Highest supported file format is Barracuda. app_mysql_1 | 2019-09-21T13:48:49.513863Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables app_mysql_1 | 2019-09-21T13:48:49.513923Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... app_mysql_1 | 2019-09-21T13:48:49.543173Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. app_mysql_1 | 2019-09-21T13:48:49.545277Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. app_mysql_1 | 2019-09-21T13:48:49.545302Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. app_mysql_1 | 2019-09-21T13:48:49.546190Z 0 [Note] InnoDB: Waiting for purge to start app_mysql_1 | 2019-09-21T13:48:49.599321Z 0 [Note] InnoDB: 5.7.27 started; log sequence number 2625879 app_mysql_1 | 2019-09-21T13:48:49.599717Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool app_mysql_1 | 2019-09-21T13:48:49.600106Z 0 [Note] Plugin 'FEDERATED' is disabled. app_mysql_1 | 2019-09-21T13:48:49.623104Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. app_mysql_1 | 2019-09-21T13:48:49.625081Z 0 [Warning] CA certificate ca.pem is self signed. app_mysql_1 | 2019-09-21T13:48:49.626027Z 0 [Note] InnoDB: Buffer pool(s) load completed at 190921 13:48:49 app_mysql_1 | 2019-09-21T13:48:49.641997Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. app_mysql_1 | 2019-09-21T13:48:49.671133Z 0 [Note] Event Scheduler: Loaded 0 events app_mysql_1 | 2019-09-21T13:48:49.671463Z 0 [Note] mysqld: ready for connections. app_mysql_1 | Version: '5.7.27' socket: '/var/run/mysqld/mysqld.sock' port: 0 MySQL Community Server (GPL) app_mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it. app_mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it. app_mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it. app_mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it. app_mysql_1 | mysql: [Warning] Using a password on the command line interface can be insecure. app_mysql_1 | mysql: [Warning] Using a password on the command line interface can be insecure. app_mysql_1 | app_mysql_1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/grant.sql app_mysql_1 | mysql: [Warning] Using a password on the command line interface can be insecure. app_mysql_1 | app_mysql_1 | 2019-09-21T13:48:51.878905Z 0 [Note] Giving 0 client threads a chance to die gracefully app_mysql_1 | 2019-09-21T13:48:51.878919Z 0 [Note] Shutting down slave threads app_mysql_1 | 2019-09-21T13:48:51.878922Z 0 [Note] Forcefully disconnecting 0 remaining clients app_mysql_1 | 2019-09-21T13:48:51.878926Z 0 [Note] Event Scheduler: Purging the queue. 0 events app_mysql_1 | 2019-09-21T13:48:51.879379Z 0 [Note] Binlog end app_mysql_1 | 2019-09-21T13:48:51.879637Z 0 [Note] Shutting down plugin 'ngram' app_mysql_1 | 2019-09-21T13:48:51.879642Z 0 [Note] Shutting down plugin 'partition' app_mysql_1 | 2019-09-21T13:48:51.879645Z 0 [Note] Shutting down plugin 'BLACKHOLE' app_mysql_1 | 2019-09-21T13:48:51.879647Z 0 [Note] Shutting down plugin 'ARCHIVE' app_mysql_1 | 2019-09-21T13:48:51.879649Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA' app_mysql_1 | 2019-09-21T13:48:51.879665Z 0 [Note] Shutting down plugin 'MRG_MYISAM' app_mysql_1 | 2019-09-21T13:48:51.879667Z 0 [Note] Shutting down plugin 'MyISAM' app_mysql_1 | 2019-09-21T13:48:51.879672Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL' app_mysql_1 | 2019-09-21T13:48:51.879674Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES' app_mysql_1 | 2019-09-21T13:48:51.879676Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES' app_mysql_1 | 2019-09-21T13:48:51.879677Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS' app_mysql_1 | 2019-09-21T13:48:51.879679Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN' app_mysql_1 | 2019-09-21T13:48:51.879681Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS' app_mysql_1 | 2019-09-21T13:48:51.879682Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS' app_mysql_1 | 2019-09-21T13:48:51.879684Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES' app_mysql_1 | 2019-09-21T13:48:51.879685Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS' app_mysql_1 | 2019-09-21T13:48:51.879687Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES' app_mysql_1 | 2019-09-21T13:48:51.879688Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE' app_mysql_1 | 2019-09-21T13:48:51.879690Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE' app_mysql_1 | 2019-09-21T13:48:51.879692Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG' app_mysql_1 | 2019-09-21T13:48:51.879693Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED' app_mysql_1 | 2019-09-21T13:48:51.879695Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED' app_mysql_1 | 2019-09-21T13:48:51.879696Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD' app_mysql_1 | 2019-09-21T13:48:51.879698Z 0 [Note] Shutting down plugin 'INNODB_METRICS' app_mysql_1 | 2019-09-21T13:48:51.879699Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO' app_mysql_1 | 2019-09-21T13:48:51.879701Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS' app_mysql_1 | 2019-09-21T13:48:51.879703Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU' app_mysql_1 | 2019-09-21T13:48:51.879704Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE' app_mysql_1 | 2019-09-21T13:48:51.879706Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET' app_mysql_1 | 2019-09-21T13:48:51.879708Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX' app_mysql_1 | 2019-09-21T13:48:51.879709Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET' app_mysql_1 | 2019-09-21T13:48:51.879711Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM' app_mysql_1 | 2019-09-21T13:48:51.879713Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET' app_mysql_1 | 2019-09-21T13:48:51.879714Z 0 [Note] Shutting down plugin 'INNODB_CMP' app_mysql_1 | 2019-09-21T13:48:51.879716Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS' app_mysql_1 | 2019-09-21T13:48:51.879717Z 0 [Note] Shutting down plugin 'INNODB_LOCKS' app_mysql_1 | 2019-09-21T13:48:51.879719Z 0 [Note] Shutting down plugin 'INNODB_TRX' app_mysql_1 | 2019-09-21T13:48:51.879721Z 0 [Note] Shutting down plugin 'InnoDB' app_mysql_1 | 2019-09-21T13:48:51.879779Z 0 [Note] InnoDB: FTS optimize thread exiting. app_mysql_1 | 2019-09-21T13:48:51.879865Z 0 [Note] InnoDB: Starting shutdown... app_mysql_1 | 2019-09-21T13:48:51.980080Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool app_mysql_1 | 2019-09-21T13:48:51.980297Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 190921 13:48:51 app_mysql_1 | 2019-09-21T13:48:53.535553Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12434490 app_mysql_1 | 2019-09-21T13:48:53.535627Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" app_mysql_1 | 2019-09-21T13:48:53.535638Z 0 [Note] Shutting down plugin 'MEMORY' app_mysql_1 | 2019-09-21T13:48:53.535643Z 0 [Note] Shutting down plugin 'CSV' app_mysql_1 | 2019-09-21T13:48:53.535647Z 0 [Note] Shutting down plugin 'sha256_password' app_mysql_1 | 2019-09-21T13:48:53.535649Z 0 [Note] Shutting down plugin 'mysql_native_password' app_mysql_1 | 2019-09-21T13:48:53.535751Z 0 [Note] Shutting down plugin 'binlog' app_mysql_1 | 2019-09-21T13:48:53.535980Z 0 [Note] mysqld: Shutdown complete app_mysql_1 | app_mysql_1 | app_mysql_1 | MySQL init process done. Ready for start up. app_mysql_1 | app_mysql_1 | 2019-09-21T13:48:53.594493Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 50000) app_mysql_1 | 2019-09-21T13:48:53.594546Z 0 [Warning] Changed limits: max_connections: 214 (requested 10000) app_mysql_1 | 2019-09-21T13:48:53.743421Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). app_mysql_1 | 2019-09-21T13:48:53.744759Z 0 [Note] mysqld (mysqld 5.7.27) starting as process 1 ... app_mysql_1 | 2019-09-21T13:48:53.747122Z 0 [Warning] InnoDB: Setting innodb_checksums to OFF is DEPRECATED. This option may be removed in future releases. You should set innodb_checksum_algorithm=NONE instead. app_mysql_1 | 2019-09-21T13:48:53.747168Z 0 [Note] InnoDB: PUNCH HOLE support available app_mysql_1 | 2019-09-21T13:48:53.747175Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins app_mysql_1 | 2019-09-21T13:48:53.747178Z 0 [Note] InnoDB: Uses event mutexes app_mysql_1 | 2019-09-21T13:48:53.747180Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier app_mysql_1 | 2019-09-21T13:48:53.747182Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 app_mysql_1 | 2019-09-21T13:48:53.747185Z 0 [Note] InnoDB: Using Linux native AIO app_mysql_1 | 2019-09-21T13:48:53.747393Z 0 [Note] InnoDB: Number of pools: 1 app_mysql_1 | 2019-09-21T13:48:53.747482Z 0 [Note] InnoDB: Using CPU crc32 instructions app_mysql_1 | 2019-09-21T13:48:53.749766Z 0 [Note] InnoDB: Initializing buffer pool, total size = 2G, instances = 8, chunk size = 128M app_mysql_1 | 2019-09-21T13:48:53.848422Z 0 [Note] InnoDB: Completed initialization of buffer pool app_mysql_1 | 2019-09-21T13:48:53.870460Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). app_mysql_1 | 2019-09-21T13:48:53.886828Z 0 [Note] InnoDB: Highest supported file format is Barracuda. app_mysql_1 | 2019-09-21T13:48:53.961716Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables app_mysql_1 | 2019-09-21T13:48:53.961783Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... app_mysql_1 | 2019-09-21T13:48:53.991515Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. app_mysql_1 | 2019-09-21T13:48:53.993631Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. app_mysql_1 | 2019-09-21T13:48:53.993658Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. app_mysql_1 | 2019-09-21T13:48:53.994584Z 0 [Note] InnoDB: Waiting for purge to start app_mysql_1 | 2019-09-21T13:48:54.047343Z 0 [Note] InnoDB: 5.7.27 started; log sequence number 12434490 app_mysql_1 | 2019-09-21T13:48:54.047503Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool app_mysql_1 | 2019-09-21T13:48:54.047616Z 0 [Note] Plugin 'FEDERATED' is disabled. app_mysql_1 | 2019-09-21T13:48:54.053834Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. app_mysql_1 | 2019-09-21T13:48:54.054035Z 0 [Warning] CA certificate ca.pem is self signed. app_mysql_1 | 2019-09-21T13:48:54.056005Z 0 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 app_mysql_1 | 2019-09-21T13:48:54.056035Z 0 [Note] - '0.0.0.0' resolves to '0.0.0.0'; app_mysql_1 | 2019-09-21T13:48:54.056053Z 0 [Note] Server socket created on IP: '0.0.0.0'. app_mysql_1 | 2019-09-21T13:48:54.058586Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. app_mysql_1 | 2019-09-21T13:48:54.072543Z 0 [Note] InnoDB: Buffer pool(s) load completed at 190921 13:48:54 app_mysql_1 | 2019-09-21T13:48:54.074542Z 0 [Note] Event Scheduler: Loaded 0 events app_mysql_1 | 2019-09-21T13:48:54.074658Z 0 [Note] mysqld: ready for connections. app_mysql_1 | Version: '5.7.27' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL) ```
Redis ``` app_redis_1 | 1:C 21 Sep 13:48:39.755 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo app_redis_1 | 1:C 21 Sep 13:48:39.756 # Redis version=4.0.12, bits=64, commit=00000000, modified=0, pid=1, just started app_redis_1 | 1:C 21 Sep 13:48:39.756 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf app_redis_1 | 1:M 21 Sep 13:48:39.757 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. app_redis_1 | 1:M 21 Sep 13:48:39.757 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted. app_redis_1 | 1:M 21 Sep 13:48:39.757 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. app_redis_1 | 1:M 21 Sep 13:48:39.759 * Running mode=standalone, port=6379. app_redis_1 | 1:M 21 Sep 13:48:39.759 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. app_redis_1 | 1:M 21 Sep 13:48:39.759 # Server initialized app_redis_1 | 1:M 21 Sep 13:48:39.759 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. app_redis_1 | 1:M 21 Sep 13:48:39.759 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. app_redis_1 | 1:M 21 Sep 13:48:39.759 * Ready to accept connections ```
App Server ``` app_server_1 | -> Executing /opt/docker/provision/entrypoint.d/05-permissions.sh app_server_1 | -> Executing /opt/docker/provision/entrypoint.d/10-php-debugger.sh app_server_1 | PHP-Debugger: not specified - default is xdebug app_server_1 | - Removing PHP module blackfire app_server_1 | -> Executing /opt/docker/provision/entrypoint.d/20-apache-dev.sh app_server_1 | -> Executing /opt/docker/provision/entrypoint.d/20-apache.sh app_server_1 | -> Executing /opt/docker/provision/entrypoint.d/20-php-fpm.sh app_server_1 | -> Executing /opt/docker/provision/entrypoint.d/20-php.sh app_server_1 | -> Executing /opt/docker/bin/service.d/supervisor.d//10-init.sh app_server_1 | 2019-09-21 13:48:43,357 CRIT Set uid to user 0 app_server_1 | 2019-09-21 13:48:43,357 INFO Included extra file "/opt/docker/etc/supervisor.d/apache.conf" during parsing app_server_1 | 2019-09-21 13:48:43,357 INFO Included extra file "/opt/docker/etc/supervisor.d/blackfire-agent.conf" during parsing app_server_1 | 2019-09-21 13:48:43,357 INFO Included extra file "/opt/docker/etc/supervisor.d/cron.conf" during parsing app_server_1 | 2019-09-21 13:48:43,357 INFO Included extra file "/opt/docker/etc/supervisor.d/dnsmasq.conf" during parsing app_server_1 | 2019-09-21 13:48:43,357 INFO Included extra file "/opt/docker/etc/supervisor.d/php-fpm.conf" during parsing app_server_1 | 2019-09-21 13:48:43,357 INFO Included extra file "/opt/docker/etc/supervisor.d/postfix.conf" during parsing app_server_1 | 2019-09-21 13:48:43,357 INFO Included extra file "/opt/docker/etc/supervisor.d/ssh.conf" during parsing app_server_1 | 2019-09-21 13:48:43,357 INFO Included extra file "/opt/docker/etc/supervisor.d/syslog.conf" during parsing app_server_1 | 2019-09-21 13:48:43,368 INFO RPC interface 'supervisor' initialized app_server_1 | 2019-09-21 13:48:43,368 INFO supervisord started with pid 1 app_server_1 | 2019-09-21 13:48:44,370 INFO spawned: 'syslogd' with pid 80 app_server_1 | 2019-09-21 13:48:44,372 INFO spawned: 'php-fpmd' with pid 81 app_server_1 | 2019-09-21 13:48:44,373 INFO spawned: 'apached' with pid 82 app_server_1 | 2019-09-21 13:48:44,374 INFO spawned: 'crond' with pid 83 app_server_1 | 2019-09-21 13:48:44,375 INFO spawned: 'postfixd' with pid 84 app_server_1 | 2019-09-21 13:48:44,376 INFO spawned: 'sshd' with pid 85 app_server_1 | -> Executing /opt/docker/bin/service.d/syslog-ng.d//10-init.sh app_server_1 | -> Executing /opt/docker/bin/service.d/httpd.d//10-init.sh app_server_1 | 2019-09-21 13:48:44,400 INFO success: php-fpmd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | 2019-09-21 13:48:44,400 INFO success: apached entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | 2019-09-21 13:48:44,400 INFO success: crond entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | 2019-09-21 13:48:44,400 INFO success: postfixd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | 2019-09-21 13:48:44,400 INFO success: sshd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | -> Executing /opt/docker/bin/service.d/php-fpm.d//10-init.sh app_server_1 | -> Executing /opt/docker/bin/service.d/cron.d//10-init.sh app_server_1 | -> Executing /opt/docker/bin/service.d/ssh.d//10-init.sh app_server_1 | -> Executing /opt/docker/bin/service.d/postfix.d//10-init.sh app_server_1 | Setting php-fpm user to application app_server_1 | app_server_1 | [WARNING] WEB_DOCUMENT_ROOT does not exists with path "/var/www/shopware/shopware"! app_server_1 | app_server_1 | Error: No files specified app_server_1 | Command: go-replace --mode=line --regex -s ^[\s]*myhostname[\s]*=.* -r myhostname = 9563666a2df1 app_server_1 | ssh-keygen: generating new host keys: DSA app_server_1 | AH00526: Syntax error on line 6 of /opt/docker/etc/httpd/conf.d/10-server.conf: app_server_1 | DocumentRoot '/var/www/shopware/shopware' is not a directory, or is not readable app_server_1 | 2019-09-21 13:48:45,303 INFO exited: apached (exit status 1; not expected) app_server_1 | 2019-09-21 13:48:45,594 INFO success: syslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) app_server_1 | 2019-09-21 13:48:45,596 INFO spawned: 'apached' with pid 125 app_server_1 | -> Executing /opt/docker/bin/service.d/httpd.d//10-init.sh app_server_1 | 2019-09-21 13:48:45,606 INFO success: apached entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | app_server_1 | [WARNING] WEB_DOCUMENT_ROOT does not exists with path "/var/www/shopware/shopware"! app_server_1 | app_server_1 | [21-Sep-2019 13:48:45] NOTICE: fpm is running, pid 81 app_server_1 | [21-Sep-2019 13:48:45] NOTICE: ready to handle connections app_server_1 | AH00526: Syntax error on line 6 of /opt/docker/etc/httpd/conf.d/10-server.conf: app_server_1 | DocumentRoot '/var/www/shopware/shopware' is not a directory, or is not readable app_server_1 | 2019-09-21 13:48:45,649 INFO exited: apached (exit status 1; not expected) app_server_1 | 2019-09-21 13:48:46,652 INFO spawned: 'apached' with pid 146 app_server_1 | -> Executing /opt/docker/bin/service.d/httpd.d//10-init.sh app_server_1 | 2019-09-21 13:48:46,664 INFO success: apached entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | app_server_1 | [WARNING] WEB_DOCUMENT_ROOT does not exists with path "/var/www/shopware/shopware"! app_server_1 | app_server_1 | AH00526: Syntax error on line 6 of /opt/docker/etc/httpd/conf.d/10-server.conf: app_server_1 | DocumentRoot '/var/www/shopware/shopware' is not a directory, or is not readable app_server_1 | 2019-09-21 13:48:46,707 INFO exited: apached (exit status 1; not expected) app_server_1 | 2019-09-21 13:48:47,711 INFO spawned: 'apached' with pid 231 app_server_1 | -> Executing /opt/docker/bin/service.d/httpd.d//10-init.sh app_server_1 | app_server_1 | [WARNING] WEB_DOCUMENT_ROOT does not exists with path "/var/www/shopware/shopware"! app_server_1 | 2019-09-21 13:48:47,719 INFO success: apached entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) ~[?:?] app_server_1 | AH00526: Syntax error on line 6 of /opt/docker/etc/httpd/conf.d/10-server.conf: at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:?] app_server_1 | DocumentRoot '/var/www/shopware/shopware' is not a directory, or is not readable at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:?] app_server_1 | 2019-09-21 13:48:47,758 INFO exited: apached (exit status 1; not expected) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) ~[?:?] app_server_1 | 2019-09-21 13:48:48,760 INFO spawned: 'apached' with pid 233 at java.nio.file.Files.createDirectory(Files.java:674) ~[?:1.8.0_141] app_server_1 | -> Executing /opt/docker/bin/service.d/httpd.d//10-init.sh at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) ~[?:1.8.0_141] app_server_1 | at java.nio.file.Files.createDirectories(Files.java:767) ~[?:1.8.0_141] app_server_1 | 2019-09-21 13:48:48,765 INFO success: apached entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | [WARNING] WEB_DOCUMENT_ROOT does not exists with path "/var/www/shopware/shopware"! app_server_1 | app_server_1 | AH00526: Syntax error on line 6 of /opt/docker/etc/httpd/conf.d/10-server.conf: app_server_1 | DocumentRoot '/var/www/shopware/shopware' is not a directory, or is not readable app_server_1 | 2019-09-21 13:48:48,801 INFO exited: apached (exit status 1; not expected) app_server_1 | 2019-09-21 13:48:49,805 INFO spawned: 'apached' with pid 235 app_server_1 | -> Executing /opt/docker/bin/service.d/httpd.d//10-init.sh app_server_1 | app_server_1 | 2019-09-21 13:48:49,814 INFO success: apached entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | [WARNING] WEB_DOCUMENT_ROOT does not exists with path "/var/www/shopware/shopware"! app_server_1 | ``` Ok, this error above seems pretty normal since `./psh.phar init` has not installed shopware yet... Let's wait until it's installed: ``` app_server_1 | -> Executing /opt/docker/bin/service.d/httpd.d//10-init.sh app_server_1 | 2019-09-21 14:06:36,513 INFO success: apached entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | (13)Permission denied: AH00091: apache2: could not open error log file /docker.stderr. app_server_1 | AH00015: Unable to open logs app_server_1 | 2019-09-21 14:06:36,549 INFO exited: apached (exit status 1; not expected) app_server_1 | 2019-09-21 14:06:37,553 INFO spawned: 'apached' with pid 2993 app_server_1 | -> Executing /opt/docker/bin/service.d/httpd.d//10-init.sh app_server_1 | 2019-09-21 14:06:37,562 INFO success: apached entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | (13)Permission denied: AH00091: apache2: could not open error log file /docker.stderr. app_server_1 | AH00015: Unable to open logs app_server_1 | 2019-09-21 14:06:37,599 INFO exited: apached (exit status 1; not expected) app_server_1 | 2019-09-21 14:06:38,602 INFO spawned: 'apached' with pid 2995 app_server_1 | -> Executing /opt/docker/bin/service.d/httpd.d//10-init.sh app_server_1 | 2019-09-21 14:06:38,611 INFO success: apached entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) app_server_1 | (13)Permission denied: AH00091: apache2: could not open error log file /docker.stderr. app_server_1 | AH00015: Unable to open logs app_server_1 | 2019-09-21 14:06:38,650 INFO exited: apached (exit status 1; not expected) app_server_1 | 2019-09-21 14:06:39,653 INFO spawned: 'apached' with pid 2997 ... this repeats forever ```
Elastic Search ``` app_es_1 | [2019-09-21T13:48:44,309][INFO ][o.e.n.Node] [] initializing ... app_es_1 | [2019-09-21T13:48:44,331][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main] app_es_1 | org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: Failed to create node environment app_es_1 | at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:127) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | Caused by: java.lang.IllegalStateException: Failed to create node environment app_es_1 | at org.elasticsearch.node.Node.(Node.java:267) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.node.Node.(Node.java:244) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:232) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:232) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | app_es_1 | Caused by: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data/nodes app_es_1 | app_es_1 | at org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:221) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.node.Node.(Node.java:264) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.node.Node.(Node.java:244) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:232) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:232) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.5.2.jar:5.5.2] app_es_1 | ... 6 more shopware-test_app_es_1 exited with code 1 ```
teiling88 commented 5 years ago

What happens if you browse to http://localhost:8083 ?

Kartoffelpeter commented 5 years ago

I'm pretty sure that no connection could be established. But I'm not at home for this week, so I can't provide any more information about this. On Monday evening (UTC+2) I'll check it again and answer.

Kartoffelpeter commented 5 years ago

I'm home now and tried it. No connection could be established. In restrospect it seems logical because the apache does not start. (See the logs above)

teiling88 commented 5 years ago

Unfortunately, I can not reproduce that. What kind of operating system do you use and which version of docker and docker-compose?

Kartoffelpeter commented 5 years ago
$ docker --version
Docker version 18.06.1-ce, build e68fc7a
$ docker-compose --version
docker-compose version 1.22.0, build unknown
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic
klapperkopp commented 5 years ago

I am having the same problem

Docker version 19.03.1, build 74b1e89 docker-compose version 1.23.2, build 1110ad01 Distributor ID: Ubuntu Description: Ubuntu 19.04 Release: 19.04 Codename: disco

Kartoffelpeter commented 5 years ago

Are you able to reproduce it now?
Should we make a date and reproduce this together?

teiling88 commented 5 years ago

Unfortunately not, did you make changes that affects the security/right management of your distribution?

Kartoffelpeter commented 5 years ago

I can't reproduce this on another device. If starting Shopware 6, the same error occurs.

It seems like this error is more global. The funny thing is that it worked previously. Once I started this docker container and everything worked. Then I stopped it, removed all associated networks/containers/images and deleted the directory.
After cloning this repository again, this error occured.

teiling88 commented 5 years ago

Maybe ./psh.phar docker:destroy is helpful for you.

Otherwise, I'm not able to help you because the issue is not reproducible for me :-\

Kartoffelpeter commented 5 years ago

./psh.phar docker:destroy is not helpful.
Today I created a docker setup for shopware 6. If it works well over time, I'll create a repository for this.

For me this issue is done. It's not solved but I've found another way.