Closed stefanlesik closed 6 years ago
Hi @stefanlesik
within auto DNS
What exactly do you mean by that?
Can you try any of the nginx webserver's and see if this causes performance issues as well?
Seeing the same thing with Docker Engine: 18.03.1-ce, Compose: 1.21.1. Recently updated docker and an apple security patch which required a restart. Now getting 504 gateway timeout errors on /wp-admin.
hmm, well, went to dive in to the issue this evening and it's working now ¯_(ツ)_/¯ it may have been the network I was on today. I will check again tomorrow.
@stefanlesik please attach output from docker-compose logs
as well as the log files from ./log/
for your httpd and php version.
Same on Windows 10, Docker 18.03.1-ce-win65 (17513).
Same on Manjaro, 504, restart of docker (sql) temp fix it
@JakubHelis @adammarton @cnewfeldt @stefanlesik I just merged an update for the webserver. Could you try again please after pulling latest master branch.
@cytopia
For me it's still the same. + reloading the query (refresh page, retry ajax) mostly gives positive result ( working)
@cytopia Interesting fact - The troubles gone when i switch from apache 2.4 to ngnix. ( newest version of devilbox)
@JakubHelis thanks for the heads up
I also have mac users using my setup where devilbox just gets "angry" and my php code stops responding....usually fixed by a docker-compose stop && docker-compose start
Host machine with Linux Manjaro, also experiencing 504 Gateway on admin panel of Prestashop projects. Seems better after changing Apache 2.4 to 2.2.
Anyone having this issue on a different web server than Apache 2.4?
Yes, on nginx-stable, but this might be because of my raped WordPress instance.
Might be related: https://github.com/cytopia/devilbox/issues/280#issuecomment-398953653
What about increasing timeout value of Apache 2.4
Create this file: cfg/apache-2.4/timeout.cfg
Timeout 600
in my issue, the code running should not take 60 seconds, but when this occurs, its like php fpm is frozen. And changing the timeout would just make it wait longer before reporting back.
I wonder if it may be related to database connections used in the php code when it hangs.
I might have found a proxy timeout overwrite by adding a vhost-gen template to the project which has timeouts (How to here: https://devilbox.readthedocs.io/en/latest/configuration-project/custom-vhost.html)
If this is the catch I will increase the Proxy timeout by default. Please let me know how it goes
The specific line is this:
# enablereuse requires Apache 2.4.11 or later
<Proxy "fcgi://php:9000/" enablereuse=on max=10>
ProxySet timeout=3600
ProxySet connectiontimeout=3600
</Proxy>
The full template is for apache24.yml
is here:
---
# Apache 2.4 vHost Template defintion for vhost-gen.py
#
# The 'feature' section contains optional features that can be enabled via
# conf.yml and will then be replaced into the main vhost ('structure' section)
# into their corresponding position:
#
# __XDOMAIN_REQ__
# __PHP_FPM__
# __ALIASES__
# __DENIES__
# __STATUS__
#
# The features itself also contain variables to be adjusted in conf.yml
# and will then be replaced in their corresponding feature section
# before being replaced into the vhost section (if enabled):
#
# PHP-FPM:
# __PHP_ADDR__
# __PHP_PORT__
# XDomain:
# __REGEX__
# Alias:
# __REGEX__
# __PATH__
# Deny:
# __REGEX__
# Status:
# __REGEX__
#
# Variables to be replaced directly in the vhost configuration can also be set
# in conf.yml and include:
# __VHOST_NAME__
# __DOCUMENT_ROOT__
# __INDEX__
# __ACCESS_LOG__
# __ERROR_LOG__
# __PHP_ADDR__
# __PHP_PORT__
#
###
### Basic vHost skeleton
###
vhost: |
<VirtualHost __DEFAULT_VHOST__:__PORT__>
ServerName __VHOST_NAME__
CustomLog "__ACCESS_LOG__" combined
ErrorLog "__ERROR_LOG__"
__REDIRECT__
__SSL__
__VHOST_DOCROOT__
__VHOST_RPROXY__
__PHP_FPM__
__ALIASES__
__DENIES__
__SERVER_STATUS__
# Custom directives
__CUSTOM__
</VirtualHost>
###
### vHost Type (normal or reverse proxy)
###
vhost_type:
# Normal vHost (-p)
docroot: |
# Define the vhost to serve files
DocumentRoot "__DOCUMENT_ROOT__"
<Directory "__DOCUMENT_ROOT__">
DirectoryIndex __INDEX__
AllowOverride All
Options All
RewriteEngine on
RewriteBase /
Order allow,deny
Allow from all
Require all granted
</Directory>
# Reverse Proxy (-r)
rproxy: |
# Define the vhost to reverse proxy
ProxyRequests off
ProxyPass __LOCATION__ __PROXY_PROTO://__PROXY_ADDR__:__PROXY_PORT__
ProxyHTMLURLMap __PROXY_PROTO://__PROXY_ADDR__:__PROXY_PORT__ __LOCATION__
<location __LOCATION__>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / __LOCATION__
ProxyHTMLURLMap __LOCATION__ __LOCATION__
RequestHeader unset Accept-Encoding
</location>
###
### Optional features to be enabled in vHost
###
features:
# SSL Configuration
ssl: |
SSLEngine on
SSLCertificateFile "__SSL_PATH_CRT__"
SSLCertificateKeyFile "__SSL_PATH_KEY__"
SSLProtocol __SSL_PROTOCOLS__
SSLHonorCipherOrder __SSL_HONOR_CIPHER_ORDER__
SSLCipherSuite __SSL_CIPHERS__
# Redirect to SSL directive
redirect: |
RedirectMatch (.*) https://__VHOST_NAME__:__SSL_PORT__$1
# PHP-FPM will not be applied to a reverse proxy!
php_fpm: |
# PHP-FPM Definition
<FilesMatch \.php$>
Require all granted
SetHandler proxy:fcgi://__PHP_ADDR__:__PHP_PORT__
</FilesMatch>
# enablereuse requires Apache 2.4.11 or later
<Proxy "fcgi://__PHP_ADDR__:__PHP_PORT__/" enablereuse=on max=10>
ProxySet timeout=3600
ProxySet connectiontimeout=3600
</Proxy>
# If the php file doesn't exist, disable the proxy handler.
# This will allow .htaccess rewrite rules to work and
# the client will see the default 404 page of Apache
RewriteCond %{REQUEST_FILENAME} \.php$
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_URI} !-f
RewriteRule (.*) - [H=text/html]
alias: |
# Alias Definition
Alias "__ALIAS__" "__PATH____ALIAS__"
<Location "__ALIAS__">
__XDOMAIN_REQ__
</Location>
<Directory "__PATH____ALIAS__">
Order allow,deny
Allow from all
Require all granted
</Directory>
deny: |
# Deny Definition
<FilesMatch "__REGEX__">
Order allow,deny
Deny from all
</FilesMatch>
server_status: |
# Status Page
<Location __REGEX__>
SetHandler server-status
Order allow,deny
Allow from all
Require all granted
</Location>
xdomain_request: |
# Allow cross domain request from these hosts
SetEnvIf Origin "__REGEX__" AccessControlAllowOrigin=$0
Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Max-Age "0"
Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
# Added a rewrite to respond with a 200 SUCCESS on every OPTIONS request.
RewriteEngine On
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.*)$ $1 [R=200,L]
Once the template is applied, restart the devilbox and enter the webserver (docker-compose exec httpd bash
) to see if those changes are actually picked up for the speicifc vhost
Also let me now after what time the Gateway Timeout
error appears (roughly in seconds).
What did you set your PHP's max_execution_time
to?
I have the same issue as well in Mac OS El Capitan. I switched from PHP 7.2 to PHP 5.6 and I have 504 error and also some sites show up as they don't have /etc/hosts entry even though they totally do.
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 dockers!
###
### For custom variables, scroll to the bottom
###
###
### Show all executed commands in each
### docker image during docker-compose up?
###
### 1: Yes
### 0: No
DEBUG_COMPOSE_ENTRYPOINT=1
###
### 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 color ':')
### 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=501
NEW_GID=20
###
### Timezone for all dockers and service config files
###
TIMEZONE=Europe/Berlin
################################################################################
###
### 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
###
### 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
################################################################################
###
### 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
###
#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
###
### 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=percona-5.5
#MYSQL_SERVER=percona-5.6
#MYSQL_SERVER=percona-5.7
###
### 1.4 Choose PostgreSQL Server Image
###
#PGSQL_SERVER=9.1
#PGSQL_SERVER=9.2
#PGSQL_SERVER=9.3
#PGSQL_SERVER=9.4
#PGSQL_SERVER=9.5
#PGSQL_SERVER=9.6
#PGSQL_SERVER=10.0
#PGSQL_SERVER=10.1
#PGSQL_SERVER=10.2
PGSQL_SERVER=10.3
###
### 1.5 Choose Redis Server Image
###
#REDIS_SERVER=2.8
#REDIS_SERVER=3.0
#REDIS_SERVER=3.2
REDIS_SERVER=4.0
###
### 1.6 Choose Memcached Server Image
###
#MEMCD_SERVER=1.4.21
#MEMCD_SERVER=1.4.22
#MEMCD_SERVER=1.4.23
#MEMCD_SERVER=1.4.24
#MEMCD_SERVER=1.4.25
#MEMCD_SERVER=1.4.26
#MEMCD_SERVER=1.4.27
#MEMCD_SERVER=1.4.28
#MEMCD_SERVER=1.4.29
#MEMCD_SERVER=1.4.30
#MEMCD_SERVER=1.4.31
#MEMCD_SERVER=1.4.32
#MEMCD_SERVER=1.4.33
#MEMCD_SERVER=1.4.34
#MEMCD_SERVER=1.4.35
#MEMCD_SERVER=1.4.36
#MEMCD_SERVER=1.4.37
#MEMCD_SERVER=1.4.38
#MEMCD_SERVER=1.4.39
#MEMCD_SERVER=1.5.0
#MEMCD_SERVER=1.5.1
#MEMCD_SERVER=1.5.2
#MEMCD_SERVER=1.5.3
#MEMCD_SERVER=1.5.4
MEMCD_SERVER=1.5.5
#MEMCD_SERVER=latest
###
### 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.5
#MONGO_SERVER=3.6
MONGO_SERVER=3.7
################################################################################
###
### 2. Host Mounts (Your computer)
###
################################################################################
###
### 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 mysql/mariadb datadir.
###
### This can be an existing mysql data directory or empty.
### If it already is a mysql data directory with content,
### it will be mounted into the docker and used.
###
### If this directory is empty, a new mysql database will be
### created.
###
### Note: Inside this path, a subdirectory with the mysql|mariadb
### version will be created where the actual data resides.
### This is to protect databases from being altered by
### newer or older mysql|mariadb server versions.
###
### 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_MYSQL_DATADIR=./data/mysql
###
### Local filesystem path to postgresql datadir.
###
### This can be an existing postgresql data directory or empty.
### If it already is a postgresql data directory with content,
### it will be mounted into the docker and used.
###
### If this directory is empty, a new postgresql database will be
### created.
###
### Note: Inside this path, a subdirectory with the postgresql
### version will be created where the actual data resides.
### This is to protect databases from being altered by
### newer or older postgres server versions.
###
### 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_PGSQL_DATADIR=./data/pgsql
###
### Local filesystem path to mongodb datadir.
###
### This can be an existing mongodb data directory or empty.
### If it already is a mongodb data directory with content,
### it will be mounted into the docker and used.
###
### If this directory is empty, a new mongodb database will be
### created.
###
### 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_MONGO_DATADIR=./data/mongo
################################################################################
###
### 3. PHP Docker Settings
###
################################################################################
###
### Enable certain PHP modules which are not enabled by default
###
### Currently the only module that can be enabled is 'ioncube'
###
### PHP_MODULES_ENABLE=ioncube
###
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=
###
### 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
###
### 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
################################################################################
###
### 5. MySQL Docker Settings
###
################################################################################
###
### MySQL root user password
###
### If $HOST_PATH_MYSQL_DATADIR already contains an existing
### mysql datadir, enter the password for the existing mysql database
###
### If $HOST_PATH_MYSQL_DATADIR is empty, choose a new password that
### will be applied
###
MYSQL_ROOT_PASSWORD=
###
### Custom MySQL Runtime Settings
###
MYSQL_GENERAL_LOG=0
###
### 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
###
PGSQL_ROOT_PASSWORD=
###
### Expose PostgreSQL Port to Host
###
HOST_PORT_PGSQL=5432
################################################################################
###
### 7. Redis Docker Settings
###
################################################################################
###
### Expose Redis Port to Host
###
HOST_PORT_REDIS=6379
################################################################################
###
### 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=1053
###
### 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
MIRs-MacBook-Pro:devilbox mirsiddika$
Docker logs:
MIRs-MacBook-Pro:devilbox mirsiddika$ docker-compose logs
Attaching to devilbox_pgsql_1, devilbox_mongo_1, devilbox_redis_1, devilbox_mysql_1, devilbox_memcd_1, devilbox_httpd_1, devilbox_php_1, devilbox_bind_1
redis_1 | 1:C 25 Jul 15:41:32.987 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1 | 1:C 25 Jul 15:41:32.997 # Redis version=4.0.10, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1 | 1:C 25 Jul 15:41:32.998 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1 | 1:M 25 Jul 15:41:33.000 * Running mode=standalone, port=6379.
redis_1 | 1:M 25 Jul 15:41:33.000 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1 | 1:M 25 Jul 15:41:33.000 # Server initialized
redis_1 | 1:M 25 Jul 15:41:33.000 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1 | 1:M 25 Jul 15:41:33.000 * Ready to accept connections
redis_1 | 1:signal-handler (1532534858) Received SIGTERM scheduling shutdown...
redis_1 | 1:M 25 Jul 16:07:38.558 # User requested shutdown...
redis_1 | 1:M 25 Jul 16:07:38.558 * Saving the final RDB snapshot before exiting.
redis_1 | 1:M 25 Jul 16:07:38.562 * DB saved on disk
redis_1 | 1:M 25 Jul 16:07:38.562 # Redis is now ready to exit, bye bye...
redis_1 | 1:C 25 Jul 16:07:51.334 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1 | 1:C 25 Jul 16:07:51.334 # Redis version=4.0.10, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1 | 1:C 25 Jul 16:07:51.334 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1 | 1:M 25 Jul 16:07:51.336 * Running mode=standalone, port=6379.
redis_1 | 1:M 25 Jul 16:07:51.336 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1 | 1:M 25 Jul 16:07:51.336 # Server initialized
redis_1 | 1:M 25 Jul 16:07:51.337 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1 | 1:M 25 Jul 16:07:51.339 * DB loaded from disk: 0.000 seconds
redis_1 | 1:M 25 Jul 16:07:51.339 * Ready to accept connections
mongo_1 | 2018-07-25T15:41:34.259+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
mongo_1 | 2018-07-25T15:41:34.300+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=5205f3e7dc6d
mongo_1 | 2018-07-25T15:41:34.301+0000 I CONTROL [initandlisten] db version v3.7.9
mongo_1 | 2018-07-25T15:41:34.301+0000 I CONTROL [initandlisten] git version: 681d1e0bf8d45c366848678811bad6f1a471f20c
mongo_1 | 2018-07-25T15:41:34.301+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
mongo_1 | 2018-07-25T15:41:34.301+0000 I CONTROL [initandlisten] allocator: tcmalloc
mongo_1 | 2018-07-25T15:41:34.301+0000 I CONTROL [initandlisten] modules: none
mongo_1 | 2018-07-25T15:41:34.301+0000 I CONTROL [initandlisten] build environment:
mongo_1 | 2018-07-25T15:41:34.301+0000 I CONTROL [initandlisten] distmod: ubuntu1604
mongo_1 | 2018-07-25T15:41:34.302+0000 I CONTROL [initandlisten] distarch: x86_64
mongo_1 | 2018-07-25T15:41:34.302+0000 I CONTROL [initandlisten] target_arch: x86_64
mongo_1 | 2018-07-25T15:41:34.302+0000 I CONTROL [initandlisten] options: { net: { bindIpAll: true } }
mongo_1 | 2018-07-25T15:41:34.319+0000 I STORAGE [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
mongo_1 | 2018-07-25T15:41:34.324+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=487M,session_max=20000,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),statistics_log=(wait=0),verbose=(recovery_progress),
mongo_1 | 2018-07-25T15:41:46.993+0000 I STORAGE [initandlisten] WiredTiger message [1532533306:993259][1:0x7ff916f4fa00], txn-recover: Main recovery loop: starting at 14/19584
mongo_1 | 2018-07-25T15:41:47.643+0000 I STORAGE [initandlisten] WiredTiger message [1532533307:643567][1:0x7ff916f4fa00], txn-recover: Recovering log 14 through 15
mongo_1 | 2018-07-25T15:41:48.204+0000 I STORAGE [initandlisten] WiredTiger message [1532533308:204229][1:0x7ff916f4fa00], txn-recover: Recovering log 15 through 15
mongo_1 | 2018-07-25T15:41:48.292+0000 I STORAGE [initandlisten] WiredTiger message [1532533308:292260][1:0x7ff916f4fa00], txn-recover: Set global recovery timestamp: 0
mongo_1 | 2018-07-25T15:41:48.313+0000 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)
mongo_1 | 2018-07-25T15:41:48.364+0000 I CONTROL [initandlisten]
mongo_1 | 2018-07-25T15:41:48.365+0000 I CONTROL [initandlisten] ** NOTE: This is a development version (3.7.9) of MongoDB.
mongo_1 | 2018-07-25T15:41:48.365+0000 I CONTROL [initandlisten] ** Not recommended for production.
mongo_1 | 2018-07-25T15:41:48.365+0000 I CONTROL [initandlisten]
mongo_1 | 2018-07-25T15:41:48.365+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
mongo_1 | 2018-07-25T15:41:48.365+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
mongo_1 | 2018-07-25T15:41:48.365+0000 I CONTROL [initandlisten]
mongo_1 | 2018-07-25T15:41:48.486+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
mongo_1 | 2018-07-25T15:41:48.503+0000 I NETWORK [initandlisten] waiting for connections on port 27017
mongo_1 | 2018-07-25T15:55:19.977+0000 I NETWORK [listener] connection accepted from 172.16.238.10:56518 #1 (1 connection now open)
mongo_1 | 2018-07-25T15:55:19.984+0000 I NETWORK [conn1] received client metadata from 172.16.238.10:56518 conn1: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T15:55:20.123+0000 I NETWORK [listener] connection accepted from 172.16.238.10:56558 #2 (2 connections now open)
mongo_1 | 2018-07-25T15:55:20.124+0000 I NETWORK [conn2] received client metadata from 172.16.238.10:56558 conn2: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T15:55:20.127+0000 I NETWORK [listener] connection accepted from 172.16.238.10:56562 #3 (3 connections now open)
mongo_1 | 2018-07-25T15:55:20.128+0000 I NETWORK [conn3] received client metadata from 172.16.238.10:56562 conn3: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T15:55:24.256+0000 I NETWORK [conn1] end connection 172.16.238.10:56518 (2 connections now open)
mongo_1 | 2018-07-25T15:55:24.257+0000 I NETWORK [conn2] end connection 172.16.238.10:56558 (1 connection now open)
mongo_1 | 2018-07-25T15:55:24.258+0000 I NETWORK [conn3] end connection 172.16.238.10:56562 (0 connections now open)
mongo_1 | 2018-07-25T16:06:49.027+0000 I NETWORK [listener] connection accepted from 172.16.238.10:56740 #4 (1 connection now open)
mongo_1 | 2018-07-25T16:06:49.028+0000 I NETWORK [conn4] received client metadata from 172.16.238.10:56740 conn4: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:06:49.109+0000 I NETWORK [listener] connection accepted from 172.16.238.10:56780 #5 (2 connections now open)
mongo_1 | 2018-07-25T16:06:49.111+0000 I NETWORK [conn5] received client metadata from 172.16.238.10:56780 conn5: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:06:49.115+0000 I NETWORK [listener] connection accepted from 172.16.238.10:56784 #6 (3 connections now open)
mongo_1 | 2018-07-25T16:06:49.116+0000 I NETWORK [conn6] received client metadata from 172.16.238.10:56784 conn6: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:06:49.313+0000 I NETWORK [listener] connection accepted from 172.16.238.10:56822 #7 (4 connections now open)
mongo_1 | 2018-07-25T16:06:49.314+0000 I NETWORK [conn7] received client metadata from 172.16.238.10:56822 conn7: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:06:49.386+0000 I NETWORK [listener] connection accepted from 172.16.238.10:56862 #8 (5 connections now open)
mysql_1 | [INFO] Setting docker timezone to: Europe/Berlin
mysql_1 | root $ rm /etc/localtime
mysql_1 | root $ ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
mysql_1 | [INFO] Docker date set to: Wed Jul 25 17:41:32 CEST 2018
mysql_1 | [INFO] Setting MySQL: [mysqld] general-log=0
mysql_1 | root $ touch /etc/my.cnf.d/logging.cnf
mysql_1 | root $ echo '[mysqld]' >> /etc/my.cnf.d/logging.cnf
mysql_1 | root $ echo 'general-log = 0' >> /etc/my.cnf.d/logging.cnf
mysql_1 | [INFO] Setting MySQL: [client] socket=/tmp/mysql/mysqld.sock
mysql_1 | root $ touch /etc/my.cnf.d/socket.cnf
mysql_1 | root $ echo '[client]' >> /etc/my.cnf.d/socket.cnf
mysql_1 | root $ echo 'socket = /tmp/mysql/mysqld.sock' >> /etc/my.cnf.d/socket.cnf
mysql_1 | [INFO] Setting MySQL: [mysql] socket=/tmp/mysql/mysqld.sock
mysql_1 | root $ echo '[mysql]' >> /etc/my.cnf.d/socket.cnf
mysql_1 | root $ echo 'socket = /tmp/mysql/mysqld.sock' >> /etc/my.cnf.d/socket.cnf
mysql_1 | [INFO] Setting MySQL: [mysqld] socket=/tmp/mysql/mysqld.sock
mysql_1 | root $ echo '[mysqld]' >> /etc/my.cnf.d/socket.cnf
mysql_1 | root $ echo 'socket = /tmp/mysql/mysqld.sock' >> /etc/my.cnf.d/socket.cnf
mysql_1 | root $ mkdir -p /tmp/mysql
mysql_1 | root $ chown mysql:mysql /tmp/mysql
mysql_1 | root $ chmod 0777 /tmp/mysql
mysql_1 | root $ chown -R mysql:mysql /var/lib/mysql/
mysql_1 | root $ chown -R mysql:mysql /var/lib/mysql
mysql_1 | root $ chown -R mysql:mysql /var/log/mysql
mysql_1 | root $ chown -R mysql:mysql /var/run/mysqld
mysql_1 | root $ chown -R mysql:mysql /var/sock/mysqld
mysql_1 | root $ chmod 0775 /var/lib/mysql/
mysql_1 | root $ chmod 0775 /var/lib/mysql
mysql_1 | root $ chmod 0775 /var/log/mysql
mysql_1 | root $ chmod 0775 /var/run/mysqld
mysql_1 | root $ chmod 0775 /var/sock/mysqld
mysql_1 | root $ find /var/log/mysql/ -type f -exec chmod 0664 {} \;
mysql_1 | [INFO] Found existing data directory. MySQL already setup.
mysql_1 | [INFO] Starting mysqld Ver 10.1.31-MariaDB for Linux on x86_64 (MariaDB Server)
mysql_1 | 2018-07-25 17:41:36 140660774885632 [Note] mysqld (mysqld 10.1.31-MariaDB) starting as process 1 ...
mysql_1 | [INFO] Setting docker timezone to: Europe/Berlin
mysql_1 | root $ rm /etc/localtime
mysql_1 | root $ ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
mysql_1 | [INFO] Docker date set to: Wed Jul 25 18:07:51 CEST 2018
mysql_1 | [INFO] Setting MySQL: [mysqld] general-log=0
mysql_1 | root $ sed -i'' 's|\[mysqld\]|\[mysqld\]
mysql_1 | general-log = 0|g' /etc/my.cnf.d/logging.cnf
mysql_1 | [INFO] Setting MySQL: [client] socket=/tmp/mysql/mysqld.sock
mysql_1 | root $ sed -i'' 's|\[client\]|\[client\]
mysql_1 | socket = /tmp/mysql/mysqld.sock|g' /etc/my.cnf.d/socket.cnf
mysql_1 | [INFO] Setting MySQL: [mysql] socket=/tmp/mysql/mysqld.sock
mysql_1 | root $ sed -i'' 's|\[mysql\]|\[mysql\]
mysql_1 | socket = /tmp/mysql/mysqld.sock|g' /etc/my.cnf.d/socket.cnf
mysql_1 | [INFO] Setting MySQL: [mysqld] socket=/tmp/mysql/mysqld.sock
mysql_1 | root $ sed -i'' 's|\[mysqld\]|\[mysqld\]
mysql_1 | socket = /tmp/mysql/mysqld.sock|g' /etc/my.cnf.d/socket.cnf
mongo_1 | 2018-07-25T16:06:49.387+0000 I NETWORK [conn8] received client metadata from 172.16.238.10:56862 conn8: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:06:49.391+0000 I NETWORK [listener] connection accepted from 172.16.238.10:56866 #9 (6 connections now open)
mongo_1 | 2018-07-25T16:06:49.392+0000 I NETWORK [conn9] received client metadata from 172.16.238.10:56866 conn9: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:07:38.532+0000 I CONTROL [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends
mongo_1 | 2018-07-25T16:07:38.532+0000 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets...
mongo_1 | 2018-07-25T16:07:38.532+0000 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-27017.sock
mongo_1 | 2018-07-25T16:07:38.536+0000 I CONTROL [signalProcessingThread] Shutting down free monitoring
mongo_1 | 2018-07-25T16:07:38.553+0000 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture
mongo_1 | 2018-07-25T16:07:38.566+0000 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down
mongo_1 | 2018-07-25T16:07:38.659+0000 I STORAGE [signalProcessingThread] shutdown: removing fs lock...
mongo_1 | 2018-07-25T16:07:38.660+0000 I CONTROL [signalProcessingThread] now exiting
mongo_1 | 2018-07-25T16:07:38.661+0000 I CONTROL [signalProcessingThread] shutting down with code:0
mongo_1 | 2018-07-25T16:07:51.257+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=5205f3e7dc6d
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] db version v3.7.9
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] git version: 681d1e0bf8d45c366848678811bad6f1a471f20c
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] allocator: tcmalloc
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] modules: none
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] build environment:
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] distmod: ubuntu1604
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] distarch: x86_64
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] target_arch: x86_64
mongo_1 | 2018-07-25T16:07:51.264+0000 I CONTROL [initandlisten] options: { net: { bindIpAll: true } }
mongo_1 | 2018-07-25T16:07:51.272+0000 I STORAGE [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
mongo_1 | 2018-07-25T16:07:51.276+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=487M,session_max=20000,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),statistics_log=(wait=0),verbose=(recovery_progress),
mongo_1 | 2018-07-25T16:08:03.009+0000 I STORAGE [initandlisten] WiredTiger message [1532534883:8974][1:0x7feb8743ca00], txn-recover: Main recovery loop: starting at 15/12672
mongo_1 | 2018-07-25T16:08:04.126+0000 I STORAGE [initandlisten] WiredTiger message [1532534884:126081][1:0x7feb8743ca00], txn-recover: Recovering log 15 through 16
mongo_1 | 2018-07-25T16:08:04.842+0000 I STORAGE [initandlisten] WiredTiger message [1532534884:842255][1:0x7feb8743ca00], txn-recover: Recovering log 16 through 16
mongo_1 | 2018-07-25T16:08:04.949+0000 I STORAGE [initandlisten] WiredTiger message [1532534884:949500][1:0x7feb8743ca00], txn-recover: Set global recovery timestamp: 0
mongo_1 | 2018-07-25T16:08:04.983+0000 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)
mongo_1 | 2018-07-25T16:08:05.005+0000 I CONTROL [initandlisten]
mongo_1 | 2018-07-25T16:08:05.006+0000 I CONTROL [initandlisten] ** NOTE: This is a development version (3.7.9) of MongoDB.
mongo_1 | 2018-07-25T16:08:05.006+0000 I CONTROL [initandlisten] ** Not recommended for production.
mongo_1 | 2018-07-25T16:08:05.006+0000 I CONTROL [initandlisten]
mongo_1 | 2018-07-25T16:08:05.006+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
mongo_1 | 2018-07-25T16:08:05.006+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
mongo_1 | 2018-07-25T16:08:05.006+0000 I CONTROL [initandlisten]
mongo_1 | 2018-07-25T16:08:05.037+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
mongo_1 | 2018-07-25T16:08:05.044+0000 I NETWORK [initandlisten] waiting for connections on port 27017
mongo_1 | 2018-07-25T16:15:50.444+0000 I NETWORK [listener] connection accepted from 172.16.238.10:57376 #1 (1 connection now open)
mongo_1 | 2018-07-25T16:15:50.444+0000 I NETWORK [conn1] received client metadata from 172.16.238.10:57376 conn1: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:15:50.568+0000 I NETWORK [listener] connection accepted from 172.16.238.10:57416 #2 (2 connections now open)
mongo_1 | 2018-07-25T16:15:50.568+0000 I NETWORK [conn2] received client metadata from 172.16.238.10:57416 conn2: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:15:50.574+0000 I NETWORK [listener] connection accepted from 172.16.238.10:57420 #3 (3 connections now open)
mongo_1 | 2018-07-25T16:15:50.574+0000 I NETWORK [conn3] received client metadata from 172.16.238.10:57420 conn3: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:17:54.644+0000 I NETWORK [listener] connection accepted from 172.16.238.10:57534 #4 (4 connections now open)
mongo_1 | 2018-07-25T16:17:54.645+0000 I NETWORK [conn4] received client metadata from 172.16.238.10:57534 conn4: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:17:54.717+0000 I NETWORK [listener] connection accepted from 172.16.238.10:57574 #5 (5 connections now open)
mongo_1 | 2018-07-25T16:17:54.718+0000 I NETWORK [conn5] received client metadata from 172.16.238.10:57574 conn5: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
mongo_1 | 2018-07-25T16:17:54.720+0000 I NETWORK [listener] connection accepted from 172.16.238.10:57578 #6 (6 connections now open)
mongo_1 | 2018-07-25T16:17:54.721+0000 I NETWORK [conn6] received client metadata from 172.16.238.10:57578 conn6: { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.11.0 / 1.5.1" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "9", architecture: "x86_64" }, platform: "cfg=0xd156a8e9 posix=200809 stdc=201112 CC=GCC 6.3.0 20170516 CFLAGS="-g -O2" LDFLAGS="" / PHP 5.6.37" }
pgsql_1 | 2018-07-25 15:41:37.810 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
pgsql_1 | 2018-07-25 15:41:37.810 UTC [1] LOG: listening on IPv6 address "::", port 5432
pgsql_1 | 2018-07-25 15:41:37.819 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
pgsql_1 | 2018-07-25 15:41:38.014 UTC [22] LOG: database system was shut down at 2018-07-25 14:46:07 UTC
pgsql_1 | 2018-07-25 15:41:38.122 UTC [1] LOG: database system is ready to accept connections
pgsql_1 | 2018-07-25 16:07:38.490 UTC [1] LOG: received smart shutdown request
pgsql_1 | 2018-07-25 16:07:38.512 UTC [1] LOG: worker process: logical replication launcher (PID 28) exited with exit code 1
pgsql_1 | 2018-07-25 16:07:38.512 UTC [23] LOG: shutting down
pgsql_1 | 2018-07-25 16:07:38.612 UTC [1] LOG: database system is shut down
pgsql_1 | 2018-07-25 16:07:55.532 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
pgsql_1 | 2018-07-25 16:07:55.532 UTC [1] LOG: listening on IPv6 address "::", port 5432
pgsql_1 | 2018-07-25 16:07:55.542 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
pgsql_1 | 2018-07-25 16:07:55.746 UTC [22] LOG: database system was shut down at 2018-07-25 16:07:38 UTC
pgsql_1 | 2018-07-25 16:07:55.844 UTC [1] LOG: database system is ready to accept connections
memcd_1 | Signal handled: Terminated.
httpd_1 | [INFO] Debug level: 1
httpd_1 | [INFO] Runtime debug: 1
httpd_1 | [INFO] Changing user 'nginx' uid to: 501
httpd_1 | [WARN] Group with 20 already exists: dialout
httpd_1 | [INFO] Changing GID of dialout to 9876
httpd_1 | [INFO] Changing group 'nginx' gid to: 20
httpd_1 | [INFO] Setting container timezone to: Europe/Berlin
httpd_1 | [INFO] Docker date set to: Wed Jul 25 17:41:31 CEST 2018
httpd_1 | [INFO] $DOCKER_LOGS disabled. Logging errors and access to log files inside container.
httpd_1 | [INFO] PHP-FPM: Enabled
httpd_1 | [INFO] PHP-FPM: Server address: php
httpd_1 | [INFO] PHP-FPM: Server port: 9000
httpd_1 | [INFO] Main vhost: Enabled
httpd_1 | [INFO] Main vhost: Setting SSL type to: http and https
httpd_1 | [INFO] Main vhost: Enable automatic generation of SSL certificates
httpd_1 | [INFO] Main vhost: SSL CN: localhost,*.localhost,devilbox,*.devilbox
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: http and 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 | vhostgen: [2018-07-25 17:41:31] Adding: localhost
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -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 -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:localhost,DNS.2:localhost,DNS.2:*.localhost,DNS.2:devilbox,DNS.2:*.devilbox\n') -days 3650 -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 | cc:80:a3:37:60:f2:4f:d8
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 15:41:32 2018 GMT
httpd_1 | Not After : Jul 22 15:41:32 2028 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 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:95:1a:50:44:07:8e:77:4b:84:52:26:7c:fb:fa:
httpd_1 | a0:83:ab:40:35:8c:82:db:8f:96:be:a4:1c:09:f3:
httpd_1 | 80:af:f0:e5:3c:74:c0:e6:2e:87:be:63:ca:4f:aa:
httpd_1 | ee:96:7c:5a:ad:aa:2e:ff:a4:91:a7:23:3a:58:d4:
httpd_1 | 6b:ee:27:bb:4a:b3:1c:80:3c:5a:a4:40:23:63:44:
httpd_1 | 20:03:99:cf:a6:7e:e7:a4:b9:e2:f2:99:2d:f7:35:
httpd_1 | 93:b2:03:3d:d2:10:09:a6:0a:2e:a8:9d:be:e7:32:
httpd_1 | 6a:c7:ce:92:85:01:6b:ad:28:e0:e1:59:ef:bb:db:
httpd_1 | 6a:ac:6e:22:db:6d:8e:ab:58:f9:ec:75:21:f7:01:
httpd_1 | 9e:a8:ef:5c:1b:72:b8:6b:57:3e:a5:e8:5a:ac:e4:
httpd_1 | 0d:77:05:a8:a8:15:43:19:b3:57:0e:1a:0c:ee:c1:
httpd_1 | 3b:4f:fe:f1:17:33:1d:8f:29:66:cc:f2:0a:b0:cb:
httpd_1 | 1e:1b:59:c0:e0:22:3b:58:e7:9f:7f:fc:f6:04:48:
httpd_1 | a4:2d:e2:47:9f:3b:1c:21:63:1a:d3:28:88:b9:d7:
httpd_1 | 6a:79:be:e3:a4:ac:39:22:49:a8:04:10:c2:d2:b2:
httpd_1 | c2:47:3c:79:3b:9c:30:18:28:12:af:dd:22:95:5a:
httpd_1 | 11:c4:1a:bb:ea:49:4a:7d:f7:e7:dd:12:27:d1:c1:
httpd_1 | b1:7f
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:localhost, DNS:localhost, DNS:*.localhost, DNS:devilbox, DNS:*.devilbox
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | c4:bf:af:01:eb:42:8a:2c:de:34:17:9b:ab:df:1a:33:46:b8:
httpd_1 | 35:eb:1a:72:66:0c:76:f6:29:4f:43:00:60:48:bf:07:77:8a:
httpd_1 | 10:27:50:3a:e2:5d:b4:58:e7:41:a6:d7:10:45:72:4f:34:3f:
httpd_1 | 35:2c:2c:3f:88:87:4e:c7:fb:dc:b5:93:de:18:38:61:67:76:
httpd_1 | b5:00:28:fd:99:1e:23:4e:20:74:3a:92:10:ef:26:e4:04:96:
httpd_1 | 73:e8:2d:8c:1f:d4:bb:d1:1b:dc:e5:ab:20:b6:b8:ee:4e:93:
httpd_1 | 89:67:c1:d3:db:ed:da:fc:c7:4c:56:cd:24:92:4d:6b:9a:ff:
httpd_1 | 8f:e0:a9:58:01:a8:6d:af:4a:3a:0a:b8:33:8a:65:5c:83:3d:
httpd_1 | 02:13:3f:9f:fc:48:32:23:4d:37:e7:e4:3d:80:45:2d:4a:da:
httpd_1 | 44:35:00:d0:ae:e5:cf:c2:5d:a4:31:7f:0e:eb:0c:2e:3c:b5:
httpd_1 | 03:de:e5:b0:ab:25:88:df:c2:36:69:5a:a1:2a:57:75:f3:ef:
httpd_1 | 57:6d:ef:93:f9:d6:03:0e:4f:a1:bf:8e:fa:ee:04:19:8e:7a:
httpd_1 | 70:e6:5d:cd:18:89:f7:ac:34:69:cd:5f:35:b2:18:d3:3d:26:
httpd_1 | 3a:d8:bb:90:df:8f:90:e4:0c:95:37:00:bc:cd:56:58:bb:e3:
httpd_1 | 2a:4e:fc:2a
httpd_1 | /etc/httpd/cert/main/localhost.crt: OK
httpd_1 | [INFO] Starting supervisord: 3.3.1
httpd_1 | 2018-07-25 17:41:33,001 CRIT Set uid to user 0
httpd_1 | 2018-07-25 17:41:33,008 INFO supervisord started with pid 1
httpd_1 | 2018-07-25 17:41:34,015 INFO spawned: 'httpd' with pid 193
httpd_1 | 2018-07-25 17:41:34,071 INFO spawned: 'watcherd' with pid 194
httpd_1 | 2018-07-25 17:41:35,088 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | 2018-07-25 17:41:35,091 INFO success: watcherd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | watcherd: [2018-07-25 17:41:37] Starting daemon.
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/QMNew.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=QMNew.loc/emailAddress=admin@QMNew.loc' -out /etc/httpd/cert/mass/QMNew.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:QMNew.loc,DNS.2:*.QMNew.loc\n') -days 3650 -in /etc/httpd/cert/mass/QMNew.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/QMNew.loc.crt
mysql_1 | root $ chown mysql:mysql /tmp/mysql
mysql_1 | root $ chmod 0777 /tmp/mysql
mysql_1 | root $ chown -R mysql:mysql /var/lib/mysql/
mysql_1 | root $ chown -R mysql:mysql /var/lib/mysql
mysql_1 | root $ chown -R mysql:mysql /var/log/mysql
mysql_1 | root $ chown -R mysql:mysql /var/run/mysqld
mysql_1 | root $ chown -R mysql:mysql /var/sock/mysqld
mysql_1 | root $ chmod 0775 /var/lib/mysql/
mysql_1 | root $ chmod 0775 /var/lib/mysql
mysql_1 | root $ chmod 0775 /var/log/mysql
mysql_1 | root $ chmod 0775 /var/run/mysqld
mysql_1 | root $ chmod 0775 /var/sock/mysqld
mysql_1 | root $ find /var/log/mysql/ -type f -exec chmod 0664 {} \;
mysql_1 | [INFO] Found existing data directory. MySQL already setup.
mysql_1 | [INFO] Starting mysqld Ver 10.1.31-MariaDB for Linux on x86_64 (MariaDB Server)
mysql_1 | 2018-07-25 18:07:54 139910942849280 [Note] mysqld (mysqld 10.1.31-MariaDB) starting as process 1 ...
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:d9
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 15:41:38 2018 GMT
httpd_1 | Not After : Jul 22 15:41:38 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = QMNew.loc, emailAddress = admin@QMNew.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:d1:ab:98:e4:2d:3d:0d:29:23:a4:18:a8:97:18:
httpd_1 | ee:ee:4b:3b:2c:a0:e3:ac:fc:6f:62:c1:05:88:5c:
httpd_1 | cb:d2:5a:84:81:95:7c:38:a4:c2:3c:cb:fd:1c:0f:
httpd_1 | 1a:56:b7:e4:a9:32:e3:b0:39:eb:59:e6:89:91:11:
httpd_1 | 33:6d:9e:94:89:c1:a1:3a:c1:cf:dc:85:bb:97:ec:
httpd_1 | 40:28:49:a6:e5:88:15:aa:0f:67:aa:dd:94:a8:e4:
httpd_1 | ab:66:c3:46:05:38:cb:58:ea:c0:7d:a5:b5:0a:de:
httpd_1 | ef:0a:06:70:fb:db:d5:eb:12:de:31:83:3f:ac:49:
httpd_1 | fb:da:eb:bb:c9:3f:74:fc:16:d7:b4:62:d6:c2:11:
httpd_1 | 4c:8c:ff:42:67:7d:2b:1f:57:cb:3e:f1:78:98:3b:
httpd_1 | 78:09:a6:89:29:c6:0c:f5:da:55:d2:91:e4:c5:0e:
httpd_1 | b9:a1:c1:d1:fc:db:06:b2:20:20:a0:09:b1:97:2b:
httpd_1 | 3e:e4:bb:e6:3a:d0:cd:af:0c:58:7c:43:6e:c0:57:
httpd_1 | 40:56:d9:f6:f6:2c:cc:ab:cc:bf:6b:3a:6e:9e:a8:
httpd_1 | 02:ca:a2:7d:31:7b:98:e7:99:8f:48:98:b9:7b:05:
httpd_1 | ff:f7:1c:0b:13:74:ee:5e:3a:b4:e4:05:61:f5:fd:
httpd_1 | cc:1f:6f:96:45:30:bb:1c:6b:8e:fb:7a:d6:3f:e1:
httpd_1 | 73:dd
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:QMNew.loc, DNS:*.QMNew.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 6d:10:16:a0:19:ca:62:18:75:c8:43:c0:62:0e:5a:11:59:1a:
httpd_1 | 6e:9c:1f:84:19:f7:82:76:c3:b3:94:a5:0c:37:3e:34:6f:8e:
httpd_1 | 55:ce:8b:56:e3:6e:00:4b:b9:53:38:33:85:d7:ee:6b:d1:96:
httpd_1 | 4f:df:41:47:a3:7e:a6:4b:37:5f:79:91:d6:d8:90:36:b9:2b:
httpd_1 | e7:5f:8e:56:5c:22:fe:50:64:71:f5:2d:4c:1f:80:6e:34:8c:
httpd_1 | 7f:97:a6:d5:a9:a0:f6:3b:73:d5:ef:0b:07:d0:ac:81:29:c5:
httpd_1 | 88:35:f0:78:a9:fa:41:ca:69:23:db:8b:5e:29:be:97:32:8d:
httpd_1 | 13:9c:29:7b:19:49:35:6e:af:7e:95:90:95:59:19:fe:1e:16:
httpd_1 | 39:f0:1b:00:c8:eb:f7:ef:4b:e0:77:e9:ec:3f:3a:37:9b:8f:
httpd_1 | 8c:1c:39:f3:38:b6:ed:b4:f0:88:8b:f2:d2:cc:d4:a9:31:42:
httpd_1 | 9d:20:4e:fd:d0:03:44:f9:36:0b:94:b3:01:74:0e:61:20:97:
httpd_1 | a7:c0:84:0d:6d:42:8d:90:05:3f:b7:da:25:ac:b8:dd:7f:39:
httpd_1 | 71:98:9f:ed:1b:a6:b8:0d:77:4b:d4:02:70:80:83:bd:e5:11:
httpd_1 | c7:e0:25:54:35:98:18:e9:1e:65:86:19:27:c5:e6:56:2a:ed:
httpd_1 | 25:16:34:a4
httpd_1 | /etc/httpd/cert/mass/QMNew.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/QMNew" -n "QMNew" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/QMNew/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 17:41:38] Adding: QMNew.loc
httpd_1 | watcherd: [2018-07-25 17:41:38] [OK] ADD: succeeded: /shared/httpd/QMNew
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/dams.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=dams.loc/emailAddress=admin@dams.loc' -out /etc/httpd/cert/mass/dams.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:dams.loc,DNS.2:*.dams.loc\n') -days 3650 -in /etc/httpd/cert/mass/dams.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/dams.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:da
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 15:41:38 2018 GMT
httpd_1 | Not After : Jul 22 15:41:38 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = dams.loc, emailAddress = admin@dams.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:a2:f3:57:51:ed:25:e6:d9:7e:d5:4c:3e:8c:11:
httpd_1 | 3e:fe:cd:4b:e9:e7:f9:b6:48:88:03:3e:ce:86:39:
httpd_1 | 89:1a:8e:67:db:fb:4f:45:d7:7a:a1:f0:df:cb:c0:
httpd_1 | f4:8e:e5:63:65:c3:ac:42:33:d8:37:b1:bf:fc:ff:
httpd_1 | 29:8a:c8:3d:5d:a0:c0:a0:04:d1:c2:02:d7:a4:72:
httpd_1 | af:a1:09:01:50:be:37:3c:04:55:0f:1f:14:15:12:
httpd_1 | de:f0:02:b8:74:a8:ab:98:8c:f2:d5:1b:6e:31:4c:
httpd_1 | a6:cd:e0:aa:b6:9f:74:38:82:9a:c2:26:52:6e:2e:
httpd_1 | 3b:71:dc:6e:6f:96:c0:2c:e4:dd:2e:6d:16:be:de:
httpd_1 | 8e:10:47:a2:3e:a4:79:af:6d:d0:9c:ba:95:1f:cb:
httpd_1 | 7b:1a:aa:c8:90:87:c2:3d:a5:60:60:a3:da:df:9a:
httpd_1 | be:70:9d:89:bc:cf:83:24:97:ff:f7:00:47:bd:4c:
httpd_1 | 4f:38:a5:8a:98:74:a7:87:a2:72:42:4c:92:74:91:
httpd_1 | 1f:85:09:81:35:ed:2a:75:b1:e4:7a:5e:cc:4c:66:
httpd_1 | 0b:11:a9:07:8b:e3:86:37:3a:52:be:65:1f:53:21:
httpd_1 | 81:0f:a0:3f:63:37:2d:82:72:5f:8c:02:8d:55:6a:
httpd_1 | c5:f7:b4:95:5c:16:f8:ae:9f:a9:73:64:a9:86:a6:
httpd_1 | a8:6f
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:dams.loc, DNS:*.dams.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 3d:89:77:e7:31:55:37:f1:e7:3e:9a:ad:07:92:20:0e:88:73:
httpd_1 | d6:ed:be:46:6e:98:7e:4d:36:f3:df:d9:96:fb:d8:94:de:51:
httpd_1 | ea:08:fe:e9:a2:0d:90:fe:a2:20:75:44:6a:21:df:d3:f1:e7:
httpd_1 | ff:dd:c5:96:8a:63:ab:9f:ca:e2:a4:e3:88:4c:ff:e5:d8:b5:
httpd_1 | 66:96:ce:39:b3:29:ab:c0:fc:c1:a1:d6:2f:32:3b:69:02:1b:
httpd_1 | d6:f0:3a:70:28:8e:5c:45:53:59:16:6d:33:79:59:b7:63:cf:
httpd_1 | 88:dd:68:84:95:f8:31:49:ee:a3:d1:ad:2b:21:58:49:13:6d:
httpd_1 | 83:da:62:83:d2:9f:9e:95:de:0b:af:a0:c9:b9:a2:04:a2:b2:
httpd_1 | 04:51:d8:6a:0c:ad:d1:94:65:9d:96:44:20:31:96:94:8c:9d:
httpd_1 | 81:c7:a1:25:c6:32:8d:b2:e4:9c:db:0d:37:05:51:12:1c:fe:
httpd_1 | 13:d0:e6:89:8c:85:14:8c:09:03:62:e3:f3:28:b9:f8:8f:06:
httpd_1 | 54:86:fe:e1:90:56:ac:da:81:8d:59:ae:3b:8d:63:b3:f2:41:
httpd_1 | 65:48:e4:dc:10:2c:c2:3c:2a:7b:10:a8:80:48:94:b2:bf:1b:
httpd_1 | e4:2c:05:e8:88:86:bb:3e:b9:6b:d0:06:f8:d4:ce:6e:a0:cf:
httpd_1 | 74:6d:f2:6d
httpd_1 | /etc/httpd/cert/mass/dams.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/dams" -n "dams" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/dams/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 17:41:39] Adding: dams.loc
httpd_1 | watcherd: [2018-07-25 17:41:39] [OK] ADD: succeeded: /shared/httpd/dams
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/mynewwork.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=mynewwork.loc/emailAddress=admin@mynewwork.loc' -out /etc/httpd/cert/mass/mynewwork.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:mynewwork.loc,DNS.2:*.mynewwork.loc\n') -days 3650 -in /etc/httpd/cert/mass/mynewwork.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/mynewwork.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:db
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 15:41:39 2018 GMT
httpd_1 | Not After : Jul 22 15:41:39 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = mynewwork.loc, emailAddress = admin@mynewwork.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:c6:2a:16:ed:1d:b0:ef:cb:99:67:fb:31:79:0a:
httpd_1 | 80:52:7e:da:f7:e7:fb:81:5e:b2:e6:b2:fe:b1:8c:
httpd_1 | e9:da:7a:bc:bb:3b:71:c9:4b:fe:ac:24:e7:09:a6:
httpd_1 | e6:54:8a:09:8f:d0:dd:9d:b7:77:21:29:e9:36:e1:
httpd_1 | f2:61:76:53:b7:68:ae:b7:7a:e8:70:a0:6e:d1:3d:
httpd_1 | 24:d9:9d:95:b7:3b:e9:40:65:d5:3b:9e:3f:d4:2e:
httpd_1 | 6a:d9:1d:57:f4:75:8b:dc:d5:e3:29:0e:cd:05:61:
httpd_1 | b2:78:e3:d1:cf:56:7a:8d:5c:ee:01:77:a5:cf:0f:
httpd_1 | 17:64:3c:df:0b:63:3b:e1:25:80:4e:f3:3b:51:f3:
httpd_1 | 6b:cb:fd:e1:63:88:af:a4:86:5b:c4:df:5c:44:41:
httpd_1 | 1f:2d:2b:1b:bd:19:fc:d9:29:c5:6b:bc:0d:2c:38:
httpd_1 | 7f:91:b0:91:86:e9:1a:c2:26:67:3a:32:40:6f:00:
httpd_1 | 6c:e1:48:30:52:ac:07:51:5c:bb:67:7a:1d:92:f2:
httpd_1 | 79:72:fe:d9:a7:cd:b0:dc:83:32:cf:72:cc:2a:c6:
httpd_1 | 55:ff:0c:9a:8c:d2:80:2c:82:6e:e1:42:56:9c:5f:
httpd_1 | 05:86:5a:01:3c:55:a4:f0:f4:a1:a5:b1:da:f9:2c:
httpd_1 | 0b:97:71:ad:36:eb:d3:e3:b1:ff:ee:a4:1c:21:71:
httpd_1 | d1:25
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:mynewwork.loc, DNS:*.mynewwork.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 20:fb:b3:0e:57:6c:61:b0:57:76:23:d7:8e:04:af:fb:fd:27:
httpd_1 | 2c:ca:e7:7b:d3:36:70:76:4c:72:d2:81:a4:72:cf:d5:97:43:
httpd_1 | 69:75:63:bb:4a:2c:ee:09:f1:0c:83:ad:b6:1b:8c:ac:23:71:
httpd_1 | 63:59:c5:99:6a:ce:50:e8:7a:4c:26:c1:62:4b:a2:0d:12:75:
httpd_1 | 68:8f:43:93:fa:b1:7f:a5:b7:97:4d:ed:c1:ab:a8:e8:0d:1f:
httpd_1 | 4f:eb:fe:62:60:8e:fb:a5:d0:58:16:fa:a4:08:73:76:e4:de:
httpd_1 | bc:95:48:2b:ef:07:16:1e:4a:4a:c6:d3:7a:15:e1:0c:83:42:
httpd_1 | 39:cd:6f:c5:8a:6b:71:09:67:9a:01:05:29:e7:ac:ba:c9:09:
httpd_1 | b8:54:25:45:a7:74:d5:31:48:60:bb:4e:d5:0f:4d:a7:2a:77:
httpd_1 | cf:a4:02:9d:a5:bd:fe:d1:be:44:06:ea:66:84:ca:56:c0:0c:
httpd_1 | 93:4c:23:eb:d3:0f:4f:bd:13:24:5c:14:1e:ef:65:d3:1f:76:
httpd_1 | 51:cf:93:42:38:8a:7f:ca:41:80:06:c2:ef:99:83:7d:ce:8c:
httpd_1 | 2a:6a:27:45:a4:82:ba:a4:55:30:2d:ca:c4:47:53:e6:9e:50:
httpd_1 | 74:1f:1b:fc:11:bc:c0:55:73:cd:cb:f6:5e:4e:62:03:ce:bb:
httpd_1 | d8:33:d7:33
httpd_1 | /etc/httpd/cert/mass/mynewwork.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/mynewwork" -n "mynewwork" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/mynewwork/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 17:41:39] Adding: mynewwork.loc
httpd_1 | watcherd: [2018-07-25 17:41:39] [OK] ADD: succeeded: /shared/httpd/mynewwork
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/qm.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=qm.loc/emailAddress=admin@qm.loc' -out /etc/httpd/cert/mass/qm.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:qm.loc,DNS.2:*.qm.loc\n') -days 3650 -in /etc/httpd/cert/mass/qm.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/qm.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:dc
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 15:41:40 2018 GMT
httpd_1 | Not After : Jul 22 15:41:40 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = qm.loc, emailAddress = admin@qm.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:9c:65:21:d6:65:67:44:1a:26:c2:d1:3a:b3:6c:
httpd_1 | c5:3e:c3:5f:5d:71:c6:dd:d8:0a:b0:29:87:6a:d1:
httpd_1 | d7:e8:91:74:80:13:29:0b:bf:b0:69:e2:a7:b1:0a:
httpd_1 | 37:2d:59:c7:04:0e:bc:99:f8:e3:45:ac:1d:9b:99:
httpd_1 | 66:e9:52:c0:19:81:82:f6:40:31:70:32:ba:3f:76:
httpd_1 | d1:1b:50:5b:ce:5b:e9:dd:ce:c1:4e:1b:36:03:6c:
httpd_1 | 02:fb:33:cd:ca:6c:d7:9b:5e:fe:20:c3:2d:e8:3d:
httpd_1 | 9d:52:ca:04:c5:a0:6f:b7:9d:b7:13:ac:0a:9a:0a:
httpd_1 | 49:58:55:c1:d3:b9:d8:33:98:5b:02:55:76:6c:39:
httpd_1 | 9f:cd:a0:75:56:bd:2b:02:97:1f:df:74:01:cf:ff:
httpd_1 | 7e:72:b6:5d:6b:9c:ff:35:c5:80:3f:56:6c:60:44:
httpd_1 | 09:dd:90:83:df:94:1d:45:12:52:9a:8e:5b:70:72:
httpd_1 | 30:ef:ce:2a:8d:ce:55:e6:8b:b6:04:4f:c5:e6:c4:
httpd_1 | 5a:b0:a2:4d:b7:ae:40:42:11:53:1b:21:4f:09:11:
httpd_1 | a6:38:28:51:f3:d8:81:e4:5e:85:df:73:a6:88:a5:
httpd_1 | 5c:9f:3c:00:a2:22:9e:f6:07:75:ff:f3:27:90:8c:
httpd_1 | 07:b1:4c:01:5f:4a:d5:66:ea:f1:d1:25:57:81:2f:
httpd_1 | 5b:6d
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:qm.loc, DNS:*.qm.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | c5:2e:9c:67:a3:8d:26:fc:e3:73:c9:66:7b:25:da:95:ab:a6:
httpd_1 | ab:b7:73:00:0a:2a:d2:70:51:62:21:92:db:39:a5:52:fa:28:
httpd_1 | c2:c2:5b:b5:33:8d:1d:44:5a:5b:4c:0b:5e:4b:31:e4:00:a8:
httpd_1 | a4:1a:66:cf:d7:97:91:52:2b:cc:93:60:24:5c:d4:0d:9f:78:
httpd_1 | ea:72:d1:fa:c2:d9:9c:17:a1:bf:b2:c0:1a:72:e6:3d:b4:98:
httpd_1 | 75:88:35:b7:63:19:e5:ea:bc:8f:c7:2e:68:62:d0:62:1e:56:
httpd_1 | a8:bc:95:c5:96:25:b9:5a:1d:8a:48:a2:55:49:9a:64:9e:bf:
httpd_1 | 57:26:d7:27:c0:79:78:e2:92:f5:09:59:8c:8d:be:91:31:21:
httpd_1 | db:22:16:b7:f3:38:d2:4d:c4:51:37:0e:68:9d:35:11:29:bf:
httpd_1 | 77:68:ee:00:70:25:7c:3a:c9:bd:25:b1:04:47:3c:1a:f3:02:
httpd_1 | c2:84:1d:f0:b2:a2:9f:54:2a:fc:eb:cf:26:65:d3:2e:58:69:
httpd_1 | d2:71:a1:c3:07:83:fe:b7:a8:0c:0d:f6:02:da:a9:89:60:a8:
httpd_1 | 7a:56:ac:8c:a7:5b:af:9a:5d:e2:94:63:c1:ab:ef:3a:be:9d:
httpd_1 | 6b:ea:53:d3:d5:8b:46:ce:54:52:25:bc:ae:f5:ef:f5:ea:03:
httpd_1 | 36:7a:95:8b
httpd_1 | /etc/httpd/cert/mass/qm.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/qm" -n "qm" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/qm/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 17:41:40] Adding: qm.loc
httpd_1 | watcherd: [2018-07-25 17:41:40] [OK] ADD: succeeded: /shared/httpd/qm
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/siddika.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=siddika.loc/emailAddress=admin@siddika.loc' -out /etc/httpd/cert/mass/siddika.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:siddika.loc,DNS.2:*.siddika.loc\n') -days 3650 -in /etc/httpd/cert/mass/siddika.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/siddika.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:dd
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 15:41:40 2018 GMT
httpd_1 | Not After : Jul 22 15:41:40 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = siddika.loc, emailAddress = admin@siddika.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:a6:38:ad:02:37:18:9a:d8:16:89:d2:74:50:f2:
httpd_1 | ec:f9:50:6b:20:81:24:88:a4:6d:3d:a1:6c:de:c0:
httpd_1 | 46:4f:7c:2f:0f:09:9f:e5:d7:2a:b6:38:4c:7e:b0:
httpd_1 | 9c:66:d4:c0:2a:ba:b7:c4:ed:93:3c:c6:8a:ae:56:
httpd_1 | bf:2f:be:0b:c8:f3:64:f4:ce:b9:69:c3:84:2e:bf:
httpd_1 | 28:3c:ae:13:5b:cf:0e:07:8d:cb:cb:30:4a:3b:4d:
httpd_1 | 4b:53:06:e4:4f:4a:d8:99:2d:69:b2:77:3d:8c:9e:
httpd_1 | 60:1d:22:c7:48:04:6b:42:f8:c1:2f:19:52:09:dc:
httpd_1 | 42:93:d8:25:5c:b6:0b:54:14:75:9d:ec:f2:51:24:
httpd_1 | 16:dc:67:13:44:03:ef:54:46:15:b4:12:b9:57:0f:
httpd_1 | 0f:98:a4:32:a4:df:96:3d:cd:9f:72:8d:6e:c7:0e:
httpd_1 | 0d:ec:5e:2c:91:7d:76:fc:b3:d6:bd:b2:fd:09:43:
httpd_1 | c4:60:34:8c:6c:af:1b:32:16:b1:e4:22:bf:c8:ed:
httpd_1 | 18:86:ff:4c:d4:0e:14:5d:ed:9c:09:7a:8d:3e:b4:
httpd_1 | a8:6d:ae:b4:4d:8a:d3:96:7f:cf:4f:09:4b:ea:3e:
httpd_1 | f6:82:81:d1:58:ab:de:1e:c2:49:73:a3:18:22:18:
httpd_1 | 40:c6:8f:75:7d:fe:a5:b2:cd:5b:a4:ef:6d:da:fc:
httpd_1 | e6:6f
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:siddika.loc, DNS:*.siddika.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 4f:3b:82:1a:66:19:28:5d:eb:7e:6a:58:1c:19:6f:54:69:26:
httpd_1 | b2:53:68:a2:20:62:4f:72:3a:87:27:9e:a4:a9:aa:9f:82:0d:
httpd_1 | 03:62:43:3f:b6:16:81:31:e1:a9:93:3e:22:47:b8:0e:a7:72:
httpd_1 | 94:bc:e3:2e:e7:bc:9b:2a:5f:8a:a8:76:e1:1e:a2:75:73:33:
httpd_1 | 66:21:30:4f:18:c5:e9:b2:48:8a:14:11:81:4d:67:ea:cc:90:
httpd_1 | 8c:63:99:8b:cf:23:00:e8:13:2a:4f:a3:3c:34:88:f2:93:d2:
httpd_1 | 73:22:eb:a7:e1:51:93:1b:02:aa:70:3c:ce:c3:f5:5a:16:af:
httpd_1 | f9:2e:b5:98:dc:f3:ca:5f:bb:97:ed:3a:1e:04:20:68:25:89:
httpd_1 | 28:18:6a:31:3d:44:cd:94:58:87:78:49:b7:ce:d7:d4:b5:c5:
httpd_1 | 57:4c:0f:92:2d:a0:00:18:04:9d:f4:64:61:30:cd:2f:2e:89:
httpd_1 | 9f:08:53:8d:0b:e5:28:40:8c:22:0a:b2:87:77:8c:a9:23:2c:
httpd_1 | d1:74:38:e1:d0:a4:cf:a3:b7:8a:60:9b:29:da:5a:a4:1e:25:
httpd_1 | 66:e5:e4:b7:79:6b:03:0c:c5:17:28:e0:1b:75:bf:eb:27:6e:
httpd_1 | f0:81:2a:c3:46:03:59:28:f0:af:ce:a7:3a:ac:8a:62:f6:8d:
httpd_1 | fa:d7:54:1b
httpd_1 | /etc/httpd/cert/mass/siddika.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/siddika" -n "siddika" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/siddika/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 17:41:40] Adding: siddika.loc
httpd_1 | watcherd: [2018-07-25 17:41:40] [OK] ADD: succeeded: /shared/httpd/siddika
httpd_1 | 2018/07/25 17:41:41 [notice] 296#296: signal process started
httpd_1 | watcherd: [2018-07-25 17:41:41] [OK] TRIGGER succeeded: nginx -s stop
httpd_1 | watcherd: [2018-07-25 17:41:41] Using bash loop to watch for changes.
httpd_1 | 2018-07-25 17:41:41,112 INFO exited: httpd (exit status 0; expected)
httpd_1 | 2018-07-25 17:41:42,115 INFO spawned: 'httpd' with pid 315
httpd_1 | 2018-07-25 17:41:43,117 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | 2018-07-25 18:07:41,447 WARN received SIGTERM indicating exit request
httpd_1 | 2018-07-25 18:07:41,448 INFO waiting for httpd, watcherd to die
httpd_1 | 2018-07-25 18:07:41,449 INFO stopped: watcherd (terminated by SIGTERM)
httpd_1 | 2018-07-25 18:07:41,532 INFO stopped: httpd (exit status 0)
httpd_1 | [INFO] Debug level: 1
httpd_1 | [INFO] Runtime debug: 1
httpd_1 | [INFO] Changing user 'nginx' uid to: 501
httpd_1 | usermod: no changes
httpd_1 | [INFO] Changing group 'nginx' gid to: 20
httpd_1 | [INFO] Setting container timezone to: Europe/Berlin
httpd_1 | [INFO] Docker date set to: Wed Jul 25 18:07:49 CEST 2018
httpd_1 | [INFO] $DOCKER_LOGS disabled. Logging errors and access to log files inside container.
httpd_1 | [INFO] PHP-FPM: Enabled
httpd_1 | [INFO] PHP-FPM: Server address: php
httpd_1 | [INFO] PHP-FPM: Server port: 9000
httpd_1 | [INFO] Main vhost: Enabled
httpd_1 | [INFO] Main vhost: Setting SSL type to: http and https
httpd_1 | [INFO] Main vhost: Enable automatic generation of SSL certificates
httpd_1 | [INFO] Main vhost: SSL CN: localhost,*.localhost,devilbox,*.devilbox
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: http and 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 | vhostgen: [2018-07-25 18:07:50] Adding: localhost
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -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 -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:localhost,DNS.2:localhost,DNS.2:*.localhost,DNS.2:devilbox,DNS.2:*.devilbox\n') -days 3650 -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 | cc:80:a3:37:60:f2:4f:de
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 16:07:50 2018 GMT
httpd_1 | Not After : Jul 22 16:07:50 2028 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 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:c4:4b:e1:04:0e:41:da:e1:7e:27:a6:78:29:fd:
httpd_1 | de:7d:58:4d:ee:cf:fa:94:1e:fe:85:ea:02:82:ca:
httpd_1 | f1:86:58:0e:07:a8:1f:22:a5:53:f3:a5:39:7e:3e:
httpd_1 | 80:c9:13:4b:8c:34:85:67:16:27:75:31:56:89:2a:
httpd_1 | 99:e8:2a:1d:8e:0a:e9:96:8f:b6:19:f7:91:ac:29:
httpd_1 | d9:06:fd:84:a9:0d:c9:0e:14:45:b2:6b:55:72:6e:
httpd_1 | f3:33:41:79:4c:98:b3:38:2d:38:d9:25:ae:72:6b:
httpd_1 | c9:e9:0a:2e:81:35:7d:22:96:ed:f8:b4:1a:fb:74:
httpd_1 | ed:0a:d0:4a:75:3e:7f:63:c9:1d:6e:b2:97:d0:d4:
httpd_1 | ed:a4:9e:76:58:43:c4:ae:76:3c:a6:4b:55:e5:ad:
httpd_1 | 2e:e2:02:88:08:e7:5f:2b:64:e5:3e:ef:87:75:de:
httpd_1 | 49:7a:98:5c:71:9e:71:8d:0a:0c:0b:55:3c:ac:66:
httpd_1 | b8:8a:db:14:a2:04:0a:63:65:21:37:54:21:05:da:
httpd_1 | a4:ca:80:d4:1e:e0:e1:96:1e:43:5a:bc:b1:dd:4c:
httpd_1 | 49:21:3c:03:7d:9c:8c:8b:7d:5c:4d:bb:66:f2:84:
httpd_1 | d4:c9:f9:c3:6c:54:4f:1a:2b:3d:d8:ec:7c:75:b2:
httpd_1 | 61:36:8f:15:bc:57:ab:ea:5a:99:7e:37:b1:36:2e:
httpd_1 | 9c:b3
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:localhost, DNS:localhost, DNS:*.localhost, DNS:devilbox, DNS:*.devilbox
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | a1:84:be:0c:ef:57:3d:85:b3:a4:cd:37:14:af:4f:e5:38:08:
httpd_1 | 01:8d:b4:f9:62:4b:a8:10:c8:a5:5b:20:28:1d:a0:06:86:a6:
httpd_1 | bd:e3:24:2b:45:d0:5e:c8:4a:3e:d6:eb:a2:35:5a:1b:7d:82:
httpd_1 | 4d:5b:a8:1b:f9:4f:de:c8:06:52:3f:0d:65:eb:14:0a:af:83:
httpd_1 | d4:cd:e6:bb:48:1b:90:d1:b2:4c:ec:61:e5:4e:77:22:c6:6f:
httpd_1 | da:d4:1a:a0:3c:5c:cf:2f:15:00:f9:30:0a:c4:0a:db:38:58:
httpd_1 | 24:5f:85:7f:1a:99:be:85:73:21:0e:0a:3b:16:e0:ba:43:04:
httpd_1 | bb:66:13:11:96:0b:eb:74:90:bf:74:9b:08:d9:06:31:bb:f6:
httpd_1 | 66:88:c8:0b:bd:02:ee:d8:9e:a2:cd:78:16:b7:32:e3:4a:1b:
httpd_1 | b4:b0:60:95:09:10:58:a3:2b:20:f7:a6:7b:b6:e1:d1:f1:06:
httpd_1 | 0d:cb:94:3f:e2:f8:03:ea:5f:55:e5:5e:2d:cf:7b:94:e4:37:
httpd_1 | 57:d4:d7:65:a4:db:8a:9d:9c:5b:54:8c:32:dd:0b:19:bd:a2:
httpd_1 | 81:92:25:1c:30:62:07:89:fe:4f:4a:45:7f:af:2f:3c:5b:2a:
httpd_1 | 2d:b9:04:f6:af:ad:4d:7a:47:9e:0c:2a:49:9e:a1:df:a6:7c:
httpd_1 | 00:14:69:15
httpd_1 | /etc/httpd/cert/main/localhost.crt: OK
httpd_1 | [INFO] Starting supervisord: 3.3.1
httpd_1 | 2018-07-25 18:07:50,926 CRIT Set uid to user 0
httpd_1 | 2018-07-25 18:07:50,928 INFO supervisord started with pid 1
httpd_1 | 2018-07-25 18:07:51,932 INFO spawned: 'httpd' with pid 181
httpd_1 | 2018-07-25 18:07:51,938 INFO spawned: 'watcherd' with pid 182
httpd_1 | 2018-07-25 18:07:52,946 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | 2018-07-25 18:07:52,947 INFO success: watcherd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | watcherd: [2018-07-25 18:07:55] Starting daemon.
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/QMNew.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=QMNew.loc/emailAddress=admin@QMNew.loc' -out /etc/httpd/cert/mass/QMNew.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:QMNew.loc,DNS.2:*.QMNew.loc\n') -days 3650 -in /etc/httpd/cert/mass/QMNew.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/QMNew.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:df
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 16:07:55 2018 GMT
httpd_1 | Not After : Jul 22 16:07:55 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = QMNew.loc, emailAddress = admin@QMNew.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:c0:01:90:87:4a:56:c4:05:3e:7d:a0:f2:f2:f6:
httpd_1 | 2a:e8:3a:1c:11:cf:73:47:6c:11:8c:e8:98:48:25:
httpd_1 | 86:8b:1f:37:9c:1e:ee:ef:59:d9:d9:3a:47:04:cd:
httpd_1 | 4d:5a:39:2f:55:2d:8d:59:df:22:94:25:6c:6c:91:
httpd_1 | 2a:50:cd:34:4c:93:36:0a:7f:56:d7:f7:a2:d8:a4:
httpd_1 | ef:44:6f:82:66:4c:51:c6:64:c1:e2:c2:05:0d:6f:
httpd_1 | 98:75:f9:c2:37:37:ee:60:7a:79:4c:34:6c:3d:77:
httpd_1 | 95:ae:b5:9b:40:21:45:6f:e3:c0:a0:6b:40:b0:a2:
httpd_1 | 1f:ac:dc:b9:28:c2:89:38:56:16:2a:44:6c:7a:4b:
httpd_1 | f0:60:cb:f3:0e:7c:a9:ea:63:87:56:cd:26:a1:77:
httpd_1 | ce:cd:cf:5b:7e:4c:66:65:ee:ac:66:43:61:ba:71:
httpd_1 | eb:85:59:3d:bb:6d:fb:d2:3c:a0:40:94:6b:13:67:
httpd_1 | cc:50:f9:bd:84:5b:a9:92:50:50:c0:8d:e8:43:43:
httpd_1 | 22:ca:7a:df:cd:b6:71:2a:6e:f4:20:18:92:e3:fc:
httpd_1 | f2:f7:6f:d0:32:48:9b:20:2d:4c:b9:be:25:c1:9d:
httpd_1 | 13:85:ee:20:89:7d:cc:8e:62:71:00:6a:5b:88:5e:
httpd_1 | d2:d4:cf:6a:93:29:bf:79:64:60:56:df:0a:25:56:
httpd_1 | 5e:e3
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:QMNew.loc, DNS:*.QMNew.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 14:be:c3:19:55:a9:94:63:39:04:89:7d:df:f6:e4:66:7c:31:
httpd_1 | c7:b1:9b:a0:fd:5c:b3:89:7a:2a:d3:fd:8e:6a:2b:78:7d:e2:
httpd_1 | 75:83:9f:99:da:25:09:4d:e8:0c:53:27:82:a1:ea:2f:9c:a9:
httpd_1 | 08:bf:04:f4:43:e0:0d:de:9b:7c:cf:cf:d1:41:b2:3e:34:ce:
httpd_1 | a9:8e:b7:98:eb:53:18:09:2c:95:b8:c5:0e:53:98:19:b1:f4:
httpd_1 | e3:16:2f:16:4d:c6:e9:d8:9a:94:e7:60:75:53:eb:ff:84:ef:
httpd_1 | 40:70:50:4b:04:31:6d:69:2b:fb:54:fc:6d:fb:8f:72:7d:c2:
httpd_1 | 24:c0:8c:d4:90:2c:a1:b2:46:a9:11:b4:0e:dc:a8:90:95:94:
httpd_1 | 0c:05:da:35:fb:45:70:4e:47:b3:8e:ef:93:01:62:b1:46:93:
httpd_1 | a2:43:4b:60:3a:ce:54:3b:e5:10:e0:63:c6:03:b3:3e:60:6b:
httpd_1 | 28:16:90:68:e6:4e:fb:ff:91:59:64:7e:8b:75:39:e3:13:85:
httpd_1 | e6:49:5c:de:c4:24:4b:12:60:97:47:19:b2:e9:ad:28:fa:1a:
httpd_1 | 30:59:9d:4e:e7:2d:b3:0c:c9:a7:8d:1d:ab:49:79:d9:b2:e1:
httpd_1 | 3e:91:76:1b:4e:28:b4:8d:99:33:1c:6a:cd:b3:a3:11:00:52:
httpd_1 | 45:40:43:1e
httpd_1 | /etc/httpd/cert/mass/QMNew.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/QMNew" -n "QMNew" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/QMNew/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 18:07:55] Adding: QMNew.loc
httpd_1 | watcherd: [2018-07-25 18:07:55] [OK] ADD: succeeded: /shared/httpd/QMNew
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/dams.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=dams.loc/emailAddress=admin@dams.loc' -out /etc/httpd/cert/mass/dams.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:dams.loc,DNS.2:*.dams.loc\n') -days 3650 -in /etc/httpd/cert/mass/dams.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/dams.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:e0
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 16:07:56 2018 GMT
httpd_1 | Not After : Jul 22 16:07:56 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = dams.loc, emailAddress = admin@dams.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:bd:c2:95:c6:02:5e:89:e8:4d:4c:4d:28:c0:8e:
httpd_1 | 27:48:ad:e2:ea:69:b5:2c:40:f4:b9:f8:cf:13:83:
httpd_1 | bc:91:7f:b5:5a:ee:8e:ef:c4:6d:73:0e:ab:78:3b:
httpd_1 | e8:9a:47:fc:4a:44:29:77:dc:c6:99:0e:fa:ac:74:
httpd_1 | c0:f5:55:b3:2b:6f:ce:01:69:5f:10:ed:6f:c1:2a:
httpd_1 | 57:50:a1:25:b7:44:a2:a6:63:e8:6b:81:56:04:e7:
httpd_1 | 49:e0:43:f2:2d:81:5b:3a:69:a5:90:71:6e:52:1a:
httpd_1 | 66:44:51:2c:45:ce:87:3f:e7:df:35:ff:bc:1c:df:
httpd_1 | b2:ef:ea:c3:43:ab:7d:a8:40:bc:5f:b7:d7:49:ff:
httpd_1 | fd:fe:78:95:56:9d:68:39:77:74:3e:c2:8e:c5:ae:
httpd_1 | b6:36:b9:49:53:86:2a:bf:a8:65:99:ef:57:12:76:
httpd_1 | 39:1d:33:40:20:07:9d:24:56:ce:ff:ac:6e:f7:a8:
httpd_1 | 05:e8:9c:89:82:4f:46:3e:69:e2:12:77:2d:7d:f3:
httpd_1 | b9:5f:96:72:1c:27:a5:cb:88:d3:87:40:ee:48:c5:
httpd_1 | c5:e6:4f:3f:59:f0:9b:04:7c:c5:88:66:fe:cf:2e:
httpd_1 | f4:2e:28:3f:97:b2:d2:9f:0e:7b:85:b2:a7:0c:4d:
httpd_1 | 01:c4:f4:56:be:18:12:80:ca:78:e6:79:f7:64:e7:
httpd_1 | 17:bd
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:dams.loc, DNS:*.dams.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 2d:e1:2a:90:02:91:5e:40:0f:bc:f6:95:36:4a:aa:7f:f0:46:
httpd_1 | 81:0a:3a:7f:cd:fd:a6:50:b4:5e:53:7f:9e:d1:8b:50:98:21:
httpd_1 | 0d:ab:21:8c:30:c8:e1:31:96:41:0d:bb:16:36:5b:af:4c:41:
httpd_1 | ad:cd:3a:fd:f8:62:27:1d:0f:3e:7c:bf:9b:56:dd:22:9e:3b:
httpd_1 | cb:0e:ca:72:e5:69:0d:8a:06:91:b7:2f:5c:51:8d:55:e2:97:
httpd_1 | 86:e6:04:c4:49:0b:4d:f4:fd:e6:f7:3d:ca:f0:2c:50:99:99:
httpd_1 | 9c:f1:ac:76:8a:78:02:f6:ef:c7:ec:e1:d0:c9:bd:2f:28:d1:
httpd_1 | 47:4a:49:22:94:15:2e:a0:af:3e:4e:f9:be:28:09:dd:d0:ee:
httpd_1 | 79:6e:35:3c:2b:b5:9d:76:3b:c3:f2:f5:71:42:4f:e2:a7:b9:
httpd_1 | c3:16:82:b3:6c:0b:91:1a:f4:53:16:bd:19:ed:ed:91:8c:15:
httpd_1 | 4c:26:8e:8b:ed:67:a6:27:6e:c3:ee:cc:4b:7c:21:8e:fd:37:
httpd_1 | 06:a0:65:05:4e:50:06:8e:1b:49:3a:d8:bc:9a:56:79:d0:9c:
httpd_1 | ce:b2:f8:d2:d5:23:c4:31:d8:cc:65:b4:18:16:fe:b4:10:f5:
httpd_1 | b1:e8:fd:ee:76:5f:a6:34:31:40:1c:ef:0f:16:4f:4f:b0:ab:
httpd_1 | 3b:77:5d:11
httpd_1 | /etc/httpd/cert/mass/dams.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/dams" -n "dams" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/dams/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 18:07:56] Adding: dams.loc
httpd_1 | watcherd: [2018-07-25 18:07:56] [OK] ADD: succeeded: /shared/httpd/dams
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/mynewwork.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=mynewwork.loc/emailAddress=admin@mynewwork.loc' -out /etc/httpd/cert/mass/mynewwork.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:mynewwork.loc,DNS.2:*.mynewwork.loc\n') -days 3650 -in /etc/httpd/cert/mass/mynewwork.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/mynewwork.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:e1
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 16:07:56 2018 GMT
httpd_1 | Not After : Jul 22 16:07:56 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = mynewwork.loc, emailAddress = admin@mynewwork.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:f4:87:ec:fd:9a:1a:30:86:0b:fc:7d:25:e5:1a:
httpd_1 | 30:72:dc:53:a2:f7:b2:31:6e:54:19:b3:67:7b:84:
httpd_1 | d7:95:1a:a2:0f:a0:ca:09:e4:ae:67:6e:f1:51:8c:
php_1 | [INFO] Debug level: 1
php_1 | [INFO] Changing user 'devilbox' uid to: 501
php_1 | [WARN] Group with 20 already exists: dialout
php_1 | [INFO] Changing GID of dialout to 9876
php_1 | [INFO] Changing group 'devilbox' gid to: 20
php_1 | [INFO] Setting container timezone to: Europe/Berlin
php_1 | [INFO] Setting PHP: timezone=Europe/Berlin
php_1 | [INFO] Docker date set to: Wed Jul 25 17:41:30 CEST 2018
php_1 | [INFO] $DOCKER_LOGS set to 0. Logging to files under: /var/log/php
php_1 | [INFO] Make sure to mount this directory in order to view logs
php_1 | [INFO] $ENABLE_MAIL set to 1. Enabling postfix catch-all
php_1 | [INFO] Forwarding mysql:3306 to 127.0.0.1:3306 inside this docker.
php_1 | [INFO] Forwarding pgsql:5432 to 127.0.0.1:5432 inside this docker.
php_1 | [INFO] Forwarding redis:6379 to 127.0.0.1:6379 inside this docker.
php_1 | [INFO] Forwarding memcd:11211 to 127.0.0.1:11211 inside this docker.
php_1 | [INFO] Forwarding mongo:27017 to 127.0.0.1:27017 inside this docker.
php_1 | [INFO] Enabling 'socat-3306-mysql-3306' to be started by supervisord
php_1 | [INFO] Enabling 'socat-5432-pgsql-5432' to be started by supervisord
php_1 | [INFO] Enabling 'socat-6379-redis-6379' to be started by supervisord
php_1 | [INFO] Enabling 'socat-11211-memcd-11211' to be started by supervisord
php_1 | [INFO] Enabling 'socat-27017-mongo-27017' to be started by supervisord
php_1 | [INFO] Enabling 'rsyslogd' to be started by supervisord
php_1 | [INFO] Enabling 'postfix' to be started by supervisord
php_1 | [INFO] Enabling 'php-fpm' to be started by supervisord
php_1 | [INFO] $ENABLE_MODULES set, but empty. Not enabling any PHP modules.
php_1 | [WARN] Enabling PHP Module: '' does not exist
php_1 | [INFO] $DISABLE_MODULES set, but empty. Not disabling any PHP modules.
php_1 | [INFO] $MYSQL_BACKUP_USER set for mysqldump-secure. Changing to 'root'
php_1 | [INFO] $MYSQL_BACKUP_PASS set for mysqldump-secure. Changing to '******'
php_1 | [INFO] $MYSQL_BACKUP_HOST set for mysqldump-secure. Changing to 'mysql'
php_1 | Updating certificates in /etc/ssl/certs...
php_1 | 1 added, 0 removed; done.
php_1 | Running hooks in /etc/ca-certificates/update.d...
php_1 | done.
php_1 | [INFO] Starting supervisord
php_1 | 2018-07-25 17:41:41,721 CRIT Set uid to user 0
php_1 | 2018-07-25 17:41:41,721 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing
php_1 | 2018-07-25 17:41:41,721 INFO Included extra file "/etc/supervisor/conf.d/postfix.conf" during parsing
php_1 | 2018-07-25 17:41:41,721 INFO Included extra file "/etc/supervisor/conf.d/rsyslogd.conf" during parsing
php_1 | 2018-07-25 17:41:41,721 INFO Included extra file "/etc/supervisor/conf.d/socat-11211-memcd-11211.conf" during parsing
php_1 | 2018-07-25 17:41:41,721 INFO Included extra file "/etc/supervisor/conf.d/socat-27017-mongo-27017.conf" during parsing
php_1 | 2018-07-25 17:41:41,722 INFO Included extra file "/etc/supervisor/conf.d/socat-3306-mysql-3306.conf" during parsing
php_1 | 2018-07-25 17:41:41,722 INFO Included extra file "/etc/supervisor/conf.d/socat-5432-pgsql-5432.conf" during parsing
php_1 | 2018-07-25 17:41:41,722 INFO Included extra file "/etc/supervisor/conf.d/socat-6379-redis-6379.conf" during parsing
php_1 | 2018-07-25 17:41:41,728 INFO supervisord started with pid 1
php_1 | 2018-07-25 17:41:42,731 INFO spawned: 'rsyslogd' with pid 1798
php_1 | 2018-07-25 17:41:42,732 INFO spawned: 'socat-3306-mysql-3306' with pid 1799
php_1 | 2018-07-25 17:41:42,734 INFO spawned: 'socat-6379-redis-6379' with pid 1800
php_1 | 2018-07-25 17:41:42,737 INFO spawned: 'postfix' with pid 1801
php_1 | 2018-07-25 17:41:42,751 INFO spawned: 'socat-27017-mongo-27017' with pid 1802
php_1 | 2018-07-25 17:41:42,762 INFO spawned: 'php-fpm' with pid 1804
php_1 | 2018-07-25 17:41:42,770 INFO spawned: 'socat-11211-memcd-11211' with pid 1807
php_1 | 2018-07-25 17:41:42,786 INFO spawned: 'socat-5432-pgsql-5432' with pid 1808
php_1 | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
php_1 | rsyslogd: activation of module imklog failed [v8.24.0 try http://www.rsyslog.com/e/2145 ]
php_1 | 2018-07-25 17:41:44,026 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 17:41:44,026 INFO success: socat-3306-mysql-3306 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 17:41:44,026 INFO success: socat-6379-redis-6379 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 17:41:44,026 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 17:41:44,026 INFO success: socat-27017-mongo-27017 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 17:41:44,026 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 17:41:44,026 INFO success: socat-11211-memcd-11211 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 17:41:44,026 INFO success: socat-5432-pgsql-5432 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 18:07:42,227 WARN received SIGTERM indicating exit request
php_1 | 2018-07-25 18:07:42,228 INFO waiting for socat-3306-mysql-3306, socat-6379-redis-6379, postfix, socat-27017-mongo-27017, php-fpm, socat-11211-memcd-11211, socat-5432-pgsql-5432, rsyslogd to die
php_1 | 2018-07-25 18:07:42,229 INFO stopped: socat-5432-pgsql-5432 (exit status 143)
php_1 | 2018-07-25 18:07:42,230 INFO stopped: socat-11211-memcd-11211 (exit status 143)
php_1 | 2018-07-25 18:07:42,284 INFO stopped: php-fpm (exit status 0)
php_1 | 2018-07-25 18:07:42,285 INFO stopped: socat-27017-mongo-27017 (exit status 143)
php_1 | 2018-07-25 18:07:42,790 INFO reaped unknown pid 1914
php_1 | 2018-07-25 18:07:42,790 INFO reaped unknown pid 1915
php_1 | 2018-07-25 18:07:42,790 INFO reaped unknown pid 1916
php_1 | 2018-07-25 18:07:43,820 INFO stopped: postfix (exit status 0)
php_1 | 2018-07-25 18:07:43,822 INFO stopped: socat-6379-redis-6379 (exit status 143)
php_1 | 2018-07-25 18:07:43,823 INFO stopped: socat-3306-mysql-3306 (exit status 143)
php_1 | 2018-07-25 18:07:43,825 INFO stopped: rsyslogd (exit status 0)
php_1 | [INFO] Debug level: 1
php_1 | [INFO] Changing user 'devilbox' uid to: 501
php_1 | usermod: no changes
php_1 | [INFO] Changing group 'devilbox' gid to: 20
php_1 | [INFO] Setting container timezone to: Europe/Berlin
php_1 | [INFO] Setting PHP: timezone=Europe/Berlin
php_1 | [INFO] Docker date set to: Wed Jul 25 18:07:49 CEST 2018
php_1 | [INFO] $DOCKER_LOGS set to 0. Logging to files under: /var/log/php
php_1 | [INFO] Make sure to mount this directory in order to view logs
php_1 | [INFO] $ENABLE_MAIL set to 1. Enabling postfix catch-all
php_1 | [INFO] Forwarding mysql:3306 to 127.0.0.1:3306 inside this docker.
php_1 | [INFO] Forwarding pgsql:5432 to 127.0.0.1:5432 inside this docker.
php_1 | [INFO] Forwarding redis:6379 to 127.0.0.1:6379 inside this docker.
php_1 | [INFO] Forwarding memcd:11211 to 127.0.0.1:11211 inside this docker.
php_1 | [INFO] Forwarding mongo:27017 to 127.0.0.1:27017 inside this docker.
php_1 | [INFO] Enabling 'socat-3306-mysql-3306' to be started by supervisord
php_1 | [INFO] Enabling 'socat-5432-pgsql-5432' to be started by supervisord
php_1 | [INFO] Enabling 'socat-6379-redis-6379' to be started by supervisord
php_1 | [INFO] Enabling 'socat-11211-memcd-11211' to be started by supervisord
php_1 | [INFO] Enabling 'socat-27017-mongo-27017' to be started by supervisord
php_1 | [INFO] Enabling 'rsyslogd' to be started by supervisord
php_1 | [INFO] Enabling 'postfix' to be started by supervisord
php_1 | [INFO] Enabling 'php-fpm' to be started by supervisord
php_1 | [INFO] $ENABLE_MODULES set, but empty. Not enabling any PHP modules.
php_1 | [WARN] Enabling PHP Module: '' does not exist
php_1 | [INFO] $DISABLE_MODULES set, but empty. Not disabling any PHP modules.
php_1 | [INFO] $MYSQL_BACKUP_USER set for mysqldump-secure. Changing to 'root'
php_1 | [INFO] $MYSQL_BACKUP_PASS set for mysqldump-secure. Changing to '******'
php_1 | [INFO] $MYSQL_BACKUP_HOST set for mysqldump-secure. Changing to 'mysql'
php_1 | Updating certificates in /etc/ssl/certs...
php_1 | 0 added, 0 removed; done.
php_1 | Running hooks in /etc/ca-certificates/update.d...
php_1 | done.
php_1 | [INFO] Starting supervisord
php_1 | 2018-07-25 18:07:56,611 CRIT Set uid to user 0
php_1 | 2018-07-25 18:07:56,611 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing
php_1 | 2018-07-25 18:07:56,611 INFO Included extra file "/etc/supervisor/conf.d/postfix.conf" during parsing
php_1 | 2018-07-25 18:07:56,612 INFO Included extra file "/etc/supervisor/conf.d/rsyslogd.conf" during parsing
php_1 | 2018-07-25 18:07:56,612 INFO Included extra file "/etc/supervisor/conf.d/socat-11211-memcd-11211.conf" during parsing
php_1 | 2018-07-25 18:07:56,612 INFO Included extra file "/etc/supervisor/conf.d/socat-27017-mongo-27017.conf" during parsing
php_1 | 2018-07-25 18:07:56,613 INFO Included extra file "/etc/supervisor/conf.d/socat-3306-mysql-3306.conf" during parsing
php_1 | 2018-07-25 18:07:56,613 INFO Included extra file "/etc/supervisor/conf.d/socat-5432-pgsql-5432.conf" during parsing
php_1 | 2018-07-25 18:07:56,613 INFO Included extra file "/etc/supervisor/conf.d/socat-6379-redis-6379.conf" during parsing
php_1 | 2018-07-25 18:07:56,618 INFO supervisord started with pid 1
php_1 | 2018-07-25 18:07:57,622 INFO spawned: 'rsyslogd' with pid 1169
php_1 | 2018-07-25 18:07:57,626 INFO spawned: 'socat-3306-mysql-3306' with pid 1170
php_1 | 2018-07-25 18:07:57,634 INFO spawned: 'socat-6379-redis-6379' with pid 1171
php_1 | 2018-07-25 18:07:57,655 INFO spawned: 'postfix' with pid 1172
php_1 | 2018-07-25 18:07:57,660 INFO spawned: 'socat-27017-mongo-27017' with pid 1174
php_1 | 2018-07-25 18:07:57,663 INFO spawned: 'php-fpm' with pid 1175
php_1 | 2018-07-25 18:07:57,670 INFO spawned: 'socat-11211-memcd-11211' with pid 1177
php_1 | 2018-07-25 18:07:57,679 INFO spawned: 'socat-5432-pgsql-5432' with pid 1178
php_1 | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
php_1 | rsyslogd: activation of module imklog failed [v8.24.0 try http://www.rsyslog.com/e/2145 ]
php_1 | 2018-07-25 18:07:58,789 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 18:07:58,789 INFO success: socat-3306-mysql-3306 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 18:07:58,789 INFO success: socat-6379-redis-6379 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 18:07:58,789 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 18:07:58,789 INFO success: socat-27017-mongo-27017 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 18:07:58,789 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 18:07:58,789 INFO success: socat-11211-memcd-11211 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2018-07-25 18:07:58,789 INFO success: socat-5432-pgsql-5432 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | 9f:8b:be:2e:bf:6c:ca:76:19:24:77:2b:2c:75:6e:
httpd_1 | 0b:d3:88:99:9a:ce:ee:ad:67:eb:29:d9:9a:bc:03:
httpd_1 | eb:5a:ca:f1:ab:f2:e2:fb:b6:a2:26:4b:a5:ab:f9:
httpd_1 | d8:4d:77:eb:4a:c5:93:b5:4e:a6:94:ff:05:3f:e3:
httpd_1 | f9:6b:50:e5:75:46:f8:86:3b:47:72:98:1e:91:cc:
httpd_1 | 1e:f9:f8:48:f6:60:a9:7a:f8:c7:a4:09:3f:64:21:
httpd_1 | 77:87:c6:49:db:27:06:4c:16:5e:97:99:27:6d:3b:
httpd_1 | 5f:40:cf:e2:26:b3:c9:b7:55:f2:7c:a9:9c:3c:d8:
httpd_1 | fa:96:9f:df:a9:5b:4f:74:e2:35:78:87:6a:56:74:
httpd_1 | cc:37:07:1a:85:38:b3:a6:88:26:e6:15:b3:8c:44:
httpd_1 | 1c:c1:f5:02:ab:39:8b:33:e8:24:9b:bb:d3:38:b3:
httpd_1 | 0f:ab:2d:3a:d4:5b:0b:ef:59:4c:fa:c8:2e:c6:ff:
httpd_1 | 02:2b:c0:d5:05:38:79:1d:24:58:9b:d4:1a:fa:31:
httpd_1 | d5:a9:10:74:08:d1:54:62:ff:14:12:d7:37:20:d5:
httpd_1 | 65:71
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:mynewwork.loc, DNS:*.mynewwork.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 7a:82:c7:00:d8:40:64:6d:96:27:30:b4:66:dd:e2:e0:aa:39:
httpd_1 | 5b:a5:8e:72:f8:0a:d9:1b:70:e9:09:a3:f1:12:9a:43:b3:29:
httpd_1 | 6f:3a:9f:75:ce:17:c5:ef:a5:00:48:aa:75:4b:81:cb:54:bf:
httpd_1 | ab:3f:c7:73:bc:08:b0:64:9d:1b:01:d9:78:2d:47:60:9f:5b:
httpd_1 | b5:c9:5a:99:1b:f2:03:c5:cd:f1:36:55:76:06:1a:b5:7a:d6:
httpd_1 | 93:da:9d:89:8c:bc:d9:57:b4:5a:bb:d7:cf:56:31:ee:f7:05:
httpd_1 | 05:ac:b9:b2:76:12:90:f5:b0:f6:b7:f5:10:30:e1:b9:65:e8:
httpd_1 | 47:f9:87:02:bc:64:0d:a2:16:bf:7e:87:bc:9d:25:aa:1a:7e:
httpd_1 | 0d:0d:39:26:a8:63:21:c8:4f:43:89:e7:e4:11:54:3e:0d:90:
httpd_1 | 15:32:40:8b:c7:78:64:f7:ba:af:6f:3f:6a:91:e0:12:84:01:
httpd_1 | 1d:e4:e9:03:40:dd:76:c8:14:c3:de:5e:b4:8b:bc:5d:21:73:
httpd_1 | 92:0f:4c:0d:04:90:50:66:7d:fd:9f:a2:8a:d4:ce:1e:46:a5:
httpd_1 | f0:ab:c6:05:3f:8b:c0:ba:01:0f:6a:0c:a2:91:ae:8f:98:39:
httpd_1 | 43:1d:e3:34:a0:52:e7:f0:7e:59:51:29:73:b9:8b:2b:82:f2:
httpd_1 | 15:b7:97:0f
httpd_1 | /etc/httpd/cert/mass/mynewwork.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/mynewwork" -n "mynewwork" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/mynewwork/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 18:07:56] Adding: mynewwork.loc
httpd_1 | watcherd: [2018-07-25 18:07:56] [OK] ADD: succeeded: /shared/httpd/mynewwork
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/qm.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=qm.loc/emailAddress=admin@qm.loc' -out /etc/httpd/cert/mass/qm.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:qm.loc,DNS.2:*.qm.loc\n') -days 3650 -in /etc/httpd/cert/mass/qm.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/qm.loc.crt
httpd_1 | Certificate:
bind_1 | [INFO] Debug level: 1
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 -> 172.16.238.11
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
bind_1 | [INFO] Debug level: 1
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 -> 172.16.238.11
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 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:e2
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 16:07:57 2018 GMT
httpd_1 | Not After : Jul 22 16:07:57 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = qm.loc, emailAddress = admin@qm.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:d0:6a:a7:8a:4a:bc:c2:66:7f:b5:05:75:1d:33:
httpd_1 | f3:3a:7a:b3:9d:cb:80:7c:81:cb:d4:83:88:7a:e3:
httpd_1 | 9d:0b:cb:dc:fa:5b:f0:97:a2:6b:2b:e3:32:3f:fd:
httpd_1 | 8c:a3:1d:a8:8b:fb:fc:af:dd:c5:fe:28:4e:94:bd:
httpd_1 | ff:14:db:61:4d:d1:1a:79:b5:0f:9e:dd:17:5f:6f:
httpd_1 | 6f:7b:8a:e1:b1:0a:bf:6f:84:f8:1f:f4:c5:21:ba:
httpd_1 | d7:80:f9:76:bc:27:d4:76:59:f2:6b:a0:04:e5:d8:
httpd_1 | 01:25:9f:5c:0d:15:6b:b2:57:b5:11:8c:1a:6e:45:
httpd_1 | 09:e1:f6:de:b7:9d:a6:e4:7b:c9:02:93:85:8d:9e:
httpd_1 | 46:bd:5a:af:ff:10:54:46:a6:89:30:00:3f:77:82:
httpd_1 | a2:86:8e:8a:ed:2f:8a:4d:e0:41:76:56:d7:63:84:
httpd_1 | ec:ca:0c:f2:39:92:00:20:37:f0:df:b1:20:79:a0:
httpd_1 | 62:b1:36:85:a7:ec:c6:79:86:12:6b:c2:6b:34:fe:
httpd_1 | d7:77:a8:dc:04:db:9a:7e:ea:f2:ed:4a:3d:50:2b:
httpd_1 | b0:e7:4e:97:8b:21:97:6c:c2:b4:e6:ef:78:3a:a9:
httpd_1 | 6e:fb:b8:70:d6:ee:42:d7:40:d1:00:00:ee:99:31:
httpd_1 | 31:c1:13:9f:44:ba:b2:5f:76:fa:0a:81:5f:2d:6d:
httpd_1 | 31:01
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:qm.loc, DNS:*.qm.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | cb:9a:65:43:7e:3f:1e:eb:e4:de:73:aa:12:ac:e7:a7:22:08:
httpd_1 | f2:8e:89:7c:fa:52:82:49:55:60:fc:59:89:a3:4b:d8:13:24:
httpd_1 | fb:ba:dd:96:83:99:1f:2f:64:ba:ca:1d:bb:a9:d6:98:ec:74:
httpd_1 | 64:ac:f6:b4:33:e6:99:af:6c:47:d0:d6:c7:85:3e:c3:6e:6f:
httpd_1 | bc:a1:4f:ad:f1:a5:cc:d6:cc:7e:2a:05:d5:8a:f1:69:d3:3f:
httpd_1 | cc:4d:8c:63:ef:f0:a4:4b:bf:c2:c5:da:ae:b9:18:33:57:21:
httpd_1 | c1:da:c8:c3:fe:20:54:63:57:1e:43:f8:62:5f:af:d5:76:92:
httpd_1 | 49:a1:53:be:12:f0:b9:35:3d:6c:b6:b7:8d:9c:85:de:f4:f3:
httpd_1 | 8d:5f:21:23:7f:88:6e:c2:40:10:1d:05:e5:54:06:00:c5:86:
httpd_1 | fa:31:6e:14:4f:ec:5b:40:b5:fc:29:11:5e:00:5d:ec:9a:03:
httpd_1 | 1c:e7:6e:0e:1b:11:f4:92:79:bc:8d:09:d4:23:1e:1b:1b:bb:
httpd_1 | d3:25:b0:39:6e:fa:73:33:7b:7d:d2:ca:b8:3e:1a:03:96:9e:
httpd_1 | a4:80:48:70:7b:46:45:56:21:92:b2:af:ac:91:6e:44:10:6e:
httpd_1 | 31:90:56:5f:2b:19:18:0a:76:e4:b9:39:dd:20:fd:93:a1:d1:
httpd_1 | 97:d0:a7:22
httpd_1 | /etc/httpd/cert/mass/qm.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/qm" -n "qm" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/qm/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 18:07:57] Adding: qm.loc
httpd_1 | watcherd: [2018-07-25 18:07:57] [OK] ADD: succeeded: /shared/httpd/qm
httpd_1 | $ openssl req -newkey rsa:2048 -nodes -extensions v3_req -keyout /etc/httpd/cert/mass/siddika.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=siddika.loc/emailAddress=admin@siddika.loc' -out /etc/httpd/cert/mass/siddika.loc.csr
httpd_1 | $ openssl x509 -req -extensions v3_req -extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=DNS.1:siddika.loc,DNS.2:*.siddika.loc\n') -days 3650 -in /etc/httpd/cert/mass/siddika.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/siddika.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | cc:80:a3:37:60:f2:4f:e3
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 = "OJdb293wsS+M7ah8XDbh5ueWY/U="
httpd_1 | Validity
httpd_1 | Not Before: Jul 25 16:07:58 2018 GMT
httpd_1 | Not After : Jul 22 16:07:58 2028 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = siddika.loc, emailAddress = admin@siddika.loc
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:92:d2:06:04:e1:88:5e:6a:63:d7:8a:f4:4a:81:
httpd_1 | d0:aa:93:ec:94:7a:4e:32:24:cf:aa:04:05:fc:3f:
httpd_1 | fa:a6:4e:f5:d2:73:68:64:e0:0b:49:f8:17:12:40:
httpd_1 | fc:42:a6:52:80:c5:a7:33:11:53:4f:08:ed:c5:95:
httpd_1 | ce:aa:3d:be:a6:2b:7d:78:14:16:eb:62:2f:47:0b:
httpd_1 | 30:c5:6a:67:c1:78:44:54:d5:f3:c1:ce:63:66:66:
httpd_1 | 6a:14:ed:2f:35:3d:cd:8d:25:d8:5e:dc:a0:2b:8f:
httpd_1 | 16:2f:14:ed:f1:d5:ab:14:4f:7b:77:32:c3:ba:aa:
httpd_1 | fa:97:dc:bc:9b:a7:32:5b:1f:98:17:68:4f:0d:10:
httpd_1 | 67:08:d2:9d:f0:63:cf:b3:71:fd:9d:e5:56:ce:af:
httpd_1 | 21:4e:a6:cd:fc:8c:3e:37:4d:c3:e9:3c:42:ac:0f:
httpd_1 | 74:18:86:16:fa:d9:18:56:02:ea:a7:23:5a:ed:fa:
httpd_1 | 2c:60:5c:0a:86:4c:12:fc:9d:4c:0e:67:97:89:29:
httpd_1 | e9:d4:fc:68:12:57:eb:2f:bb:aa:01:a1:51:89:b4:
httpd_1 | 1c:89:e5:5b:98:96:f7:a1:06:2d:bb:87:ae:3a:b6:
httpd_1 | b0:3d:10:45:6f:8b:03:31:ed:cb:9a:8a:62:56:8b:
httpd_1 | 7b:1f:d7:c9:dc:23:7f:89:bb:f1:8b:85:52:1e:ae:
httpd_1 | 22:49
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:siddika.loc, DNS:*.siddika.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 4a:65:26:48:78:86:54:99:fd:a9:ee:67:da:b6:f6:fe:cb:69:
httpd_1 | f4:17:c2:db:31:7a:47:86:c2:fe:73:dd:c2:54:97:0e:18:54:
httpd_1 | fa:f0:b1:06:24:fb:68:33:59:77:40:3a:9f:4c:3b:6a:2e:61:
httpd_1 | a9:27:c1:8e:73:f8:45:3f:54:2b:c3:c6:12:c9:92:83:d7:da:
httpd_1 | fb:89:44:d0:52:97:d0:82:fa:2b:de:9d:fe:48:72:41:c3:1f:
httpd_1 | 5d:8f:2a:f4:6e:c2:cb:78:31:3a:8a:fc:6b:a6:6c:56:03:2d:
httpd_1 | e2:49:81:9a:c1:87:1b:af:72:86:cd:cd:66:7e:dd:6b:8d:c7:
httpd_1 | 62:17:bf:e3:f7:bf:45:f0:4a:96:d9:af:2f:e4:77:1d:90:5a:
httpd_1 | fd:be:81:c9:fe:79:d4:15:8e:73:f0:55:5a:3b:36:09:5d:b4:
httpd_1 | 5e:0e:96:7e:97:a3:cd:ea:71:b5:67:32:01:66:dd:a1:99:7b:
httpd_1 | 9a:91:54:a1:65:83:ce:2a:c9:1e:71:8d:49:9f:94:e5:ac:85:
httpd_1 | 2b:20:c3:f1:91:b5:62:b8:5d:3f:1e:5c:ba:3c:b1:35:cc:77:
httpd_1 | 1b:ce:c0:ad:2e:25:2c:c3:cd:ba:b5:a4:e8:76:82:5f:2f:82:
httpd_1 | cc:79:6a:4f:c7:60:75:7b:27:df:1a:fe:3b:bc:04:0b:6e:31:
httpd_1 | 2a:d3:7e:c1
httpd_1 | /etc/httpd/cert/mass/siddika.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/siddika" -n "siddika" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/siddika/.devilbox/" -s -v -m both
httpd_1 | vhostgen: [2018-07-25 18:07:58] Adding: siddika.loc
httpd_1 | watcherd: [2018-07-25 18:07:58] [OK] ADD: succeeded: /shared/httpd/siddika
httpd_1 | 2018/07/25 18:07:58 [notice] 283#283: signal process started
httpd_1 | watcherd: [2018-07-25 18:07:58] [OK] TRIGGER succeeded: nginx -s stop
httpd_1 | watcherd: [2018-07-25 18:07:58] Using bash loop to watch for changes.
httpd_1 | 2018-07-25 18:07:58,455 INFO exited: httpd (exit status 0; expected)
httpd_1 | 2018-07-25 18:07:59,459 INFO spawned: 'httpd' with pid 302
httpd_1 | 2018-07-25 18:08:00,461 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
MIRs-MacBook-Pro:devilbox mirsiddika$
@qlstudent
I have the same issue as well in Mac OS El Capitan. I switched from PHP 7.2 to PHP 5.6 and I have 504 error
For intranet or projects? If for projects, please let me know which Framework and for what requests
and also some sites show up as they don't have /etc/hosts entry even though they totally do.
Can you attach a screenshot of the vhost overview with open console
@cytopia I was able to fix / mitigate my issue by changing some php fpm settings.
I've read some things that say php-fpm children have problems after handling enough requests and its better if it is set to stop and start a replacement child.
I used ab (apache benchmark) to cause the errors, and after these pool changes, I cannot reproduce it.
ab -r -n 5000 -c 100 https://devilbox.loc/vhosts.php
(Note: this benchmarking will use all your system resources. my CPU fans were going at full speed while running this)
pool.conf changes:
pm.max_children = 100
pm.start_servers = 20
pm.max_requests = 500
This may be more processes than most people need, but the max_requests is a reduction from infinity, and max_children set to higher values shouldn't cause problems unless you stress devilbox enough to need more processes.
I get these as well with wordpress.
student@student-HP-EliteDesk-800-G1-SFF:~$ cat src/devilbox/.env
###
### ---------------------------------------------------
### 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 dockers!
###
### For custom variables, scroll to the bottom
###
###
### Show all executed commands in each
### docker image during docker-compose up?
###
### 1: Yes
### 0: No
DEBUG_COMPOSE_ENTRYPOINT=1
###
### 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 color ':')
### 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 all dockers and service config files
###
TIMEZONE=Europe/Berlin
################################################################################
###
### 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
###
### 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
################################################################################
###
### 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
###
#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
###
### 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=percona-5.5
#MYSQL_SERVER=percona-5.6
#MYSQL_SERVER=percona-5.7
###
### 1.4 Choose PostgreSQL Server Image
###
#PGSQL_SERVER=9.1
#PGSQL_SERVER=9.2
#PGSQL_SERVER=9.3
#PGSQL_SERVER=9.4
#PGSQL_SERVER=9.5
#PGSQL_SERVER=9.6
#PGSQL_SERVER=10.0
#PGSQL_SERVER=10.1
#PGSQL_SERVER=10.2
PGSQL_SERVER=10.3
###
### 1.5 Choose Redis Server Image
###
#REDIS_SERVER=2.8
#REDIS_SERVER=3.0
#REDIS_SERVER=3.2
REDIS_SERVER=4.0
###
### 1.6 Choose Memcached Server Image
###
#MEMCD_SERVER=1.4.21
#MEMCD_SERVER=1.4.22
#MEMCD_SERVER=1.4.23
#MEMCD_SERVER=1.4.24
#MEMCD_SERVER=1.4.25
#MEMCD_SERVER=1.4.26
#MEMCD_SERVER=1.4.27
#MEMCD_SERVER=1.4.28
#MEMCD_SERVER=1.4.29
#MEMCD_SERVER=1.4.30
#MEMCD_SERVER=1.4.31
#MEMCD_SERVER=1.4.32
#MEMCD_SERVER=1.4.33
#MEMCD_SERVER=1.4.34
#MEMCD_SERVER=1.4.35
#MEMCD_SERVER=1.4.36
#MEMCD_SERVER=1.4.37
#MEMCD_SERVER=1.4.38
#MEMCD_SERVER=1.4.39
#MEMCD_SERVER=1.5.0
#MEMCD_SERVER=1.5.1
#MEMCD_SERVER=1.5.2
#MEMCD_SERVER=1.5.3
#MEMCD_SERVER=1.5.4
MEMCD_SERVER=1.5.5
#MEMCD_SERVER=latest
###
### 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.5
#MONGO_SERVER=3.6
MONGO_SERVER=3.7
################################################################################
###
### 2. Host Mounts (Your computer)
###
################################################################################
###
### 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 mysql/mariadb datadir.
###
### This can be an existing mysql data directory or empty.
### If it already is a mysql data directory with content,
### it will be mounted into the docker and used.
###
### If this directory is empty, a new mysql database will be
### created.
###
### Note: Inside this path, a subdirectory with the mysql|mariadb
### version will be created where the actual data resides.
### This is to protect databases from being altered by
### newer or older mysql|mariadb server versions.
###
### 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_MYSQL_DATADIR=./data/mysql
###
### Local filesystem path to postgresql datadir.
###
### This can be an existing postgresql data directory or empty.
### If it already is a postgresql data directory with content,
### it will be mounted into the docker and used.
###
### If this directory is empty, a new postgresql database will be
### created.
###
### Note: Inside this path, a subdirectory with the postgresql
### version will be created where the actual data resides.
### This is to protect databases from being altered by
### newer or older postgres server versions.
###
### 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_PGSQL_DATADIR=./data/pgsql
###
### Local filesystem path to mongodb datadir.
###
### This can be an existing mongodb data directory or empty.
### If it already is a mongodb data directory with content,
### it will be mounted into the docker and used.
###
### If this directory is empty, a new mongodb database will be
### created.
###
### 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_MONGO_DATADIR=./data/mongo
################################################################################
###
### 3. PHP Docker Settings
###
################################################################################
###
### Enable certain PHP modules which are not enabled by default
###
### Currently the only module that can be enabled is 'ioncube'
###
### PHP_MODULES_ENABLE=ioncube
###
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=
###
### 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
###
### 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
################################################################################
###
### 5. MySQL Docker Settings
###
################################################################################
###
### MySQL root user password
###
### If $HOST_PATH_MYSQL_DATADIR already contains an existing
### mysql datadir, enter the password for the existing mysql database
###
### If $HOST_PATH_MYSQL_DATADIR is empty, choose a new password that
### will be applied
###
MYSQL_ROOT_PASSWORD=
###
### Custom MySQL Runtime Settings
###
MYSQL_GENERAL_LOG=0
###
### 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
###
PGSQL_ROOT_PASSWORD=
###
### Expose PostgreSQL Port to Host
###
HOST_PORT_PGSQL=5432
################################################################################
###
### 7. Redis Docker Settings
###
################################################################################
###
### Expose Redis Port to Host
###
HOST_PORT_REDIS=6379
################################################################################
###
### 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=1053
###
### 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
student@student-HP-EliteDesk-800-G1-SFF:~$
@science695 unfortunately I am still unable to reproduce. Maybe my machine is just to powerful ;-) or my applications don't consume enough processes/mem/cpu.
Regarding your settings:
pool.conf changes:
pm.max_children = 100 pm.start_servers = 20 pm.max_requests = 500
I don't want to increase it too much right at the beginning as other people might have very little RAM available. As far as I've read now pm.max_requests = 500
should be the one that will prevent it.
Could you apply the following settings and let me know how this handles it:
pm.max_children = 50
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 35
pm.max_requests = 500
I have now benchmarked it with PrestaShop and Magento as they are pretty performance hungry. Additionally only tested HTTPS to get even more performance penalty:
Container:
HTTPS with keep alive
ab -r -n 5000 -c 100 -v 2 -k https://presta.loc/en/ 2>/dev/null | grep ^HTTP
ab -r -n 5000 -c 100 -v 2 -k https://magento/ 2>/dev/null | grep ^HTTP
HTTPS without keep alive
ab -r -n 5000 -c 100 -v 2 https://presta.loc/en/ 2>/dev/null | grep ^HTTP
ab -r -n 5000 -c 100 -v 2 https://magento/ 2>/dev/null | grep ^HTTP
After a lot of back and forth I now came to the following balance between initial RAM consumption and not throwing 500s:
[www]
pm.max_children = 50
pm.start_servers = 10
pm.min_spare_servers = 5
pm.max_spare_servers = 15
pm.max_requests = 500
@stefanlesik @cnewfeldt @adammarton @JakubHelis @science695 @pauloffb @qlstudent
Can you please test the new PHP-FPM configuration and report back how this works.
To set this up read on here: https://devilbox.readthedocs.io/en/latest/configuration-files/php-fpm-conf.html
As far as I can tell (after a day of work) the config fixes the problem.
@chrizz1001 good to hear.
I will have another few commits coming soon to generalize the configuration accross all PHP versions. This will lead to new Docker images. I will update here once they are pushed to the above specified PR.
Another thing I just found out is that Apache 2.4 is keeping the connection to the PHP-FPM processes up, thus the PHP-FPM processes cannot respawn and get not drowned. I will add a patch for it as well.
I have now switched from pm = dynamic
to pm = ondemand
. This has the benefit that the initial RAM consumption of the PHP container is at around 50-60 Megabytes in total.
Workers are spawned ondemand and will also be released after 10sec of inactivity, meaning if nothing happens the RAM consumption goes back to 50-60 Megabytes.
Nevertheless I have benched it with ab
and the results are very promising.
Defaults for PHP are available here:
[global]
log_level = notice
[www]
request_terminate_timeout = 120s
listen.backlog = 1024
pm = ondemand
pm.max_children = 50
pm.start_servers = 4
pm.min_spare_servers = 2
pm.max_spare_servers = 6
pm.max_requests = 500
pm.process_idle_timeout = 10s
memory_limit = 512M
max_execution_time = 120
max_input_time = 120
post_max_size = 72M
upload_max_filesize = 64M
max_file_uploads = 20
variables_order = EGPCS
max_input_vars = 8000
max_input_nesting_level = 64
error_reporting = E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED
xmlrpc_errors = Off
report_memleaks = On
display_errors = On
display_startup_errors = On
track_errors = On
log_errors = On
html_errors = On
xdebug.default_enable = Off
xdebug.profiler_enable = Off
xdebug.remote_enable = Off
xdebug.remote_autostart = Off
Those will be available later this day in a new PR.
Travis-CI seems to have some problems and therefore the images are not yet available: https://www.traviscistatus.com/incidents/118bjpkgkg00
listen.backlog = 128
was way too low. I've set it to 1024
now and waiting for the images to be pushed to Dockerhub.
Currently benchmarking Magento2 over https to make sure those settings will meet the requirements.
Hi - I'm getting 504 timeout errors and general performance issues, especially when trying to access wp-admin across various sites within auto DNS. Any ideas? I'm on:
OSX High Sierra Docker Version 18.03.0-ce-mac60 (23751) Compose: 1.20.1
Here's my .env attached env.txt