devilbox % docker-compose up Starting devilbox_bind_1 ... done Starting devilbox_php_1 ... done Starting devilbox_httpd_1 ... done Starting devilbox_mysql_1 ... done Starting devilbox_memcd_1 ... done Starting devilbox_pgsql_1 ... done Starting devilbox_redis_1 ... done Starting devilbox_mongo_1 ... done Attaching to devilbox_bind_1, devilbox_php_1, devilbox_httpd_1, devilbox_redis_1, devilbox_pgsql_1, devilbox_mongo_1, devilbox_mysql_1, devilbox_memcd_1 httpd_1 | [INFO] Debug level: 2 httpd_1 | [INFO] Runtime debug: 2 httpd_1 | [INFO] Changing user 'daemon' uid to: 501 mongo_1 | 2021-07-01T08:28:53.119+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' httpd_1 | root $ usermod -u 501 daemon httpd_1 | usermod: no changes mongo_1 | 2021-07-01T08:28:53.120+0000 W ASIO [main] No TransportLayer configured during NetworkInterface startup mysql_1 | 2021-07-01 08:28:54+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.27+maria~focal started. mysql_1 | 2021-07-01 08:28:54+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' httpd_1 | root $ chown -R daemon /usr/sbin mysql_1 | 2021-07-01 08:28:54+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.27+maria~focal started. httpd_1 | [INFO] Changing group 'daemon' gid to: 20 bind_1 | [INFO] Debug level: 2 pgsql_1 | pgsql_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization pgsql_1 | httpd_1 | root $ groupmod -g 20 daemon pgsql_1 | 2021-07-01 08:28:51.823 UTC [1] LOG: starting PostgreSQL 12.1 (Debian 12.1-1.pgdg100+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit pgsql_1 | 2021-07-01 08:28:51.823 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 pgsql_1 | 2021-07-01 08:28:51.823 UTC [1] LOG: listening on IPv6 address "::", port 5432 mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=mongo mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] db version v4.2.14 mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] git version: 0e6db36e92d82cc81cbd40ffd607eae88dc1f09d mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1 11 Sep 2018 mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] allocator: tcmalloc mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] modules: none mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] build environment: mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] distmod: ubuntu1804 mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] distarch: aarch64 mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] target_arch: aarch64 mongo_1 | 2021-07-01T08:28:53.120+0000 I CONTROL [initandlisten] options: { net: { bindIp: "*" } } bind_1 | [INFO] BIND logging: disabled explicitly httpd_1 | root $ chown -R :daemon /usr/sbin pgsql_1 | 2021-07-01 08:28:51.826 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" pgsql_1 | 2021-07-01 08:28:51.838 UTC [26] LOG: database system was shut down at 2021-07-01 08:16:22 UTC bind_1 | [INFO] Using default DNS TTL time: 3600 sec redis_1 | 1:C 01 Jul 2021 08:28:49.719 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis_1 | 1:C 01 Jul 2021 08:28:49.719 # Redis version=5.0.12, bits=64, commit=00000000, modified=0, pid=1, just started redis_1 | 1:C 01 Jul 2021 08:28:49.719 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf redis_1 | 1:M 01 Jul 2021 08:28:49.720 * Running mode=standalone, port=6379. redis_1 | 1:M 01 Jul 2021 08:28:49.720 # Server initialized redis_1 | 1:M 01 Jul 2021 08:28:49.720 # 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. redis_1 | 1:M 01 Jul 2021 08:28:49.721 * DB loaded from disk: 0.000 seconds redis_1 | 1:M 01 Jul 2021 08:28:49.721 * Ready to accept connections pgsql_1 | 2021-07-01 08:28:51.842 UTC [1] LOG: database system is ready to accept connections httpd_1 | [INFO] Setting container timezone to: Australia/Sydney php_1 | [INFO] Debug level: 2 php_1 | [INFO] Changing user 'devilbox' uid to: 501 php_1 | root $ usermod -u 501 devilbox 2>/dev/null php_1 | root $ chown -R devilbox /home/devilbox 2>/dev/null || true php_1 | root $ chown -R devilbox /var/lib/php/session php_1 | root $ chown -R devilbox /var/lib/php/wsdlcache php_1 | root $ chown -R devilbox /var/spool/mail/devilbox php_1 | root $ chown -R devilbox /etc/supervisor/custom.d php_1 | [INFO] Changing group 'devilbox' gid to: 20 php_1 | root $ groupmod -g 20 devilbox 2>/dev/null mongo_1 | 2021-07-01T08:28:53.121+0000 I STORAGE [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. mongo_1 | 2021-07-01T08:28:53.121+0000 I STORAGE [initandlisten] mongo_1 | 2021-07-01T08:28:53.121+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine mongo_1 | 2021-07-01T08:28:53.121+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem mongo_1 | 2021-07-01T08:28:53.121+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=482M,cache_overflow=(file_max=0M),session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress], httpd_1 | root $ ln -sf /usr/share/zoneinfo/Australia/Sydney /etc/localtime httpd_1 | [INFO] Docker date set to: Thu Jul 1 18:28:47 AEST 2021 httpd_1 | [INFO] $DOCKER_LOGS disabled. Logging errors and access to log files inside container. bind_1 | [INFO] Using default DNS Refresh time: 1200 sec bind_1 | [INFO] Using default DNS Retry time: 180 sec httpd_1 | [INFO] PHP 5.2 compatibility mode: Disabled php_1 | root $ chown -R :devilbox /home/devilbox 2>/dev/null || true php_1 | root $ chown -R :devilbox /var/lib/php/session php_1 | root $ chown -R :devilbox /var/lib/php/wsdlcache php_1 | root $ chown -R :devilbox /var/spool/mail/devilbox php_1 | root $ chown -R :devilbox /etc/supervisor/custom.d php_1 | [INFO] Setting container timezone to: Australia/Sydney php_1 | root $ ln -sf /usr/share/zoneinfo/Australia/Sydney /etc/localtime php_1 | [INFO] Setting PHP: timezone=Australia/Sydney php_1 | root $ echo 'date.timezone = Australia/Sydney' > /usr/local/etc/php/conf.d/devilbox-runtime-timezone.ini mongo_1 | 2021-07-01T08:28:53.134+0000 I STORAGE [initandlisten] WiredTiger message [1625128133:134218][1:0xffff7face450], txn-recover: Recovering log 2 through 3 mongo_1 | 2021-07-01T08:28:53.176+0000 I STORAGE [initandlisten] WiredTiger message [1625128133:176629][1:0xffff7face450], txn-recover: Recovering log 3 through 3 mongo_1 | 2021-07-01T08:28:53.242+0000 I STORAGE [initandlisten] WiredTiger message [1625128133:242162][1:0xffff7face450], txn-recover: Main recovery loop: starting at 2/6144 to 3/256 httpd_1 | [INFO] PHP-FPM: Enabled bind_1 | [INFO] Using default DNS Expiry time: 1209600 sec php_1 | [INFO] Docker date set to: Thu Jul 1 18:28:43 AEST 2021 php_1 | [INFO] $DOCKER_LOGS set to 0. Logging to files under: /var/log/php mongo_1 | 2021-07-01T08:28:53.323+0000 I STORAGE [initandlisten] WiredTiger message [1625128133:323814][1:0xffff7face450], txn-recover: Recovering log 2 through 3 mongo_1 | 2021-07-01T08:28:53.385+0000 I STORAGE [initandlisten] WiredTiger message [1625128133:385733][1:0xffff7face450], txn-recover: Recovering log 3 through 3 mongo_1 | 2021-07-01T08:28:53.425+0000 I STORAGE [initandlisten] WiredTiger message [1625128133:425737][1:0xffff7face450], txn-recover: Set global recovery timestamp: (0, 0) mongo_1 | 2021-07-01T08:28:53.436+0000 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0) mongo_1 | 2021-07-01T08:28:53.437+0000 I STORAGE [initandlisten] No table logging settings modifications are required for existing WiredTiger tables. Logging enabled? 1 mongo_1 | 2021-07-01T08:28:53.438+0000 I STORAGE [initandlisten] Timestamp monitor starting bind_1 | [INFO] Using default DNS Max Cache time: 10800 sec bind_1 | [INFO] Adding wildcard DNS: *.test -> 127.0.0.1 bind_1 | php_1 | [INFO] Make sure to mount this directory in order to view logs php_1 | root $ chown -R devilbox:devilbox /var/log/php bind_1 | zone test/IN: loaded serial 1625128121 bind_1 | OK mongo_1 | 2021-07-01T08:28:53.439+0000 I CONTROL [initandlisten] mongo_1 | 2021-07-01T08:28:53.439+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. mongo_1 | 2021-07-01T08:28:53.439+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. mongo_1 | 2021-07-01T08:28:53.439+0000 I CONTROL [initandlisten] mongo_1 | 2021-07-01T08:28:53.443+0000 I SHARDING [initandlisten] Marking collection local.system.replset as collection version: mongo_1 | 2021-07-01T08:28:53.444+0000 I STORAGE [initandlisten] Flow Control is enabled on this deployment. bind_1 | [INFO] Not adding any extra hosts httpd_1 | [INFO] PHP-FPM: Server address: 172.16.238.10 mongo_1 | 2021-07-01T08:28:53.444+0000 I SHARDING [initandlisten] Marking collection admin.system.roles as collection version: bind_1 | [INFO] DNSSEC Validation: no php_1 | root $ chmod 0755 /var/log/php php_1 | [INFO] $ENABLE_MAIL set to 2. Enabling postfix catch-all bind_1 | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4 bind_1 | [INFO] Starting BIND 9.11.3 mongo_1 | 2021-07-01T08:28:53.444+0000 I SHARDING [initandlisten] Marking collection admin.system.version as collection version: mongo_1 | 2021-07-01T08:28:53.448+0000 I SHARDING [initandlisten] Marking collection local.startup_log as collection version: mongo_1 | 2021-07-01T08:28:53.448+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data' php_1 | root $ chown devilbox:devilbox /var/log/php httpd_1 | [INFO] PHP-FPM: Server port: 9000 httpd_1 | [INFO] PHP-FPM: Timeout: 600 mongo_1 | 2021-07-01T08:28:53.449+0000 I SHARDING [LogicalSessionCacheRefresh] Marking collection config.system.sessions as collection version: mongo_1 | 2021-07-01T08:28:53.449+0000 I SHARDING [LogicalSessionCacheReap] Marking collection config.transactions as collection version: httpd_1 | [INFO] Main vhost: Enabled httpd_1 | [INFO] Main vhost: Setting SSL type to: http and https httpd_1 | [INFO] Main vhost: Enable automatic generation of SSL certificates mongo_1 | 2021-07-01T08:28:53.449+0000 I NETWORK [listener] Listening on /tmp/mongodb-27017.sock mongo_1 | 2021-07-01T08:28:53.449+0000 I NETWORK [listener] Listening on 0.0.0.0 mongo_1 | 2021-07-01T08:28:53.449+0000 I NETWORK [listener] waiting for connections on port 27017 php_1 | root $ chown devilbox:devilbox /var/log/php/mail.log php_1 | root $ chmod 0644 /var/log/php/mail.log httpd_1 | [INFO] Main vhost: SSL CN: localtest.me,localhost,*.localhost,devilbox,*.devilbox,httpd php_1 | root $ chmod 0644 /var/mail/devilbox mongo_1 | 2021-07-01T08:28:54.000+0000 I SHARDING [ftdc] Marking collection local.oplog.rs as collection version: httpd_1 | [INFO] $MAIN_VHOST_DOCROOT not specified. Keeping default: htdocs httpd_1 | [INFO] $MAIN_VHOST_TPL not specified. Keeping default: cfg httpd_1 | [INFO] Main vhost: Enabling httpd status page php_1 | root $ chown devilbox:devilbox /var/mail httpd_1 | [INFO] Main vhost: Changing status page alias to: /devilbox-httpd-status php_1 | root $ chown devilbox:devilbox /var/mail/devilbox php_1 | root $ postconf -e 'strict_mailbox_ownership=no' httpd_1 | [INFO] Mass vhost: Enabled httpd_1 | [INFO] Mass vhost: Setting SSL type to: http and https php_1 | root $ postconf -e 'inet_protocols=ipv4' httpd_1 | [INFO] Mass vhost: Enable automatic generation of SSL certificates php_1 | root $ postconf -e 'virtual_alias_maps=pcre:/etc/postfix/virtual' httpd_1 | [INFO] Mass vhost: changing tld to: .test php_1 | root $ echo '/.*@.*/ devilbox' >> /etc/postfix/virtual httpd_1 | [INFO] Mass vhost: changing document root to: public httpd_1 | [INFO] Mass vhost: changing template dir to: .devilbox httpd_1 | [INFO] Disabling PHP 5.2 compat mode httpd_1 | [INFO] vhost-gen: no customized template found httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/main.yml php_1 | root $ newaliases httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/main.yml php_1 | [INFO] Forwarding httpd:80 to 127.0.0.1:80 inside this docker. httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/main.yml php_1 | [INFO] Forwarding httpd:443 to 127.0.0.1:443 inside this docker. php_1 | [INFO] Forwarding mysql:3306 to 127.0.0.1:3306 inside this docker. httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/600/g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/mass.yml php_1 | [INFO] Forwarding pgsql:5432 to 127.0.0.1:5432 inside this docker. httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/600/g' /etc/vhost-gen/mass.yml php_1 | [INFO] Forwarding redis:6379 to 127.0.0.1:6379 inside this docker. httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/main.yml php_1 | [INFO] Forwarding memcd:11211 to 127.0.0.1:11211 inside this docker. httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/mass.yml php_1 | [INFO] Forwarding mongo:27017 to 127.0.0.1:27017 inside this docker. php_1 | [INFO] Enabling 'socat-80-httpd-80' to be started by supervisord php_1 | [INFO] Enabling 'socat-443-httpd-443' to be started by supervisord php_1 | [INFO] Enabling 'socat-3306-mysql-3306' to be started by supervisord php_1 | [INFO] Enabling 'socat-5432-pgsql-5432' to be started by supervisord httpd_1 | root $ sed -i'' 's|__ENABLE_STATUS__|yes|g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's|__STATUS_ALIAS__|/devilbox-httpd-status|g' /etc/vhost-gen/main.yml httpd_1 | root $ vhost-gen -n localhost -p /var/www/default/htdocs -c /etc/vhost-gen/main.yml -o /var/www/default/cfg -v -d -s -m both httpd_1 | vhost-gen: [INFO] (2021-07-01 18:28:49): Loading configuration file (-c): /etc/vhost-gen/main.yml httpd_1 | vhost-gen: [INFO] (2021-07-01 18:28:49): Loading vhost template (global) (-t): /etc/vhost-gen/templates/apache24.yml httpd_1 | vhost-gen: [INFO] (2021-07-01 18:28:49): Loading vhost template (override) (-o): /var/www/default/cfg/apache24.yml httpd_1 | vhost-gen: [WARN] (2021-07-01 18:28:49): Override Vhost template not found: /var/www/default/cfg/apache24.yml php_1 | [INFO] Enabling 'socat-6379-redis-6379' to be started by supervisord php_1 | [INFO] Enabling 'socat-11211-memcd-11211' to be started by supervisord php_1 | [INFO] Enabling 'socat-27017-mongo-27017' to be started by supervisord php_1 | [INFO] Enabling 'rsyslogd' to be started by supervisord php_1 | [INFO] Enabling 'postfix' to be started by supervisord php_1 | [INFO] Enabling 'php-fpm' to be started by supervisord httpd_1 | vhost-gen: [INFO] (2021-07-01 18:28:49): Creating vhost type: https and http (both) httpd_1 | vhost-gen: [INFO] (2021-07-01 18:28:49): Using vhost name: localhost httpd_1 | vhost-gen: [INFO] (2021-07-01 18:28:49): Log setting: dir -> True httpd_1 | vhost-gen: [INFO] (2021-07-01 18:28:49): Log setting: Not specified httpd_1 | vhost-gen: [INFO] (2021-07-01 18:28:49): Vhost config written to: /etc/httpd/conf.d/localhost.conf php_1 | root $ find /usr/local/etc/php/conf.d -type f -iname '*.ini' -exec chmod 0644 "{}" \; httpd_1 | root $ sed -i'' 's|__DOCROOT_SUFFIX__|public|g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__TLD__/.test/g' /etc/vhost-gen/mass.yml httpd_1 | root $ cert-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox -n 'localtest.me' -e 'admin@localtest.me' -a 'localtest.me localhost *.localhost devilbox *.devilbox httpd' /ca/devilbox-ca.key /ca/devilbox-ca.crt /etc/httpd/cert/main/localhost.key /etc/httpd/cert/main/localhost.csr /etc/httpd/cert/main/localhost.crt httpd_1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req] httpd_1 | distinguished_name = req_distinguished_name httpd_1 | x509_extensions = v3_req httpd_1 | httpd_1 | [req_distinguished_name] httpd_1 | httpd_1 | [ v3_req ] httpd_1 | basicConstraints = critical, CA:FALSE httpd_1 | subjectKeyIdentifier = hash httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always httpd_1 | extendedKeyUsage = serverAuth, clientAuth php_1 | root $ find /usr/local/etc/php-fpm.d -type f -iname '*.conf' -exec chmod 0644 "{}" \; php_1 | [INFO] $ENABLE_MODULES set, but empty. Not enabling any PHP modules. php_1 | [INFO] Disabling the following PHP modules: oci8,PDO_OCI,pdo_sqlsrv,sqlsrv,rdkafka,swoole php_1 | root $ chown devilbox:devilbox /etc/mysqldump-secure.conf httpd_1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/main/localhost.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=localtest.me/emailAddress=admin@localtest.me' -out /etc/httpd/cert/main/localhost.csr php_1 | root $ chown devilbox:devilbox /etc/mysqldump-secure.cnf php_1 | root $ chown devilbox:devilbox /var/log/mysqldump-secure.log httpd_1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req] httpd_1 | distinguished_name = req_distinguished_name httpd_1 | x509_extensions = v3_req httpd_1 | httpd_1 | [req_distinguished_name] httpd_1 | httpd_1 | [ v3_req ] httpd_1 | basicConstraints = critical, CA:FALSE httpd_1 | subjectKeyIdentifier = hash httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always httpd_1 | extendedKeyUsage = serverAuth, clientAuth httpd_1 | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/main/localhost.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/main/localhost.crt php_1 | root $ chown devilbox:devilbox /shared/backups/mysql httpd_1 | Certificate: httpd_1 | Data: httpd_1 | Version: 3 (0x2) httpd_1 | Serial Number: httpd_1 | 79:25:ab:db:b5:96:96:28:56:9c:49:fa:2d:5a:ac:4e:48:09:29:f9 httpd_1 | Signature Algorithm: sha256WithRSAEncryption httpd_1 | Issuer: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = cytopia@devilbox.org, dnQualifier = "Tj1Z/tOmUN+w1NS0sZk2igMT9CE=" httpd_1 | Validity httpd_1 | Not Before: Jul 1 08:28:50 2021 GMT httpd_1 | Not After : Oct 4 08:28:50 2023 GMT httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = localtest.me, emailAddress = admin@localtest.me httpd_1 | Subject Public Key Info: httpd_1 | Public Key Algorithm: rsaEncryption httpd_1 | RSA Public-Key: (2048 bit) httpd_1 | Modulus: httpd_1 | 00:c9:2b:bf:5b:1c:1d:96:dc:c1:78:ea:7f:d5:03: httpd_1 | a7:a8:a8:48:e9:35:2b:73:09:0c:cd:66:42:f5:24: httpd_1 | bb:e9:e2:36:2c:40:fa:ce:de:fa:11:52:57:c5:9d: httpd_1 | 1e:26:a3:77:0b:d6:e4:1f:4f:dd:ad:61:c6:30:e3: httpd_1 | 95:c8:32:c3:6f:4b:5b:b4:af:75:4d:08:fb:aa:30: httpd_1 | 5f:d7:6e:5b:45:ac:04:06:4d:82:b3:b5:31:52:8f: httpd_1 | d7:7e:0a:6d:e2:c0:29:4e:59:63:1a:a9:f2:07:5b: httpd_1 | 25:c5:8b:c9:bd:72:95:07:58:50:d8:94:01:ea:51: httpd_1 | ed:b5:06:c7:1a:4c:65:3a:df:77:65:4a:fa:35:99: httpd_1 | 31:12:34:73:66:5b:5e:8e:b4:bf:cb:4f:8e:c4:b9: httpd_1 | fe:96:54:c4:8f:35:bc:71:39:15:a6:b8:53:24:71: httpd_1 | ab:ad:44:5e:89:18:8e:04:9c:cd:e5:0b:7b:31:a6: httpd_1 | f8:9d:3f:09:49:99:f8:62:4f:db:94:8b:49:1b:06: httpd_1 | 2d:96:29:2e:ea:74:af:cc:ed:12:7b:7d:17:a4:15: httpd_1 | 9c:fd:b7:e2:96:55:1d:4a:6d:0f:27:d0:bb:73:38: httpd_1 | a1:51:f7:96:9c:f5:95:ad:aa:e5:f5:b5:47:de:b8: httpd_1 | f5:a9:25:29:e1:d6:26:8a:44:8a:02:d6:81:6d:c7: httpd_1 | 31:91 httpd_1 | Exponent: 65537 (0x10001) httpd_1 | X509v3 extensions: httpd_1 | X509v3 Basic Constraints: critical httpd_1 | CA:FALSE httpd_1 | X509v3 Subject Key Identifier: httpd_1 | D0:F5:22:2E:C0:92:0B:8A:7E:E8:1C:C3:52:56:36:5E:ED:A0:70:6B httpd_1 | X509v3 Key Usage: critical httpd_1 | Digital Signature, Key Encipherment httpd_1 | X509v3 Authority Key Identifier: httpd_1 | keyid:4E:3D:59:FE:D3:A6:50:DF:B0:D4:D4:B4:B1:99:36:8A:03:13:F4:21 httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=Tj1Z/tOmUN+w1NS0sZk2igMT9CE= httpd_1 | serial:68:60:EE:61:1D:32:1A:97:8C:9B:D0:12:C4:4A:8F:15:1B:24:EE:7D httpd_1 | httpd_1 | X509v3 Extended Key Usage: httpd_1 | TLS Web Server Authentication, TLS Web Client Authentication httpd_1 | X509v3 Subject Alternative Name: httpd_1 | DNS:localtest.me, DNS:localtest.me, DNS:localhost, DNS:*.localhost, DNS:devilbox, DNS:*.devilbox, DNS:httpd httpd_1 | Signature Algorithm: sha256WithRSAEncryption httpd_1 | a1:a3:a7:60:e0:0e:a1:84:e9:40:6c:52:09:17:d8:31:10:2d: httpd_1 | 2d:0f:f5:f1:04:72:d3:10:44:fe:ef:b0:29:c3:bf:f5:22:85: httpd_1 | 37:e7:3a:e4:be:aa:cd:e8:92:1e:04:64:11:d0:74:e1:98:e2: httpd_1 | fd:e4:9f:ef:66:35:0d:b3:cf:42:e7:88:bb:30:46:68:84:c0: httpd_1 | c2:81:df:b1:b8:f4:56:6d:19:01:48:4b:50:e4:74:62:21:47: httpd_1 | 2e:2e:c5:40:e1:be:64:13:16:6f:0a:bb:82:45:b0:4a:16:16: httpd_1 | 32:21:1d:3c:ab:67:69:dc:52:f1:cc:fa:05:68:5b:89:c6:50: httpd_1 | 65:06:1b:81:63:02:21:0f:b2:cd:4a:e0:da:2c:ce:2b:d7:b6: httpd_1 | 07:36:44:68:cf:93:29:ce:70:e0:28:a4:10:1b:56:3e:2b:d3: httpd_1 | 82:0b:1a:7c:b5:70:78:d5:3f:99:93:47:10:e7:0c:e0:fd:5f: httpd_1 | 72:c3:e0:2c:3c:33:94:23:b1:0d:b3:9b:f3:59:f6:46:cd:96: httpd_1 | 08:3b:c8:34:01:5d:c9:7d:98:7c:b8:57:81:47:24:67:70:5e: httpd_1 | 94:2c:d8:1a:89:16:65:95:5f:c2:18:5d:ff:c1:37:94:e6:2d: httpd_1 | b0:0e:ea:0d:2b:44:82:b1:e1:77:ab:6a:8d:51:46:24:ca:d3: httpd_1 | d9:88:8e:4b php_1 | [INFO] $MYSQL_BACKUP_USER set for mysqldump-secure. Changing to 'root' php_1 | root $ sed -i'' 's/^user.*/user = root/g' /etc/mysqldump-secure.cnf httpd_1 | /etc/httpd/cert/main/localhost.crt: OK httpd_1 | root $ chown -R 501:20 /ca httpd_1 | [INFO] Starting supervisord: 3.3.5 php_1 | [INFO] $MYSQL_BACKUP_PASS set for mysqldump-secure. Changing to '******' httpd_1 | 2021-07-01 18:28:51,480 INFO Set uid to user 0 succeeded php_1 | root $ perl -pi -e 's/^password.*/password = /g' /etc/mysqldump-secure.cnf php_1 | [INFO] $MYSQL_BACKUP_HOST set for mysqldump-secure. Changing to 'mysql' httpd_1 | 2021-07-01 18:28:51,486 INFO supervisord started with pid 1 httpd_1 | 2021-07-01 18:28:52,491 INFO spawned: 'httpd' with pid 618 php_1 | root $ sed -i'' 's/^host.*/host = mysql/g' /etc/mysqldump-secure.cnf httpd_1 | 2021-07-01 18:28:52,495 INFO spawned: 'watcherd' with pid 620 httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/35.cpd.avant.org.au/public] does not exist php_1 | root $ chown devilbox:devilbox /shared/backups httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/35.cpd.avant.org.au/public] does not exist httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/courseassembler.com/public] does not exist php_1 | root $ chown devilbox:devilbox /shared/httpd httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/courseassembler.com/public] does not exist php_1 | root $ chmod 0755 /shared/backups php_1 | root $ chmod 0755 /shared/httpd httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/courses/public] does not exist httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/courses/public] does not exist php_1 | root $ cp /ca/devilbox-ca.crt /usr/local/share/ca-certificates/devilbox-devilbox-ca.crt httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/35.cpd.avant.org.au/public] does not exist php_1 | root $ update-ca-certificates httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/35.cpd.avant.org.au/public] does not exist php_1 | Updating certificates in /etc/ssl/certs... httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/courseassembler.com/public] does not exist httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/courseassembler.com/public] does not exist httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/courses/public] does not exist httpd_1 | AH00112: Warning: DocumentRoot [/shared/httpd/courses/public] does not exist httpd_1 | [Thu Jul 01 18:28:52.775655 2021] [mpm_event:notice] [pid 618:tid 274907421952] AH00489: Apache/2.4.46 (Unix) OpenSSL/1.1.1d configured -- resuming normal operations httpd_1 | [Thu Jul 01 18:28:52.778420 2021] [core:notice] [pid 618:tid 274907421952] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND' httpd_1 | 2021-07-01 18:28:53,784 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) httpd_1 | 2021-07-01 18:28:53,785 INFO success: watcherd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) mysql_1 | 2021-07-01 8:28:55 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-1:10.3.27+maria~focal-log) starting as process 1 ... httpd_1 | watcherd: [2021-07-01 18:28:55] Starting daemon. mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Using Linux native AIO mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Uses event mutexes mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Number of pools: 1 mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Using SSE2 crc32 instructions mysql_1 | 2021-07-01 8:28:55 0 [Warning] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB. mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf mysql_1 | 2021-07-01 8:28:55 0 [Warning] InnoDB: Linux Native AIO disabled. mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Completed initialization of buffer pool mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). httpd_1 | watcherd: [2021-07-01 18:28:55] Using bash loop to watch for changes. mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: 128 out of 128 rollback segments are active. mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Waiting for purge to start mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: 10.3.27 started; log sequence number 1625470; transaction id 20 mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mysql_1 | 2021-07-01 8:28:55 0 [Note] Plugin 'FEEDBACK' is disabled. mysql_1 | 2021-07-01 8:28:55 0 [Note] InnoDB: Buffer pool(s) load completed at 210701 8:28:55 mysql_1 | 2021-07-01 8:28:56 0 [Note] Server socket created on IP: '::'. mysql_1 | 2021-07-01 8:28:56 0 [Warning] 'proxies_priv' entry '@% root@mysql' ignored in --skip-name-resolve mode. mysql_1 | 2021-07-01 8:28:56 0 [Note] Reading of all Master_info entries succeeded mysql_1 | 2021-07-01 8:28:56 0 [Note] Added new Master_info '' to hash table mysql_1 | 2021-07-01 8:28:56 0 [Note] /usr/sbin/mysqld: ready for connections. mysql_1 | Version: '10.3.27-MariaDB-1:10.3.27+maria~focal-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution php_1 | 0 added, 0 removed; done. php_1 | Running hooks in /etc/ca-certificates/update.d... php_1 | done. php_1 | [INFO] Starting supervisord php_1 | 2021-07-01 18:28:59,943 WARN No file matches via include "/etc/supervisor/custom.d/*.conf" php_1 | 2021-07-01 18:28:59,946 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing php_1 | 2021-07-01 18:28:59,946 INFO Included extra file "/etc/supervisor/conf.d/postfix.conf" during parsing php_1 | 2021-07-01 18:28:59,946 INFO Included extra file "/etc/supervisor/conf.d/rsyslogd.conf" during parsing php_1 | 2021-07-01 18:28:59,946 INFO Included extra file "/etc/supervisor/conf.d/socat-11211-memcd-11211.conf" during parsing php_1 | 2021-07-01 18:28:59,946 INFO Included extra file "/etc/supervisor/conf.d/socat-27017-mongo-27017.conf" during parsing php_1 | 2021-07-01 18:28:59,946 INFO Included extra file "/etc/supervisor/conf.d/socat-3306-mysql-3306.conf" during parsing php_1 | 2021-07-01 18:28:59,947 INFO Included extra file "/etc/supervisor/conf.d/socat-443-httpd-443.conf" during parsing php_1 | 2021-07-01 18:28:59,947 INFO Included extra file "/etc/supervisor/conf.d/socat-5432-pgsql-5432.conf" during parsing php_1 | 2021-07-01 18:28:59,947 INFO Included extra file "/etc/supervisor/conf.d/socat-6379-redis-6379.conf" during parsing php_1 | 2021-07-01 18:28:59,947 INFO Included extra file "/etc/supervisor/conf.d/socat-80-httpd-80.conf" during parsing php_1 | 2021-07-01 18:28:59,947 INFO Set uid to user 0 succeeded php_1 | 2021-07-01 18:28:59,950 INFO supervisord started with pid 1 php_1 | 2021-07-01 18:29:00,963 INFO spawned: 'rsyslogd' with pid 3392 php_1 | 2021-07-01 18:29:00,969 INFO spawned: 'socat-3306-mysql-3306' with pid 3394 php_1 | 2021-07-01 18:29:00,973 INFO spawned: 'socat-6379-redis-6379' with pid 3396 php_1 | 2021-07-01 18:29:00,976 INFO spawned: 'postfix' with pid 3398 php_1 | 2021-07-01 18:29:00,981 INFO spawned: 'socat-27017-mongo-27017' with pid 3399 php_1 | 2021-07-01 18:29:00,984 INFO spawned: 'php-fpm' with pid 3400 php_1 | 2021-07-01 18:29:00,986 INFO spawned: 'socat-80-httpd-80' with pid 3401 php_1 | 2021-07-01 18:29:01,001 INFO spawned: 'socat-443-httpd-443' with pid 3409 php_1 | 2021-07-01 18:29:01,004 INFO spawned: 'socat-11211-memcd-11211' with pid 3410 php_1 | 2021-07-01 18:29:01,007 INFO spawned: 'socat-5432-pgsql-5432' with pid 3411 php_1 | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted. php_1 | rsyslogd: activation of module imklog failed [v8.1901.0 try https://www.rsyslog.com/e/2145 ] php_1 | 2021-07-01 18:29:02,411 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2021-07-01 18:29:02,412 INFO success: socat-3306-mysql-3306 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2021-07-01 18:29:02,415 INFO success: socat-6379-redis-6379 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2021-07-01 18:29:02,416 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2021-07-01 18:29:02,417 INFO success: socat-27017-mongo-27017 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2021-07-01 18:29:02,417 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2021-07-01 18:29:02,418 INFO success: socat-80-httpd-80 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2021-07-01 18:29:02,418 INFO success: socat-443-httpd-443 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2021-07-01 18:29:02,419 INFO success: socat-11211-memcd-11211 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2021-07-01 18:29:02,419 INFO success: socat-5432-pgsql-5432 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | rsyslogd is not running, but required for mail logging. php_1 | 2021-07-01 18:29:03,179 INFO exited: postfix (exit status 1; not expected) php_1 | 2021-07-01 18:29:04,188 INFO spawned: 'postfix' with pid 3431 php_1 | 2021-07-01 18:29:05,192 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | rsyslogd is not running, but required for mail logging. php_1 | 2021-07-01 18:29:06,330 INFO exited: postfix (exit status 1; not expected) php_1 | 2021-07-01 18:29:07,337 INFO spawned: 'postfix' with pid 3441 php_1 | 2021-07-01 18:29:08,338 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | rsyslogd is not running, but required for mail logging. php_1 | 2021-07-01 18:29:09,451 INFO exited: postfix (exit status 1; not expected) php_1 | 2021-07-01 18:29:10,461 INFO spawned: 'postfix' with pid 3451 php_1 | 2021-07-01 18:29:11,466 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | rsyslogd is not running, but required for mail logging. php_1 | 2021-07-01 18:29:12,597 INFO exited: postfix (exit status 1; not expected) php_1 | 2021-07-01 18:29:13,604 INFO spawned: 'postfix' with pid 3461 php_1 | 2021-07-01 18:29:14,608 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | rsyslogd is not running, but required for mail logging. php_1 | 2021-07-01 18:29:15,758 INFO exited: postfix (exit status 1; not expected) ^CGracefully stopping... (press Ctrl+C again to force) Stopping devilbox_pgsql_1 ... Stopping devilbox_mongo_1 ... Stopping devilbox_mysql_1 ... Stopping devilbox_redis_1 ... Stopping devilbox_memcd_1 ... Stopping devilbox_httpd_1 ... Stopping devilbox_php_1 ... Stopping devilbox_bind_1 ... Killing devilbox_pgsql_1 ... error Killing devilbox_mongo_1 ... done Killing devilbox_mysql_1 ... done Killing devilbox_redis_1 ... error Killing devilbox_memcd_1 ... error Killing devilbox_httpd_1 ... done Killing devilbox_php_1 ... done Killing devilbox_bind_1 ... done ERROR: for devilbox_memcd_1 Cannot kill container: 3fabfab1252b782975c62eaa2a9e717f9252ea33bbe2ad748011df915edcd152: Container 3fabfab1252b782975c62eaa2a9e717f9252ea33bbe2ad748011df915edcd152 is not running ERROR: for devilbox_redis_1 Cannot kill container: d42cdbe92bb077114a4c9160fec32773d56b6c3bfb564a3b1d4d6a97eaf595bb: Container d42cdbe92bb077114a4c9160fec32773d56b6c3bfb564a3b1d4d6a97eaf595bb is not running ERROR: for devilbox_pgsql_1 Cannot kill container: cb2370d5706fff619db503c3e70fe992ae499c867906aff7da7ea732d80c0482: Container cb2370d5706fff619db503c3e70fe992ae499c867906aff7da7ea732d80c0482 is not running ERROR: 2