wodby / docker4drupal

Docker-based Drupal stack
https://wodby.com/docker4drupal
MIT License
1.24k stars 535 forks source link

Drupal site not accessible, file not found #355

Closed nxut closed 5 years ago

nxut commented 5 years ago

Codebase Built-in vanilla Drupal and mounted codebase

Describe your issue http://drupal.docker.localhost:8000 is not accessible. 'File not found.' text is returned as response. I've changed nothing in docker-compose.yml I can access http://portainer.drupal.docker.localhost:8000 though.

OS: Windows 10 Docker: Version 2.0.0.0-win82 (29268) Channel: edge Build: e69fe76

Output of docker info

Containers: 6
 Running: 6
 Paused: 0
 Stopped: 0
Images: 11
Server Version: 18.09.0
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.125-linuxkit
Operating System: Docker for Windows
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.934GiB
Name: linuxkit-00155dda0111
ID: KMVF:73F7:HX5N:DAXA:HVJN:MQAT:3I4W:AZEE:2ESM:A7RS:6X3U:BLET
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 70
 Goroutines: 86
 System Time: 2019-02-09T17:44:27.8887337Z
 EventsListeners: 2
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

Contents of your docker-compose.yml

version: "3"

services:
  mariadb:
    image: wodby/mariadb:$MARIADB_TAG
    container_name: "${PROJECT_NAME}_mariadb"
    stop_grace_period: 30s
    environment:
      MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
      MYSQL_DATABASE: $DB_NAME
      MYSQL_USER: $DB_USER
      MYSQL_PASSWORD: $DB_PASSWORD
#    volumes:
#      - ./mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
#      - /path/to/mariadb/data/on/host:/var/lib/mysql # Use bind mount

  php:
    image: wodby/drupal-php:$PHP_TAG
    container_name: "${PROJECT_NAME}_php"
    environment:
      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
      DB_HOST: $DB_HOST
      DB_USER: $DB_USER
      DB_PASSWORD: $DB_PASSWORD
      DB_NAME: $DB_NAME
      DB_DRIVER: $DB_DRIVER
      PHP_FPM_USER: wodby
      PHP_FPM_GROUP: wodby
      COLUMNS: 80 # Set 80 columns for docker exec -it.
## Read instructions at https://wodby.com/stacks/drupal/docs/local/xdebug/
#      PHP_XDEBUG: 1
#      PHP_XDEBUG_DEFAULT_ENABLE: 1
#      PHP_XDEBUG_REMOTE_CONNECT_BACK: 0
#      PHP_IDE_CONFIG: serverName=my-ide
#      PHP_XDEBUG_REMOTE_HOST: host.docker.internal # Docker 18.03+ Mac/Win
#      PHP_XDEBUG_REMOTE_HOST: 172.17.0.1 # Linux
#      PHP_XDEBUG_REMOTE_HOST: 10.254.254.254 # macOS, Docker < 18.03
#      PHP_XDEBUG_REMOTE_HOST: 10.0.75.1 # Windows, Docker < 18.03
#      PHP_XDEBUG_REMOTE_LOG: /tmp/php-xdebug.log
    volumes:
      - ./:/var/www/html
## For macOS users (https://wodby.com/stacks/drupal/docs/local/docker-for-mac/)
#      - ./:/var/www/html:cached # User-guided caching
#      - docker-sync:/var/www/html # Docker-sync
## For XHProf and Xdebug profiler traces
#      - files:/mnt/files

  nginx:
    image: wodby/nginx:$NGINX_TAG
    container_name: "${PROJECT_NAME}_nginx"
    depends_on:
      - php
    environment:
      NGINX_STATIC_OPEN_FILE_CACHE: "off"
      NGINX_ERROR_LOG_LEVEL: debug
      NGINX_BACKEND_HOST: php
      NGINX_SERVER_ROOT: /var/www/html/web
      NGINX_VHOST_PRESET: $NGINX_VHOST_PRESET
#      NGINX_DRUPAL_FILE_PROXY_URL: http://example.com
    volumes:
      - ./:/var/www/html
# For macOS users (https://wodby.com/stacks/drupal/docs/local/docker-for-mac/)
#      - ./:/var/www/html:cached # User-guided caching
#      - docker-sync:/var/www/html # Docker-sync
    labels:
      - 'traefik.backend=${PROJECT_NAME}_nginx'
      - 'traefik.port=80'
      - 'traefik.frontend.rule=Host:${PROJECT_BASE_URL}'

  mailhog:
    image: mailhog/mailhog
    container_name: "${PROJECT_NAME}_mailhog"
    labels:
      - 'traefik.backend=${PROJECT_NAME}_mailhog'
      - 'traefik.port=8025'
      - 'traefik.frontend.rule=Host:mailhog.${PROJECT_BASE_URL}'

#  postgres:
#    image: wodby/postgres:$POSTGRES_TAG
#    container_name: "${PROJECT_NAME}_postgres"
#    stop_grace_period: 30s
#    environment:
#      POSTGRES_PASSWORD: $DB_PASSWORD
#      POSTGRES_DB: $DB_NAME
#      POSTGRES_USER: $DB_USER
#    volumes:
#      - ./postgres-init:/docker-entrypoint-initdb.d # Place init file(s) here.
#      - /path/to/postgres/data/on/host:/var/lib/postgresql/data # Use bind mount

#  apache:
#    image: wodby/apache:$APACHE_TAG
#    container_name: "${PROJECT_NAME}_apache"
#    depends_on:
#      - php
#    environment:
#      APACHE_LOG_LEVEL: debug
#      APACHE_BACKEND_HOST: php
#      APACHE_VHOST_PRESET: php
#      APACHE_DOCUMENT_ROOT: /var/www/html/web
#    volumes:
#      - ./:/var/www/html
## For macOS users (https://wodby.com/stacks/drupal/docs/local/docker-for-mac/)
##      - ./:/var/www/html:cached # User-guided caching
##      - docker-sync:/var/www/html # Docker-sync
#    labels:
#      - 'traefik.backend=${PROJECT_NAME}_apache'
#      - 'traefik.port=80'
#      - 'traefik.frontend.rule=Host:${PROJECT_BASE_URL}'

#  varnish:
#    image: wodby/varnish:$VARNISH_TAG
#    container_name: "${PROJECT_NAME}_varnish"
#    depends_on:
#      - nginx
#    environment:
#      VARNISH_SECRET: secret
#      VARNISH_BACKEND_HOST: nginx
#      VARNISH_BACKEND_PORT: 80
#      VARNISH_CONFIG_PRESET: drupal
#      VARNISH_ALLOW_UNRESTRICTED_PURGE: 1
#    labels:
#      - 'traefik.backend=${PROJECT_NAME}_varnish'
#      - 'traefik.port=6081'
#      - 'traefik.frontend.rule=Host:varnish.${PROJECT_BASE_URL}'

#  redis:
#    container_name: "${PROJECT_NAME}_redis"
#    image: wodby/redis:$REDIS_TAG

#  adminer:
#    container_name: "${PROJECT_NAME}_adminer"
#    image: wodby/adminer:$ADMINER_TAG
#    environment:
## For PostgreSQL:
##      ADMINER_DEFAULT_DB_DRIVER: pgsql
#      ADMINER_DEFAULT_DB_HOST: $DB_HOST
#      ADMINER_DEFAULT_DB_NAME: $DB_NAME
#    labels:
#      - 'traefik.backend=${PROJECT_NAME}_adminer'
#      - 'traefik.port=9000'
#      - 'traefik.frontend.rule=Host:adminer.${PROJECT_BASE_URL}'

#  pma:
#    image: phpmyadmin/phpmyadmin
#    container_name: "${PROJECT_NAME}_pma"
#    environment:
#      PMA_HOST: $DB_HOST
#      PMA_USER: $DB_USER
#      PMA_PASSWORD: $DB_PASSWORD
#      PHP_UPLOAD_MAX_FILESIZE: 1G
#      PHP_MAX_INPUT_VARS: 1G
#    labels:
#      - 'traefik.backend=${PROJECT_NAME}_pma'
#      - 'traefik.port=80'
#      - 'traefik.frontend.rule=Host:pma.${PROJECT_BASE_URL}'

#  solr:
#    image: wodby/solr:$SOLR_TAG
#    container_name: "${PROJECT_NAME}_solr"
#    environment:
#      SOLR_DEFAULT_CONFIG_SET: $SOLR_CONFIG_SET
#      SOLR_HEAP: 1024m
#    labels:
#      - 'traefik.backend=${PROJECT_NAME}_solr'
#      - 'traefik.port=8983'
#      - 'traefik.frontend.rule=Host:solr.${PROJECT_BASE_URL}'

#  drupal-node:
#    image: wodby/drupal-node:$DRUPAL_NODE_TAG
#    container_name: "${PROJECT_NAME}_drupal_nodejs"
#    environment:
#       NODE_SERVICE_KEY: node-service-key
#    labels:
#      - 'traefik.backend=${PROJECT_NAME}_nodejs'
#      - 'traefik.port=8080'
#      - 'traefik.frontend.rule=Host:nodejs.${PROJECT_BASE_URL}'
#    volumes:
#      - ./path/to/your/single-page-app:/app
#    command: sh -c 'npm install && npm run start'

#  memcached:
#    container_name: "${PROJECT_NAME}_memcached"
#    image: wodby/memcached:$MEMCACHED_TAG

#  rsyslog:
#    container_name: "${PROJECT_NAME}_rsyslog"
#    image: wodby/rsyslog:$RSYSLOG_TAG

#  athenapdf:
#    image: arachnysdocker/athenapdf-service:$ATHENAPDF_TAG
#    container_name: "${PROJECT_NAME}_athenapdf"
#    environment:
#      WEAVER_AUTH_KEY: weaver-auth-key
#      WEAVER_ATHENA_CMD: "athenapdf -S"
#      WEAVER_MAX_WORKERS: 10
#      WEAVER_MAX_CONVERSION_QUEUE: 50
#      WEAVER_WORKER_TIMEOUT: 90
#      WEAVER_CONVERSION_FALLBACK: "false"

#  node:
#    image: wodby/node:$NODE_TAG
#    container_name: "${PROJECT_NAME}_node"
#    working_dir: /var/www/html/path/to/theme/to/build
#    labels:
#      - 'traefik.backend=${PROJECT_NAME}_node'
#      - 'traefik.port=3000'
#      - 'traefik.frontend.rule=Host:front.${PROJECT_BASE_URL}'
#    expose:
#      - "3000"
#    volumes:
#      - ./:/var/www/html
#    command: sh -c 'yarn install && yarn run start'

#  blackfire:
#    image: blackfire/blackfire
#    container_name: "${PROJECT_NAME}_blackfire"
#    environment:
#      BLACKFIRE_SERVER_ID: XXXXX
#      BLACKFIRE_SERVER_TOKEN: YYYYY

#  webgrind:
#    image: wodby/webgrind:$WEBGRIND_TAG
#    container_name: "${PROJECT_NAME}_webgrind"
#    environment:
#      WEBGRIND_PROFILER_DIR: /mnt/files/xdebug/profiler
#    labels:
#      - 'traefik.backend=webgrind'
#      - 'traefik.port=8080'
#      - 'traefik.frontend.rule=Host:webgrind.${PROJECT_BASE_URL}'
#    volumes:
#      - files:/mnt/files

#  elasticsearch:
#    image: wodby/elasticsearch:$ELASTICSEARCH_TAG
#    environment:
#      ES_JAVA_OPTS: "-Xms500m -Xmx500m"
#    ulimits:
#      memlock:
#        soft: -1
#        hard: -1

#  kibana:
#    image: wodby/kibana:$KIBANA_TAG
#    depends_on:
#      - elasticsearch
#    labels:
#      - 'traefik.backend=${PROJECT_NAME}_kibana'
#      - 'traefik.port=5601'
#      - 'traefik.frontend.rule=Host:kibana.php.docker.localhost'

#  opensmtpd:
#    container_name: "${PROJECT_NAME}_opensmtpd"
#    image: wodby/opensmtpd:$OPENSMTPD_TAG

#  xhprof:
#    image: wodby/xhprof:$XHPROF_TAG
#    restart: always
#    volumes:
#      - files:/mnt/files
#    labels:
#      - 'traefik.backend=${PROJECT_NAME}_xhprof'
#      - 'traefik.port=8080'
#      - 'traefik.frontend.rule=Host:xhprof.${PROJECT_BASE_URL}'

  portainer:
    image: portainer/portainer
    container_name: "${PROJECT_NAME}_portainer"
    command: --no-auth -H unix:///var/run/docker.sock
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    labels:
      - 'traefik.backend=${PROJECT_NAME}_portainer'
      - 'traefik.port=9000'
      - 'traefik.frontend.rule=Host:portainer.${PROJECT_BASE_URL}'

  traefik:
    image: traefik
    container_name: "${PROJECT_NAME}_traefik"
    command: -c /dev/null --web --docker --logLevel=INFO
    ports:
      - '8000:80'
#      - '8080:8080' # Dashboard
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

#volumes:
## Docker-sync for macOS users
#  docker-sync:
#    external: true
## For Xdebug profiler
#  files:

Contents of your .env

### Documentation available at https://wodby.com/docs/stacks/drupal/local
### Changelog can be found at https://github.com/wodby/docker4drupal/releases
### Images tags format explained at https://github.com/wodby/docker4drupal#images-tags

### PROJECT SETTINGS

PROJECT_NAME=my_drupal8_project
PROJECT_BASE_URL=drupal.docker.localhost

DB_NAME=drupal
DB_USER=drupal
DB_PASSWORD=drupal
DB_ROOT_PASSWORD=password
DB_HOST=mariadb
DB_DRIVER=mysql

### --- MARIADB ----

MARIADB_TAG=10.1-3.3.16
#MARIADB_TAG=10.3-3.3.16
#MARIADB_TAG=10.2-3.3.16

### --- VANILLA DRUPAL ----

DRUPAL_TAG=8-4.11.2
#DRUPAL_TAG=7-4.11.2

### --- PHP ----

# Linux (uid 1000 gid 1000)

PHP_TAG=7.2-dev-4.12.0
#PHP_TAG=7.3-dev-4.12.0
#PHP_TAG=7.1-dev-4.12.0
#PHP_TAG=5.6-dev-4.12.0

# macOS (uid 501 gid 20)

#PHP_TAG=7.3-dev-macos-4.12.0
#PHP_TAG=7.2-dev-macos-4.12.0
#PHP_TAG=7.1-dev-macos-4.12.0
#PHP_TAG=5.6-dev-macos-4.12.0

### --- NGINX ----

NGINX_TAG=1.15-5.3.2
#NGINX_TAG=1.14-5.3.2

NGINX_VHOST_PRESET=drupal8
#NGINX_VHOST_PRESET=drupal7
#NGINX_VHOST_PRESET=drupal6

### --- SOLR ---

SOLR_CONFIG_SET="search_api_solr_8.x-2.3"
#SOLR_CONFIG_SET="search_api_solr_8.x-1.2"
#SOLR_CONFIG_SET="search_api_solr_7.x-1.14"

SOLR_TAG=7.5-3.0.7
#SOLR_TAG=7.4-3.0.7
#SOLR_TAG=7.3-3.0.7
#SOLR_TAG=7.2-3.0.7
#SOLR_TAG=7.1-3.0.7
#SOLR_TAG=6.6-3.0.7
#SOLR_TAG=5.5-3.0.7
#SOLR_TAG=5.4-3.0.7

### --- ELASTICSEARCH ---

ELASTICSEARCH_TAG=6.2-3.0.3
#ELASTICSEARCH_TAG=6.1-3.0.3
#ELASTICSEARCH_TAG=6.0-3.0.3
#ELASTICSEARCH_TAG=5.6-3.0.3
#ELASTICSEARCH_TAG=5.5-3.0.3
#ELASTICSEARCH_TAG=5.4-3.0.3

### --- KIBANA ---

KIBANA_TAG=6.2-3.0.3
#KIBANA_TAG=6.1-3.0.3
#KIBANA_TAG=6.0-3.0.3
#KIBANA_TAG=5.6-3.0.3
#KIBANA_TAG=5.5-3.0.3
#KIBANA_TAG=5.4-3.0.3

### --- REDIS ---

REDIS_TAG=4-3.0.3
#REDIS_TAG=5-3.0.3

### --- NODE ---

NODE_TAG=10-0.10.1
#NODE_TAG=8-0.10.1
#NODE_TAG=6-0.10.1

### --- VARNISH ---

VARNISH_TAG=4.1-4.2.0
#VARNISH_TAG=6.0-4.2.0

### --- POSTGRESQL ----

POSTGRES_TAG=11-1.5.0
#POSTGRES_TAG=10-1.5.0
#POSTGRES_TAG=9.6-1.5.0
#POSTGRES_TAG=9.5-1.5.0
#POSTGRES_TAG=9.4-1.5.0
#POSTGRES_TAG=9.3-1.5.0

### OTHERS

ADMINER_TAG=4-3.5.0
APACHE_TAG=2.4-4.0.3
ATHENAPDF_TAG=2.10.0
DRUPAL_NODE_TAG=1.0-2.0.0
MEMCACHED_TAG=1-2.2.1
OPENSMTPD_TAG=6.0-1.4.0
RSYSLOG_TAG=latest
WEBGRIND_TAG=1.5-1.9.0
XHPROF_TAG=1.3.0

Logs output docker-compose logs

Attaching to my_drupal8_project_nginx, my_drupal8_project_php, my_drupal8_project_mailhog, my_drupal8_project_portainer, my_drupal8_project_mariadb, my_drupal8_project_traefik
my_drupal8_project_mailhog | 2019/02/09 17:34:56 Using in-memory storage
my_drupal8_project_mailhog | 2019/02/09 17:34:56 [SMTP] Binding to address: 0.0.0.0:1025
my_drupal8_project_mailhog | [HTTP] Binding to address: 0.0.0.0:8025
my_drupal8_project_mailhog | Creating API v1 with WebPath: 
my_drupal8_project_mailhog | Creating API v2 with WebPath: 
my_drupal8_project_mailhog | 2019/02/09 17:34:57 Serving under http://0.0.0.0:8025/
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal8_project_nginx | 2019/02/09 17:35:00 [notice] 1#1: using the "epoll" event method
my_drupal8_project_nginx | 2019/02/09 17:35:00 [notice] 1#1: nginx/1.15.8
my_drupal8_project_nginx | 2019/02/09 17:35:00 [notice] 1#1: built by gcc 6.4.0 (Alpine 6.4.0) 
my_drupal8_project_nginx | 2019/02/09 17:35:00 [notice] 1#1: OS: Linux 4.9.125-linuxkit
my_drupal8_project_nginx | 2019/02/09 17:35:00 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
my_drupal8_project_nginx | 2019/02/09 17:35:00 [notice] 1#1: start worker processes
my_drupal8_project_nginx | 2019/02/09 17:35:00 [notice] 1#1: start worker process 38
my_drupal8_project_nginx | 2019/02/09 17:35:00 [notice] 1#1: start worker process 39
my_drupal8_project_nginx | 2019/02/09 17:35:14 [error] 39#39: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.24.0.2, server: default, request: "GET / HTTP/1.1", upstream: "fastcgi://172.24.0.6:9000", host: "drupal.docker.localhost:8000"
my_drupal8_project_nginx | 172.24.0.2 - - [09/Feb/2019:17:35:14 +0000] "GET / HTTP/1.1" 502 552 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36"
my_drupal8_project_nginx | 2019/02/09 17:35:18 [error] 39#39: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.24.0.2, server: default, request: "GET / HTTP/1.1", upstream: "fastcgi://172.24.0.6:9000", host: "drupal.docker.localhost:8000"
my_drupal8_project_nginx | 172.24.0.2 - - [09/Feb/2019:17:35:18 +0000] "GET / HTTP/1.1" 404 47 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36"
my_drupal8_project_nginx | 172.24.0.2 - - [09/Feb/2019:17:35:19 +0000] "GET /favicon.ico HTTP/1.1" 200 43 "http://drupal.docker.localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36"
my_drupal8_project_nginx | 2019/02/09 17:35:20 [error] 39#39: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.24.0.2, server: default, request: "GET / HTTP/1.1", upstream: "fastcgi://172.24.0.6:9000", host: "drupal.docker.localhost:8000"
my_drupal8_project_nginx | 172.24.0.2 - - [09/Feb/2019:17:35:20 +0000] "GET / HTTP/1.1" 404 47 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36"
my_drupal8_project_nginx | 172.24.0.2 - - [09/Feb/2019:17:35:20 +0000] "GET /favicon.ico HTTP/1.1" 200 43 "http://drupal.docker.localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36"
my_drupal8_project_nginx | 2019/02/09 17:41:21 [error] 39#39: *5 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.24.0.2, server: default, request: "GET / HTTP/1.1", upstream: "fastcgi://172.24.0.6:9000", host: "drupal.docker.localhost:8000"
my_drupal8_project_nginx | 172.24.0.2 - - [09/Feb/2019:17:41:21 +0000] "GET / HTTP/1.1" 404 47 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36"
my_drupal8_project_mariadb | Initializing database
my_drupal8_project_mariadb | 2019-02-09 17:34:57 139794735303560 [Note] /usr/bin/mysqld (mysqld 10.1.38-MariaDB) starting as process 64 ...
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: The InnoDB memory heap is disabled
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Using Linux native AIO
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Using SSE crc32 instructions
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Completed initialization of buffer pool
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Setting file ./ibdata1 size to 10 MB
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Setting log file ./ib_logfile101 size to 128 MB
my_drupal8_project_mariadb | 2019-02-09 17:34:58 139794735303560 [Note] InnoDB: Setting log file ./ib_logfile1 size to 128 MB
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Warning] InnoDB: New log files created, LSN=45781
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Note] InnoDB: Doublewrite buffer not found: creating new
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Note] InnoDB: Doublewrite buffer created
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Note] InnoDB: 128 rollback segment(s) are active.
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Warning] InnoDB: Creating foreign key constraint system tables.
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Note] InnoDB: Foreign key constraint system tables created
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Note] InnoDB: Creating tablespace and datafile system tables.
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Note] InnoDB: Tablespace and datafile system tables created.
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Note] InnoDB: Waiting for purge to start
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794735303560 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 0
my_drupal8_project_mariadb | 2019-02-09 17:34:59 139794148477672 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] /usr/bin/mysqld (mysqld 10.1.38-MariaDB) starting as process 93 ...
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: The InnoDB memory heap is disabled
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: Using Linux native AIO
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: Using SSE crc32 instructions
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: Completed initialization of buffer pool
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: Highest supported file format is Barracuda.
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: 128 rollback segment(s) are active.
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB: Waiting for purge to start
my_drupal8_project_mariadb | 2019-02-09 17:35:02 140664138468232 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 1616730
my_drupal8_project_mariadb | 2019-02-09 17:35:03 140663558728424 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_drupal8_project_mariadb | 2019-02-09 17:35:05 140205258546056 [Note] /usr/bin/mysqld (mysqld 10.1.38-MariaDB) starting as process 122 ...
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: The InnoDB memory heap is disabled
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: Using Linux native AIO
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: Using SSE crc32 instructions
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: Completed initialization of buffer pool
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: Highest supported file format is Barracuda.
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: 128 rollback segment(s) are active.
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB: Waiting for purge to start
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140205258546056 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 1616740
my_drupal8_project_mariadb | 2019-02-09 17:35:06 140204678806248 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
my_drupal8_project_mariadb | To do so, start the server, then issue the following commands:
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | '/usr/bin/mysqladmin' -u root password 'new-password'
my_drupal8_project_mariadb | '/usr/bin/mysqladmin' -u root -h  password 'new-password'
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | Alternatively you can run:
my_drupal8_project_mariadb | '/usr/bin/mysql_secure_installation'
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | which will also give you the option of removing the test
my_drupal8_project_mariadb | databases and anonymous user created by default.  This is
my_drupal8_project_mariadb | strongly recommended for production servers.
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
my_drupal8_project_mariadb | MySQL manual for more instructions.
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | Please report any problems at http://mariadb.org/jira
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | The latest information about MariaDB is available at http://mariadb.org/.
my_drupal8_project_mariadb | You can find additional information about the MySQL part at:
my_drupal8_project_mariadb | http://dev.mysql.com
my_drupal8_project_mariadb | Consider joining MariaDB's strong and vibrant community:
my_drupal8_project_mariadb | https://mariadb.org/get-involved/
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | Database initialized
my_drupal8_project_mariadb | MySQL init process in progress...
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] mysqld (mysqld 10.1.38-MariaDB) starting as process 155 ...
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: The InnoDB memory heap is disabled
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: Using Linux native AIO
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: Using SSE crc32 instructions
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: Completed initialization of buffer pool
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: Highest supported file format is Barracuda.
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: 128 rollback segment(s) are active.
my_drupal8_project_php | Drupal 8 not found in /var/www/html - copying now...
my_drupal8_project_php | Complete! Drupal 8 has been successfully copied to /var/www/html
my_drupal8_project_php | [09-Feb-2019 17:35:18] NOTICE: fpm is running, pid 1
my_drupal8_project_php | [09-Feb-2019 17:35:18] NOTICE: ready to handle connections
my_drupal8_project_php | 172.24.0.7 -  09/Feb/2019:17:35:18 +0000 "GET /index.php" 404
my_drupal8_project_php | 172.24.0.7 -  09/Feb/2019:17:35:20 +0000 "GET /index.php" 404
my_drupal8_project_php | 172.24.0.7 -  09/Feb/2019:17:41:21 +0000 "GET /index.php" 404
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Using TOML configuration file /dev/null"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=warning msg="web provider configuration is deprecated, you should use these options : api, rest provider, ping and metrics"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Traefik version v1.7.8 built on 2019-01-29_04:33:36PM"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/basics/#collected-data\n"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc00000a8a0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Preparing server traefik &{Address::8080 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc00000a8e0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Starting server on :80"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Starting server on :8080"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Starting provider *docker.Provider {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Trace\":false,\"TemplateVersion\":2,\"DebugLogGeneratedTemplate\":false,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"\",\"TLS\":null,\"ExposedByDefault\":true,\"UseBindPortIP\":false,\"SwarmMode\":false,\"Network\":\"\",\"SwarmModeRefreshSeconds\":15}"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Server configuration reloaded on :80"
my_drupal8_project_traefik | time="2019-02-09T17:34:58Z" level=info msg="Server configuration reloaded on :8080"
my_drupal8_project_traefik | time="2019-02-09T17:35:00Z" level=info msg="Server configuration reloaded on :8080"
my_drupal8_project_traefik | time="2019-02-09T17:35:00Z" level=info msg="Server configuration reloaded on :80"
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB: Waiting for purge to start
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 1616750
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016351595240 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Note] Plugin 'FEEDBACK' is disabled.
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Warning] 'user' entry 'root@c5bd17ec1e08' ignored in --skip-name-resolve mode.
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Warning] 'user' entry '@c5bd17ec1e08' ignored in --skip-name-resolve mode.
my_drupal8_project_mariadb | 2019-02-09 17:35:09 140016931335048 [Warning] 'proxies_priv' entry '@% root@c5bd17ec1e08' ignored in --skip-name-resolve mode.
my_drupal8_project_mariadb | 2019-02-09 17:35:10 140016931335048 [Note] Reading of all Master_info entries succeded
my_drupal8_project_mariadb | 2019-02-09 17:35:10 140016931335048 [Note] Added new Master_info '' to hash table
my_drupal8_project_mariadb | 2019-02-09 17:35:10 140016931335048 [Note] mysqld: ready for connections.
my_drupal8_project_mariadb | Version: '10.1.38-MariaDB'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MariaDB Server
my_drupal8_project_mariadb | 2019-02-09 17:35:14 140016350776040 [Warning] 'proxies_priv' entry '@% root@c5bd17ec1e08' ignored in --skip-name-resolve mode.
my_drupal8_project_mariadb | 2019-02-09 17:35:14 140016350776040 [Warning] 'proxies_priv' entry '@% root@c5bd17ec1e08' ignored in --skip-name-resolve mode.
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | 2019-02-09 17:35:14 140016350460648 [Note] mysqld: Normal shutdown
my_drupal8_project_mariadb | 2019-02-09 17:35:14 140016350460648 [Note] Event Scheduler: Purging the queue. 0 events
my_drupal8_project_mariadb | 2019-02-09 17:35:14 140016351972072 [Note] InnoDB: FTS optimize thread exiting.
my_drupal8_project_mariadb | 2019-02-09 17:35:14 140016350460648 [Note] InnoDB: Starting shutdown...
my_drupal8_project_mariadb | 2019-02-09 17:35:15 140016350460648 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
my_drupal8_project_mariadb | 2019-02-09 17:35:16 140016350460648 [Note] InnoDB: Shutdown completed; log sequence number 1616760
my_drupal8_project_mariadb | 2019-02-09 17:35:16 140016350460648 [Note] mysqld: Shutdown complete
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | MySQL init process done. Ready for start up.
my_drupal8_project_mariadb | 
my_drupal8_project_mariadb | 2019-02-09 17:35:16 140013491121032 [Note] mysqld (mysqld 10.1.38-MariaDB) starting as process 1 ...
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: Using mutexes to ref count buffer pool pages
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: The InnoDB memory heap is disabled
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: Compressed tables use zlib 1.2.11
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: Using Linux native AIO
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: Using SSE crc32 instructions
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: Initializing buffer pool, size = 128.0M
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: Completed initialization of buffer pool
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: Highest supported file format is Barracuda.
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: 128 rollback segment(s) are active.
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB: Waiting for purge to start
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.42-84.2 started; log sequence number 1616760
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140012911381224 [Note] InnoDB: Dumping buffer pool(s) not yet started
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] Plugin 'FEEDBACK' is disabled.
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] Server socket created on IP: '0.0.0.0'.
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Warning] 'proxies_priv' entry '@% root@c5bd17ec1e08' ignored in --skip-name-resolve mode.
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] Reading of all Master_info entries succeded
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] Added new Master_info '' to hash table
my_drupal8_project_mariadb | 2019-02-09 17:35:17 140013491121032 [Note] mysqld: ready for connections.
my_drupal8_project_mariadb | Version: '10.1.38-MariaDB'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MariaDB Server
my_drupal8_project_portainer | 2019/02/09 17:34:58 Starting Portainer 1.20.1 on :9000
nxut commented 5 years ago

I figured it out. I needed to run "composer update drupal/core webflo/drupal-core-require-dev symfony/* --with-dependencies"

achraf-jeday commented 5 years ago

I solved the same issue by deleting the composer.lock file and the vendor directory and running composer install again. Thank you @nxut.