cytopia / devilbox

A modern Docker LAMP stack and MEAN stack for local development
http://devilbox.org
MIT License
4.39k stars 655 forks source link

Devilbox php-fpm in Windows with WSL2 cannot resolve apt repositories #776

Closed wp4nuv closed 3 years ago

wp4nuv commented 3 years ago

ISSUE TYPE

Checklist

OS / ENVIRONMENT

  1. Host operating system and version: Windows 10 Pro version 20H2
  2. (Windows only) Native Docker or Docker Toolbox: Docker for Windows
  3. Docker version: 3.0.0 (50684)
  4. Docker Compose version: 1.27.4
  5. (Linux) Is SELinux enabled?: no
  6. What git commit hash are you on?: cdfb55ec2d061bb20bb6aad1792034d995a855a2

SUMMARY

When creating a script inside cfg/php-startup-7.3 to run apt update and attempt to install an extension the container cannot resolve any of the repository sites. With this failure the container crashes and will not restart until at least the install part is removed. apt update still fails but the error is ignored.

STEPS TO REPRODUCE

Create a shell script for php-startup-version Run docker-compose up The docker-compose log will show something like this:

php_1    | [INFO] Executing custom startup script: 01-apt-update.sh
php_1    | Err:1 http://dl.yarnpkg.com/debian stable InRelease
php_1    |   Could not resolve 'dl.yarnpkg.com'
php_1    | Err:2 http://ftp.debian.org/debian stretch-backports InRelease
php_1    |   Could not resolve 'ftp.debian.org'
php_1    | Err:3 http://ppa.launchpad.net/git-core/ppa/ubuntu artful InRelease
php_1    |   Could not resolve 'ppa.launchpad.net'
php_1    | Err:4 http://packages.blackfire.io/debian any InRelease
php_1    |   Could not resolve 'packages.blackfire.io'
php_1    | Err:5 http://security.debian.org/debian-security buster/updates InRelease
php_1    |   Could not resolve 'security.debian.org'
php_1    | Err:6 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 InRelease
php_1    |   Could not resolve 'repo.mongodb.org'
php_1    | Err:7 http://apt.postgresql.org/pub/repos/apt stretch-pgdg InRelease
php_1    |   Could not resolve 'apt.postgresql.org'
php_1    | Err:8 http://deb.debian.org/debian buster InRelease
php_1    |   Could not resolve 'deb.debian.org'
php_1    | Err:9 http://deb.debian.org/debian buster-updates InRelease
php_1    |   Could not resolve 'deb.debian.org'
php_1    | Reading package lists...
php_1    | W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  Could not resolve 'deb.debian.org'
php_1    | W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease  Could not resolve 'security.debian.org'
php_1    | W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease  Could not resolve 'deb.debian.org'
php_1    | W: Failed to fetch http://ftp.debian.org/debian/dists/stretch-backports/InRelease  Could not resolve 'ftp.debian.org'
php_1    | W: Failed to fetch http://packages.blackfire.io/debian/dists/any/InRelease  Could not resolve 'packages.blackfire.io'
php_1    | W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/artful/InRelease  Could not resolve 'ppa.launchpad.net'
php_1    | W: Failed to fetch http://repo.mongodb.org/apt/debian/dists/stretch/mongodb-org/4.0/InRelease  Could not resolve 'repo.mongodb.org'
php_1    | W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/stretch-pgdg/InRelease  Could not resolve 'apt.postgresql.org'
php_1    | W: Failed to fetch http://dl.yarnpkg.com/debian/dists/stable/InRelease  Could not resolve 'dl.yarnpkg.com'
php_1    | W: Some index files failed to download. They have been ignored, or old ones used instead.

If the script includes any additional install commands the error will be similar with the exception that the container will crash silently and will not restart until at least the apt install command is removed.

EXPECTED BEHAVIOUR

apt commands should execute correctly, specifically apt update which is the command given in the example apt script included in the cfg/php-startup*version* folder

ACTUAL BEHAVIOUR

Any custom shell scripts that include apt commands in cfg/php-startup fail silently. If the script includes install commands the container crashes and will not restart until at least the install part of the script is removed

OTHER INFORMATION

Start command

$ docker-compose up...

Outputs

$ ./check-config.sh
# ==============================================================================
# Checking git
# ==============================================================================
[SUCC]  git is clean

# ==============================================================================
# Checking .env file
# ==============================================================================
[SUCC]  .env file exists
[SUCC]  .env file is readable
[SUCC]  All variables are present in .env file
[SUCC]  No variables is duplicated in .env file

# ==============================================================================
# Checking .env file values
# ==============================================================================
[SUCC]  All .env file variables have correct values

# ==============================================================================
# Checking required Devilbox core directories exist
# ==============================================================================
[SUCC]  All PHP cfg/ sub directories are present
[SUCC]  All PHP log/ sub directories are present
[SUCC]  All PHP mod/ sub directories are present
[SUCC]  All HTTPD cfg/ sub directories are present
[SUCC]  All HTTPD log/ sub directories are present

# ==============================================================================
# Checking devilbox core directory permissions
# ==============================================================================
[SUCC]  All devilbox directories have correct permissions
[SUCC]  All devilbox directories have correct uid
[SUCC]  All devilbox directories have correct gid

# ==============================================================================
# Checking devilbox core file permissions
# ==============================================================================
[SUCC]  All devilbox files have correct permissions
[SUCC]  All devilbox files have correct uid
[SUCC]  All devilbox files have correct gid

# ==============================================================================
# Checking projects permissions
# ==============================================================================
[SUCC]  All project dirs have correct permissions
[SUCC]  All project dirs have correct uid
[SUCC]  All project dirs have correct gid

# ==============================================================================
# Checking projects settings
# ==============================================================================
[SUCC]  All projects have valid DNS records
[ERR]   Missing HTTPD_DOCROOT_DIR 'htdocs' in: data/www/BridgeLoanNetworkUpgrade

# ==============================================================================
# Checking customizations
# ==============================================================================
[NOTE]  [php.ini]    Custom config present in cfg/php-ini-7.2/
[NOTE]  [startup]    Custom script present in cfg/php-startup-7.2/
[NOTE]  [startup]    Custom script present in cfg/php-startup-7.3/

# ==============================================================================
# SUMMARY
# ==============================================================================
[ERR]   Found 1 error(s)
[ERR]   Devilbox might not work properly
[ERR]   Fix the issues before submitting a bug report
[NOTE]  3 custom configurations applied. If you encounter issues, reset them first.
[INFO]  Ensure to run 'docker-compose stop; docker-compose rm -f' on .env changes or custom configs
$ docker-compose logs

Attaching to devilbox_mysql_1, devilbox_mongo_1, devilbox_redis_1, devilbox_pgsql_1, devilbox_memcd_1, devilbox_httpd_1, devilbox_php_1, devilbox_bind_1
bind_1   | [INFO] Debug level: 2
bind_1   | [INFO] BIND logging: disabled explicitly
bind_1   | [INFO] Using default DNS TTL time: 3600 sec
bind_1   | [INFO] Using default DNS Refresh time: 1200 sec
bind_1   | [INFO] Using default DNS Retry time: 180 sec
bind_1   | [INFO] Using default DNS Expiry time: 1209600 sec
bind_1   | [INFO] Using default DNS Max Cache time: 10800 sec
bind_1   | [INFO] Adding wildcard DNS: *.loc -> 127.0.0.1
bind_1   |
bind_1   | zone loc/IN: loaded serial 1609277586
bind_1   | OK
bind_1   | [INFO] Not adding any extra hosts
bind_1   | [INFO] DNSSEC Validation: no
bind_1   | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4
bind_1   | [INFO] Starting BIND 9.11.3
httpd_1  | [INFO] Debug level: 2
httpd_1  | [INFO] Runtime debug: 2
httpd_1  | [INFO] Changing user 'daemon' uid to: 1000
httpd_1  | root $ usermod -u 1000 daemon
httpd_1  | root $ chown -R daemon /usr/sbin
httpd_1  | [INFO] Changing group 'daemon' gid to: 1000
httpd_1  | root $ groupmod -g 1000 daemon
httpd_1  | root $ chown -R :daemon /usr/sbin
httpd_1  | [INFO] Setting container timezone to: UTC
httpd_1  | root $ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
httpd_1  | [INFO] Docker date set to: Tue Dec 29 21:33:07 UTC 2020
httpd_1  | [INFO] $DOCKER_LOGS disabled. Logging errors and access to log files inside container.
httpd_1  | [INFO] PHP 5.2 compatibility mode: Disabled
httpd_1  | [INFO] PHP-FPM: Enabled
httpd_1  | [INFO] PHP-FPM: Server address: 172.16.238.10
httpd_1  | [INFO] PHP-FPM: Server port: 9000
httpd_1  | [INFO] PHP-FPM: Timeout: 180
httpd_1  | [INFO] Main vhost: Enabled
httpd_1  | [INFO] Main vhost: Setting SSL type to: redirect http to https
httpd_1  | [INFO] Main vhost: Enable automatic generation of SSL certificates
httpd_1  | [INFO] Main vhost: SSL CN: localhost,*.localhost,devilbox,*.devilbox,httpd
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
httpd_1  | [INFO] Main vhost: Changing status page alias to: /devilbox-httpd-status
httpd_1  | [INFO] Mass vhost: Enabled
httpd_1  | [INFO] Mass vhost: Setting SSL type to: redirect http to https
httpd_1  | [INFO] Mass vhost: Enable automatic generation of SSL certificates
httpd_1  | [INFO] Mass vhost: changing tld to: .loc
httpd_1  | [INFO] Mass vhost: changing document root to: htdocs
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
httpd_1  | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/mass.yml
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__/180/g' /etc/vhost-gen/mass.yml
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
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
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 redir
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:07): Loading configuration file        (-c): /etc/vhost-gen/main.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:07): Loading vhost template (global)   (-t): /etc/vhost-gen/templates/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:07): Loading vhost template (override) (-o): /var/www/default/cfg/apache24.yml
httpd_1  | vhost-gen: [WARN]  (2020-12-29 21:33:07): Override Vhost template not found: /var/www/default/cfg/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:07): Creating vhost type: https and redirect http to https (redir)
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:07): Using vhost name: localhost
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:07): Log setting: dir -> True
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:07): Log setting: Not specified
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:07): Vhost config written to: /etc/httpd/conf.d/localhost.conf
httpd_1  | root $ sed -i'' 's|__DOCROOT_SUFFIX__|htdocs|g' /etc/vhost-gen/mass.yml
httpd_1  | root $ sed -i'' 's/__TLD__/.loc/g' /etc/vhost-gen/mass.yml
httpd_1  | root $ mkdir -p /etc/httpd/cert/main
httpd_1  | root $ cert-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox -n 'localhost' -e 'admin@localhost' -a '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
httpd_1  | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/main/localhost.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=localhost/emailAddress=admin@localhost' -out /etc/httpd/cert/main/localhost.csr
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
httpd_1  | Certificate:
httpd_1  |     Data:
httpd_1  |         Version: 3 (0x2)
httpd_1  |         Serial Number:
httpd_1  |             4a:53:c1:72:dd:21:10:ea:c8:8f:f2:49:d9:37:f1:ae:bd:8f:e6:ae
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 = tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |         Validity
httpd_1  |             Not Before: Dec 29 21:33:07 2020 GMT
httpd_1  |             Not After : Apr  3 21:33:07 2023 GMT
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = localhost, emailAddress = admin@localhost
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:b7:60:11:ce:db:f9:d6:79:08:bc:ec:ce:7a:23:
httpd_1  |                     28:bb:0f:af:29:f1:bb:c8:94:70:5a:28:d3:2d:0b:
httpd_1  |                     71:9f:d1:e5:31:32:12:f9:48:1d:5f:29:82:ed:eb:
httpd_1  |                     a8:61:bc:b6:68:e2:5a:95:e4:70:45:14:d0:b9:ba:
httpd_1  |                     25:17:17:3d:df:93:e9:30:4b:e2:2d:c2:a6:e3:95:
httpd_1  |                     f5:bb:97:de:d8:24:22:1a:bd:eb:1c:54:40:b4:e6:
httpd_1  |                     7f:ec:52:3f:1f:f3:32:bb:dc:25:5a:0f:36:e6:43:
httpd_1  |                     c7:79:33:82:01:d6:72:57:12:e3:1c:10:6a:75:bf:
httpd_1  |                     1a:03:37:44:31:7d:c8:ca:52:79:7e:f6:00:47:2b:
httpd_1  |                     c8:06:40:1e:01:22:3d:af:3c:eb:c4:7a:c4:0b:db:
httpd_1  |                     2f:90:79:00:fe:c2:85:f8:3f:61:5f:a3:39:f9:bc:
httpd_1  |                     88:b8:d9:ce:0b:7c:29:0f:71:45:fd:8a:f8:5e:6b:
httpd_1  |                     71:cb:76:1a:63:da:03:a2:22:6a:21:c5:31:19:58:
httpd_1  |                     9d:c4:c7:b5:fd:6c:a4:61:d0:9b:28:2d:a6:7e:06:
httpd_1  |                     8c:f0:bf:84:81:df:23:0c:4e:84:c8:f8:4c:07:95:
httpd_1  |                     18:2e:d6:db:57:d1:f5:46:f2:8b:d5:5c:b6:d0:de:
httpd_1  |                     4a:2a:f7:b1:da:c7:37:4b:78:cf:3d:86:95:98:0f:
httpd_1  |                     3b:6d
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  |                 63:A6:C7:D3:65:3C:2C:2F:B8:E3:EB:94:0D:53:A8:36:94:B2:E4:B9
httpd_1  |             X509v3 Key Usage: critical
httpd_1  |                 Digital Signature, Key Encipherment
httpd_1  |             X509v3 Authority Key Identifier:
httpd_1  |                 keyid:B6:65:81:76:1D:6D:2A:AE:75:D6:53:2B:BC:30:84:6F:25:CF:DE:72
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |                 serial:40:9D:61:E7:4F:4F:89:59:73:8A:C0:7B:FB:1F:4C:01:DD:1A:DE:92
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:localhost, DNS:localhost, DNS:*.localhost, DNS:devilbox, DNS:*.devilbox, DNS:httpd
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
httpd_1  |          64:08:16:68:05:a5:c9:f9:7a:01:ee:8e:48:fa:c1:7f:9c:1e:
httpd_1  |          be:17:6b:34:1a:8d:7a:94:78:4f:7f:22:23:a8:8d:d5:85:69:
httpd_1  |          a4:ef:e0:15:ff:cb:0d:44:f0:f9:f3:41:f6:82:0a:70:7a:78:
httpd_1  |          4f:6e:61:fb:39:9a:ce:60:a3:ff:09:cd:a7:6d:3c:46:e2:0d:
httpd_1  |          49:55:ce:a8:77:37:bb:e0:fa:e3:da:5a:9c:32:d8:18:1c:88:
httpd_1  |          0e:c7:59:44:a2:b6:a0:d5:86:6e:e5:95:88:cd:6c:99:65:96:
httpd_1  |          87:2d:7e:d0:81:c1:5e:59:1e:fb:b4:21:b7:3f:ed:2d:17:fd:
httpd_1  |          ff:33:53:31:8e:7b:42:3b:f4:a9:02:f1:10:27:2f:ea:92:74:
httpd_1  |          26:0f:df:24:13:a7:34:12:f0:88:26:3b:ae:c3:c0:2d:17:5d:
httpd_1  |          26:4f:03:f0:d9:fc:5a:0e:2e:23:e5:ec:ea:28:69:9e:f9:2b:
httpd_1  |          7a:e1:30:1b:10:27:c4:2f:1d:5a:2a:25:37:6c:f9:93:4d:04:
httpd_1  |          14:60:b7:8a:ae:d6:61:f6:cb:6c:e2:f8:0f:69:21:08:64:e4:
httpd_1  |          32:ad:0b:30:db:9c:ac:ac:0d:eb:43:41:a4:1c:09:e2:dc:61:
httpd_1  |          9a:26:78:49:6d:10:71:0e:7e:47:58:8f:e1:7a:13:ec:6d:35:
httpd_1  |          21:f4:b3:1a
httpd_1  | /etc/httpd/cert/main/localhost.crt: OK
httpd_1  | root $ chown -R 1000:1000 /ca
httpd_1  | [INFO] Starting supervisord: 3.3.5
httpd_1  | 2020-12-29 21:33:08,041 INFO Set uid to user 0 succeeded
httpd_1  | 2020-12-29 21:33:08,044 INFO supervisord started with pid 1
httpd_1  | 2020-12-29 21:33:09,045 INFO spawned: 'httpd' with pid 233
httpd_1  | 2020-12-29 21:33:09,046 INFO spawned: 'watcherd' with pid 234
httpd_1  | [Tue Dec 29 21:33:09.069009 2020] [mpm_event:notice] [pid 233:tid 139655594251392] AH00489: Apache/2.4.46 (Unix) OpenSSL/1.1.1d configured -- resuming normal operations
httpd_1  | [Tue Dec 29 21:33:09.069081 2020] [core:notice] [pid 233:tid 139655594251392] AH00094: Command line: 'httpd -D FOREGROUND'
httpd_1  | 2020-12-29 21:33:10,069 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  | 2020-12-29 21:33:10,069 INFO success: watcherd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  | watcherd: [2020-12-29 21:33:12] Starting daemon.
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
httpd_1  | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/BridgeLoanNetworkUpgrade.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=BridgeLoanNetworkUpgrade.loc/emailAddress=admin@BridgeLoanNetworkUpgrade.loc' -out /etc/httpd/cert/mass/BridgeLoanNetworkUpgrade.loc.csr
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/mass/BridgeLoanNetworkUpgrade.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/BridgeLoanNetworkUpgrade.loc.crt
httpd_1  | Certificate:
httpd_1  |     Data:
httpd_1  |         Version: 3 (0x2)
httpd_1  |         Serial Number:
httpd_1  |             4a:53:c1:72:dd:21:10:ea:c8:8f:f2:49:d9:37:f1:ae:bd:8f:e6:af
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 = tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |         Validity
httpd_1  |             Not Before: Dec 29 21:33:12 2020 GMT
httpd_1  |             Not After : Apr  3 21:33:12 2023 GMT
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = BridgeLoanNetworkUpgrade.loc, emailAddress = admin@BridgeLoanNetworkUpgrade.loc
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:b5:ed:f1:f2:2e:02:63:39:4e:9a:57:8d:1e:32:
httpd_1  |                     e6:7f:c0:b5:f9:74:3f:a8:eb:f1:49:45:96:f0:ae:
httpd_1  |                     df:ba:91:5b:86:97:78:70:c2:a1:29:7d:e3:1e:a1:
httpd_1  |                     d6:f9:52:bb:d6:a6:d0:d6:a5:c8:81:cf:46:a4:6d:
httpd_1  |                     4a:a3:9e:9e:66:ad:b1:e2:00:5e:a2:b6:b2:34:06:
httpd_1  |                     2a:dc:b6:b8:96:65:56:c3:5f:20:a8:1f:75:8d:c5:
httpd_1  |                     88:04:03:94:fc:dd:a2:8a:0c:a0:79:fe:63:e9:dd:
httpd_1  |                     be:e9:1b:66:f5:f0:b2:7e:e5:62:a8:58:77:fb:55:
httpd_1  |                     a6:ab:d0:f5:87:87:1b:e1:8e:72:11:c9:c8:3a:a5:
httpd_1  |                     cc:15:56:6f:6a:2a:f9:37:b9:09:b9:4d:9f:2f:f0:
httpd_1  |                     12:5e:93:f0:d7:45:f2:f6:03:5f:b3:7e:d9:c1:e6:
httpd_1  |                     c9:ba:9b:c0:ec:4f:d9:f7:7f:e1:ac:e6:33:4e:42:
httpd_1  |                     1e:11:6f:45:1a:31:85:26:85:26:fe:13:7b:9f:10:
httpd_1  |                     2b:e3:de:48:3c:c8:80:43:f5:d0:7a:db:3d:39:90:
httpd_1  |                     ad:67:e0:d5:63:13:d7:86:2f:41:5c:b4:1e:34:2e:
httpd_1  |                     b7:b1:29:5a:ac:c7:5e:7c:14:71:37:13:0b:5e:2f:
httpd_1  |                     b7:03:ff:85:bf:5d:fc:78:ea:6b:5d:91:81:d9:0a:
httpd_1  |                     c0:53
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  |                 C6:83:F7:5D:92:12:AE:9D:58:05:75:BB:86:48:D1:A1:D1:BB:C2:F9
httpd_1  |             X509v3 Key Usage: critical
httpd_1  |                 Digital Signature, Key Encipherment
httpd_1  |             X509v3 Authority Key Identifier:
httpd_1  |                 keyid:B6:65:81:76:1D:6D:2A:AE:75:D6:53:2B:BC:30:84:6F:25:CF:DE:72
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |                 serial:40:9D:61:E7:4F:4F:89:59:73:8A:C0:7B:FB:1F:4C:01:DD:1A:DE:92
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:BridgeLoanNetworkUpgrade.loc, DNS:*.BridgeLoanNetworkUpgrade.loc
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
httpd_1  |          39:8b:d9:20:44:f4:b4:e7:dd:9c:18:40:d9:50:62:db:b7:23:
httpd_1  |          6d:4e:b0:74:f6:15:d7:4c:e8:5c:e1:75:da:43:76:b0:81:a7:
httpd_1  |          fe:c7:87:bc:5c:17:bb:88:42:ce:44:ab:b7:80:d7:fb:63:aa:
httpd_1  |          f1:64:3b:a9:96:97:77:7f:ac:8a:c6:be:28:fc:db:8d:ff:c9:
httpd_1  |          a8:8b:44:d6:ed:e9:a1:a1:5b:a7:b8:a4:1a:5c:c0:1d:80:b3:
httpd_1  |          2e:0c:e6:a2:3e:0a:7d:fc:ff:c2:f3:c4:ac:bc:13:6e:f8:bf:
httpd_1  |          ac:67:be:1f:89:81:3f:80:cd:67:b2:66:b0:42:22:9f:fb:98:
httpd_1  |          6d:ce:45:bf:b2:1a:34:f7:62:05:ae:e5:62:b6:9c:0e:da:a6:
httpd_1  |          96:f8:48:88:f1:5a:33:34:26:50:e7:ea:68:dc:af:43:6c:fd:
httpd_1  |          e1:51:a9:35:83:9c:4e:c1:77:97:06:a0:c0:20:f4:f7:92:4f:
httpd_1  |          14:15:a0:37:ef:d8:45:6f:c9:8d:44:50:ed:d2:e4:a4:d0:0e:
httpd_1  |          cb:59:a1:96:84:7f:03:1f:eb:b0:d5:92:2e:42:03:0c:66:dd:
httpd_1  |          ce:1c:58:c2:b6:07:cb:3f:b9:92:a0:92:0e:cb:bb:65:67:57:
httpd_1  |          0c:54:cf:10:5b:22:0b:01:b6:b7:cf:21:36:df:f8:79:aa:e9:
httpd_1  |          93:9c:09:ad
httpd_1  | /etc/httpd/cert/mass/BridgeLoanNetworkUpgrade.loc.crt: OK
httpd_1  | $ vhost-gen -p "/shared/httpd/BridgeLoanNetworkUpgrade" -n "BridgeLoanNetworkUpgrade" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/BridgeLoanNetworkUpgrade/.devilbox/" -s -v -m redir
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading configuration file        (-c): /etc/vhost-gen/mass.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (global)   (-t): /etc/vhost-gen/templates/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (override) (-o): /shared/httpd/BridgeLoanNetworkUpgrade/.devilbox/apache24.yml
httpd_1  | vhost-gen: [WARN]  (2020-12-29 21:33:12): Override Vhost template not found: /shared/httpd/BridgeLoanNetworkUpgrade/.devilbox/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Creating vhost type: https and redirect http to https (redir)
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Using vhost name: BridgeLoanNetworkUpgrade.loc
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: dir -> True
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: Not specified
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Vhost config written to: /etc/httpd/vhost.d/BridgeLoanNetworkUpgrade.conf
httpd_1  | watcherd: [2020-12-29 21:33:12] [OK]  ADD: succeeded: /shared/httpd/BridgeLoanNetworkUpgrade
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
httpd_1  | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/blnapi.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=blnapi.loc/emailAddress=admin@blnapi.loc' -out /etc/httpd/cert/mass/blnapi.loc.csr
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/mass/blnapi.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/blnapi.loc.crt
httpd_1  | Certificate:
httpd_1  |     Data:
httpd_1  |         Version: 3 (0x2)
httpd_1  |         Serial Number:
httpd_1  |             4a:53:c1:72:dd:21:10:ea:c8:8f:f2:49:d9:37:f1:ae:bd:8f:e6:b0
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 = tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |         Validity
httpd_1  |             Not Before: Dec 29 21:33:12 2020 GMT
httpd_1  |             Not After : Apr  3 21:33:12 2023 GMT
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = blnapi.loc, emailAddress = admin@blnapi.loc
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:dc:a2:f8:c7:1c:27:20:c6:c9:45:04:5f:b5:dc:
httpd_1  |                     23:be:1c:d0:06:ad:81:b2:cd:cb:c0:b5:c2:2f:db:
httpd_1  |                     8f:01:87:27:cb:78:6d:75:ea:f3:83:a9:d4:f2:9a:
httpd_1  |                     7c:77:bb:8f:6c:29:4b:4e:e4:14:2a:3c:12:f7:97:
httpd_1  |                     8e:af:a9:b1:27:db:b0:d5:9a:72:11:ef:bb:dd:1b:
httpd_1  |                     24:1e:4b:08:b2:53:3b:fd:bb:50:a7:67:fe:de:14:
httpd_1  |                     d0:16:ea:6d:c6:8e:d0:3f:9a:82:05:32:18:c9:3c:
httpd_1  |                     db:09:72:b1:0b:75:bd:dd:a1:5b:78:b1:e5:84:06:
httpd_1  |                     9b:1f:eb:50:7b:70:31:b9:2d:ee:b3:dd:18:04:bb:
httpd_1  |                     a5:5d:26:c6:ee:70:b6:e2:e8:3c:4e:9d:a4:d7:8a:
httpd_1  |                     0f:6d:9b:d1:15:5f:65:a5:74:c1:32:29:72:2c:a4:
httpd_1  |                     c4:72:bc:42:21:3a:05:cd:05:c8:a8:b4:c0:6a:52:
httpd_1  |                     85:50:4b:d2:92:d7:73:26:2a:71:9c:7d:74:9e:1d:
httpd_1  |                     71:2e:c2:17:45:5a:f1:8b:20:22:c9:9f:13:4a:b3:
httpd_1  |                     7c:7f:f5:a7:4e:dd:d8:3b:e4:63:1e:15:49:85:09:
httpd_1  |                     ce:b9:3f:37:31:ab:fa:17:cc:19:17:4d:6f:ca:12:
httpd_1  |                     2a:5f:d2:6e:7c:7f:18:00:a1:2a:0e:e0:47:72:43:
httpd_1  |                     ac:b7
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  |                 DA:4C:20:14:76:41:87:F3:3B:06:76:C4:9D:A9:28:75:79:02:00:7C
httpd_1  |             X509v3 Key Usage: critical
httpd_1  |                 Digital Signature, Key Encipherment
httpd_1  |             X509v3 Authority Key Identifier:
httpd_1  |                 keyid:B6:65:81:76:1D:6D:2A:AE:75:D6:53:2B:BC:30:84:6F:25:CF:DE:72
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |                 serial:40:9D:61:E7:4F:4F:89:59:73:8A:C0:7B:FB:1F:4C:01:DD:1A:DE:92
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:blnapi.loc, DNS:*.blnapi.loc
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
httpd_1  |          75:14:74:e6:8a:be:45:90:10:d0:fb:74:cb:67:75:ff:3e:81:
httpd_1  |          0b:3e:64:7b:34:c5:92:96:2e:f4:82:01:91:40:2f:fc:c3:4d:
httpd_1  |          ee:bb:87:54:9b:38:60:f6:b0:1d:e8:19:c4:62:37:34:49:f0:
httpd_1  |          84:69:da:b8:cd:b2:35:64:09:0c:d3:e1:a2:33:7b:5d:a1:8a:
httpd_1  |          b9:11:49:e8:64:30:af:ae:18:a6:7f:3b:de:58:de:eb:0e:ef:
httpd_1  |          83:77:c2:30:ec:ad:63:3e:12:86:0e:33:c9:e3:59:97:50:40:
httpd_1  |          67:55:7c:fa:cc:8a:a5:0a:76:ff:35:05:f1:29:aa:46:d8:7e:
httpd_1  |          34:1e:9d:22:d3:95:b8:40:92:16:cf:b9:55:f2:4d:4e:30:b2:
httpd_1  |          79:bb:4f:82:e8:0c:21:ef:60:33:0d:90:9e:84:0b:1d:f3:55:
httpd_1  |          f0:bf:61:3a:03:eb:89:09:38:3b:95:67:95:3a:f6:1b:9b:92:
httpd_1  |          f2:af:6d:8c:fa:2e:3d:f4:c3:d7:0c:69:af:70:4a:da:0e:f3:
httpd_1  |          d8:10:15:f3:3d:39:53:53:12:ba:1f:52:f9:92:b7:06:3d:27:
httpd_1  |          62:17:17:12:fa:73:f0:5f:8c:4d:d3:dc:ba:fd:2f:3b:19:ed:
httpd_1  |          90:7b:85:07:f1:60:39:27:2f:4f:b9:66:f1:43:c1:32:9b:53:
httpd_1  |          b3:36:5d:b5
httpd_1  | /etc/httpd/cert/mass/blnapi.loc.crt: OK
httpd_1  | $ vhost-gen -p "/shared/httpd/blnapi" -n "blnapi" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/blnapi/.devilbox/" -s -v -m redir
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading configuration file        (-c): /etc/vhost-gen/mass.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (global)   (-t): /etc/vhost-gen/templates/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (override) (-o): /shared/httpd/blnapi/.devilbox/apache24.yml
httpd_1  | vhost-gen: [WARN]  (2020-12-29 21:33:12): Override Vhost template not found: /shared/httpd/blnapi/.devilbox/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Creating vhost type: https and redirect http to https (redir)
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Using vhost name: blnapi.loc
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: dir -> True
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: Not specified
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Vhost config written to: /etc/httpd/vhost.d/blnapi.conf
httpd_1  | watcherd: [2020-12-29 21:33:12] [OK]  ADD: succeeded: /shared/httpd/blnapi
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
httpd_1  | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/blnborrower.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=blnborrower.loc/emailAddress=admin@blnborrower.loc' -out /etc/httpd/cert/mass/blnborrower.loc.csr
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/mass/blnborrower.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/blnborrower.loc.crt
httpd_1  | Certificate:
httpd_1  |     Data:
httpd_1  |         Version: 3 (0x2)
httpd_1  |         Serial Number:
httpd_1  |             4a:53:c1:72:dd:21:10:ea:c8:8f:f2:49:d9:37:f1:ae:bd:8f:e6:b1
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 = tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |         Validity
httpd_1  |             Not Before: Dec 29 21:33:12 2020 GMT
httpd_1  |             Not After : Apr  3 21:33:12 2023 GMT
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = blnborrower.loc, emailAddress = admin@blnborrower.loc
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:d8:6e:3e:85:f3:2b:a7:c1:35:f5:af:ca:e7:15:
httpd_1  |                     6c:d5:2d:44:af:1e:5d:4f:15:32:f5:44:58:f2:ca:
httpd_1  |                     d4:f1:66:63:e0:ac:61:ec:54:c7:42:23:40:26:04:
httpd_1  |                     04:a7:1a:e9:50:28:2d:e2:35:ad:63:81:01:e2:f3:
httpd_1  |                     ad:f4:ea:e4:e3:d9:fa:1d:b4:06:45:f2:4c:ea:56:
httpd_1  |                     4f:7c:a5:a7:c9:c5:90:f2:d0:b3:0a:04:9a:35:f7:
httpd_1  |                     e2:46:f7:1c:3d:02:95:b9:bf:cc:ec:20:98:8b:37:
httpd_1  |                     93:7a:11:49:cc:ce:a1:15:08:c6:c5:d4:c9:8a:b4:
httpd_1  |                     4d:2b:5b:cc:1c:f6:cc:a2:c8:5b:60:7d:27:62:8e:
httpd_1  |                     8f:dd:b4:15:93:16:ce:8c:89:4f:c5:d4:f6:34:a0:
httpd_1  |                     71:ee:3f:b4:dc:0e:63:d7:22:cf:1d:9e:2b:ba:88:
httpd_1  |                     49:a4:a1:84:bb:69:7d:2a:1a:03:c5:4b:0e:70:b5:
httpd_1  |                     24:c7:8b:47:16:60:ee:17:43:93:98:b8:a8:6d:ca:
httpd_1  |                     69:31:24:94:49:93:b5:33:a4:44:25:57:51:c2:17:
httpd_1  |                     25:23:da:8a:a7:67:66:80:3a:4b:35:4d:50:8a:ec:
httpd_1  |                     c9:18:6d:d6:63:c9:17:86:53:d0:c3:70:6e:b0:4d:
httpd_1  |                     c2:53:22:4f:ba:96:72:69:7b:3c:27:3b:6e:86:aa:
httpd_1  |                     1f:b7
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  |                 2E:0A:90:6D:70:AB:D9:A7:67:A1:21:84:D9:23:03:26:E5:D8:0C:79
httpd_1  |             X509v3 Key Usage: critical
httpd_1  |                 Digital Signature, Key Encipherment
httpd_1  |             X509v3 Authority Key Identifier:
httpd_1  |                 keyid:B6:65:81:76:1D:6D:2A:AE:75:D6:53:2B:BC:30:84:6F:25:CF:DE:72
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |                 serial:40:9D:61:E7:4F:4F:89:59:73:8A:C0:7B:FB:1F:4C:01:DD:1A:DE:92
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:blnborrower.loc, DNS:*.blnborrower.loc
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
httpd_1  |          46:18:49:c0:ec:87:57:e4:2f:03:74:dd:1a:e2:c3:6a:5f:71:
httpd_1  |          c8:1c:3a:84:97:b4:f4:e1:1b:04:37:8e:70:b4:5a:d9:5e:fd:
httpd_1  |          b5:54:c6:58:58:c4:6a:97:f6:c6:3e:26:3a:d0:40:7e:3d:d1:
httpd_1  |          e2:13:15:32:41:09:71:19:b9:ca:1e:ff:53:f8:72:18:4d:82:
httpd_1  |          a2:ad:30:ec:67:8e:92:1b:4c:81:55:f0:8b:40:a4:bd:c6:eb:
httpd_1  |          15:a1:2a:57:e6:80:67:13:6d:b5:42:60:24:b8:55:67:74:02:
httpd_1  |          aa:de:9b:72:3b:85:ba:da:7a:f2:3f:3b:c3:21:99:e6:ec:19:
httpd_1  |          73:f6:bd:62:69:dc:3f:e1:f6:bb:7f:8d:d8:8e:90:0e:65:a1:
httpd_1  |          33:b3:f7:7b:40:c9:1c:2c:32:8c:49:ca:65:80:36:74:48:b7:
httpd_1  |          13:4b:14:e6:87:2e:05:19:b9:12:bf:93:6e:1e:13:7d:9b:5d:
httpd_1  |          65:3f:79:91:0e:35:8b:3f:8f:02:30:b1:b0:c9:f5:01:77:24:
httpd_1  |          9a:07:52:95:7c:30:69:ce:c6:b1:ee:11:a0:9c:f7:5a:c5:2d:
httpd_1  |          1e:3a:94:05:81:79:4a:29:6a:57:4e:80:d6:4a:d9:e4:04:50:
httpd_1  |          dc:ae:fa:4b:de:33:91:1e:cd:ca:42:5b:d8:0d:0b:16:c7:df:
httpd_1  |          07:2a:3d:5c
httpd_1  | /etc/httpd/cert/mass/blnborrower.loc.crt: OK
httpd_1  | $ vhost-gen -p "/shared/httpd/blnborrower" -n "blnborrower" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/blnborrower/.devilbox/" -s -v -m redir
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading configuration file        (-c): /etc/vhost-gen/mass.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (global)   (-t): /etc/vhost-gen/templates/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (override) (-o): /shared/httpd/blnborrower/.devilbox/apache24.yml
httpd_1  | vhost-gen: [WARN]  (2020-12-29 21:33:12): Override Vhost template not found: /shared/httpd/blnborrower/.devilbox/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Creating vhost type: https and redirect http to https (redir)
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Using vhost name: blnborrower.loc
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: dir -> True
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: Not specified
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Vhost config written to: /etc/httpd/vhost.d/blnborrower.conf
httpd_1  | watcherd: [2020-12-29 21:33:12] [OK]  ADD: succeeded: /shared/httpd/blnborrower
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  |
pgsql_1  |
pgsql_1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
pgsql_1  |
pgsql_1  | 2020-12-29 21:33:08.106 UTC [1] LOG:  starting PostgreSQL 13.0 (Debian 13.0-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
pgsql_1  | 2020-12-29 21:33:08.106 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
pgsql_1  | 2020-12-29 21:33:08.106 UTC [1] LOG:  listening on IPv6 address "::", port 5432
pgsql_1  | 2020-12-29 21:33:08.112 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
pgsql_1  | 2020-12-29 21:33:08.123 UTC [26] LOG:  database system was shut down at 2020-12-29 21:32:12 UTC
pgsql_1  | 2020-12-29 21:33:08.128 UTC [1] LOG:  database system is ready to accept connections
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.446+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.447+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.447+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.447+00:00"},"s":"I",  "c":"STORAGE",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"mongo"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.447+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.2","gitVersion":"15e73dc5738d2278b688f8929aee605fe4279b0e","openSSLVersion":"OpenSSL 1.1.1  11 Sep 2018","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu1804","distarch":"x86_64","target_arch":"x86_64"}}}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.447+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"18.04"}}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.447+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.448+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.448+00:00"},"s":"I",  "c":"STORAGE",  "id":22297,   "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.448+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=25127M,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,compact_progress],"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.822+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1609277588:822656][1:0x7f40dec9dac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 11 through 12"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.849+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1609277588:849482][1:0x7f40dec9dac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 12 through 12"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.890+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1609277588:890603][1:0x7f40dec9dac0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 11/15872 to 12/256"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.942+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1609277588:942804][1:0x7f40dec9dac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 11 through 12"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.973+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1609277588:973054][1:0x7f40dec9dac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 12 through 12"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.996+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1609277588:996359][1:0x7f40dec9dac0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:08.996+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1609277588:996412][1:0x7f40dec9dac0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.018+00:00"},"s":"I",  "c":"STORAGE",  "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":570}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.018+00:00"},"s":"I",  "c":"RECOVERY", "id":23987,   "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.018+00:00"},"s":"I",  "c":"STORAGE",  "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.019+00:00"},"s":"I",  "c":"STORAGE",  "id":22262,   "ctx":"initandlisten","msg":"Timestamp monitor starting"}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.022+00:00"},"s":"W",  "c":"CONTROL",  "id":22120,   "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.022+00:00"},"s":"W",  "c":"CONTROL",  "id":22178,   "ctx":"initandlisten","msg":"/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'","tags":["startupWarnings"]}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.023+00:00"},"s":"I",  "c":"STORAGE",  "id":20536,   "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.024+00:00"},"s":"I",  "c":"FTDC",     "id":20625,   "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.025+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.025+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
mongo_1  | {"t":{"$date":"2020-12-29T21:33:09.025+00:00"},"s":"I",  "c":"NETWORK",  "id":23016,   "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
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}") -keyout /etc/httpd/cert/mass/blnbroker.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=blnbroker.loc/emailAddress=admin@blnbroker.loc' -out /etc/httpd/cert/mass/blnbroker.loc.csr
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/mass/blnbroker.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/blnbroker.loc.crt
httpd_1  | Certificate:
httpd_1  |     Data:
httpd_1  |         Version: 3 (0x2)
httpd_1  |         Serial Number:
httpd_1  |             4a:53:c1:72:dd:21:10:ea:c8:8f:f2:49:d9:37:f1:ae:bd:8f:e6:b2
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 = tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |         Validity
httpd_1  |             Not Before: Dec 29 21:33:12 2020 GMT
httpd_1  |             Not After : Apr  3 21:33:12 2023 GMT
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = blnbroker.loc, emailAddress = admin@blnbroker.loc
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:c7:29:44:40:ef:22:bc:c9:e1:29:2f:48:64:58:
httpd_1  |                     7b:20:4e:70:77:55:18:12:1e:26:54:4e:30:61:d8:
httpd_1  |                     d4:d4:63:9e:4e:ea:71:5c:fa:55:52:ab:d3:df:97:
httpd_1  |                     ae:5c:75:90:c4:70:7b:4e:97:c8:60:be:0f:2c:54:
httpd_1  |                     08:63:d3:25:ae:3e:ca:21:0b:05:54:26:88:83:9f:
httpd_1  |                     da:db:bb:e0:9e:12:06:71:3c:1f:50:f2:bf:28:94:
httpd_1  |                     28:54:e1:10:62:b8:88:d5:26:e9:52:61:6a:32:69:
httpd_1  |                     35:4c:df:72:a2:22:d2:32:5c:1f:38:9c:89:15:82:
httpd_1  |                     14:1b:18:ef:31:0e:bc:d3:9c:93:04:35:df:21:be:
httpd_1  |                     ed:ff:24:0b:d6:27:b2:50:04:cf:60:6a:8c:c7:03:
httpd_1  |                     80:87:b9:01:09:ae:25:b0:f1:fe:69:95:e9:70:68:
httpd_1  |                     2d:0a:90:96:b5:82:af:fe:9c:09:ea:b5:0f:21:36:
httpd_1  |                     6e:b9:52:2e:25:ec:0a:c7:50:a1:a0:11:77:9f:57:
httpd_1  |                     5e:25:64:92:04:29:19:99:9d:8b:3e:c5:4e:78:af:
httpd_1  |                     1d:18:ce:c8:6c:9e:03:5e:3c:1b:1a:b8:cf:65:36:
httpd_1  |                     a4:7d:cd:d9:55:5f:46:e3:24:5c:ee:c8:f0:ab:4e:
httpd_1  |                     02:2d:fa:29:67:35:66:1e:8a:0a:a6:35:9e:91:7c:
httpd_1  |                     af:e9
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  |                 B2:F0:69:3D:92:37:C6:71:73:DB:74:33:51:C4:44:D0:1F:75:BA:55
httpd_1  |             X509v3 Key Usage: critical
httpd_1  |                 Digital Signature, Key Encipherment
httpd_1  |             X509v3 Authority Key Identifier:
httpd_1  |                 keyid:B6:65:81:76:1D:6D:2A:AE:75:D6:53:2B:BC:30:84:6F:25:CF:DE:72
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |                 serial:40:9D:61:E7:4F:4F:89:59:73:8A:C0:7B:FB:1F:4C:01:DD:1A:DE:92
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:blnbroker.loc, DNS:*.blnbroker.loc
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
httpd_1  |          55:61:0d:bb:4f:ee:87:8e:47:06:2c:de:74:fd:56:c5:52:af:
httpd_1  |          17:c7:15:d2:fb:7c:85:15:71:8e:5c:5f:2a:57:61:9f:d1:ac:
httpd_1  |          93:7a:23:e7:73:ee:b0:5f:f0:59:b6:05:5d:79:7f:89:82:13:
httpd_1  |          95:34:3a:7a:00:51:4d:bc:ba:9c:f3:8a:db:32:b6:d5:a3:86:
httpd_1  |          a2:e6:1e:bf:71:1f:8c:9c:0c:43:c1:63:51:0f:18:39:5b:d1:
httpd_1  |          f7:41:63:95:e8:41:f2:35:60:d0:79:97:8c:8d:76:e7:72:aa:
httpd_1  |          7e:4f:d7:62:2e:c2:20:71:0c:dc:ab:56:2a:01:12:20:a1:3c:
httpd_1  |          5c:88:4b:df:13:20:46:06:52:65:d4:b6:7a:8d:f5:35:31:5a:
httpd_1  |          f2:9a:25:0f:90:f9:23:a8:2f:e4:61:0e:c1:67:2a:2e:3e:09:
httpd_1  |          82:61:7f:38:96:1d:d0:6f:12:bf:f2:05:76:5c:cc:31:95:a4:
httpd_1  |          d7:c4:b4:38:62:a5:da:3e:fe:6d:4f:e6:04:91:01:86:bb:1d:
httpd_1  |          b9:25:e1:65:5c:24:10:c9:a8:4f:bd:d1:fe:6e:6c:ac:09:34:
httpd_1  |          89:44:b4:84:e2:1d:fa:76:f4:6e:0a:f0:d4:65:c2:8a:9b:b7:
httpd_1  |          d4:97:d4:49:b1:b2:01:5b:1d:57:99:b8:1f:df:f6:7e:95:ff:
httpd_1  |          17:fe:79:4c
httpd_1  | /etc/httpd/cert/mass/blnbroker.loc.crt: OK
httpd_1  | $ vhost-gen -p "/shared/httpd/blnbroker" -n "blnbroker" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/blnbroker/.devilbox/" -s -v -m redir
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading configuration file        (-c): /etc/vhost-gen/mass.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (global)   (-t): /etc/vhost-gen/templates/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (override) (-o): /shared/httpd/blnbroker/.devilbox/apache24.yml
httpd_1  | vhost-gen: [WARN]  (2020-12-29 21:33:12): Override Vhost template not found: /shared/httpd/blnbroker/.devilbox/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Creating vhost type: https and redirect http to https (redir)
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Using vhost name: blnbroker.loc
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: dir -> True
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: Not specified
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Vhost config written to: /etc/httpd/vhost.d/blnbroker.conf
httpd_1  | watcherd: [2020-12-29 21:33:12] [OK]  ADD: succeeded: /shared/httpd/blnbroker
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
httpd_1  | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/blncake3.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=blncake3.loc/emailAddress=admin@blncake3.loc' -out /etc/httpd/cert/mass/blncake3.loc.csr
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/mass/blncake3.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/blncake3.loc.crt
httpd_1  | Certificate:
httpd_1  |     Data:
httpd_1  |         Version: 3 (0x2)
httpd_1  |         Serial Number:
redis_1  | 1:C 29 Dec 2020 21:33:08.333 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
httpd_1  |             4a:53:c1:72:dd:21:10:ea:c8:8f:f2:49:d9:37:f1:ae:bd:8f:e6:b3
redis_1  | 1:C 29 Dec 2020 21:33:08.333 # Redis version=6.0.9, bits=64, commit=00000000, modified=0, pid=1, just started
php_1    | [INFO] Debug level: 2
httpd_1  |         Signature Algorithm: sha256WithRSAEncryption
redis_1  | 1:C 29 Dec 2020 21:33:08.333 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
php_1    | [INFO] Changing user 'devilbox' uid to: 1000
httpd_1  |         Issuer: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = cytopia@devilbox.org, dnQualifier = tmWBdh1tKq511lMrvDCEbyXP3nI=
redis_1  | 1:M 29 Dec 2020 21:33:08.334 * Running mode=standalone, port=6379.
php_1    | root $ usermod -u 1000 devilbox 2>/dev/null
httpd_1  |         Validity
mysql_1  | 2020-12-29T21:33:08.584646Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
redis_1  | 1:M 29 Dec 2020 21:33:08.334 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
php_1    | root $ chown -R devilbox /home/devilbox 2>/dev/null || true
httpd_1  |             Not Before: Dec 29 21:33:12 2020 GMT
mysql_1  | 2020-12-29T21:33:08.585710Z 0 [Note] mysqld (mysqld 5.7.32-35) starting as process 1 ...
redis_1  | 1:M 29 Dec 2020 21:33:08.334 # Server initialized
php_1    | root $ chown -R devilbox /var/lib/php/session
httpd_1  |             Not After : Apr  3 21:33:12 2023 GMT
mysql_1  | 2020-12-29T21:33:08.587515Z 0 [Note] InnoDB: PUNCH HOLE support available
redis_1  | 1:M 29 Dec 2020 21:33:08.334 # 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 madvise > /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 (set to 'madvise' or 'never').
php_1    | root $ chown -R devilbox /var/lib/php/wsdlcache
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = blncake3.loc, emailAddress = admin@blncake3.loc
mysql_1  | 2020-12-29T21:33:08.587541Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
redis_1  | 1:M 29 Dec 2020 21:33:08.334 * Ready to accept connections
php_1    | root $ chown -R devilbox /var/spool/mail/devilbox
httpd_1  |         Subject Public Key Info:
mysql_1  | 2020-12-29T21:33:08.587545Z 0 [Note] InnoDB: Uses event mutexes
php_1    | root $ chown -R devilbox /etc/supervisor/custom.d
httpd_1  |             Public Key Algorithm: rsaEncryption
mysql_1  | 2020-12-29T21:33:08.587546Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
php_1    | [INFO] Changing group 'devilbox' gid to: 1000
httpd_1  |                 RSA Public-Key: (2048 bit)
mysql_1  | 2020-12-29T21:33:08.587548Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
php_1    | root $ groupmod -g 1000 devilbox 2>/dev/null
httpd_1  |                 Modulus:
mysql_1  | 2020-12-29T21:33:08.587549Z 0 [Note] InnoDB: Using Linux native AIO
php_1    | root $ chown -R :devilbox /home/devilbox 2>/dev/null || true
httpd_1  |                     00:ef:05:c4:8a:27:be:f6:37:b9:1f:b4:f6:48:6d:
mysql_1  | 2020-12-29T21:33:08.587660Z 0 [Note] InnoDB: Number of pools: 1
php_1    | root $ chown -R :devilbox /var/lib/php/session
httpd_1  |                     82:6a:49:17:c8:dc:74:49:b1:24:8e:3d:b6:ee:06:
mysql_1  | 2020-12-29T21:33:08.587765Z 0 [Note] InnoDB: Using CPU crc32 instructions
php_1    | root $ chown -R :devilbox /var/lib/php/wsdlcache
httpd_1  |                     dd:c7:f3:08:9b:4d:b5:38:aa:50:f9:7a:50:c5:d0:
mysql_1  | 2020-12-29T21:33:08.588990Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
php_1    | root $ chown -R :devilbox /var/spool/mail/devilbox
httpd_1  |                     2a:2e:dc:67:76:b5:d5:29:13:0d:82:0b:11:f2:28:
mysql_1  | 2020-12-29T21:33:08.591515Z 0 [Note] InnoDB: Completed initialization of buffer pool
php_1    | root $ chown -R :devilbox /etc/supervisor/custom.d
httpd_1  |                     f8:aa:71:4b:aa:8a:5f:c5:8e:9a:9b:8a:25:81:05:
mysql_1  | 2020-12-29T21:33:08.593014Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
php_1    | [INFO] Setting container timezone to: UTC
httpd_1  |                     2e:53:ce:88:bf:0a:fc:69:d2:44:09:ac:2f:58:9c:
mysql_1  | 2020-12-29T21:33:08.603833Z 0 [Note] InnoDB: Crash recovery did not find the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite
php_1    | root $ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
httpd_1  |                     6a:a1:68:74:36:ca:dd:50:05:b5:5a:f1:7c:4a:4a:
mysql_1  | 2020-12-29T21:33:08.604354Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
php_1    | [INFO] Setting PHP: timezone=UTC
httpd_1  |                     3a:92:db:d4:f6:e5:67:95:8e:dd:ba:41:fe:38:56:
mysql_1  | 2020-12-29T21:33:08.611117Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 3932160 bytes
php_1    | root $ echo 'date.timezone = UTC' > /usr/local/etc/php/conf.d/devilbox-runtime-timezone.ini
httpd_1  |                     6a:b8:23:a5:ea:64:92:b1:b7:cc:b4:a3:24:6a:7f:
mysql_1  | 2020-12-29T21:33:08.619912Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
php_1    | [INFO] Docker date set to: Tue Dec 29 21:33:07 UTC 2020
httpd_1  |                     50:e0:07:3b:ea:23:3b:0e:cc:c8:6d:f7:96:b0:56:
mysql_1  | 2020-12-29T21:33:08.619968Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
php_1    | [INFO] $DOCKER_LOGS set to 0. Logging to files under: /var/log/php
httpd_1  |                     63:3f:60:50:aa:dd:c0:d5:57:8b:83:c8:0c:fa:f3:
mysql_1  | 2020-12-29T21:33:08.631194Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
php_1    | [INFO] Make sure to mount this directory in order to view logs
httpd_1  |                     51:98:3c:06:8b:59:f3:1a:1d:80:56:82:0b:34:ec:
mysql_1  | 2020-12-29T21:33:08.631544Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
php_1    | root $ chown -R devilbox:devilbox /var/log/php
httpd_1  |                     38:a7:9f:ab:66:b0:c6:50:57:e5:9a:73:2e:dd:d2:
mysql_1  | 2020-12-29T21:33:08.631563Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
php_1    | root $ chmod 0755 /var/log/php
httpd_1  |                     9e:d5:ac:b5:65:49:27:00:74:75:41:b4:61:c8:59:
mysql_1  | 2020-12-29T21:33:08.632087Z 0 [Note] InnoDB: Waiting for purge to start
php_1    | [INFO] $ENABLE_MAIL set to 2. Enabling postfix catch-all
httpd_1  |                     19:a1:c9:20:0c:08:86:41:10:23:b2:a7:44:88:b3:
mysql_1  | 2020-12-29T21:33:08.682285Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.32-35 started; log sequence number 24699095320
php_1    | root $ chown devilbox:devilbox /var/log/php
httpd_1  |                     04:37:de:8d:4d:1a:e0:23:e2:6d:81:57:99:5a:81:
mysql_1  | 2020-12-29T21:33:08.682543Z 0 [Note] Plugin 'FEDERATED' is disabled.
php_1    | root $ chown devilbox:devilbox /var/log/php/mail.log
httpd_1  |                     4e:27:b0:bc:99:76:dc:f7:4f:89:f3:e3:0e:ab:b0:
mysql_1  | 2020-12-29T21:33:08.685557Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
php_1    | root $ chmod 0644 /var/log/php/mail.log
httpd_1  |                     87:47
mysql_1  | 2020-12-29T21:33:08.685581Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
php_1    | root $ chmod 0644 /var/mail/devilbox
httpd_1  |                 Exponent: 65537 (0x10001)
mysql_1  | 2020-12-29T21:33:08.686004Z 0 [Warning] CA certificate ca.pem is self signed.
php_1    | root $ chown devilbox:devilbox /var/mail
httpd_1  |         X509v3 extensions:
mysql_1  | 2020-12-29T21:33:08.686037Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
php_1    | root $ chown devilbox:devilbox /var/mail/devilbox
httpd_1  |             X509v3 Basic Constraints: critical
mysql_1  | 2020-12-29T21:33:08.686229Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
php_1    | root $ postconf -e 'strict_mailbox_ownership=no'
httpd_1  |                 CA:FALSE
mysql_1  | 2020-12-29T21:33:08.686281Z 0 [Note] IPv6 is available.
php_1    | root $ postconf -e 'inet_protocols=ipv4'
httpd_1  |             X509v3 Subject Key Identifier:
mysql_1  | 2020-12-29T21:33:08.686286Z 0 [Note]   - '::' resolves to '::';
php_1    | root $ postconf -e 'virtual_alias_maps=pcre:/etc/postfix/virtual'
httpd_1  |                 80:AD:BF:E6:98:AA:85:95:F1:E2:91:5B:D2:AA:FF:99:34:61:EA:A8
mysql_1  | 2020-12-29T21:33:08.686294Z 0 [Note] Server socket created on IP: '::'.
php_1    | root $ echo '/.*@.*/ devilbox' >> /etc/postfix/virtual
httpd_1  |             X509v3 Key Usage: critical
mysql_1  | 2020-12-29T21:33:08.686400Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
php_1    | root $ newaliases
mysql_1  | 2020-12-29T21:33:08.687454Z 0 [Note] InnoDB: Buffer pool(s) load completed at 201229 21:33:08
php_1    | [INFO] Forwarding httpd:80 to 127.0.0.1:80 inside this docker.
httpd_1  |                 Digital Signature, Key Encipherment
mysql_1  | 2020-12-29T21:33:08.694194Z 0 [Note] Event Scheduler: Loaded 0 events
php_1    | [INFO] Forwarding httpd:443 to 127.0.0.1:443 inside this docker.
httpd_1  |             X509v3 Authority Key Identifier:
mysql_1  | 2020-12-29T21:33:08.694440Z 0 [Note] mysqld: ready for connections.
php_1    | [INFO] Forwarding mysql:3306 to 127.0.0.1:3306 inside this docker.
httpd_1  |                 keyid:B6:65:81:76:1D:6D:2A:AE:75:D6:53:2B:BC:30:84:6F:25:CF:DE:72
mysql_1  | Version: '5.7.32-35'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Percona Server (GPL), Release 35, Revision 5688520
php_1    | [INFO] Forwarding pgsql:5432 to 127.0.0.1:5432 inside this docker.
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=tmWBdh1tKq511lMrvDCEbyXP3nI=
php_1    | [INFO] Forwarding redis:6379 to 127.0.0.1:6379 inside this docker.
httpd_1  |                 serial:40:9D:61:E7:4F:4F:89:59:73:8A:C0:7B:FB:1F:4C:01:DD:1A:DE:92
php_1    | [INFO] Forwarding memcd:11211 to 127.0.0.1:11211 inside this docker.
httpd_1  |
php_1    | [INFO] Forwarding mongo:27017 to 127.0.0.1:27017 inside this docker.
httpd_1  |             X509v3 Extended Key Usage:
php_1    | [INFO] Enabling 'socat-80-httpd-80' to be started by supervisord
httpd_1  |                 TLS Web Server Authentication, TLS Web Client Authentication
php_1    | [INFO] Enabling 'socat-443-httpd-443' to be started by supervisord
httpd_1  |             X509v3 Subject Alternative Name:
php_1    | [INFO] Enabling 'socat-3306-mysql-3306' to be started by supervisord
httpd_1  |                 DNS:blncake3.loc, DNS:*.blncake3.loc
php_1    | [INFO] Enabling 'socat-5432-pgsql-5432' to be started by supervisord
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
php_1    | [INFO] Enabling 'socat-6379-redis-6379' to be started by supervisord
httpd_1  |          46:c5:26:7f:62:c7:e5:29:a2:95:37:e5:04:d1:0a:af:59:15:
php_1    | [INFO] Enabling 'socat-11211-memcd-11211' to be started by supervisord
httpd_1  |          a3:ca:eb:8c:20:3d:cc:6e:82:73:bf:36:89:22:74:41:70:24:
php_1    | [INFO] Enabling 'socat-27017-mongo-27017' to be started by supervisord
httpd_1  |          b4:2a:18:54:d4:7e:f5:d6:82:40:98:28:e0:5d:21:18:3a:6d:
httpd_1  |          ee:f1:1a:f4:5b:5d:6a:4e:70:46:49:a5:7e:5e:50:04:22:ae:
php_1    | [INFO] Enabling 'rsyslogd' to be started by supervisord
httpd_1  |          84:6e:8a:ef:42:cc:8c:c7:5a:13:eb:44:86:3f:09:a7:6f:a3:
php_1    | [INFO] Enabling 'postfix' to be started by supervisord
httpd_1  |          27:2d:32:90:1d:21:5f:e4:9a:75:96:fa:33:fb:44:1a:e4:5f:
php_1    | [INFO] Enabling 'php-fpm' to be started by supervisord
httpd_1  |          a9:17:cf:af:a6:bd:b0:6b:3d:f7:ae:c0:fd:42:92:1c:39:c1:
php_1    | root $ find /usr/local/etc/php/conf.d -type f -iname '*.ini' -exec chmod 0644 "{}" \;
httpd_1  |          9e:8c:8a:3c:ed:29:5e:7d:d1:3d:30:1a:f5:a7:f0:8d:9e:5d:
php_1    | root $ find /usr/local/etc/php-fpm.d -type f -iname '*.conf' -exec chmod 0644 "{}" \;
httpd_1  |          2c:87:b5:28:bd:d1:c7:f1:8b:4f:39:cb:94:b0:0a:b7:35:f8:
php_1    | [INFO] $ENABLE_MODULES set, but empty. Not enabling any PHP modules.
httpd_1  |          70:b6:2d:16:59:c9:a6:f6:a0:bf:57:9b:f7:7e:7a:9a:83:db:
php_1    | [INFO] Disabling the following PHP modules: oci8,PDO_OCI,pdo_sqlsrv,sqlsrv,rdkafka,swoole
httpd_1  |          b4:04:70:5c:48:fc:c3:92:2c:87:ab:db:10:2b:03:4e:a6:ee:
php_1    | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-oci8.ini
httpd_1  |          58:fa:88:a2:62:a8:bf:27:17:f2:8d:03:21:41:34:29:97:ba:
php_1    | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-pdo_sqlsrv.ini
httpd_1  |          7c:0b:ee:de:0e:8a:5f:e4:75:28:00:b5:d9:ad:93:3e:72:f9:
php_1    | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-sqlsrv.ini
httpd_1  |          6b:ea:30:d4:02:5f:cd:3c:6d:f2:47:ba:e4:f7:13:50:d8:5e:
php_1    | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-rdkafka.ini
httpd_1  |          eb:0d:e2:5a
php_1    | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-swoole.ini
httpd_1  | /etc/httpd/cert/mass/blncake3.loc.crt: OK
php_1    | root $ chown devilbox:devilbox /etc/mysqldump-secure.conf
httpd_1  | $ vhost-gen -p "/shared/httpd/blncake3" -n "blncake3" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/blncake3/.devilbox/" -s -v -m redir
php_1    | root $ chown devilbox:devilbox /etc/mysqldump-secure.cnf
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading configuration file        (-c): /etc/vhost-gen/mass.yml
php_1    | root $ chown devilbox:devilbox /var/log/mysqldump-secure.log
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (global)   (-t): /etc/vhost-gen/templates/apache24.yml
php_1    | root $ chown devilbox:devilbox /shared/backups/mysql
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Loading vhost template (override) (-o): /shared/httpd/blncake3/.devilbox/apache24.yml
php_1    | [INFO] $MYSQL_BACKUP_USER set for mysqldump-secure. Changing to 'root'
httpd_1  | vhost-gen: [WARN]  (2020-12-29 21:33:12): Override Vhost template not found: /shared/httpd/blncake3/.devilbox/apache24.yml
php_1    | root $ sed -i'' 's/^user.*/user = root/g' /etc/mysqldump-secure.cnf
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Creating vhost type: https and redirect http to https (redir)
php_1    | [INFO] $MYSQL_BACKUP_PASS set for mysqldump-secure. Changing to '******'
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Using vhost name: blncake3.loc
php_1    | root $ perl -pi -e 's/^password.*/password = Boogy*Man225/g' /etc/mysqldump-secure.cnf
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: dir -> True
php_1    | [INFO] $MYSQL_BACKUP_HOST set for mysqldump-secure. Changing to 'mysql'
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Log setting: Not specified
php_1    | root $ sed -i'' 's/^host.*/host = mysql/g' /etc/mysqldump-secure.cnf
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:12): Vhost config written to: /etc/httpd/vhost.d/blncake3.conf
php_1    | root $ chown devilbox:devilbox /shared/backups
httpd_1  | watcherd: [2020-12-29 21:33:12] [OK]  ADD: succeeded: /shared/httpd/blncake3
php_1    | root $ chown devilbox:devilbox /shared/httpd
httpd_1  | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
php_1    | root $ chmod 0755 /shared/backups
httpd_1  | distinguished_name = req_distinguished_name
php_1    | root $ chmod 0755 /shared/httpd
httpd_1  | x509_extensions = v3_req
php_1    | root $ cp /ca/devilbox-ca.crt /usr/local/share/ca-certificates/devilbox-devilbox-ca.crt
httpd_1  |
php_1    | root $ update-ca-certificates
httpd_1  | [req_distinguished_name]
php_1    | Updating certificates in /etc/ssl/certs...
httpd_1  |
php_1    | 1 added, 0 removed; done.
httpd_1  | [ v3_req ]
php_1    | Running hooks in /etc/ca-certificates/update.d...
httpd_1  | basicConstraints = critical, CA:FALSE
php_1    | done.
httpd_1  | subjectKeyIdentifier = hash
php_1    | [INFO] Executing custom startup script: 01-apt-update.sh
httpd_1  | keyUsage = critical, digitalSignature, keyEncipherment
php_1    | Err:1 http://dl.yarnpkg.com/debian stable InRelease
httpd_1  | authorityKeyIdentifier = keyid:always,issuer:always
php_1    |   Could not resolve 'dl.yarnpkg.com'
httpd_1  | extendedKeyUsage = serverAuth, clientAuth
php_1    | Err:2 http://ftp.debian.org/debian stretch-backports InRelease
php_1    |   Could not resolve 'ftp.debian.org'
httpd_1  | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/blnlender.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=blnlender.loc/emailAddress=admin@blnlender.loc' -out /etc/httpd/cert/mass/blnlender.loc.csr
php_1    | Err:3 http://ppa.launchpad.net/git-core/ppa/ubuntu artful InRelease
httpd_1  | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
php_1    |   Could not resolve 'ppa.launchpad.net'
httpd_1  | distinguished_name = req_distinguished_name
php_1    | Err:4 http://packages.blackfire.io/debian any InRelease
httpd_1  | x509_extensions = v3_req
php_1    |   Could not resolve 'packages.blackfire.io'
httpd_1  |
php_1    | Err:5 http://security.debian.org/debian-security buster/updates InRelease
httpd_1  | [req_distinguished_name]
php_1    |   Could not resolve 'security.debian.org'
httpd_1  |
php_1    | Err:6 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 InRelease
httpd_1  | [ v3_req ]
php_1    |   Could not resolve 'repo.mongodb.org'
httpd_1  | basicConstraints = critical, CA:FALSE
php_1    | Err:7 http://apt.postgresql.org/pub/repos/apt stretch-pgdg InRelease
httpd_1  | subjectKeyIdentifier = hash
php_1    |   Could not resolve 'apt.postgresql.org'
httpd_1  | keyUsage = critical, digitalSignature, keyEncipherment
php_1    | Err:8 http://deb.debian.org/debian buster InRelease
httpd_1  | authorityKeyIdentifier = keyid:always,issuer:always
php_1    |   Could not resolve 'deb.debian.org'
httpd_1  | extendedKeyUsage = serverAuth, clientAuth
php_1    | Err:9 http://deb.debian.org/debian buster-updates InRelease
httpd_1  | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/mass/blnlender.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/blnlender.loc.crt
php_1    |   Could not resolve 'deb.debian.org'
httpd_1  | Certificate:
php_1    | Reading package lists...
httpd_1  |     Data:
php_1    | W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  Could not resolve 'deb.debian.org'
httpd_1  |         Version: 3 (0x2)
php_1    | W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease  Could not resolve 'security.debian.org'
httpd_1  |         Serial Number:
php_1    | W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease  Could not resolve 'deb.debian.org'
httpd_1  |             4a:53:c1:72:dd:21:10:ea:c8:8f:f2:49:d9:37:f1:ae:bd:8f:e6:b4
php_1    | W: Failed to fetch http://ftp.debian.org/debian/dists/stretch-backports/InRelease  Could not resolve 'ftp.debian.org'
httpd_1  |         Signature Algorithm: sha256WithRSAEncryption
php_1    | W: Failed to fetch http://packages.blackfire.io/debian/dists/any/InRelease  Could not resolve 'packages.blackfire.io'
httpd_1  |         Issuer: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = cytopia@devilbox.org, dnQualifier = tmWBdh1tKq511lMrvDCEbyXP3nI=
php_1    | W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/artful/InRelease  Could not resolve 'ppa.launchpad.net'
httpd_1  |         Validity
php_1    | W: Failed to fetch http://repo.mongodb.org/apt/debian/dists/stretch/mongodb-org/4.0/InRelease  Could not resolve 'repo.mongodb.org'
httpd_1  |             Not Before: Dec 29 21:33:13 2020 GMT
php_1    | W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/stretch-pgdg/InRelease  Could not resolve 'apt.postgresql.org'
httpd_1  |             Not After : Apr  3 21:33:13 2023 GMT
php_1    | W: Failed to fetch http://dl.yarnpkg.com/debian/dists/stable/InRelease  Could not resolve 'dl.yarnpkg.com'
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = blnlender.loc, emailAddress = admin@blnlender.loc
php_1    | W: Some index files failed to download. They have been ignored, or old ones used instead.
httpd_1  |         Subject Public Key Info:
php_1    | [INFO] Starting supervisord
httpd_1  |             Public Key Algorithm: rsaEncryption
php_1    | 2020-12-29 21:33:10,388 WARN No file matches via include "/etc/supervisor/custom.d/*.conf"
httpd_1  |                 RSA Public-Key: (2048 bit)
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing
httpd_1  |                 Modulus:
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/postfix.conf" during parsing
httpd_1  |                     00:aa:36:0a:c7:a8:50:13:ac:5c:df:3c:a5:4a:10:
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/rsyslogd.conf" during parsing
httpd_1  |                     13:8b:84:d0:1e:70:d0:77:e3:2d:b8:98:60:17:23:
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/socat-11211-memcd-11211.conf" during parsing
httpd_1  |                     fa:f2:50:95:32:8c:a9:88:2f:63:2d:3f:0d:46:b5:
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/socat-27017-mongo-27017.conf" during parsing
httpd_1  |                     e2:9a:7f:9e:8d:98:b2:6c:0d:18:a9:88:f8:7e:f2:
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/socat-3306-mysql-3306.conf" during parsing
httpd_1  |                     b2:99:1d:7c:74:d3:5d:a8:e5:3d:51:15:b5:97:33:
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/socat-443-httpd-443.conf" during parsing
httpd_1  |                     b2:51:e6:c9:b9:b4:c8:06:5c:3e:62:e0:86:b0:53:
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/socat-5432-pgsql-5432.conf" during parsing
httpd_1  |                     03:1c:7e:d2:2f:3f:18:02:56:e5:c9:03:32:61:e8:
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/socat-6379-redis-6379.conf" during parsing
httpd_1  |                     18:84:f7:be:79:3f:c8:92:57:34:fe:4c:bd:33:7a:
php_1    | 2020-12-29 21:33:10,388 INFO Included extra file "/etc/supervisor/conf.d/socat-80-httpd-80.conf" during parsing
httpd_1  |                     d6:cc:12:94:c4:3d:d7:d4:2d:73:c6:1b:e0:1b:b8:
php_1    | 2020-12-29 21:33:10,388 INFO Set uid to user 0 succeeded
httpd_1  |                     9b:2f:df:b5:33:6a:2b:e4:4d:9c:03:fc:b2:9f:c6:
php_1    | 2020-12-29 21:33:10,389 INFO supervisord started with pid 1
httpd_1  |                     d7:7f:0b:81:f2:10:c7:3c:e0:c7:bc:47:21:cf:6f:
php_1    | 2020-12-29 21:33:11,390 INFO spawned: 'rsyslogd' with pid 1497
httpd_1  |                     d2:79:dc:f3:cd:59:0d:a7:38:e6:d2:b8:bd:42:b6:
php_1    | 2020-12-29 21:33:11,391 INFO spawned: 'socat-3306-mysql-3306' with pid 1498
httpd_1  |                     92:0f:01:b6:84:64:b5:4e:c6:3b:fe:bc:17:f3:e6:
php_1    | 2020-12-29 21:33:11,392 INFO spawned: 'socat-6379-redis-6379' with pid 1499
httpd_1  |                     3d:29:85:f6:6c:08:f1:2f:93:a3:96:d8:c0:47:d5:
php_1    | 2020-12-29 21:33:11,393 INFO spawned: 'postfix' with pid 1500
httpd_1  |                     f3:01:87:bf:88:21:7a:5c:ce:03:5e:bd:b1:02:8f:
php_1    | 2020-12-29 21:33:11,394 INFO spawned: 'socat-27017-mongo-27017' with pid 1501
httpd_1  |                     43:a4:62:68:0f:77:0a:93:1f:95:03:06:11:df:fb:
php_1    | 2020-12-29 21:33:11,395 INFO spawned: 'php-fpm' with pid 1502
httpd_1  |                     3e:7b:60:14:63:54:3a:29:51:88:53:d5:95:01:0b:
php_1    | 2020-12-29 21:33:11,395 INFO spawned: 'socat-80-httpd-80' with pid 1503
httpd_1  |                     2e:19
php_1    | 2020-12-29 21:33:11,396 INFO spawned: 'socat-443-httpd-443' with pid 1505
httpd_1  |                 Exponent: 65537 (0x10001)
php_1    | 2020-12-29 21:33:11,397 INFO spawned: 'socat-11211-memcd-11211' with pid 1506
httpd_1  |         X509v3 extensions:
php_1    | 2020-12-29 21:33:11,398 INFO spawned: 'socat-5432-pgsql-5432' with pid 1507
httpd_1  |             X509v3 Basic Constraints: critical
php_1    | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
httpd_1  |                 CA:FALSE
php_1    | rsyslogd: activation of module imklog failed [v8.1901.0 try https://www.rsyslog.com/e/2145 ]
httpd_1  |             X509v3 Subject Key Identifier:
php_1    | 2020-12-29 21:33:12,444 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |                 6E:82:F8:3A:2A:E5:33:A3:80:FE:EF:3E:D9:E0:7C:83:24:44:94:D0
php_1    | 2020-12-29 21:33:12,444 INFO success: socat-3306-mysql-3306 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |             X509v3 Key Usage: critical
php_1    | 2020-12-29 21:33:12,444 INFO success: socat-6379-redis-6379 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |                 Digital Signature, Key Encipherment
php_1    | 2020-12-29 21:33:12,444 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |             X509v3 Authority Key Identifier:
php_1    | 2020-12-29 21:33:12,444 INFO success: socat-27017-mongo-27017 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |                 keyid:B6:65:81:76:1D:6D:2A:AE:75:D6:53:2B:BC:30:84:6F:25:CF:DE:72
php_1    | 2020-12-29 21:33:12,444 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=tmWBdh1tKq511lMrvDCEbyXP3nI=
php_1    | 2020-12-29 21:33:12,444 INFO success: socat-80-httpd-80 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |                 serial:40:9D:61:E7:4F:4F:89:59:73:8A:C0:7B:FB:1F:4C:01:DD:1A:DE:92
php_1    | 2020-12-29 21:33:12,444 INFO success: socat-443-httpd-443 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |
php_1    | 2020-12-29 21:33:12,444 INFO success: socat-11211-memcd-11211 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |             X509v3 Extended Key Usage:
php_1    | 2020-12-29 21:33:12,444 INFO success: socat-5432-pgsql-5432 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  |                 TLS Web Server Authentication, TLS Web Client Authentication
httpd_1  |             X509v3 Subject Alternative Name:
httpd_1  |                 DNS:blnlender.loc, DNS:*.blnlender.loc
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
httpd_1  |          38:0a:b5:70:63:d1:64:9e:c9:9e:e2:26:af:db:ee:eb:74:12:
httpd_1  |          91:3f:00:38:5a:57:b8:b0:56:7b:a8:19:03:cb:73:98:e9:20:
httpd_1  |          f8:5c:cf:e3:a1:c6:23:b4:0f:c4:7f:ad:fc:00:40:99:80:b4:
httpd_1  |          8b:60:53:56:10:9b:10:b9:65:6b:29:b6:00:2f:f1:22:1a:df:
httpd_1  |          4b:36:23:b3:e2:e1:f1:f8:4a:5f:c3:87:f0:25:58:7b:3f:fb:
httpd_1  |          39:0f:d1:5c:d4:cf:04:ea:61:4b:a6:57:15:1f:a7:4a:f8:b7:
httpd_1  |          b7:8e:69:94:d5:a8:c2:83:7c:58:82:b3:93:d9:8a:37:da:73:
httpd_1  |          5f:51:ce:c6:16:42:2f:6f:d7:ee:bd:fc:9d:05:1b:ff:ca:9b:
httpd_1  |          12:0b:f3:55:62:40:cd:5c:90:25:e1:7e:9e:43:fd:61:c2:68:
httpd_1  |          7b:bb:50:b9:93:d2:77:1d:8e:10:73:31:46:15:38:5d:aa:6d:
httpd_1  |          9c:6a:3f:14:c7:18:15:2f:34:49:85:39:da:54:ec:53:3c:b5:
httpd_1  |          b2:e6:43:02:d2:04:dd:d1:01:52:8d:1d:30:54:30:d7:f9:01:
httpd_1  |          b0:5a:70:32:3d:3d:d2:d0:18:03:67:f3:46:61:d8:87:82:fe:
httpd_1  |          eb:c8:af:af:9d:4b:33:ab:77:d9:93:ca:4d:66:88:d6:0e:d0:
httpd_1  |          4b:1e:fb:ef
httpd_1  | /etc/httpd/cert/mass/blnlender.loc.crt: OK
httpd_1  | $ vhost-gen -p "/shared/httpd/blnlender" -n "blnlender" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/blnlender/.devilbox/" -s -v -m redir
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Loading configuration file        (-c): /etc/vhost-gen/mass.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Loading vhost template (global)   (-t): /etc/vhost-gen/templates/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Loading vhost template (override) (-o): /shared/httpd/blnlender/.devilbox/apache24.yml
httpd_1  | vhost-gen: [WARN]  (2020-12-29 21:33:13): Override Vhost template not found: /shared/httpd/blnlender/.devilbox/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Creating vhost type: https and redirect http to https (redir)
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Using vhost name: blnlender.loc
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Log setting: dir -> True
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Log setting: Not specified
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Vhost config written to: /etc/httpd/vhost.d/blnlender.conf
httpd_1  | watcherd: [2020-12-29 21:33:13] [OK]  ADD: succeeded: /shared/httpd/blnlender
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
httpd_1  | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/blnlocal.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=blnlocal.loc/emailAddress=admin@blnlocal.loc' -out /etc/httpd/cert/mass/blnlocal.loc.csr
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/mass/blnlocal.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/blnlocal.loc.crt
httpd_1  | Certificate:
httpd_1  |     Data:
httpd_1  |         Version: 3 (0x2)
httpd_1  |         Serial Number:
httpd_1  |             4a:53:c1:72:dd:21:10:ea:c8:8f:f2:49:d9:37:f1:ae:bd:8f:e6:b5
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 = tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |         Validity
httpd_1  |             Not Before: Dec 29 21:33:13 2020 GMT
httpd_1  |             Not After : Apr  3 21:33:13 2023 GMT
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = blnlocal.loc, emailAddress = admin@blnlocal.loc
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:d8:63:06:29:ab:7d:5b:66:74:6d:c5:4b:12:67:
httpd_1  |                     34:56:27:3c:f7:a9:cc:17:28:c3:f9:27:56:0a:82:
httpd_1  |                     93:8e:46:b2:50:c9:f9:e0:a1:df:70:55:14:fa:2c:
httpd_1  |                     88:3c:fd:0e:7c:a3:77:cb:4e:c5:47:b8:11:39:6a:
httpd_1  |                     f2:96:c2:fa:22:94:03:8c:bf:54:be:15:51:a8:6e:
httpd_1  |                     91:1b:f4:9d:5b:cb:26:39:0b:ad:01:df:0d:bd:f7:
httpd_1  |                     43:b6:db:72:96:40:97:30:1a:ed:97:1b:86:9b:1a:
httpd_1  |                     43:85:a3:e2:39:0a:1e:cd:32:fe:6c:18:d2:28:64:
httpd_1  |                     07:33:31:4f:d2:b0:a2:c4:9d:05:e8:b4:27:ff:ce:
httpd_1  |                     cf:38:eb:99:97:13:e0:1f:87:9d:fc:77:80:db:db:
httpd_1  |                     0b:7f:20:1a:80:0b:7c:92:ec:df:70:30:df:82:5c:
httpd_1  |                     29:b6:5b:5b:4a:21:c0:e3:22:19:9d:66:f8:16:73:
httpd_1  |                     56:87:01:62:2f:50:b2:95:c7:95:f4:0b:2b:ff:cb:
httpd_1  |                     67:84:48:71:56:8f:89:57:55:80:79:ca:7c:06:9e:
httpd_1  |                     df:0d:90:d4:3d:23:73:84:6e:56:01:26:d1:56:7c:
httpd_1  |                     cd:db:cf:8f:9e:b1:5a:62:c1:f7:56:0f:09:a4:e0:
httpd_1  |                     d6:21:c3:5f:c3:b4:51:8b:28:0a:b1:3a:39:93:57:
httpd_1  |                     09:79
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  |                 CB:2B:02:10:5B:2D:A7:B9:E8:A9:79:F8:22:EC:0F:74:B1:DD:DC:60
httpd_1  |             X509v3 Key Usage: critical
httpd_1  |                 Digital Signature, Key Encipherment
httpd_1  |             X509v3 Authority Key Identifier:
httpd_1  |                 keyid:B6:65:81:76:1D:6D:2A:AE:75:D6:53:2B:BC:30:84:6F:25:CF:DE:72
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=tmWBdh1tKq511lMrvDCEbyXP3nI=
httpd_1  |                 serial:40:9D:61:E7:4F:4F:89:59:73:8A:C0:7B:FB:1F:4C:01:DD:1A:DE:92
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:blnlocal.loc, DNS:*.blnlocal.loc
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
httpd_1  |          8e:03:ee:1a:48:ca:5c:91:d1:0f:09:74:37:c5:1c:e2:f0:cc:
httpd_1  |          8e:4c:c0:23:8d:a0:c4:9f:3b:52:13:24:4d:8b:93:24:a5:1f:
httpd_1  |          59:d5:a0:f8:a4:e9:d9:93:f6:1e:93:8f:e5:53:d2:3a:19:a4:
httpd_1  |          63:79:18:6f:e1:9d:8b:78:35:d4:3b:91:1c:ff:77:d7:4d:3e:
httpd_1  |          86:a5:4a:11:c8:c6:e8:d7:cd:54:93:8e:3a:36:e8:d5:f6:15:
httpd_1  |          9f:1f:13:0b:77:a9:e6:8c:84:98:c4:ee:53:37:9f:4b:e4:1e:
httpd_1  |          7b:20:00:9c:76:c0:a7:85:b5:53:25:cc:7a:d9:f2:50:89:bf:
httpd_1  |          a4:6b:c3:96:79:01:58:05:89:54:d2:7d:39:b8:c6:39:26:31:
httpd_1  |          37:07:3d:78:ef:5c:2e:d5:c0:75:d9:58:62:5d:f4:7b:37:6c:
httpd_1  |          a7:63:7e:9a:ff:aa:05:8b:78:63:86:eb:a6:45:96:e5:3a:23:
httpd_1  |          28:2e:eb:36:79:ec:c2:76:ef:91:1c:fc:76:37:9d:28:36:cd:
httpd_1  |          96:7f:ad:d6:52:1c:34:a2:53:89:be:20:f5:4a:b1:46:bc:57:
httpd_1  |          00:31:4d:9c:67:aa:d3:ba:4c:ff:a7:b6:d9:56:a6:4f:88:4c:
httpd_1  |          3f:ec:19:28:34:45:86:22:84:f0:b6:8c:c0:f0:1b:73:e3:2f:
httpd_1  |          58:da:dd:29
httpd_1  | /etc/httpd/cert/mass/blnlocal.loc.crt: OK
httpd_1  | $ vhost-gen -p "/shared/httpd/blnlocal" -n "blnlocal" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/blnlocal/.devilbox/" -s -v -m redir
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Loading configuration file        (-c): /etc/vhost-gen/mass.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Loading vhost template (global)   (-t): /etc/vhost-gen/templates/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Loading vhost template (override) (-o): /shared/httpd/blnlocal/.devilbox/apache24.yml
httpd_1  | vhost-gen: [WARN]  (2020-12-29 21:33:13): Override Vhost template not found: /shared/httpd/blnlocal/.devilbox/apache24.yml
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Creating vhost type: https and redirect http to https (redir)
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Using vhost name: blnlocal.loc
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Log setting: dir -> True
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Log setting: Not specified
httpd_1  | vhost-gen: [INFO]  (2020-12-29 21:33:13): Vhost config written to: /etc/httpd/vhost.d/blnlocal.conf
httpd_1  | watcherd: [2020-12-29 21:33:13] [OK]  ADD: succeeded: /shared/httpd/blnlocal
httpd_1  | AH00112: Warning: DocumentRoot [/shared/httpd/BridgeLoanNetworkUpgrade/htdocs] does not exist
httpd_1  | watcherd: [2020-12-29 21:33:13] [OK]  TRIGGER succeeded: /usr/local/apache2/bin/httpd -k stop
httpd_1  | watcherd: [2020-12-29 21:33:13] Using bash loop to watch for changes.
httpd_1  | [Tue Dec 29 21:33:13.297184 2020] [mpm_event:notice] [pid 233:tid 139655594251392] AH00491: caught SIGTERM, shutting down
httpd_1  | 2020-12-29 21:33:13,308 INFO exited: httpd (exit status 0; expected)
httpd_1  | 2020-12-29 21:33:14,310 INFO spawned: 'httpd' with pid 649
httpd_1  | AH00112: Warning: DocumentRoot [/shared/httpd/BridgeLoanNetworkUpgrade/htdocs] does not exist
httpd_1  | AH00112: Warning: DocumentRoot [/shared/httpd/BridgeLoanNetworkUpgrade/htdocs] does not exist
httpd_1  | [Tue Dec 29 21:33:14.338705 2020] [mpm_event:notice] [pid 649:tid 139874058990720] AH00489: Apache/2.4.46 (Unix) OpenSSL/1.1.1d configured -- resuming normal operations
httpd_1  | [Tue Dec 29 21:33:14.338777 2020] [core:notice] [pid 649:tid 139874058990720] AH00094: Command line: 'httpd -D FOREGROUND'
httpd_1  | 2020-12-29 21:33:15,340 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

.env file:

###
###  ---------------------------------------------------
###  D E V I L B O X   R U N - T I M E   S E T T I N G S
###  ---------------------------------------------------
###
###  All the following settings are applied during
###  $ docker-compose up
###
###  No need to rebuild any docker images!
###
###  IMPORTANT:
###  ----------
###  When changing any values ensure to stop, rm and restart:
###  $ docker-compose stop
###  $ docker-compose rm -f
###  $ docker-compose up
###
###  NOTE:
###  -----
###  For you own custom variables, scroll to the bottom
###

# The following line will disable any shellcheck warnings throughout this file
# shellcheck disable=SC2034,SC2125

###
### Show all executed commands in each
### docker image during docker-compose up?
###
### 0: Quiet
### 1: Verbose
### 2: More verbose
DEBUG_COMPOSE_ENTRYPOINT=2

###
### Log to file or Docker logs.
###
### Logging to file means log files are available under log/
### on your host operating system.
### Logging to Docker logs means log files are streamed to
### stdout and stderr.
###
### 1: Log to Docker logs
### 0: Log to file
###
DOCKER_LOGS=0

###
### Relative or absolute path to the devilbox repository.
### (Used as a prefix for all mount paths)
### There is no need to change this.
###
### The only exception is for OSX users wanting to use NFS
### mounts instead of Filesystem mounts due to degraded performance
### on OSX.
###
### Note: When changing this variable you must re-create the container.
###       Simply remove it, it will be auto-created during the next start:
###
### $ docker-compose rm -f
###
DEVILBOX_PATH=.

###
### At what IP address should the docker services listen
### on the Host computer?
###
### The specified default should be fine for Linux and OSX (127.0.0.1:).
### If you are on windows, you will probably have to change
### it to the IP address of the docker machine.
###
### a.) Leave blank, to listen on all interfaces (no trailing colon ':')
###    LOCAL_LISTEN_ADDR=
### b.) If an IP is specified, note the trailing colon ':'
###    LOCAL_LISTEN_ADDR=127.0.0.1:
###
LOCAL_LISTEN_ADDR=

###
### This is the domain suffix your projects will be made available
### with mass-virtual-hosting.
### It is also required for the internal DNS server to be setup.
###
### Note: Only ALPHA ([a-zA-Z]+) characters are supported.
###
### Example:
###   TLD_SUFFIX=loc
### Makes your project available under xxxx.loc
###
### Example:
###   TLD_SUFFIX=local
### Makes your project available under xxxx.local
###
TLD_SUFFIX=loc

###
### Optional DNS configuration
### Allows you to add extra DNS records (above the wildcard entry)
### Useful if your host computer run other Docker services that you want to connect to or reach
### from within the Devilbox network by a custom hostname.
###
### Format:
### -------
### Resolve any custom defined hostname to an IP address (useable inside container and host os)
###     EXTRA_HOSTS=<hostname>=<ip>[,<hostname>=<ip>]
###
### Resolve any custom defined hostname to whatever IP address a CNAME resolves to
### (Useable inside the container and host OS).
### Note: CNAME must be resolvable by Google DNS
###     EXTRA_HOSTS=<hostname>=<CNAME>[,<hostname>=<CNAME>]
###
### Examples:
### ---------
### EXTRA_HOSTS=hostname.loc=1.2.3.4
### EXTRA_HOSTS=host.loc=1.2.3.4,host.example.org=3.4.5.6
EXTRA_HOSTS=

###
### Set your user id and group id
###
### This should be changed to the value of your local
### users uid and gid
###
### Type `id` on the terminal to find out your values
###
NEW_UID=1000
NEW_GID=1000

###
### Timezone for PHP Docker container (system and php.ini)
###
TIMEZONE=UTC

################################################################################
###
### INTRANET SETTINGS
###
################################################################################

###
### TLD_SUFFIX domains are checked if they are set in the
### host computer /etc/hosts or available via attached DNS server.
### Timeout is done on vhosts.php (intranet) via ajax calls.
### In order to keep performance, set this to a low value.
### DNS checks might not succeed in time on slow machines.
### If DNS is valid, but timeout is expired, set this to a higher value.
###
### DNS_CHECK_TIMEOUT value is how many seconds to time out
### Default is to timeout after 1 second (DNS_CHECK_TIMEOUT=1)
###
DNS_CHECK_TIMEOUT=1

###
### Devilbox UI SSL Certificate generation
###
### When using SSL each certificate requires names for which it is responsible:
### Common Name as well as alternative names.
###
### Specify comma separated hostnames below by which you want to access the Devilbox.
### Those hostnames will be included in the SSL certificate for the Devilbox intranet.
### This has nothing to do for SSL certificates for projects, it is just for the intranet
### itself.
###
DEVILBOX_UI_SSL_CN=localhost,*.localhost,devilbox,*.devilbox,httpd

###
### Devilbox UI Password protection enable/disable (1/0)
###
### Set DEVILBOX_UI_PROTECT to 1 in order to password protect the
### intranet.
###
### Example:
###   DEVILBOX_UI_PROTECT=1
###   DEVILBOX_UI_PROTECT=0
###
DEVILBOX_UI_PROTECT=0

###
### Devilbox UI Password
###
### When DEVILBOX_UI_PROTECT=1, use the following password
### to log in. The password can always be changed.
### When changing the password, make sure to restart your
### PHP container.
###
### Example:
###   DEVILBOX_UI_PASSWORD=my-very-secure-password
###   DEVILBOX_UI_PASSWORD=Some pass with spaces
###
### The default username is 'devilbox'
###
DEVILBOX_UI_PASSWORD=password

###
### Enable the Devilbox Intranet?
###
### Example:
###   DEVILBOX_UI_ENABLE=1
###   DEVILBOX_UI_ENABLE=0
###
DEVILBOX_UI_ENABLE=1

###
### Automatically be logged in into phpMyAdmin
###
### Example:
###   DEVILBOX_VENDOR_PHPMYADMIN_AUTOLOGIN=1
###   DEVILBOX_VENDOR_PHPMYADMIN_AUTOLOGIN=0
###
DEVILBOX_VENDOR_PHPMYADMIN_AUTOLOGIN=1

###
### Automatically be logged in into phpPgAdmin
###
### Example:
###   DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=1
###   DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=0
###
DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=1

################################################################################
###
### 1. Choose Images (Version)
###
################################################################################

###
### You can choose any combination of httpd, mysql, postgresql or php.
### Each of them are fully compatible between one another.
###

###
### 1.1 Choose PHP Server Image
###
### Note: PHP 5.2 is not officially supported. Intranet won't work (due to lack of namespace support).
###       PHP 5.2 only works with Apache 2.4, Nginx stable and Nginx mainline.
###       Use at your own risk.
###
#PHP_SERVER=5.2
#PHP_SERVER=5.3
#PHP_SERVER=5.4
#PHP_SERVER=5.5
#PHP_SERVER=5.6
#PHP_SERVER=7.0
#PHP_SERVER=7.1
#PHP_SERVER=7.2
PHP_SERVER=7.3
#PHP_SERVER=7.4
#PHP_SERVER=8.0
#PHP_SERVER=8.1

###
### 1.2 Choose HTTPD Server Image
###
#HTTPD_SERVER=apache-2.2
HTTPD_SERVER=apache-2.4
#HTTPD_SERVER=nginx-stable
#HTTPD_SERVER=nginx-mainline

###
### 1.3 Choose MySQL Server Image
###
#MYSQL_SERVER=mysql-5.5
#MYSQL_SERVER=mysql-5.6
#MYSQL_SERVER=mysql-5.7
#MYSQL_SERVER=mysql-8.0
#MYSQL_SERVER=mariadb-5.5
#MYSQL_SERVER=mariadb-10.0
#MYSQL_SERVER=mariadb-10.1
#MYSQL_SERVER=mariadb-10.2
#MYSQL_SERVER=mariadb-10.3
#MYSQL_SERVER=mariadb-10.4
#MYSQL_SERVER=mariadb-10.5
#MYSQL_SERVER=percona-5.5
#MYSQL_SERVER=percona-5.6
MYSQL_SERVER=percona-5.7
#MYSQL_SERVER=percona-8.0

###
### 1.4 Choose PostgreSQL Server Image
###
### IMPORTANT: Alpine based images might cause issues on Docker Toolbox or OSX
###            https://github.com/docker/toolbox/issues/510
###
#PGSQL_SERVER=9.0
#PGSQL_SERVER=9.1
#PGSQL_SERVER=9.2
#PGSQL_SERVER=9.2-alpine
#PGSQL_SERVER=9.3
#PGSQL_SERVER=9.3-alpine
#PGSQL_SERVER=9.4
#PGSQL_SERVER=9.4-alpine
#PGSQL_SERVER=9.5
#PGSQL_SERVER=9.5-alpine
#PGSQL_SERVER=9.6
#PGSQL_SERVER=9.6-alpine
#PGSQL_SERVER=10.0
#PGSQL_SERVER=10.0-alpine
#PGSQL_SERVER=10.1
#PGSQL_SERVER=10.1-alpine
#PGSQL_SERVER=10.2
#PGSQL_SERVER=10.2-alpine
#PGSQL_SERVER=10.3
#PGSQL_SERVER=10.3-alpine
#PGSQL_SERVER=10.4
#PGSQL_SERVER=10.4-alpine
#PGSQL_SERVER=10.5
#PGSQL_SERVER=10.5-alpine
#PGSQL_SERVER=10.6
#PGSQL_SERVER=10.6-alpine
#PGSQL_SERVER=10.7
#PGSQL_SERVER=10.7-alpine
#PGSQL_SERVER=10.8
#PGSQL_SERVER=10.8-alpine
#PGSQL_SERVER=10.9
#PGSQL_SERVER=10.9-alpine
#PGSQL_SERVER=10.10
#PGSQL_SERVER=10.10-alpine
#PGSQL_SERVER=10.11
#PGSQL_SERVER=10.11-alpine
#PGSQL_SERVER=11.0
#PGSQL_SERVER=11.0-alpine
#PGSQL_SERVER=11.1
#PGSQL_SERVER=11.1-alpine
#PGSQL_SERVER=11.2
#PGSQL_SERVER=11.2-alpine
#PGSQL_SERVER=11.3
#PGSQL_SERVER=11.3-alpine
#PGSQL_SERVER=11.4
#PGSQL_SERVER=11.4-alpine
#PGSQL_SERVER=11.5
#PGSQL_SERVER=11.5-alpine
#PGSQL_SERVER=11.6
#PGSQL_SERVER=11.6-alpine
#PGSQL_SERVER=11.7
#PGSQL_SERVER=11.7-alpine
#PGSQL_SERVER=11.8
#PGSQL_SERVER=11.8-alpine
#PGSQL_SERVER=11.9
#PGSQL_SERVER=11.9-alpine
#PGSQL_SERVER=12.0
#PGSQL_SERVER=12.0-alpine
#PGSQL_SERVER=12.1
#PGSQL_SERVER=12.1-alpine
#PGSQL_SERVER=12.2
#PGSQL_SERVER=12.2-alpine
#PGSQL_SERVER=12.3
#PGSQL_SERVER=12.3-alpine
#PGSQL_SERVER=12.4
#PGSQL_SERVER=12.4-alpine
#PGSQL_SERVER=13.0
#PGSQL_SERVER=13.0-alpine
PGSQL_SERVER=latest
#PGSQL_SERVER=alpine

###
### 1.5 Choose Redis Server Image
###
### IMPORTANT: Alpine based images might cause issues on Docker Toolbox or OSX
###            https://github.com/docker/toolbox/issues/510
###
#REDIS_SERVER=2.8
#REDIS_SERVER=3.0
#REDIS_SERVER=3.0-alpine
#REDIS_SERVER=3.2
#REDIS_SERVER=3.2-alpine
#REDIS_SERVER=4.0
#REDIS_SERVER=4.0-alpine
#REDIS_SERVER=5.0
#REDIS_SERVER=5.0-alpine
REDIS_SERVER=6.0
#REDIS_SERVER=6.0-alpine
#REDIS_SERVER=latest
#REDIS_SERVER=alpine

###
### 1.6 Choose Memcached Server Image
###
### IMPORTANT: Alpine based images might cause issues on Docker Toolbox or OSX
###            https://github.com/docker/toolbox/issues/510
###
#MEMCD_SERVER=1.4
#MEMCD_SERVER=1.4-alpine
#MEMCD_SERVER=1.5
#MEMCD_SERVER=1.5-alpine
MEMCD_SERVER=1.6
#MEMCD_SERVER=1.6-alpine
#MEMCD_SERVER=latest
#MEMCD_SERVER=alpine

###
### 1.7 Choose Mongo Server Image
###
#MONGO_SERVER=2.8
#MONGO_SERVER=3.0
#MONGO_SERVER=3.2
#MONGO_SERVER=3.4
#MONGO_SERVER=3.6
#MONGO_SERVER=4.0
#MONGO_SERVER=4.2
MONGO_SERVER=4.4
#MONGO_SERVER=latest

################################################################################
###
### 2. Host Mounts (Your computer)
###
################################################################################

###
### Global mount options
###
### Note: When adding custom mount options, ensure to start with a
###       leading ',' (comma), as those options are prepended to already
###       existing mount options.
###
### Note: If no mount options are specified, leave this variable empty
###       and do not add a leading ',' (comma).
###
### MOUNT_OPTIONS=,cached
### MOUNT_OPTIONS=
###
### Example: Allow to share mounts accross container with SELINUX enabled
###
### MOUNT_OPTIONS=,z
###
MOUNT_OPTIONS=

###
### Local filesystem path to www projects.
###
### Note: When changing this variable you must re-create the container.
###       Simply remove it, it will be auto-created during the next start:
###
### $ docker-compose rm -f
###
HOST_PATH_HTTPD_DATADIR=./data/www

###
### Local filesystem path to where your backups are stored
###
### Note: When changing this variable you must re-create the container.
###       Simply remove it, it will be auto-created during the next start:
###
### $ docker-compose rm -f
###
HOST_PATH_BACKUPDIR=./backups

###
### The path on your host OS of the ssh directory to be mounted into the
### PHP container into /home/devilbox/.ssh.
###
### IMPORTANT: The path is mounted read-only to ensure you cannot accidentally
##             delete anything inside the php container.
###
HOST_PATH_SSH_DIR=~/.ssh

################################################################################
###
### 3. PHP Docker Settings
###
################################################################################

###
### Enable certain PHP modules which are not enabled by default
###
### Currently the only modules that can be enabled are 'ioncube' and 'blackfire'
### Also ensure to disable xdebug when using any of the above:
### https://xdebug.org/docs/install#compat
###
### PHP_MODULES_ENABLE=ioncube, blackfire
###
PHP_MODULES_ENABLE=

###
### Disable any PHP modules that you don't require
###
### Specify a comma separated list without spaces of modules to disable
###
### PHP_MODULES_DISABLE=xdebug,imagick,swoole
###
PHP_MODULES_DISABLE=oci8,PDO_OCI,pdo_sqlsrv,sqlsrv,rdkafka,swoole

###
### Postfix settings for email catch-all
###
### When set to '1' postfix is normally started and made available. However you still need
### to configure it to your needs yourself. For that you can use the autostart scripts
### and define a couple of 'postconf -e name=value' commands.
###
### When set to '2' (email catch-all), no mail will leave the Devilbox. It is automatically
### internally routed the the devilbox mail account and you can see each sent mail
### in the bundled intranet: https://localhost/mail.php
###
### Values:
### 0: Disable postfix (do not start it)
### 1: Enable/Start postfix
### 2: Enable/Start postfix and enable email catch-all
###
PHP_MAIL_CATCH_ALL=2

###
### Configure everything else about PHP in
### * cfg/php-ini-X.X/*.ini
### * cfg/php-fpm-X.X/*.conf

################################################################################
###
### 4. HTTPD Docker Settings
###
################################################################################

###
### Expose HTTPD Port to Host
###
HOST_PORT_HTTPD=80
HOST_PORT_HTTPD_SSL=443

###
### SSL (HTTP/HTTPS) settings for automated vhost generation
###
### By default each project will have two vhosts (one for HTTP and one for HTTPS).
### You can control the SSL settings for your projects via the below stated values.
###
### This is internally achieved via the '-m' argument of https://github.com/devilbox/vhost-gen
###
### Values:
###   * both:  Serve HTTP and HTTPS for all projects
###   * redir: HTTP always redirects to HTTPS
###   * ssl:   Only serve HTTPS
###   * plain: Only serve HTTP
###
HTTPD_VHOST_SSL_TYPE=redir

###
### Document Root Subdirectory
###
### In your project directory, which subfolder should
### serve your files?
###
### When changing this value, restart the devilbox.
###
HTTPD_DOCROOT_DIR=htdocs

###
### Per vHost Config Subdirectory
###
### In your project directory, which subfolder should
### hold apache, nginx templates for a customized vhost?
###
### When changing this value, restart the devilbox.
###
HTTPD_TEMPLATE_DIR=.devilbox

###
### Webserver timeout (in seconds) to upstream PHP-FPM server
###
### This value should be greater than PHP's max_execution_time,
### otherwise the php script could still run and the webserver will
### simply drop the connection before getting an answer by PHP.
###
HTTPD_TIMEOUT_TO_PHP_FPM=180

###
### NGINX ONLY
###
### Set worker_processes and worker_connections
###
### https://nginx.org/en/docs/ngx_core_module.html#worker_processes
### https://nginx.org/en/docs/ngx_core_module.html#worker_connections
###
HTTPD_NGINX_WORKER_PROCESSES=auto
HTTPD_NGINX_WORKER_CONNECTIONS=1024

################################################################################
###
### 5. MySQL Docker Settings
###
################################################################################

###
### MySQL root user password
###
### The password is required for the initial creation of the MySQL database
### as well as the Devilbox intranet to display schema and configuration settings.
###
### If you change your MySQL root user password via mysql cli, phpMyAdmin or other tools
### after the database has been created, ensure to adjust the value here accordingly as well.
###
### If you only change this value here after the database has been created,
### the MySQL root user password will not actually be changed and the Devilbox intranet
### won't be able to connect to the MySQL service.
###
MYSQL_ROOT_PASSWORD=Boogy*Man225

###
### Expose MySQL Port to Host
###
HOST_PORT_MYSQL=3306

################################################################################
###
### 6. PostgreSQL Docker Settings
###
################################################################################

###
### PostgreSQL 'root' user name (usually postgres)
###
PGSQL_ROOT_USER=postgres

###
### PostgreSQL 'root' user password
###
### If you want to set a password, ensure to remove 'trust' from
### PGSQL_HOST_AUTH_METHOD below
###
PGSQL_ROOT_PASSWORD=Boogy*Man225

###
### In order to not use a password for PostgreSQL, keep this value at 'trust'
###
PGSQL_HOST_AUTH_METHOD=trust

###
### Expose PostgreSQL Port to Host
###
HOST_PORT_PGSQL=5432

################################################################################
###
### 7. Redis Docker Settings
###
################################################################################

###
### Expose Redis Port to Host
###
HOST_PORT_REDIS=6379

###
### Custom startup arguments
###
### Apply custom startup arguments to redis
###
### Example: Password protection
###   Add password protection to the Redis server by specifying it should
###   require a password.
###   Note: Do not add quotes or spaces to the password
###
###   REDIS_ARGS=--requirepass my-redis-root-password
###
### Example: Verbosity
###
###   REDIS_ARGS=--loglevel verbose
###
REDIS_ARGS=
#REDIS_ARGS=--loglevel verbose --requirepass my-redis-root-password

################################################################################
###
### 8. Memcached Docker Settings
###
################################################################################

###
### Expose Memcached Port to Host
###
HOST_PORT_MEMCD=11211

################################################################################
###
### 9. MongoDB Docker Settings
###
################################################################################

###
### Expose MongoDB Port to Host
###
HOST_PORT_MONGO=27017

################################################################################
###
### 10. Bind Docker Settings
###
################################################################################

###
### Expose Bind Port to Host
###
HOST_PORT_BIND=53

###
### Add comma separated DNS server from which you want to receive DNS
### You can also add DNS servers from your LAN (if any are available)
###
BIND_DNS_RESOLVER=8.8.8.8,8.8.4.4

###
### Validate DNSSEC
###
### Values:
###  no:    DNSSEC validation is disabled
###  yes:   DNSSEC validation is enabled, but a trust anchor must be manually configured.
###  auto:  DNSSEC validation is enabled, and a default trust anchor for root zone is used.
###
BIND_DNSSEC_VALIDATE=no

###
### Bind timing options (time in seconds)
###
### Leave empty for defaults.
### Only change when you know what you are doing.
###
BIND_TTL_TIME=
BIND_REFRESH_TIME=
BIND_RETRY_TIME=
BIND_EXPIRY_TIME=
BIND_MAX_CACHE_TIME=

###
### Show DNS Queries in Docker logs output?
###
### 1: Yes
### 0: No
BIND_LOG_DNS_QUERIES=0

################################################################################
###
### 11. Custom variables
###
################################################################################

###
### Any variable defined in this file will be available
### as environment variables to your PHP/HHV Docker container.
###
### This might be useful to set application environment and retrieve
### them via: <?php getenv('MY_APPLICATION_ENV'); ?>
###

###
### Example:
### <?php echo getenv('Foo'); ?> would produce: 'some value'
###
#Foo=some value

cfg/php-startup-7.3/01-apt-update.sh:

#!/bin/bash

DEBIAN_FRONTEND=noninteractive apt-get update  -q
cytopia commented 3 years ago

@wp4nuv Can you startup without the custom script, enter the container and check if you have internet access from there at all. (ping 8.8.8.8 and ping google.de)

wp4nuv commented 3 years ago

I can't explain why now it works. Chuck it up to user failure. Sorry for the confusion.

wp4nuv commented 3 years ago

I know its a late reply, but after I posted above I realized that the issue is due to being connected to a VPN. I found official Microsoft documentation addressing this issue: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#bash-loses-network-connectivity-once-connected-to-a-vpn

I'm going to check that out today and report back.

cytopia commented 3 years ago

I realized that the issue is due to being connected to a VPN

OK, thanks for the feedback. I will close this bug report then, as it was a local VPN issue

wp4nuv commented 3 years ago

I know this has been closed for a while, but after exhaustively checking out issues in WSL2, it seems to me that its a routing issue from inside the containers towards WSL. For example, if doing docker exec -it into the DNS container, there is no name resolution at all. You would think that the DNS server should be able to do this. Once disconnected from the VPN, resolution returns. Pings from the PHP container don't seem to reach the DNS server as they don't appear on the bind docker logs. I have added the VPN's DNS addresses to the .env file, but I'm not certain if those severs are being attempted. The values from the .env file do show up in /etc/bind/named.conf.options. I admit that I may be missing the point here so any guidance would be helpful from anyone.