-
-
Notifications
You must be signed in to change notification settings - Fork 666
Description
Have you already looked into this bug?
- I have checked the Troubleshooting Guide
- I have checked Release notes for potential migration steps
- I have checked existing issues for similar bugs
- I have googled this bug already with no luck
- I have not done any of the above
(Optional) Error message
[ERROR] InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.6.7.
What went wrong?
Fresh clone of devilbox, copied the example env file, modified to use MariaDB 10.4 instead of 10.6. But it fails to launch saying it's not supporting the redo log format of MariaDB of 10.6.7. Not sure why it's using redo log of 10.6.7 when I want to use 10.4.x.
Magento 2.4.x doesn't allow me to install when the MariaDB version is not supported: https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html
And I tried MariaDB version 10.2 and 10.3, I still can't start the DB instance.
Expected behaviour
MariaDB instance to run properly.
How can we reproduce the bug?
git clone https://github.com/cytopia/devilbox
cd devilbox
cp env-example .env
sudo docker-compose up mysql ### WORKS WHEN USING 10.6CHANGE THE VERSION OF MARIADB TO 10.4
sudo docker-compose up mysql ### ERROR => [ERROR] InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.6.7.Host Operating System
Linux
Host Platform (amd64, arm64, other)
amd64
(Linux only) Is SELinux enabled?
I don't know
Docker version
Docker version 20.10.14, build a224086
Docker Compose version
docker-compose version 1.25.0, build unknown
Devilbox version
latest master (commit: 6a04527)
Have you removed stopped containers before starting?
Yes
Have you pulled latest Docker images before starting?
Yes
Devilbox start command
sudo docker-compose up mysql
Config: .env file
###
### ---------------------------------------------------
### D E V I L B O X R U N - T I M E S E T T I N G S
### ---------------------------------------------------
###
### All the following settings are applied during
### $ docker-compose up
###
### No need to rebuild any docker images!
###
### IMPORTANT:
### ----------
### When changing any values ensure to stop, rm and restart:
### $ docker-compose stop
### $ docker-compose rm -f
### $ docker-compose up
###
### NOTE:
### -----
### For you own custom variables, scroll to the bottom
###
# The following line will disable any shellcheck warnings throughout this file
# shellcheck disable=SC2034,SC2125
###
### Show all executed commands in each
### docker image during docker-compose up?
###
### 0: Quiet
### 1: Verbose
### 2: More verbose
DEBUG_COMPOSE_ENTRYPOINT=2
###
### Log to file or Docker logs.
###
### Logging to file means log files are available under log/
### on your host operating system.
### Logging to Docker logs means log files are streamed to
### stdout and stderr.
###
### 1: Log to Docker logs
### 0: Log to file
###
DOCKER_LOGS=0
###
### Relative or absolute path to the devilbox repository.
### (Used as a prefix for all mount paths)
### There is no need to change this.
###
### The only exception is for OSX users wanting to use NFS
### mounts instead of Filesystem mounts due to degraded performance
### on OSX.
###
### Note: When changing this variable you must re-create the container.
### Simply remove it, it will be auto-created during the next start:
###
### $ docker-compose rm -f
###
DEVILBOX_PATH=.
###
### At what IP address should the docker services listen
### on the Host computer?
###
### The specified default should be fine for Linux and OSX (127.0.0.1:).
### If you are on windows, you will probably have to change
### it to the IP address of the docker machine.
###
### a.) Leave blank, to listen on all interfaces (no trailing colon ':')
### LOCAL_LISTEN_ADDR=
### b.) If an IP is specified, note the trailing colon ':'
### LOCAL_LISTEN_ADDR=127.0.0.1:
###
LOCAL_LISTEN_ADDR=
###
### This is the domain suffix your projects will be made available
### with mass-virtual-hosting.
### It is also required for the internal DNS server to be setup.
###
### Note: In addition to period or dot character ('.'), only ALPHA ([a-zA-Z]+) characters are supported.
### Mac users should not use the .local TLD, as this will not resolve properly due Apple's
### use of Multicast DNS.##
###
### Example:
### TLD_SUFFIX=loc
### Makes your project available under xxxx.loc
###
### Example:
### TLD_SUFFIX=local
### Makes your project available under xxxx.local
###
TLD_SUFFIX=loc
###
### Optional DNS configuration
### Allows you to add extra DNS records (above the wildcard entry)
### Useful if your host computer run other Docker services that you want to connect to or reach
### from within the Devilbox network by a custom hostname.
###
### Format:
### -------
### Resolve any custom defined hostname to an IP address (useable inside container and host os)
### EXTRA_HOSTS=<hostname>=<ip>[,<hostname>=<ip>]
###
### Resolve any custom defined hostname to whatever IP address a CNAME resolves to
### (Useable inside the container and host OS).
### Note: CNAME must be resolvable by Google DNS
### EXTRA_HOSTS=<hostname>=<CNAME>[,<hostname>=<CNAME>]
###
### Examples:
### ---------
### EXTRA_HOSTS=hostname.loc=1.2.3.4
### EXTRA_HOSTS=host.loc=1.2.3.4,host.example.org=3.4.5.6
EXTRA_HOSTS=
###
### Set your user id and group id
###
### This should be changed to the value of your local
### users uid and gid
###
### Type `id` on the terminal to find out your values
###
NEW_UID=1000
NEW_GID=1000
###
### Timezone for PHP Docker container (system and php.ini)
###
TIMEZONE=UTC
################################################################################
###
### INTRANET SETTINGS
###
################################################################################
###
### TLD_SUFFIX domains are checked if they are set in the
### host computer /etc/hosts or available via attached DNS server.
### Timeout is done on vhosts.php (intranet) via ajax calls.
### In order to keep performance, set this to a low value.
### DNS checks might not succeed in time on slow machines.
### If DNS is valid, but timeout is expired, set this to a higher value.
###
### DNS_CHECK_TIMEOUT value is how many seconds to time out
### Default is to timeout after 1 second (DNS_CHECK_TIMEOUT=1)
###
DNS_CHECK_TIMEOUT=1
###
### Devilbox UI SSL Certificate generation
###
### When using SSL each certificate requires names for which it is responsible:
### Common Name as well as alternative names.
###
### Specify comma separated hostnames below by which you want to access the Devilbox.
### Those hostnames will be included in the SSL certificate for the Devilbox intranet.
### This has nothing to do for SSL certificates for projects, it is just for the intranet
### itself.
###
DEVILBOX_UI_SSL_CN=localhost,*.localhost,devilbox,*.devilbox,httpd
###
### Devilbox UI Password protection enable/disable (1/0)
###
### Set DEVILBOX_UI_PROTECT to 1 in order to password protect the
### intranet.
###
### Example:
### DEVILBOX_UI_PROTECT=1
### DEVILBOX_UI_PROTECT=0
###
DEVILBOX_UI_PROTECT=0
###
### Devilbox UI Password
###
### When DEVILBOX_UI_PROTECT=1, use the following password
### to log in. The password can always be changed.
### When changing the password, make sure to restart your
### PHP container.
###
### Example:
### DEVILBOX_UI_PASSWORD=my-very-secure-password
### DEVILBOX_UI_PASSWORD=Some pass with spaces
###
### The default username is 'devilbox'
###
DEVILBOX_UI_PASSWORD=password
###
### Enable the Devilbox Intranet?
###
### Example:
### DEVILBOX_UI_ENABLE=1
### DEVILBOX_UI_ENABLE=0
###
DEVILBOX_UI_ENABLE=1
###
### Automatically be logged in into phpMyAdmin
###
### Example:
### DEVILBOX_VENDOR_PHPMYADMIN_AUTOLOGIN=1
### DEVILBOX_VENDOR_PHPMYADMIN_AUTOLOGIN=0
###
DEVILBOX_VENDOR_PHPMYADMIN_AUTOLOGIN=1
###
### Automatically be logged in into phpPgAdmin
###
### Example:
### DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=1
### DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=0
###
DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=1
################################################################################
###
### 1. Choose Images (Version)
###
################################################################################
###
### You can choose any combination of httpd, mysql, postgresql or php.
### Each of them are fully compatible between one another.
###
###
### 1.1 Choose PHP Server Image
###
### Note: PHP 5.2 is not officially supported. Intranet won't work (due to lack of namespace support).
### PHP 5.2 only works with Apache 2.4, Nginx stable and Nginx mainline.
### Use at your own risk.
###
#PHP_SERVER=5.2
#PHP_SERVER=5.3
#PHP_SERVER=5.4
#PHP_SERVER=5.5
#PHP_SERVER=5.6
#PHP_SERVER=7.0
#PHP_SERVER=7.1
#PHP_SERVER=7.2
#PHP_SERVER=7.3
#PHP_SERVER=7.4
#PHP_SERVER=8.0
PHP_SERVER=8.1
#PHP_SERVER=8.2
###
### 1.2 Choose HTTPD Server Image
###
### Choose between 'debian' or 'alpine' flavour and then select the version
###
### Note: apache-2.2 has no arm64 support on 'alpine' flavour
###
HTTPD_FLAVOUR=alpine
#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=percona-5.5
#MYSQL_SERVER=percona-5.6
#MYSQL_SERVER=percona-5.7
#MYSQL_SERVER=percona-8.0
#MYSQL_SERVER=mariadb-5.5
#MYSQL_SERVER=mariadb-10.0
#MYSQL_SERVER=mariadb-10.1
#MYSQL_SERVER=mariadb-10.2
#MYSQL_SERVER=mariadb-10.3
MYSQL_SERVER=mariadb-10.4
#MYSQL_SERVER=mariadb-10.5
#MYSQL_SERVER=mariadb-10.6
#MYSQL_SERVER=mariadb-10.7
#MYSQL_SERVER=mariadb-10.8
###
### 1.4 Choose PostgreSQL Server Image
###
### https://www.postgresql.org/support/versioning/
###
### IMPORTANT: Alpine based images might cause issues on Docker Toolbox or OSX
### https://github.com/docker/toolbox/issues/510
###
#
# PostgreSQL without arm64 support
#
#PGSQL_SERVER=9.0
#PGSQL_SERVER=9.1
#PGSQL_SERVER=9.2-alpine
#
# PostgreSQL with arm64 support
#
#PGSQL_SERVER=9.2
#PGSQL_SERVER=9.3
#PGSQL_SERVER=9.3-alpine
#PGSQL_SERVER=9.4
#PGSQL_SERVER=9.4-alpine
#PGSQL_SERVER=9.5
#PGSQL_SERVER=9.5-alpine
#PGSQL_SERVER=9.6
#PGSQL_SERVER=9.6-alpine
#PGSQL_SERVER=10
#PGSQL_SERVER=10-alpine
#PGSQL_SERVER=11
#PGSQL_SERVER=11-alpine
#PGSQL_SERVER=12
#PGSQL_SERVER=12-alpine
#PGSQL_SERVER=13
#PGSQL_SERVER=13-alpine
#PGSQL_SERVER=14
PGSQL_SERVER=14-alpine
#PGSQL_SERVER=latest
#PGSQL_SERVER=alpine
###
### 1.5 Choose Redis Server Image
###
### IMPORTANT: Alpine based images might cause issues on Docker Toolbox or OSX
### https://github.com/docker/toolbox/issues/510
###
#
# Redis without arm64 support
#
#REDIS_SERVER=2.8
#REDIS_SERVER=3.0
#REDIS_SERVER=3.0-alpine
#
# Redis with arm64 support
#
#REDIS_SERVER=3.2
#REDIS_SERVER=3.2-alpine
#REDIS_SERVER=4.0
#REDIS_SERVER=4.0-alpine
#REDIS_SERVER=5.0
#REDIS_SERVER=5.0-alpine
#REDIS_SERVER=6.0
#REDIS_SERVER=6.0-alpine
#REDIS_SERVER=6.2
REDIS_SERVER=6.2-alpine
#REDIS_SERVER=latest
#REDIS_SERVER=alpine
###
### 1.6 Choose Memcached Server Image
###
### IMPORTANT: Alpine based images might cause issues on Docker Toolbox or OSX
### https://github.com/docker/toolbox/issues/510
###
#
# Memcached without arm64 support
#
#MEMCD_SERVER=1.4
#MEMCD_SERVER=1.4-alpine
#
# Memcached with arm64 support
#
#MEMCD_SERVER=1.5
#MEMCD_SERVER=1.5-alpine
#MEMCD_SERVER=1.6
MEMCD_SERVER=1.6-alpine
#MEMCD_SERVER=latest
#MEMCD_SERVER=alpine
###
### 1.7 Choose Mongo Server Image
###
### https://www.mongodb.com/evolved
###
#
# MongoDB without arm64 support
#
#MONGO_SERVER=2.8
#MONGO_SERVER=3.0
#MONGO_SERVER=3.2
#
# MongoDB with arm64 support
#
#MONGO_SERVER=3.4
#MONGO_SERVER=3.6
#MONGO_SERVER=4.0
#MONGO_SERVER=4.2
#MONGO_SERVER=4.4
MONGO_SERVER=5.0
#MONGO_SERVER=latest
################################################################################
###
### 2. Host Mounts (Your computer)
###
################################################################################
###
### Global mount options
###
### Note: When adding custom mount options, ensure to start with a
### leading ',' (comma), as those options are prepended to already
### existing mount options.
###
### Note: If no mount options are specified, leave this variable empty
### and do not add a leading ',' (comma).
###
### MOUNT_OPTIONS=,cached
### MOUNT_OPTIONS=
###
### Example: Allow to share mounts accross container with SELINUX enabled
###
### MOUNT_OPTIONS=,z
###
MOUNT_OPTIONS=
###
### Local filesystem path to www projects.
###
### Note: When changing this variable you must re-create the container.
### Simply remove it, it will be auto-created during the next start:
###
### $ docker-compose rm -f
###
HOST_PATH_HTTPD_DATADIR=./data/www
###
### Local filesystem path to where your backups are stored
###
### Note: When changing this variable you must re-create the container.
### Simply remove it, it will be auto-created during the next start:
###
### $ docker-compose rm -f
###
HOST_PATH_BACKUPDIR=./backups
###
### The path on your host OS of the ssh directory to be mounted into the
### PHP container into /home/devilbox/.ssh.
###
### IMPORTANT: The path is mounted read-only to ensure you cannot accidentally
## delete anything inside the php container.
###
HOST_PATH_SSH_DIR=~/.ssh
################################################################################
###
### 3. PHP Docker Settings
###
################################################################################
###
### Enable certain PHP modules which are not enabled by default
###
### Currently the only modules that can be enabled are 'ioncube' and 'blackfire'
### Also ensure to disable xdebug when using any of the above:
### https://xdebug.org/docs/install#compat
###
### PHP_MODULES_ENABLE=ioncube, blackfire
###
PHP_MODULES_ENABLE=
###
### Disable any PHP modules that you don't require
###
### Specify a comma separated list without spaces of modules to disable
###
### PHP_MODULES_DISABLE=xdebug,imagick,swoole
###
PHP_MODULES_DISABLE=oci8,PDO_OCI,pdo_sqlsrv,sqlsrv,rdkafka,swoole
###
### Postfix settings for email catch-all
###
### When set to '1' postfix is normally started and made available. However you still need
### to configure it to your needs yourself. For that you can use the autostart scripts
### and define a couple of 'postconf -e name=value' commands.
###
### When set to '2' (email catch-all), no mail will leave the Devilbox. It is automatically
### internally routed the the devilbox mail account and you can see each sent mail
### in the bundled intranet: https://localhost/mail.php
###
### Values:
### 0: Disable postfix (do not start it)
### 1: Enable/Start postfix
### 2: Enable/Start postfix and enable email catch-all
###
PHP_MAIL_CATCH_ALL=2
###
### Configure everything else about PHP in
### * cfg/php-ini-X.X/*.ini
### * cfg/php-fpm-X.X/*.conf
################################################################################
###
### 4. HTTPD Docker Settings
###
################################################################################
###
### Expose HTTPD Port to Host
###
HOST_PORT_HTTPD=80
HOST_PORT_HTTPD_SSL=443
###
### Globally enable/disable HTTP/2 support
###
### This cannot be done on a per vhost level and must be enabled/disabled globally.
###
### Values:
### * 0: HTTP/2 is disabled
### * 1: HTTP/2 is enabled
###
HTTPD_HTTP2_ENABLE=1
###
### SSL (HTTP/HTTPS) settings for automated vhost generation
###
### By default each project will have two vhosts (one for HTTP and one for HTTPS).
### You can control the SSL settings for your projects via the below stated values.
###
### This is internally achieved via the '-m' argument of https://github.com/devilbox/vhost-gen
###
### Values:
### * both: Serve HTTP and HTTPS for all projects
### * redir: HTTP always redirects to HTTPS
### * ssl: Only serve HTTPS
### * plain: Only serve HTTP
###
HTTPD_VHOST_SSL_TYPE=both
###
### Document Root Subdirectory
###
### In your project directory, which subfolder should
### serve your files?
###
### When changing this value, restart the devilbox.
###
HTTPD_DOCROOT_DIR=htdocs
###
### Per vHost Config Subdirectory
###
### In your project directory, which subfolder should
### hold apache, nginx templates for a customized vhost?
###
### When changing this value, restart the devilbox.
###
HTTPD_TEMPLATE_DIR=.devilbox
###
### Webserver timeout (in seconds) to upstream PHP-FPM server
###
### This value should be greater than PHP's max_execution_time,
### otherwise the php script could still run and the webserver will
### simply drop the connection before getting an answer by PHP.
###
HTTPD_TIMEOUT_TO_PHP_FPM=180
###
### NGINX ONLY
###
### Set worker_processes and worker_connections
###
### https://nginx.org/en/docs/ngx_core_module.html#worker_processes
### https://nginx.org/en/docs/ngx_core_module.html#worker_connections
###
HTTPD_NGINX_WORKER_PROCESSES=auto
HTTPD_NGINX_WORKER_CONNECTIONS=1024
################################################################################
###
### 5. MySQL Docker Settings
###
################################################################################
###
### MySQL root user password
###
### The password is required for the initial creation of the MySQL database
### as well as the Devilbox intranet to display schema and configuration settings.
###
### If you change your MySQL root user password via mysql cli, phpMyAdmin or other tools
### after the database has been created, ensure to adjust the value here accordingly as well.
###
### If you only change this value here after the database has been created,
### the MySQL root user password will not actually be changed and the Devilbox intranet
### won't be able to connect to the MySQL service.
###
MYSQL_ROOT_PASSWORD=
###
### Expose MySQL Port to Host
###
HOST_PORT_MYSQL=3306
################################################################################
###
### 6. PostgreSQL Docker Settings
###
################################################################################
###
### PostgreSQL 'root' user name (usually postgres)
###
PGSQL_ROOT_USER=postgres
###
### PostgreSQL 'root' user password
###
### If you want to set a password, ensure to remove 'trust' from
### PGSQL_HOST_AUTH_METHOD below
###
PGSQL_ROOT_PASSWORD=
###
### In order to not use a password for PostgreSQL, keep this value at 'trust'
###
PGSQL_HOST_AUTH_METHOD=trust
###
### Expose PostgreSQL Port to Host
###
HOST_PORT_PGSQL=5432
################################################################################
###
### 7. Redis Docker Settings
###
################################################################################
###
### Expose Redis Port to Host
###
HOST_PORT_REDIS=6379
###
### Custom startup arguments
###
### Apply custom startup arguments to redis
###
### Example: Password protection
### Add password protection to the Redis server by specifying it should
### require a password.
### Note: Do not add quotes or spaces to the password
###
### REDIS_ARGS=--requirepass my-redis-root-password
###
### Example: Verbosity
###
### REDIS_ARGS=--loglevel verbose
###
REDIS_ARGS=
#REDIS_ARGS=--loglevel verbose --requirepass my-redis-root-password
################################################################################
###
### 8. Memcached Docker Settings
###
################################################################################
###
### Expose Memcached Port to Host
###
HOST_PORT_MEMCD=11211
################################################################################
###
### 9. MongoDB Docker Settings
###
################################################################################
###
### Expose MongoDB Port to Host
###
HOST_PORT_MONGO=27017
################################################################################
###
### 10. Bind Docker Settings
###
################################################################################
###
### Expose Bind Port to Host
###
HOST_PORT_BIND=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 valueConfig: docker-compose.override.yml
No response
Config: ./check-config.sh
# ==============================================================================
# Checking git
# ==============================================================================
[SUCC] git is clean
# ==============================================================================
# Checking .env file
# ==============================================================================
[SUCC] .env file exists
[SUCC] .env file is readable
[SUCC] All variables are present in .env file
[SUCC] No variables is duplicated in .env file
# ==============================================================================
# Checking .env file values
# ==============================================================================
[SUCC] All .env file variables have correct values
# ==============================================================================
# Checking required Devilbox core directories exist
# ==============================================================================
[SUCC] All PHP cfg/ sub directories are present
[SUCC] All PHP log/ sub directories are present
[SUCC] All PHP mod/ sub directories are present
[SUCC] All HTTPD cfg/ sub directories are present
[SUCC] All HTTPD log/ sub directories are present
# ==============================================================================
# Checking devilbox core directory permissions
# ==============================================================================
[SUCC] All devilbox directories have correct permissions
[SUCC] All devilbox directories have correct uid
[SUCC] All devilbox directories have correct gid
# ==============================================================================
# Checking devilbox core file permissions
# ==============================================================================
[SUCC] All devilbox files have correct permissions
[SUCC] All devilbox files have correct uid
[SUCC] All devilbox files have correct gid
# ==============================================================================
# Checking projects permissions
# ==============================================================================
[SUCC] All project dirs have correct permissions
[SUCC] All project dirs have correct uid
[SUCC] All project dirs have correct gid
# ==============================================================================
# Checking projects settings
# ==============================================================================
[SUCC] All projects have valid DNS records
[SUCC] All projects have valid HTTPD_DOCROOT_DIR
# ==============================================================================
# Checking customizations
# ==============================================================================
find: ‘cfg/mariadb-10.8’: No such file or directory
[INFO] No custom configurations applied
# ==============================================================================
# SUMMARY
# ==============================================================================
[SUCC] Found no errors
[INFO] No custom configurations applied
[INFO] Ensure to run 'docker-compose stop; docker-compose rm -f' on .env changes or custom configsLog: docker-compose logs
Attaching to devilbox_php_1, devilbox_httpd_1, devilbox_bind_1
bind_1 | [INFO] Debug level: 2
bind_1 |
bind_1 | --------------------------------------------------------------------------------
bind_1 | /etc/bind/named.conf
bind_1 | --------------------------------------------------------------------------------
bind_1 | include "/etc/bind/named.conf.logging";
bind_1 | include "/etc/bind/named.conf.options";
bind_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] Not adding any PTR records
bind_1 | [INFO] Adding A Record: *.loc -> 127.0.0.1
bind_1 | zone rpz/IN: loaded serial 1659546379
bind_1 | OK
bind_1 | [INFO] Not adding any CNAME records
bind_1 | [INFO] $ALLOW_QUERY not set.
bind_1 | [INFO] DNS query rules will not be set
bind_1 | [INFO] $ALLOW_RECURSION not set.
bind_1 | [INFO] DNS recursion rules will not be set
bind_1 | [INFO] DNSSEC Validation: no
bind_1 | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4
bind_1 |
bind_1 | --------------------------------------------------------------------------------
bind_1 | /etc/bind/named.conf.options
bind_1 | --------------------------------------------------------------------------------
bind_1 | options {
bind_1 | directory "/var/cache/bind";
bind_1 | dnssec-validation no;
bind_1 | auth-nxdomain no; # conform to RFC1035
bind_1 | listen-on-v6 { any; };
bind_1 | response-policy { zone "rpz"; };
bind_1 | forwarders {
bind_1 | 8.8.8.8;
bind_1 | 8.8.4.4;
bind_1 | };
bind_1 | };
bind_1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
bind_1 |
bind_1 | --------------------------------------------------------------------------------
bind_1 | /etc/bind/custom/conf/rpz.conf
bind_1 | --------------------------------------------------------------------------------
bind_1 | zone "rpz" IN {
bind_1 | type master;
bind_1 | allow-transfer { any; };
bind_1 | allow-update { any; };
bind_1 | file "/etc/bind/custom/zone/rpz";
bind_1 | };
bind_1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
bind_1 |
bind_1 | --------------------------------------------------------------------------------
bind_1 | /etc/bind/custom/zone/rpz
bind_1 | --------------------------------------------------------------------------------
bind_1 | $TTL 3600
bind_1 | @ IN SOA bind. admin.bind. (
bind_1 | 1659546379 ; Serial number
bind_1 | 1200 ; Refresh time
bind_1 | 180 ; Retry time
bind_1 | 1209600 ; Expiry time
bind_1 | 10800 ; Negative Cache TTL
bind_1 | )
bind_1 |
bind_1 | ; NS Records
bind_1 | IN NS bind.
bind_1 |
bind_1 | ; Custom Records
bind_1 | *.loc IN A 127.0.0.1
bind_1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
bind_1 | [INFO] Starting BIND 9.16.29
httpd_1 | [INFO] Debug level: 2
httpd_1 | [INFO] Runtime debug: 2
httpd_1 | [INFO] Changing user 'nginx' uid to: 1000
httpd_1 | root $ usermod -u 1000 nginx
httpd_1 | [INFO] Changing group 'nginx' gid to: 1000
httpd_1 | root $ groupmod -g 1000 nginx
httpd_1 | [INFO] Setting container timezone to: UTC
httpd_1 | root $ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
httpd_1 | [INFO] Docker date set to: Wed Aug 3 17:06:27 UTC 2022
httpd_1 | [INFO] $WORKER_PROCESSES set to its default value: 'auto'.
httpd_1 | root $ sed -i'' 's/__WORKER_PROCESSES__/auto/g' /etc/nginx/nginx.conf
httpd_1 | [INFO] Setting worker_connections to: 1024
httpd_1 | root $ sed -i'' 's/__WORKER_CONNECTIONS__/1024/g' /etc/nginx/nginx.conf
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: 172.16.238.10
httpd_1 | [INFO] PHP-FPM: Server port: 9000
httpd_1 | [INFO] PHP-FPM: Timeout: 180
httpd_1 | [INFO] http2: Enabled
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
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 | [INFO] vhost-gen: no customized template found
httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__HTTP2_ENABLE__/True/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__HTTP2_ENABLE__/True/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's|__ENABLE_STATUS__|yes|g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's|__STATUS_ALIAS__|/devilbox-httpd-status|g' /etc/vhost-gen/main.yml
httpd_1 | root $ vhost-gen -n localhost -p /var/www/default/htdocs -t /etc/vhost-gen/templates-main/ -c /etc/vhost-gen/main.yml -o /var/www/default/cfg -v -d -s -m both
httpd_1 | vhost-gen: [INFO] (2022-08-03 17:06:27): Loading configuration file (-c): /etc/vhost-gen/main.yml
httpd_1 | vhost-gen: [INFO] (2022-08-03 17:06:27): Loading vhost template (global) (-t): /etc/vhost-gen/templates-main/nginx.yml
httpd_1 | vhost-gen: [INFO] (2022-08-03 17:06:27): Loading vhost template (override) (-o): /var/www/default/cfg/nginx.yml
httpd_1 | vhost-gen: [WARN] (2022-08-03 17:06:27): Override Vhost template not found: /var/www/default/cfg/nginx.yml
httpd_1 | vhost-gen: [INFO] (2022-08-03 17:06:27): Creating vhost type: https and http (both)
httpd_1 | vhost-gen: [INFO] (2022-08-03 17:06:27): Using vhost name: localhost
httpd_1 | vhost-gen: [INFO] (2022-08-03 17:06:27): Log setting: dir -> True
httpd_1 | vhost-gen: [INFO] (2022-08-03 17:06:27): Log setting: Not specified
httpd_1 | vhost-gen: [INFO] (2022-08-03 17:06:27): Vhost config written to: /etc/httpd/conf.d/localhost.conf
httpd_1 | root $ sed -i'' 's|__DOCROOT_SUFFIX__|htdocs|g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__TLD__/.loc/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ ca-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox -n 'Devilbox Root CA' -e 'cytopia@devilbox.org' /ca/devilbox-ca.key /ca/devilbox-ca.crt
httpd_1 | $ openssl genrsa -out /ca/devilbox-ca.key 2048
httpd_1 | $ openssl req -new -x509 -nodes -sha256 -days 3650 -key /ca/devilbox-ca.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=TNQ2ySxhklfl\/Ghr3ewLwfKFuS8=' -extensions v3_ca -config <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_ca ]
httpd_1 | basicConstraints = critical, CA:TRUE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, cRLSign, keyCertSign
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always") -out /ca/devilbox-ca.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | 3d:29:59:a9:cb:07:33:5f:c3:91:81:06:89:60:df:3f:61:ed:03:45
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 = TNQ2ySxhklfl/Ghr3ewLwfKFuS8=
httpd_1 | Validity
httpd_1 | Not Before: Aug 3 17:06:27 2022 GMT
httpd_1 | Not After : Jul 31 17:06:27 2032 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = cytopia@devilbox.org, dnQualifier = TNQ2ySxhklfl/Ghr3ewLwfKFuS8=
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | RSA Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:d3:51:78:89:8c:52:d6:e4:2a:21:ad:30:3f:72:
httpd_1 | ba:35:d8:46:b7:b1:b0:df:23:6d:ab:7e:56:1e:3d:
httpd_1 | 84:6b:d1:f2:3f:35:e2:3e:52:7e:ef:45:d0:59:20:
httpd_1 | 50:cb:1b:0c:13:e0:8b:56:b1:da:d4:78:63:ea:67:
httpd_1 | 2d:c3:3b:49:6f:c8:f2:2c:54:10:30:3e:da:30:5d:
httpd_1 | d9:8b:78:c3:d9:96:bf:f0:57:d6:33:cf:ef:3b:68:
httpd_1 | 60:7e:b3:7c:b4:fc:5c:72:90:91:6f:ce:c6:d9:df:
httpd_1 | 1a:d9:6a:e6:18:11:c7:04:3f:9c:83:7f:31:eb:25:
httpd_1 | 41:4b:a3:e7:d0:9e:5e:12:81:ab:82:4d:f0:2b:74:
httpd_1 | 54:f6:34:1b:0c:35:f5:97:5a:c6:c9:89:c6:37:47:
httpd_1 | f4:9e:ab:d5:f3:6f:26:35:93:1a:0b:33:4e:8c:22:
httpd_1 | f4:9c:1f:a6:5a:2c:d4:d9:96:f7:80:32:19:82:2f:
httpd_1 | 66:42:26:11:df:d2:04:b2:2e:1f:ec:4b:6a:91:86:
httpd_1 | cd:68:4e:a6:e4:df:a2:3e:4a:59:a8:69:02:19:3b:
httpd_1 | d3:92:89:0b:cb:23:ac:ed:a3:06:b2:17:17:ec:74:
httpd_1 | 45:9d:6c:f5:61:b1:05:d4:ca:66:ef:11:da:15:c2:
httpd_1 | be:de:2b:5f:ef:08:9c:4d:ce:8f:9f:1a:16:5f:0e:
httpd_1 | db:0f
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Basic Constraints: critical
httpd_1 | CA:TRUE
httpd_1 | X509v3 Subject Key Identifier:
httpd_1 | 4C:D4:36:C9:2C:61:92:57:E5:FC:68:6B:DD:EC:0B:C1:F2:85:B9:2F
httpd_1 | X509v3 Key Usage: critical
httpd_1 | Digital Signature, Certificate Sign, CRL Sign
httpd_1 | X509v3 Authority Key Identifier:
httpd_1 | keyid:4C:D4:36:C9:2C:61:92:57:E5:FC:68:6B:DD:EC:0B:C1:F2:85:B9:2F
httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=TNQ2ySxhklfl/Ghr3ewLwfKFuS8=
httpd_1 | serial:3D:29:59:A9:CB:07:33:5F:C3:91:81:06:89:60:DF:3F:61:ED:03:45
httpd_1 |
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 55:34:b0:9c:a0:87:f3:20:f7:81:e2:a8:c5:8f:e8:e6:01:39:
httpd_1 | b7:18:34:6f:4c:af:f5:eb:fd:cc:82:17:84:89:e1:10:74:62:
httpd_1 | 28:84:73:39:f3:55:cf:f6:9d:6b:80:44:bf:14:20:7d:55:9a:
httpd_1 | 5e:e5:e5:3e:bf:7c:de:4c:b6:10:6b:be:a8:8d:b1:24:46:91:
httpd_1 | e0:a2:ed:6d:a2:85:02:45:4b:6d:fa:51:04:14:ec:6b:9e:54:
httpd_1 | e1:f9:a2:29:65:13:b7:0e:36:e2:ce:c9:0d:28:4d:3b:1d:06:
httpd_1 | 9e:dd:cd:6d:ae:ad:7d:ba:c0:60:73:19:05:ef:ce:33:8c:72:
httpd_1 | 6f:51:ad:ea:66:a4:cd:ba:5c:94:2b:8c:05:18:6f:ad:8b:4d:
httpd_1 | 2f:51:0a:ae:bb:09:b8:49:bd:95:cf:30:0f:79:c2:36:64:4e:
httpd_1 | 3b:ce:96:ca:59:ec:c3:6f:b1:f9:d5:de:87:6f:51:59:6b:d8:
httpd_1 | c6:14:7a:0f:e1:7a:95:8f:09:2e:68:eb:87:45:07:db:c8:94:
httpd_1 | f7:de:0e:ae:ff:fd:60:6a:cf:ff:10:95:3f:55:c6:b3:ab:3c:
httpd_1 | 45:eb:8a:60:5b:47:dd:d5:6a:e5:6d:9b:dd:0d:a1:fd:75:cd:
httpd_1 | 2b:68:55:84:b3:07:05:c9:75:c2:be:db:f9:2b:32:b3:97:28:
httpd_1 | 90:d3:3e:93
httpd_1 | -----BEGIN CERTIFICATE-----
httpd_1 | MIIFTTCCBDWgAwIBAgIUPSlZqcsHM1/DkYEGiWDfP2HtA0UwDQYJKoZIhvcNAQEL
httpd_1 | BQAwgbwxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZCZXJsaW4xDzANBgNVBAcMBkJl
httpd_1 | cmxpbjERMA8GA1UECgwIRGV2aWxib3gxETAPBgNVBAsMCERldmlsYm94MRkwFwYD
httpd_1 | VQQDDBBEZXZpbGJveCBSb290IENBMSMwIQYJKoZIhvcNAQkBFhRjeXRvcGlhQGRl
httpd_1 | dmlsYm94Lm9yZzElMCMGA1UELhMcVE5RMnlTeGhrbGZsL0docjNld0x3ZktGdVM4
httpd_1 | PTAeFw0yMjA4MDMxNzA2MjdaFw0zMjA3MzExNzA2MjdaMIG8MQswCQYDVQQGEwJE
httpd_1 | RTEPMA0GA1UECAwGQmVybGluMQ8wDQYDVQQHDAZCZXJsaW4xETAPBgNVBAoMCERl
httpd_1 | dmlsYm94MREwDwYDVQQLDAhEZXZpbGJveDEZMBcGA1UEAwwQRGV2aWxib3ggUm9v
httpd_1 | dCBDQTEjMCEGCSqGSIb3DQEJARYUY3l0b3BpYUBkZXZpbGJveC5vcmcxJTAjBgNV
httpd_1 | BC4THFROUTJ5U3hoa2xmbC9HaHIzZXdMd2ZLRnVTOD0wggEiMA0GCSqGSIb3DQEB
httpd_1 | AQUAA4IBDwAwggEKAoIBAQDTUXiJjFLW5CohrTA/cro12Ea3sbDfI22rflYePYRr
httpd_1 | 0fI/NeI+Un7vRdBZIFDLGwwT4ItWsdrUeGPqZy3DO0lvyPIsVBAwPtowXdmLeMPZ
httpd_1 | lr/wV9Yzz+87aGB+s3y0/FxykJFvzsbZ3xrZauYYEccEP5yDfzHrJUFLo+fQnl4S
httpd_1 | gauCTfArdFT2NBsMNfWXWsbJicY3R/Seq9XzbyY1kxoLM06MIvScH6ZaLNTZlveA
httpd_1 | MhmCL2ZCJhHf0gSyLh/sS2qRhs1oTqbk36I+SlmoaQIZO9OSiQvLI6ztowayFxfs
httpd_1 | dEWdbPVhsQXUymbvEdoVwr7eK1/vCJxNzo+fGhZfDtsPAgMBAAGjggFDMIIBPzAP
httpd_1 | BgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRM1DbJLGGSV+X8aGvd7AvB8oW5LzAO
httpd_1 | BgNVHQ8BAf8EBAMCAYYwgfwGA1UdIwSB9DCB8YAUTNQ2ySxhklfl/Ghr3ewLwfKF
httpd_1 | uS+hgcKkgb8wgbwxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZCZXJsaW4xDzANBgNV
httpd_1 | BAcMBkJlcmxpbjERMA8GA1UECgwIRGV2aWxib3gxETAPBgNVBAsMCERldmlsYm94
httpd_1 | MRkwFwYDVQQDDBBEZXZpbGJveCBSb290IENBMSMwIQYJKoZIhvcNAQkBFhRjeXRv
httpd_1 | cGlhQGRldmlsYm94Lm9yZzElMCMGA1UELhMcVE5RMnlTeGhrbGZsL0docjNld0x3
httpd_1 | ZktGdVM4PYIUPSlZqcsHM1/DkYEGiWDfP2HtA0UwDQYJKoZIhvcNAQELBQADggEB
httpd_1 | AFU0sJygh/Mg94HiqMWP6OYBObcYNG9Mr/Xr/cyCF4SJ4RB0YiiEcznzVc/2nWuA
httpd_1 | RL8UIH1Vml7l5T6/fN5MthBrvqiNsSRGkeCi7W2ihQJFS236UQQU7GueVOH5oill
httpd_1 | E7cONuLOyQ0oTTsdBp7dzW2urX26wGBzGQXvzjOMcm9RrepmpM26XJQrjAUYb62L
httpd_1 | TS9RCq67CbhJvZXPMA95wjZkTjvOlspZ7MNvsfnV3odvUVlr2MYUeg/hepWPCS5o
httpd_1 | 64dFB9vIlPfeDq7//WBqz/8QlT9VxrOrPEXrimBbR93VauVtm90Nof11zStoVYSz
httpd_1 | BwXJdcK+2/krMrOXKJDTPpM=
httpd_1 | -----END CERTIFICATE-----
httpd_1 | subject=C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = cytopia@devilbox.org, dnQualifier = TNQ2ySxhklfl/Ghr3ewLwfKFuS8=
httpd_1 | issuer=C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = cytopia@devilbox.org, dnQualifier = TNQ2ySxhklfl/Ghr3ewLwfKFuS8=
httpd_1 | root $ mkdir -p /etc/httpd/cert/main
httpd_1 | root $ cert-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox -n 'localhost' -e 'admin@localhost' -a 'localhost *.localhost devilbox *.devilbox httpd' /ca/devilbox-ca.key /ca/devilbox-ca.crt /etc/httpd/cert/main/localhost.key /etc/httpd/cert/main/localhost.csr /etc/httpd/cert/main/localhost.crt
httpd_1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/main/localhost.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=localhost/emailAddress=admin@localhost' -out /etc/httpd/cert/main/localhost.csr
httpd_1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/main/localhost.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/main/localhost.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | 7f:2e:71:16:8c:36:2d:f9:47:75:f5:9b:5e:b5:99:35:cb:5b:82:4b
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 = TNQ2ySxhklfl/Ghr3ewLwfKFuS8=
httpd_1 | Validity
httpd_1 | Not Before: Aug 3 17:06:27 2022 GMT
httpd_1 | Not After : Nov 5 17:06:27 2024 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = localhost, emailAddress = admin@localhost
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | RSA Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:e9:95:d2:3b:8f:3e:e0:a0:60:5b:a1:e5:88:a2:
httpd_1 | 65:96:55:5a:ad:de:7f:38:c4:5d:da:7d:ed:90:0d:
httpd_1 | 36:bd:2c:c9:fb:a2:2c:01:06:0c:f8:9c:f8:49:ff:
httpd_1 | bc:71:e3:7f:ce:49:65:98:a4:74:76:b1:c9:1d:fe:
httpd_1 | 47:f8:e6:3e:df:35:49:11:e9:42:0c:0f:b8:fa:ad:
httpd_1 | fd:5b:da:e4:5f:6f:c0:bc:91:03:eb:99:63:53:fa:
httpd_1 | 2e:c7:3b:ed:f3:30:b5:4d:d5:cd:b4:8a:dc:af:44:
httpd_1 | b9:50:77:89:3b:15:13:c3:fe:65:2d:c3:4a:27:9c:
httpd_1 | 24:25:71:19:09:ae:64:80:f1:27:dc:35:00:5e:18:
httpd_1 | 5c:1e:74:ef:cc:90:70:57:0a:95:0c:62:2f:ac:67:
httpd_1 | 3d:f2:e3:47:66:32:c0:d4:5b:a1:9e:e9:85:af:d7:
httpd_1 | c8:00:c3:d8:5d:eb:01:d6:a5:3c:ce:3a:ab:73:5c:
httpd_1 | c9:2b:de:6a:46:ab:77:8f:35:bf:1d:40:23:28:a9:
httpd_1 | a4:10:c9:dc:a9:1e:9d:b4:5e:f6:0b:87:68:a4:23:
httpd_1 | 2e:61:63:ae:81:ab:10:62:4d:fd:b1:79:f5:ae:22:
httpd_1 | 9c:fd:3f:2c:69:60:ec:65:4d:42:1c:fd:15:4e:47:
httpd_1 | d6:7a:7b:58:0b:7f:bc:9f:bc:f5:f2:4b:0e:06:c3:
httpd_1 | 55:0b
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Basic Constraints: critical
httpd_1 | CA:FALSE
httpd_1 | X509v3 Subject Key Identifier:
httpd_1 | D5:01:4A:9A:6D:FD:B0:87:BD:99:88:EC:F8:A5:1F:05:DA:06:67:0D
httpd_1 | X509v3 Key Usage: critical
httpd_1 | Digital Signature, Key Encipherment
httpd_1 | X509v3 Authority Key Identifier:
httpd_1 | keyid:4C:D4:36:C9:2C:61:92:57:E5:FC:68:6B:DD:EC:0B:C1:F2:85:B9:2F
httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=TNQ2ySxhklfl/Ghr3ewLwfKFuS8=
httpd_1 | serial:3D:29:59:A9:CB:07:33:5F:C3:91:81:06:89:60:DF:3F:61:ED:03:45
httpd_1 |
httpd_1 | X509v3 Extended Key Usage:
httpd_1 | TLS Web Server Authentication, TLS Web Client Authentication
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:localhost, DNS:localhost, DNS:*.localhost, DNS:devilbox, DNS:*.devilbox, DNS:httpd
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 1f:58:22:6f:24:61:b7:ca:51:bf:c4:41:e8:5a:d1:fa:88:82:
httpd_1 | 62:f5:2b:5a:e2:8a:29:3a:1d:5e:f7:55:5e:49:aa:5e:fd:fc:
httpd_1 | 67:a6:4e:76:86:4a:61:df:7f:9f:46:b5:da:5e:e5:06:84:f1:
httpd_1 | b5:ba:27:f6:39:c6:fb:86:7a:d5:36:41:3c:16:0e:05:14:82:
httpd_1 | c4:1d:93:11:9c:7a:6a:49:db:7c:3f:ba:21:b9:aa:8d:e8:48:
httpd_1 | f5:75:76:de:e6:38:ce:4b:8c:a3:d7:57:56:12:77:4d:4b:22:
httpd_1 | 65:d1:9d:50:b9:be:90:00:c5:29:0d:91:3d:9a:49:1a:59:12:
httpd_1 | a2:58:45:a3:42:1a:58:b0:81:d0:d0:42:e8:36:35:e9:73:78:
httpd_1 | 79:7e:46:02:cd:d8:36:24:83:ce:46:84:73:9b:ef:27:e5:e0:
httpd_1 | ca:a2:07:f6:08:64:f1:38:a3:04:75:1d:45:b1:97:cd:d0:6a:
httpd_1 | 43:88:b2:7c:dd:ce:9e:38:81:14:a3:87:2b:2f:3c:36:a6:31:
httpd_1 | 11:70:38:e3:84:87:18:f1:bb:db:12:dc:06:22:48:a9:b9:0f:
httpd_1 | 75:34:37:0b:52:e4:24:13:08:3d:97:ea:54:00:be:2c:c6:b6:
httpd_1 | 7e:7a:22:45:ce:8a:40:f3:ec:6d:98:51:22:c9:aa:06:37:a6:
httpd_1 | 55:0d:1e:f4
httpd_1 | /etc/httpd/cert/main/localhost.crt: OK
httpd_1 | root $ chown -R 1000:1000 /ca
httpd_1 | [INFO] Starting supervisord: 4.2.2
httpd_1 | 2022-08-03 17:06:28,134 INFO Set uid to user 0 succeeded
httpd_1 | 2022-08-03 17:06:28,136 INFO supervisord started with pid 1
httpd_1 | 2022-08-03 17:06:29,139 INFO spawned: 'httpd' with pid 200
httpd_1 | 2022-08-03 17:06:29,142 INFO spawned: 'watcherd' with pid 201
httpd_1 | 2022-08-03 17:06:30,145 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | 2022-08-03 17:06:30,145 INFO success: watcherd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | watcherd: [2022-08-03 17:06:32] Starting daemon.
httpd_1 | watcherd: [2022-08-03 17:06:32] Using bash loop to watch for changes.
httpd_1 | Error: <ca-key> file does not exist in: /ca/devilbox-ca.key
httpd_1 | [FAILED] Failed to add SSL certificate for httpd.loc
httpd_1 | watcherd: [2022-08-03 17:20:46] [ERR] ADD: failed: /shared/httpd/
php_1 | [INFO] Debug level: 2
php_1 | [INFO] Changing user 'devilbox' uid to: 1000
php_1 | root $ usermod -u 1000 devilbox 2>/dev/null
php_1 | usermod: no changes
php_1 | root $ chown -R devilbox /home/devilbox 2>/dev/null || true
php_1 | root $ chown -R devilbox /var/lib/php/session
php_1 | root $ chown -R devilbox /var/lib/php/wsdlcache
php_1 | root $ chown -R devilbox /var/spool/mail/devilbox
php_1 | root $ chown -R devilbox /etc/supervisor/custom.d
php_1 | [INFO] Changing group 'devilbox' gid to: 1000
php_1 | root $ groupmod -g 1000 devilbox 2>/dev/null
php_1 | root $ chown -R :devilbox /home/devilbox 2>/dev/null || true
php_1 | root $ chown -R :devilbox /var/lib/php/session
php_1 | root $ chown -R :devilbox /var/lib/php/wsdlcache
php_1 | root $ chown -R :devilbox /var/spool/mail/devilbox
php_1 | root $ chown -R :devilbox /etc/supervisor/custom.d
php_1 | [INFO] Setting container timezone to: UTC
php_1 | root $ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
php_1 | [INFO] Setting PHP: timezone=UTC
php_1 | root $ echo 'date.timezone = UTC' > /usr/local/etc/php/conf.d/devilbox-runtime-timezone.ini
php_1 | [INFO] Docker date set to: Wed Aug 3 17:31:08 UTC 2022
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 | root $ chown -R devilbox:devilbox /var/log/php
php_1 | root $ chmod 0755 /var/log/php
php_1 | [INFO] $ENABLE_MAIL set to 2. Enabling postfix catch-all
php_1 | root $ chown devilbox:devilbox /var/log/php
php_1 | root $ chown devilbox:devilbox /var/log/php/mail.log
php_1 | root $ chmod 0644 /var/log/php/mail.log
php_1 | root $ chmod 0644 /var/mail/devilbox
php_1 | root $ chown devilbox:devilbox /var/mail
php_1 | root $ chown devilbox:devilbox /var/mail/devilbox
php_1 | root $ postconf -e 'strict_mailbox_ownership=no'
php_1 | root $ postconf -e 'inet_protocols=ipv4'
php_1 | root $ postconf -e 'myhostname=localhost'
php_1 | root $ postconf -e 'virtual_alias_maps=pcre:/etc/postfix/virtual'
php_1 | root $ echo '/.*@.*/ devilbox' >> /etc/postfix/virtual
php_1 | root $ newaliases
php_1 | [INFO] Forwarding httpd:80 to 127.0.0.1:80 inside this docker.
php_1 | [INFO] Forwarding httpd:443 to 127.0.0.1:443 inside this docker.
php_1 | [INFO] Forwarding mysql:3306 to 127.0.0.1:3306 inside this docker.
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-80-httpd-80' to be started by supervisord
php_1 | [INFO] Enabling 'socat-443-httpd-443' to be started by supervisord
php_1 | [INFO] Enabling 'socat-3306-mysql-3306' to be started by supervisord
php_1 | [INFO] Enabling 'socat-5432-pgsql-5432' to be started by supervisord
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 | root $ find /usr/local/etc/php/conf.d -type f -iname '*.ini' -exec chmod 0644 "{}" \;
php_1 | root $ find /usr/local/etc/php-fpm.d -type f -iname '*.conf' -exec chmod 0644 "{}" \;
php_1 | [INFO] $ENABLE_MODULES set, but empty. Not enabling any PHP modules.
php_1 | [INFO] Disabling the following PHP modules: oci8,PDO_OCI,pdo_sqlsrv,sqlsrv,rdkafka,swoole
php_1 | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-oci8.ini
php_1 | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-pdo_sqlsrv.ini
php_1 | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-sqlsrv.ini
php_1 | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-rdkafka.ini
php_1 | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-swoole.ini
php_1 | root $ chown devilbox:devilbox /etc/mysqldump-secure.conf
php_1 | root $ chown devilbox:devilbox /etc/mysqldump-secure.cnf
php_1 | root $ chown devilbox:devilbox /var/log/mysqldump-secure.log
php_1 | root $ chown devilbox:devilbox /shared/backups/mysql
php_1 | [INFO] $MYSQL_BACKUP_USER set for mysqldump-secure. Changing to 'root'
php_1 | root $ sed -i'' 's/^user.*/user = root/g' /etc/mysqldump-secure.cnf
php_1 | [INFO] $MYSQL_BACKUP_PASS set for mysqldump-secure. Changing to '******'
php_1 | root $ perl -pi -e 's/^password.*/password = /g' /etc/mysqldump-secure.cnf
php_1 | [INFO] $MYSQL_BACKUP_HOST set for mysqldump-secure. Changing to 'mysql'
php_1 | root $ sed -i'' 's/^host.*/host = mysql/g' /etc/mysqldump-secure.cnf
php_1 | root $ chown devilbox:devilbox /shared/backups
php_1 | root $ chown devilbox:devilbox /shared/httpd
php_1 | root $ chmod 0755 /shared/backups
php_1 | root $ chmod 0755 /shared/httpd
php_1 | root $ update-ca-certificates
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 | 2022-08-03 17:31:11,379 WARN No file matches via include "/etc/supervisor/custom.d/*.conf"
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/postfix.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/rsyslogd.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/socat-11211-memcd-11211.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/socat-27017-mongo-27017.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/socat-3306-mysql-3306.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/socat-443-httpd-443.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/socat-5432-pgsql-5432.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/socat-6379-redis-6379.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Included extra file "/etc/supervisor/conf.d/socat-80-httpd-80.conf" during parsing
php_1 | 2022-08-03 17:31:11,379 INFO Set uid to user 0 succeeded
php_1 | 2022-08-03 17:31:11,380 INFO supervisord started with pid 1
php_1 | 2022-08-03 17:31:12,387 INFO spawned: 'rsyslogd' with pid 1211
php_1 | 2022-08-03 17:31:12,396 INFO spawned: 'php-fpm' with pid 1212
php_1 | 2022-08-03 17:31:12,401 INFO spawned: 'postfix' with pid 1213
php_1 | 2022-08-03 17:31:12,405 INFO spawned: 'socat-11211-memcd-11211' with pid 1214
php_1 | 2022-08-03 17:31:12,408 INFO spawned: 'socat-27017-mongo-27017' with pid 1217
php_1 | 2022-08-03 17:31:12,411 INFO spawned: 'socat-3306-mysql-3306' with pid 1219
php_1 | 2022-08-03 17:31:12,414 INFO spawned: 'socat-443-httpd-443' with pid 1220
php_1 | 2022-08-03 17:31:12,416 INFO spawned: 'socat-5432-pgsql-5432' with pid 1221
php_1 | 2022-08-03 17:31:12,418 INFO spawned: 'socat-6379-redis-6379' with pid 1222
php_1 | 2022-08-03 17:31:12,421 INFO spawned: 'socat-80-httpd-80' with pid 1223
php_1 | 2022-08-03 17:31:13,475 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2022-08-03 17:31:13,475 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2022-08-03 17:31:13,475 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2022-08-03 17:31:13,476 INFO success: socat-11211-memcd-11211 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2022-08-03 17:31:13,476 INFO success: socat-27017-mongo-27017 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2022-08-03 17:31:13,476 INFO success: socat-3306-mysql-3306 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2022-08-03 17:31:13,477 INFO success: socat-443-httpd-443 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2022-08-03 17:31:13,477 INFO success: socat-5432-pgsql-5432 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2022-08-03 17:31:13,477 INFO success: socat-6379-redis-6379 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2022-08-03 17:31:13,477 INFO success: socat-80-httpd-80 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)(Optional) Additional information
No response