Not Recognizing Modules
GabeBolton opened this issue · 0 comments
GabeBolton commented
Codebase
Tested both on the vanilla and mounted codebase
Describe your issue
Suspected that modules in ./var/www/html/modules
are ignored, causing basic functionality to not work.
Site is not shown, giving 500 internal error when using our existing codebase, despite working with same codebase and database on a non-containerized install.
Traced to the "date_format"
key being missing when called from /var/www/html/web/core/modules/system/system.module:1238
drush status
output:
[warning] Undefined array key "date_format" system.module:1238
[error] Error: Call to a member function setFormClass() on null in system_entity_type_build() (line 1239 of /var/www/html/web/core/modules/system/system.module) #0 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(118): system_entity_type_build()
#1 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(405): Drupal\Core\Entity\EntityTypeManager->Drupal\Core\Entity\{closure}()
#2 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(117): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#3 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(181): Drupal\Core\Entity\EntityTypeManager->findDefinitions()
#4 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#5 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(132): Drupal\Core\Plugin\DefaultPluginManager->getDefinition()
...
Output of docker info
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.10.3)
compose: Docker Compose (Docker Inc., v2.15.1)
dev: Docker Dev Environments (Docker Inc., v0.1.0)
extension: Manages Docker extensions (Docker Inc., v0.2.18)
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
scan: Docker Scan (Docker Inc., v0.25.0)
scout: Command line tool for Docker Scout (Docker Inc., v0.6.0)
Server:
Containers: 9
Running: 7
Paused: 0
Stopped: 2
Images: 16
Server Version: 20.10.23
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
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: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 2456e983eb9e37e47538f59ea18f2043c9a73640
runc version: v1.1.4-0-g5fd4c4d
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 5.10.102.1-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.55GiB
Name: docker-desktop
ID: KFXY:HR2U:CKN2:MVFS:XIGA:ADZD:E37Y:D3JW:YQCU:W4HU:RVZ5:XXMR
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5000
127.0.0.0/8
Live Restore Enabled: false
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
Contents of your docker-compose.yml
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.
- ./mariadb:/var/lib/mysql # Use bind mount
php:
image: wodby/drupal-php:$PHP_TAG
# image: wodby/drupal:$DRUPAL_TAG
container_name: "${PROJECT_NAME}_php"
environment:
SSMTP_MAILHUB: mailhog:1025
# SSMTP_MAILHUB: opensmtpd:25
PHP_SENDMAIL_PATH: '"/usr/bin/dos2unix -u | /usr/sbin/ssmtp -t -f"'
# DB_HOST: $DB_HOST
# DB_PORT: $DB_PORT
# DB_USER: $DB_USER
# DB_PASSWORD: $DB_PASSWORD
# DB_NAME: $DB_NAME
# DB_DRIVER: $DB_DRIVER
# DRUSH_OPTIONS_URI: "http://${PROJECT_BASE_URL}:${PROJECT_PORT}"
# PHP_FPM_USER: wodby
# PHP_FPM_GROUP: wodby
# COLUMNS: 80 # Set 80 columns for docker exec -it.
# # Read instructions at https://wodby.com/docs/stacks/php/local/#xdebug
# PHP_XDEBUG: 1
# PHP_XDEBUG_MODE: debug
# PHP_XDEBUG_MODE: profile
# PHP_XDEBUG_USE_COMPRESSION: false
# PHP_IDE_CONFIG: serverName=my-ide
# PHP_XDEBUG_IDEKEY: "my-ide"
# PHP_XDEBUG_CLIENT_HOST: 172.17.0.1 # Linux
# PHP_XDEBUG_CLIENT_HOST: ${PHP_XDEBUG_CLIENT_HOST}
# PHP_XDEBUG_CLIENT_HOST: 10.0.75.1 # Windows, Docker < 18.03
# PHP_XDEBUG_LOG: /tmp/php-xdebug.log
# # PHPUnit Drupal testing configurations
# SIMPLETEST_BASE_URL: "http://nginx"
# SIMPLETEST_DB: "${DB_DRIVER}://${DB_USER}:${DB_PASSWORD}@${DB_HOST}/${DB_NAME}#tests_"
# MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu","--headless"]}}, "http://chrome:9515"]'
volumes:
- $CODEBASE_PATH:/var/www/html
## Alternative for macOS users: Mutagen https://wodby.com/docs/stacks/drupal/local#docker-for-mac
# - drupal:/var/www/html
## For XHProf and Xdebug profiler traces
# - files:/mnt/files
crond:
init: true
image: wodby/drupal-php:$PHP_TAG
container_name: "${PROJECT_NAME}_crond"
environment:
CRONTAB: "0 * * * * drush -r /var/www/html/web cron"
command: sudo -E crond -f -d 0
volumes:
- $CODEBASE_PATH:/var/www/html
## Alternative for macOS users: Mutagen https://wodby.com/docs/stacks/drupal/local#docker-for-mac
# - drupal:/var/www/html
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:
- $CODEBASE_PATH:/var/www/html
## Alternative for macOS users: Mutagen https://wodby.com/docs/stacks/drupal/local#docker-for-mac
# - drupal:/var/www/html
labels:
- "traefik.http.routers.${PROJECT_NAME}_nginx.rule=Host(`${PROJECT_BASE_URL}`)"
mailhog:
image: mailhog/mailhog
container_name: "${PROJECT_NAME}_mailhog"
labels:
- "traefik.http.services.${PROJECT_NAME}_mailhog.loadbalancer.server.port=8025"
- "traefik.http.routers.${PROJECT_NAME}_mailhog.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
# POSTGRES_DB_EXTENSIONS: pg_trgm
# 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:cached
## Alternative for macOS users: Mutagen https://wodby.com/docs/stacks/drupal/local#docker-for-mac
# - drupal:/var/www/html
# labels:
# - "traefik.http.routers.${PROJECT_NAME}_apache.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.http.services.${PROJECT_NAME}_varnish.loadbalancer.server.port=6081"
# - "traefik.http.routers.${PROJECT_NAME}_varnish.rule=Host(`varnish.${PROJECT_BASE_URL}`)"
# redis:
# container_name: "${PROJECT_NAME}_redis"
# image: wodby/redis:$REDIS_TAG
adminer: # Provides a way to view the sql database at http://adminer.${PROJECT_BASE_URL}
container_name: "${PROJECT_NAME}_adminer"
init: true
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.http.routers.${PROJECT_NAME}_adminer.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
# UPLOAD_LIMIT: 1G
# labels:
# - "traefik.http.routers.${PROJECT_NAME}_pma.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
# ZK_HOST: zookeeper:2181
# SOLR_HEAP: 1024m
# depends_on:
# - zookeeper
# labels:
# - "traefik.http.services.${PROJECT_NAME}_solr.loadbalancer.server.port=8983"
# - "traefik.http.routers.${PROJECT_NAME}_solr.rule=Host(`solr.${PROJECT_BASE_URL}`)"
# zookeeper:
# image: zookeeper:$ZOOKEEPER_TAG
# container_name: "${PROJECT_NAME}_zookeeper"
# environment:
# ZOO_MY_ID: 1
# ZOO_SERVERS: server.1=zookeeper:2888:3888;2181
# ZOO_4LW_COMMANDS_WHITELIST: mntr, conf, ruok
# drupal-node:
# image: wodby/drupal-node:$DRUPAL_NODE_TAG
# container_name: "${PROJECT_NAME}_drupal_nodejs"
# labels:
# - "traefik.http.routers.${PROJECT_NAME}_drupal_node.rule=Host(`drupal_node.${PROJECT_BASE_URL}`)"
# environment:
# NODE_SERVICE_KEY: node-service-key
# 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.http.services.${PROJECT_NAME}_node.loadbalancer.server.port=3000"
# - "traefik.http.routers.${PROJECT_NAME}_node.rule=Host(`node.${PROJECT_BASE_URL}`)"
# expose:
# - "3000"
# volumes:
# - ./:/var/www/html
# command: sh -c 'yarn install && yarn run start'
# webgrind:
# image: wodby/webgrind:$WEBGRIND_TAG
# container_name: "${PROJECT_NAME}_webgrind"
# environment:
# WEBGRIND_PROFILER_DIR: /mnt/files/xdebug
# labels:
# - "traefik.http.routers.${PROJECT_NAME}_webgrind.rule=Host(`webgrind.${PROJECT_BASE_URL}`)"
# volumes:
# - files:/mnt/files
# - ./:/mnt/codebase:cached
# elasticsearch:
# image: wodby/elasticsearch:$ELASTICSEARCH_TAG
# container_name: "${PROJECT_NAME}_elasticsearch"
# environment:
# ES_JAVA_OPTS: "-Xms500m -Xmx500m"
# ulimits:
# memlock:
# soft: -1
# hard: -1
# kibana:
# image: wodby/kibana:$KIBANA_TAG
# container_name: "${PROJECT_NAME}_kibana"
# depends_on:
# - elasticsearch
# labels:
# - "traefik.http.services.${PROJECT_NAME}_kibana.loadbalancer.server.port=5601"
# - "traefik.http.routers.${PROJECT_NAME}_kibana.rule=Host(`kibana.${PROJECT_BASE_URL}`)"
# opensmtpd:
# container_name: "${PROJECT_NAME}_opensmtpd"
# image: wodby/opensmtpd:$OPENSMTPD_TAG
# xhprof:
# image: wodby/xhprof:$XHPROF_TAG
# container_name: "${PROJECT_NAME}_xhprof"
# restart: always
# volumes:
# - files:/mnt/files
# labels:
# - "traefik.http.routers.${PROJECT_NAME}_xhprof.rule=Host(`xhprof.${PROJECT_BASE_URL}`)"
# chrome:
# image: selenium/standalone-chrome:$SELENIUM_CHROME_TAG
# container_name: "${PROJECT_NAME}_chrome"
# volumes:
# - /dev/shm:/dev/shm
# entrypoint:
# - chromedriver
# - "--no-sandbox"
# - "--disable-dev-shm-usage"
# - "--log-path=/tmp/chromedriver.log"
# - "--verbose"
# - "--whitelisted-ips="
traefik:
image: traefik:v2.0
container_name: "${PROJECT_NAME}_traefik"
command: --api.insecure=true --providers.docker
ports:
- "${PROJECT_PORT}:80"
- '8080:8080' # Dashboard
volumes:
- /var/run/docker.sock:/var/run/docker.sock
#x-mutagen:
# sync:
# defaults:
# ignore:
# vcs: true
# paths:
# - .DS_Store
# - .history
# - .idea
# drupal:
# alpha: "."
# beta: "volume://drupal"
# configurationBeta:
# permissions:
# defaultFileMode: 0644
# defaultDirectoryMode: 0755
# defaultOwner: "id:501"
# defaultGroup: "id:20"
python-server:
container_name: "${PROJECT_NAME}_python-server"
build:
context: .
dockerfile: Dockerfile-python-server
# ports:
# - '8000:8000'
volumes:
- ./python-server:/python-server
# command: /bin/sh -c 'python main.py'
tty: true
volumes:
## For macOS users (Mutagen)
# drupal:
# 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=site
PROJECT_BASE_URL=site.localhost
PROJECT_PORT=80
DB_NAME=drupal
DB_USER=drupal
DB_PASSWORD=drupal
DB_ROOT_PASSWORD=password
DB_HOST=mariadb
DB_PORT=3306
DB_DRIVER=mysql
CODEBASE_PATH=./drupal-website
PHP_XDEBUG_CLIENT_HOST=host.docker.internal # Windows/Mac
# PHP_XDEBUG_CLIENT_HOST=172.17.0.1 # Linux
### --- MARIADB ----
# MARIADB_TAG=10.11-3.26.4
#MARIADB_TAG=11.0-3.26.4
#MARIADB_TAG=10.10-3.26.4
#MARIADB_TAG=10.9-3.26.4
MARIADB_TAG=10.6-3.26.4
#MARIADB_TAG=10.5-3.26.4
#MARIADB_TAG=10.4-3.26.4
### --- VANILLA DRUPAL ----
# DRUPAL_TAG=10-4.58.7
DRUPAL_TAG=9-4.58.7
#DRUPAL_TAG=7-4.58.7
### --- PHP ----
# Linux (uid 1000 gid 1000)
# PHP_TAG=8.2-dev-4.47.5
PHP_TAG=8.1-dev-4.47.5
#PHP_TAG=8.0-dev-4.47.5
# macOS (uid 501 gid 20)
#PHP_TAG=8.2-dev-macos-4.47.5
#PHP_TAG=8.1-dev-macos-4.47.5
#PHP_TAG=8.0-dev-macos-4.47.5
### --- NGINX ----
NGINX_TAG=1.25-5.33.5
#NGINX_TAG=1.24-5.33.5
#NGINX_TAG=1.25-5.33.5
# NGINX_VHOST_PRESET=drupal10
NGINX_VHOST_PRESET=drupal9
#NGINX_VHOST_PRESET=drupal8
#NGINX_VHOST_PRESET=drupal7
### --- SOLR ---
SOLR_TAG=8-4.18.2
#SOLR_TAG=7-4.18.2
#SOLR_TAG=6-4.18.2
#SOLR_TAG=5-4.18.2
SOLR_CONFIG_SET="search_api_solr_4.1.6"
#SOLR_CONFIG_SET="search_api_solr_4.0.1"
#SOLR_CONFIG_SET="search_api_solr_8.x-3.9"
#SOLR_CONFIG_SET="search_api_solr_8.x-3.2"
#SOLR_CONFIG_SET="search_api_solr_8.x-2.7"
#SOLR_CONFIG_SET="search_api_solr_8.x-1.2"
#SOLR_CONFIG_SET="search_api_solr_7.x-1.14"
### --- ELASTICSEARCH ---
ELASTICSEARCH_TAG=7-5.18.11
#ELASTICSEARCH_TAG=6-5.18.11
### --- KIBANA ---
KIBANA_TAG=7-5.18.11
#KIBANA_TAG=6-5.18.11
### --- REDIS ---
REDIS_TAG=7-4.2.1
#REDIS_TAG=6-4.2.1
#REDIS_TAG=5-4.2.1
### --- NODE ---
NODE_TAG=20-dev-1.26.0
#NODE_TAG=18-dev-1.26.0
### --- VARNISH ---
VARNISH_TAG=6.0-4.15.0
### --- POSTGRESQL ----
POSTGRES_TAG=15-1.31.4
#POSTGRES_TAG=14-1.31.4
#POSTGRES_TAG=13-1.31.4
#POSTGRES_TAG=12-1.31.4
#POSTGRES_TAG=11-1.31.4
### OTHERS
ADMINER_TAG=4-3.24.4
APACHE_TAG=2.4-4.12.2
ATHENAPDF_TAG=2.16.0
DRUPAL_NODE_TAG=1.0-2.0.0
MEMCACHED_TAG=1-2.15.3
OPENSMTPD_TAG=6-1.18.3
RSYSLOG_TAG=latest
SELENIUM_CHROME_TAG=3.141
WEBGRIND_TAG=1-1.30.0
XHPROF_TAG=3.7.6
ZOOKEEPER_TAG=3.8
Logs output docker-compose logs
site_mailhog | 2023/11/14 01:07:14 Using in-memory storage
site_mailhog | 2023/11/14 01:07:14 [SMTP] Binding to address: 0.0.0.0:1025
site_mailhog | [HTTP] Binding to address: 0.0.0.0:8025
site_mailhog | 2023/11/14 01:07:14 Serving under http://0.0.0.0:8025/
site_mailhog | Creating API v1 with WebPath:
site_mailhog | Creating API v2 with WebPath:
site_mailhog | [APIv1] KEEPALIVE /api/v1/events
site_mailhog | [APIv1] KEEPALIVE /api/v1/events
site_mailhog | [APIv1] KEEPALIVE /api/v1/events
site_mailhog | [APIv1] KEEPALIVE /api/v1/events
site_traefik | time="2023-11-14T01:07:15Z" level=info msg="Configuration loaded from flags."
site_traefik | time="2023-11-14T01:07:16Z" level=error msg="port is missing" providerName=docker container=python-server-anumc-python-server-fda7a949cef7bbe242a8aa9dca5e1443b0d63b1d17af745964435cfb1b0b042c
site_traefik | time="2023-11-14T01:07:17Z" level=error msg="port is missing" providerName=docker container=python-server-anumc-python-server-fda7a949cef7bbe242a8aa9dca5e1443b0d63b1d17af745964435cfb1b0b042c
site_crond | crond: crond (busybox 1.36.1) started, log level 0
site_crond | crond: user:www-data entry:0 * * * * drush -r /var/www/html/web cron
site_crond | 100000000000000000000000000000000000000000000000000000000000
site_crond | 111111111111111111111111
site_crond | 11111111111111111111111111111111
site_crond | 111111111111
site_crond | 1111111
site_crond | crond: user:www-data entry:0 * * * * drush -r /var/www/html/web cron
site_crond | 100000000000000000000000000000000000000000000000000000000000
site_crond | 111111111111111111111111
site_crond | 11111111111111111111111111111111
site_crond | 111111111111
site_mariadb | 2023-11-14T01:07:15+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server started.
site_crond | 1111111
site_crond | crond: wakeup dt=45
site_crond | crond: file www-data:
site_crond | crond: line drush -r /var/www/html/web cron
site_crond | crond: wakeup dt=60
site_crond | crond: file www-data:
site_crond | crond: line drush -r /var/www/html/web cron
site_crond | crond: wakeup dt=60
site_crond | crond: file www-data:
site_crond | crond: line drush -r /var/www/html/web cron
site_crond | crond: wakeup dt=60
site_crond | crond: file www-data:
site_crond | crond: line drush -r /var/www/html/web cron
site_mariadb | 2023-11-14T01:07:16+00:00 [Note] [Entrypoint]: Initializing database files
site_mariadb | 2023-11-14 1:07:18 0 [Warning] 'innodb-force-load-corrupted' was removed. It does nothing now and exists only for compatibility with old my.cnf files.
site_mariadb |
site_mariadb |
site_mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
site_mariadb | To do so, start the server, then issue the following command:
site_mariadb |
site_mariadb | '/usr/bin/mariadb-secure-installation'
site_mariadb |
site_mariadb | which will also give you the option of removing the test
site_mariadb | databases and anonymous user created by default. This is
site_mariadb | strongly recommended for production servers.
site_mariadb |
site_mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb
site_mariadb |
site_mariadb | Please report any problems at https://mariadb.org/jira
site_mariadb |
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: using the "epoll" event method
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: nginx/1.25.2
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: built by gcc 12.2.1 20220924 (Alpine 12.2.1_git20220924-r10)
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: OS: Linux 5.10.102.1-microsoft-standard-WSL2
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: start worker processes
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: start worker process 46
site_python-server | Traceback (most recent call last):
site_adminer | [Tue Nov 14 01:07:15 2023] PHP 7.4.33 Development Server (http://0.0.0.0:9000) started
site_php | [14-Nov-2023 01:07:16] NOTICE: fpm is running, pid 1
site_php | [14-Nov-2023 01:07:16] NOTICE: ready to handle connections
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: start worker process 47
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: start worker process 48
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: start worker process 49
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: start worker process 50
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: start worker process 51
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: start worker process 52
site_nginx | 2023/11/14 01:07:17 [notice] 1#1: start worker process 53
site_nginx | 172.26.0.8 - - [14/Nov/2023:01:08:46 +0000] "GET /core/install.php HTTP/1.1" 200 968 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
site_nginx | 172.26.0.8 - - [14/Nov/2023:01:09:10 +0000] "GET / HTTP/1.1" 500 2809 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
site_python-server | File "/python-server/main.py", line 15, in <module>
site_python-server | import library as ml
site_python-server | File "/python-server/library.py", line 13, in <module>
site_python-server | file = open("server_settings","r").readlines()
site_python-server | FileNotFoundError: [Errno 2] No such file or directory: 'server_settings'
site_mariadb | The latest information about MariaDB is available at https://mariadb.org/.
site_mariadb |
site_mariadb | Consider joining MariaDB's strong and vibrant community:
site_mariadb | https://mariadb.org/get-involved/
site_mariadb |
site_mariadb | 2023-11-14T01:07:23+00:00 [Note] [Entrypoint]: Database files initialized
site_mariadb | 2023-11-14T01:07:23+00:00 [Note] [Entrypoint]: Starting temporary server
site_mariadb | 2023-11-14T01:07:23+00:00 [Note] [Entrypoint]: Waiting for server startup
site_mariadb | 2023-11-14 1:07:23 0 [Warning] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
site_mariadb | 2023-11-14 1:07:23 0 [Note] Starting MariaDB 10.6.15-MariaDB source revision 0d16eb35bc981023ce2f4912e8ecde68ca381f4e as process 91
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Number of pools: 1
site_adminer | [Tue Nov 14 01:09:30 2023] 172.26.0.8:35836 Accepted
site_php | NOTICE: PHP message: Error: Call to a member function setFormClass() on null in /var/www/html/web/core/modules/system/system.module on line 1239 #0 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(118): system_entity_type_build()
site_php | #1 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(405): Drupal\Core\Entity\EntityTypeManager->Drupal\Core\Entity\{closure}()
site_php | #2 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(119): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
site_php | #3 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(181): Drupal\Core\Entity\EntityTypeManager->findDefinitions()
site_php | #4 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
site_php | #5 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(132): Drupal\Core\Plugin\DefaultPluginManager->getDefinition()
site_php | #6 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(253): Drupal\Core\Entity\EntityTypeManager->getDefinition()
site_php | #7 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(192): Drupal\Core\Entity\EntityTypeManager->getHandler()
site_php | #8 /var/www/html/web/core/lib/Drupal/Core/Datetime/DateFormatter.php(93): Drupal\Core\Entity\EntityTypeManager->getStorage()
site_php | #9 [internal function]: Drupal\Core\Datetime\DateFormatter->__construct()
site_php | #10 /var/www/html/vendor/symfony/dependency-injection/ContainerBuilder.php(1142): ReflectionClass->newInstanceArgs()
site_php | #11 /var/www/html/vendor/symfony/dependency-injection/ContainerBuilder.php(618): Symfony\Component\DependencyInjection\ContainerBuilder->createService()
site_php | #12 /var/www/html/vendor/symfony/dependency-injection/ContainerBuilder.php(558): Symfony\Component\DependencyInjection\ContainerBuilder->doGet()
site_php | #13 /var/www/html/web/core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php(87): Symfony\Component\DependencyInjection\ContainerBuilder->get()
site_php | #14 /var/www/html/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(21): Drupal\Core\TempStore\Element\BreakLockLink::create()
site_php | #15 /var/www/html/web/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance()
site_php | #16 /var/www/html/web/core/lib/Drupal/Core/Render/ElementInfoManager.php(141): Drupal\Component\Plugin\PluginManagerBase->createInstance()
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
site_mariadb | 2023-11-14 1:07:23 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Using Linux native AIO
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Completed initialization of buffer pool
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: 128 rollback segments are active.
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Creating shared tablespace for temporary tables
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: 10.6.15 started; log sequence number 42114; transaction id 14
site_mariadb | 2023-11-14 1:07:23 0 [Note] Plugin 'FEEDBACK' is disabled.
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
site_php | #17 /var/www/html/web/core/lib/Drupal/Core/Render/ElementInfoManager.php(111): Drupal\Core\Render\ElementInfoManager->createInstance()
site_php | #18 /var/www/html/web/core/lib/Drupal/Core/Render/ElementInfoManager.php(77): Drupal\Core\Render\ElementInfoManager->buildInfo()
site_mariadb | 2023-11-14 1:07:23 0 [Warning] 'innodb-force-load-corrupted' was removed. It does nothing now and exists only for compatibility with old my.cnf files.
site_mariadb | 2023-11-14 1:07:23 0 [Note] InnoDB: Buffer pool(s) load completed at 231114 1:07:23
site_mariadb | 2023-11-14 1:07:23 0 [Warning] 'user' entry 'root@5990c5c5bfa7' ignored in --skip-name-resolve mode.
site_mariadb | 2023-11-14 1:07:23 0 [Warning] 'proxies_priv' entry '@% root@5990c5c5bfa7' ignored in --skip-name-resolve mode.
site_mariadb | 2023-11-14 1:07:23 0 [Note] mysqld: ready for connections.
site_mariadb | Version: '10.6.15-MariaDB' socket: '/var/run/mysqld/mysqld.sock' port: 0 MariaDB Server
site_mariadb | 2023-11-14T01:07:24+00:00 [Note] [Entrypoint]: Temporary server started.
site_mariadb | 2023-11-14 1:07:28 5 [Warning] 'proxies_priv' entry '@% root@5990c5c5bfa7' ignored in --skip-name-resolve mode.
site_mariadb | 2023-11-14T01:07:28+00:00 [Note] [Entrypoint]: Creating database drupal
site_mariadb | 2023-11-14T01:07:28+00:00 [Note] [Entrypoint]: Creating user drupal
site_mariadb | 2023-11-14T01:07:28+00:00 [Note] [Entrypoint]: Giving user drupal access to schema drupal
site_mariadb |
site_mariadb | 2023-11-14T01:07:28+00:00 [Note] [Entrypoint]: /usr/local/bin/init_mariadb: running /docker-entrypoint-initdb.d/anumc_live.sql
site_mariadb |
site_mariadb |
site_mariadb | 2023-11-14T01:08:39+00:00 [Note] [Entrypoint]: Stopping temporary server
site_mariadb | 2023-11-14 1:08:39 0 [Note] mysqld (initiated by: root[root] @ localhost []): Normal shutdown
site_mariadb | 2023-11-14 1:08:39 0 [Note] InnoDB: FTS optimize thread exiting.
site_mariadb | 2023-11-14 1:08:39 0 [Note] InnoDB: Starting shutdown...
site_mariadb | 2023-11-14 1:08:39 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
site_mariadb | 2023-11-14 1:08:39 0 [Note] InnoDB: Restricted to 2028 pages due to innodb_buf_pool_dump_pct=25
site_mariadb | 2023-11-14 1:08:39 0 [Note] InnoDB: Buffer pool(s) dump completed at 231114 1:08:39
site_mariadb | 2023-11-14 1:08:41 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
site_mariadb | 2023-11-14 1:08:41 0 [Note] InnoDB: Shutdown completed; log sequence number 603613163; transaction id 2843
site_mariadb | 2023-11-14 1:08:41 0 [Note] mysqld: Shutdown complete
site_mariadb |
site_mariadb | 2023-11-14T01:08:41+00:00 [Note] [Entrypoint]: Temporary server stopped
site_mariadb |
site_mariadb | 2023-11-14T01:08:41+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
site_mariadb |
site_mariadb | 2023-11-14 1:08:41 0 [Warning] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
site_mariadb | 2023-11-14 1:08:41 0 [Note] Starting MariaDB 10.6.15-MariaDB source revision 0d16eb35bc981023ce2f4912e8ecde68ca381f4e as process 1
site_mariadb | 2023-11-14 1:08:41 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
site_mariadb | 2023-11-14 1:08:41 0 [Note] InnoDB: Number of pools: 1
site_mariadb | 2023-11-14 1:08:41 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
site_mariadb | 2023-11-14 1:08:41 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
site_mariadb | 2023-11-14 1:08:41 0 [Note] InnoDB: Using Linux native AIO
site_mariadb | 2023-11-14 1:08:41 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
site_mariadb | 2023-11-14 1:08:41 0 [Note] InnoDB: Completed initialization of buffer pool
site_mariadb | 2023-11-14 1:08:42 0 [Note] InnoDB: 128 rollback segments are active.
site_mariadb | 2023-11-14 1:08:43 0 [Note] InnoDB: Creating shared tablespace for temporary tables
site_mariadb | 2023-11-14 1:08:43 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
site_mariadb | 2023-11-14 1:08:43 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
site_mariadb | 2023-11-14 1:08:43 0 [Note] InnoDB: 10.6.15 started; log sequence number 603613163; transaction id 2844
site_mariadb | 2023-11-14 1:08:43 0 [Note] Plugin 'FEEDBACK' is disabled.
site_mariadb | 2023-11-14 1:08:43 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
site_mariadb | 2023-11-14 1:08:43 0 [Warning] 'innodb-force-load-corrupted' was removed. It does nothing now and exists only for compatibility with old my.cnf files.
site_mariadb | 2023-11-14 1:08:43 0 [Note] Server socket created on IP: '0.0.0.0'.
site_mariadb | 2023-11-14 1:08:44 0 [Warning] 'proxies_priv' entry '@% root@5990c5c5bfa7' ignored in --skip-name-resolve mode.
site_mariadb | 2023-11-14 1:08:44 0 [Note] mysqld: ready for connections.
site_mariadb | Version: '10.6.15-MariaDB' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MariaDB Server
site_mariadb | 2023-11-14 1:08:44 0 [Note] InnoDB: Buffer pool(s) load completed at 231114 1:08:44
site_php | #19 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(816): Drupal\Core\Render\ElementInfoManager->getInfo()
site_php | #20 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(284): Drupal\Core\Form\FormBuilder->prepareForm()
site_php | #21 /var/www/html/web/core/includes/install.core.inc(952): Drupal\Core\Form\FormBuilder->buildForm()
site_php | #22 /var/www/html/web/core/includes/install.core.inc(1379): install_get_form()
site_php | #23 /var/www/html/web/core/includes/install.core.inc(700): install_select_language()
site_php | #24 /var/www/html/web/core/includes/install.core.inc(571): install_run_task()
site_php | #25 /var/www/html/web/core/includes/install.core.inc(119): install_run_tasks()
site_php | #26 /var/www/html/web/core/install.php(48): install_drupal()
site_php | #27 {main}
site_php | 172.26.0.9 - 14/Nov/2023:01:08:23 +0000 "GET /core/install.php" 200
site_adminer | [Tue Nov 14 01:09:30 2023] 172.26.0.8:35836 [200]: GET /
site_php | NOTICE: PHP message: TypeError: Drupal\Core\Entity\Sql\DefaultTableMapping::Drupal\Core\Entity\Sql\{closure}(): Argument #1 ($definition) must be of type Drupal\Core\Field\FieldStorageDefinitionInterface, __PHP_Incomplete_Class given in /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php on line 175 #0 [internal function]: Drupal\Core\Entity\Sql\DefaultTableMapping::Drupal\Core\Entity\Sql\{closure}()
site_php | #1 /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php(177): array_filter()
site_adminer | [Tue Nov 14 01:09:30 2023] 172.26.0.8:35836 Closing
site_adminer | [Tue Nov 14 01:09:34 2023] 172.26.0.8:35838 Accepted
site_adminer | [Tue Nov 14 01:09:34 2023] 172.26.0.8:35838 [302]: POST /
site_adminer | [Tue Nov 14 01:09:34 2023] 172.26.0.8:35838 Closing
site_adminer | [Tue Nov 14 01:09:34 2023] 172.26.0.8:35840 Accepted
site_adminer | [Tue Nov 14 01:09:35 2023] 172.26.0.8:35840 [200]: GET /?server=mariadb&username=drupal&db=drupal
site_adminer | [Tue Nov 14 01:09:35 2023] 172.26.0.8:35840 Closing
site_adminer | [Tue Nov 14 01:09:35 2023] 172.26.0.8:35844 Accepted
site_php | #2 /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(381): Drupal\Core\Entity\Sql\DefaultTableMapping::create()
site_php | #3 /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(356): Drupal\Core\Entity\Sql\SqlContentEntityStorage->getCustomTableMapping()
site_php | #4 /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(203): Drupal\Core\Entity\Sql\SqlContentEntityStorage->getTableMapping()
site_php | #5 /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(188): Drupal\Core\Entity\Sql\SqlContentEntityStorage->initTableLayout()
site_php | #6 /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(156): Drupal\Core\Entity\Sql\SqlContentEntityStorage->__construct()
site_php | #7 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(269): Drupal\Core\Entity\Sql\SqlContentEntityStorage::createInstance()
site_php | #8 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(258): Drupal\Core\Entity\EntityTypeManager->createHandlerInstance()
site_php | #9 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php(192): Drupal\Core\Entity\EntityTypeManager->getHandler()
site_php | #10 /var/www/html/web/core/modules/user/src/ContextProvider/CurrentUserContext.php(43): Drupal\Core\Entity\EntityTypeManager->getStorage()
site_php | #11 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(259): Drupal\user\ContextProvider\CurrentUserContext->__construct()
site_php | #12 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
site_php | #13 /var/www/html/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\Component\DependencyInjection\Container->get()
site_php | #14 /var/www/html/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(141): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
site_php | #15 /var/www/html/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert()
site_php | #16 /var/www/html/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert()
site_php | #17 /var/www/html/web/core/lib/Drupal/Core/Routing/Router.php(256): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance()
site_php | #18 /var/www/html/web/core/lib/Drupal/Core/Routing/Router.php(130): Drupal\Core\Routing\Router->applyRouteEnhancers()
site_php | #19 /var/www/html/web/core/lib/Drupal/Core/Routing/AccessAwareRouter.php(93): Drupal\Core\Routing\Router->matchRequest()
site_php | #20 /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php(112): Drupal\Core\Routing\AccessAwareRouter->matchRequest()
site_php | #21 [internal function]: Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
site_php | #22 /var/www/html/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func()
site_php | #23 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(145): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
site_php | #24 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
site_php | #25 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
site_php | #26 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
site_php | #27 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
site_php | #28 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
site_php | #29 /var/www/html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
site_php | #30 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle()
site_php | #31 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle()
site_php | #32 {main}
site_php | 172.26.0.9 - 14/Nov/2023:01:08:54 +0000 "GET /index.php" 500
site_adminer | [Tue Nov 14 01:09:36 2023] 172.26.0.8:35844 [200]: GET /?server=mariadb&username=drupal&db=drupal&script=db
site_adminer | [Tue Nov 14 01:09:36 2023] 172.26.0.8:35844 Closing