cytopia / cytopia/devilbox

[Bug]: When Xdebug Enabled get 400 Bad Request AH01075 proxy_fcgi:error

Open
#992 2 comments 0 reactions 1 assignee Claimed by @cytopia View on GitHub
bug triage
Dominant language
PHP
Stars
4.5k
Forks
652
PR merge metrics
No merged PRs in 30d

Description

### Have you already looked into this bug?

- [X] I have checked the [Troubleshooting Guide](https://devilbox.readthedocs.io/en/latest/support/troubleshooting.html)
- [X] I have checked [Release notes](https://github.com/cytopia/devilbox/releases) for potential migration steps
- [X] I have checked [existing issues](https://github.com/cytopia/devilbox/issues) for similar bugs
- [X] I have googled this bug already with no luck
- [ ] I have not done any of the above

### (Optional) Error message

[Mon Jul 10 03:29:12.162862 2023] [proxy_fcgi:error] [pid 528:tid 140006501874488] (11)Resource temporarily unavailable: [client 172.16.238.1:55990] AH01075: Error dispatching request to : (reading input brigade)

### What went wrong?

When Xdebug is enabled I constantly am getting 400 bad request errors when not step debugging, the error message in apache 2.4 is:

[Mon Jul 10 03:29:12.162862 2023] [proxy_fcgi:error] [pid 528:tid 140006501874488] (11)Resource temporarily unavailable: [client 172.16.238.1:55990] AH01075: Error dispatching request to : (reading input brigade)

Xdebug log is:
[1324] Log opened at 2023-07-10 03:32:15.496884
[1324] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION'
[1324] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating
[1324] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION'
[1324] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating
[1324] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION'
[1324] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating
[1324] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION'
[1324] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating
[1324] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION'
[1324] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating
[1324] Log closed at 2023-07-10 03:32:15.569692

I am wondering if it's possible to update xdebug to version 3.2.1? I tried running docker-compose pull but it did not update.

### Expected behaviour

No 400 Bad Request Error

### How can we reproduce the bug?

Using PHP 8.1.13 (from Devilbox 2.4.0) and WordPress. Using WSL2 with docker installed inside of it.

### Host Operating System

Linux

### Host Platform (amd64, arm64, other)

amd64

### (Linux only) Is SELinux enabled?

Yes, SELinux is enabled

### Docker version

23.0.4, build f480fb1

### Docker Compose version

1.29.2, build 5becea4c

### Devilbox version

1.29.2, build 5becea4c

### Have you removed stopped containers before starting?

Yes

### Have you pulled latest Docker images before starting?

Yes

### Devilbox start command

docker-compose up -d

### Config: .env file

```shell
###
### ---------------------------------------------------
### 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==[,=]
###
### 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==[,=]
###
### 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
#MYSQL_SERVER=mariadb-10.9
#MYSQL_SERVER=mariadb-10.10

###
### 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
#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=15
#PGSQL_SERVER=15-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=7.0
#REDIS_SERVER=7.0-alpine
#REDIS_SERVER=latest
#REDIS_SERVER=alpine

###
### 1.6 Choose Memcached Server Image
###
### IMPORTANT: Alpine based images might cause issues on Docker Toolbox or OSX
### https://github.com/docker/toolbox/issues/510
###
#
# 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:
###

###
### Example:
### would produce: 'some value'
###
#Foo=some value
```

### Config: docker-compose.override.yml

_No response_

### Config: ./check-config.sh

```shell
# ==============================================================================
# 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
# ==============================================================================
[NOTE] [httpd] Custom config present in cfg/apache-2.4/
[NOTE] [php.ini] Custom config present in cfg/php-ini-7.4/
[NOTE] [php.ini] Custom config present in cfg/php-ini-8.1/
[NOTE] [php-fpm] Custom config present in cfg/php-fpm-8.1/
find: ‘cfg/mariadb-10.8’: No such file or directory
find: ‘cfg/mariadb-10.9’: No such file or directory
find: ‘cfg/mariadb-10.10’: No such file or directory

# ==============================================================================
# SUMMARY
# ==============================================================================
[SUCC] Found no errors
[NOTE] 4 custom configurations applied. If you encounter issues, reset them first.
[INFO] Ensure to run 'docker-compose stop; docker-compose rm -f' on .env changes or custom configs
```

### Log: docker-compose logs

```shell
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] Changing DNS Max Cache size to: 90%
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 1688960782
bind_1 | OK
bind_1 | zone rpz/IN: final reference detached
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 | max-cache-size 90%;
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 | 1688960782 ; 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.18.9
httpd_1 | [INFO] Debug level: 2
httpd_1 | [INFO] Runtime debug: 2
httpd_1 | [INFO] Changing user 'www-data' uid to: 1000
httpd_1 | root $ usermod -u 1000 www-data
httpd_1 | [INFO] Changing group 'www-data' gid to: 1000
httpd_1 | root $ groupmod -g 1000 www-data
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: Mon Jul 10 03:46:23 UTC 2023
httpd_1 | [INFO] $DOCKER_LOGS disabled. Logging errors and access to log files inside container.
httpd_1 | [INFO] PHP 5.2 compatibility mode: Disabled
httpd_1 | [INFO] PHP-FPM: Enabled
httpd_1 | [INFO] PHP-FPM: Server address: 172.16.238.10
httpd_1 | [INFO] PHP-FPM: Server port: 9000
httpd_1 | [INFO] PHP-FPM: Timeout: 180
httpd_1 | [INFO] 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] Disabling PHP 5.2 compat mode
httpd_1 | [INFO] vhost-gen: no customized template found
httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__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 -c /etc/vhost-gen/main.yml -o /var/www/default/cfg -v -d -s -m both
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:23): Loading configuration file (-c): /etc/vhost-gen/main.yml
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:23): Loading vhost template (global) (-t): /etc/vhost-gen/templates/apache24.yml
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:23): Loading vhost template (override) (-o): /var/www/default/cfg/apache24.yml
httpd_1 | vhost-gen: [WARN] (2023-07-10 03:46:23): Override Vhost template not found: /var/www/default/cfg/apache24.yml
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:23): Creating vhost type: https and http (both)
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:23): Using vhost name: localhost
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:23): Log setting: dir -> True
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:23): Log setting: Not specified
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:23): Vhost config written to: /etc/httpd/conf.d/localhost.conf
httpd_1 | root $ sed -i'' 's|__DOCROOT_SUFFIX__|htdocs|g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__TLD__/.loc/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ mkdir -p /etc/httpd/cert/main
httpd_1 | root $ cert-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox -n 'localhost' -e 'admin@localhost' -a 'localhost *.localhost devilbox *.devilbox httpd' /ca/devilbox-ca.key /ca/devilbox-ca.crt /etc/httpd/cert/main/localhost.key /etc/httpd/cert/main/localhost.csr /etc/httpd/cert/main/localhost.crt
httpd_1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/main/localhost.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=localhost/emailAddress=admin@localhost' -out /etc/httpd/cert/main/localhost.csr
httpd_1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/main/localhost.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/main/localhost.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | 1d:77:10:1e:d7:35:a6:5d:ce:2e:65:57:5d:0d:f0:ac:a6:6f:a2:41
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 = "IuYAEvl+P0p/LJdHibbocZYHudM="
httpd_1 | Validity
httpd_1 | Not Before: Jul 10 03:46:23 2023 GMT
httpd_1 | Not After : Oct 12 03:46:23 2025 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:c5:6f:f2:75:0b:73:de:f8:66:67:a3:37:b2:fe:
httpd_1 | 82:2e:16:92:2f:8c:f6:62:61:c9:f8:9f:69:65:16:
httpd_1 | a4:85:bc:f0:45:aa:d8:c8:fb:b9:9a:4d:11:a3:ed:
httpd_1 | c4:57:ae:3e:60:ce:4f:40:28:91:ab:ff:de:0b:80:
httpd_1 | 6a:58:09:16:7d:35:8b:07:07:fe:d8:47:10:e6:c0:
httpd_1 | 3d:7b:81:ab:33:bb:cc:48:65:30:4f:79:3f:33:5a:
httpd_1 | e0:af:0f:0b:13:6a:32:77:54:a6:80:2a:18:63:e3:
httpd_1 | 95:e8:e2:28:05:dc:98:21:06:fc:17:21:80:d3:a5:
httpd_1 | 0a:cb:69:fd:23:3c:4b:f9:ac:c2:78:54:e9:a3:3b:
httpd_1 | d7:06:42:75:a2:a3:e3:96:33:4e:f9:99:38:5f:b1:
httpd_1 | a0:54:ff:13:34:dd:6b:6b:da:2c:68:de:b3:93:3d:
httpd_1 | 6f:d5:01:90:a6:44:22:1a:51:de:28:51:f1:d3:e5:
httpd_1 | 14:52:d1:e9:80:7f:35:14:a1:48:0a:bf:23:7a:1b:
httpd_1 | 0d:49:88:36:eb:a8:a9:2f:9b:f8:f1:fb:f6:8d:41:
httpd_1 | bc:c5:83:d7:1c:e2:29:99:2e:fd:d6:ec:b0:3d:7d:
httpd_1 | f3:42:38:8a:18:6e:ca:59:39:67:8f:b9:60:31:8a:
httpd_1 | ce:0e:b4:cb:ed:11:e9:ca:0d:8e:84:2a:fc:82:af:
httpd_1 | 01:95
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 | F9:E0:06:F2:8E:01:10:81:85:67:20:01:9D:46:06:8B:2F:C6:36:17
httpd_1 | X509v3 Key Usage: critical
httpd_1 | Digital Signature, Key Encipherment
httpd_1 | X509v3 Authority Key Identifier:
httpd_1 | keyid:22:E6:00:12:F9:7E:3F:4A:7F:2C:97:47:89:B6:E8:71:96:07:B9:D3
httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=IuYAEvl\+P0p\/LJdHibbocZYHudM=
httpd_1 | serial:1B:A6:02:12:FA:F0:02:2E:B6:92:92:9C:AE:73:DE:E0:62:81:0A:67
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 | Signature Value:
httpd_1 | 25:f9:d6:f9:d9:61:f1:2e:1d:ad:9f:e0:bc:c4:91:92:34:96:
httpd_1 | 79:b8:33:eb:31:54:82:c9:86:33:d7:52:f3:a3:ef:14:4d:21:
httpd_1 | c1:3f:72:1a:60:32:66:90:c0:b4:43:4b:73:db:78:2f:23:27:
httpd_1 | 4d:ec:55:97:65:0e:6b:d4:69:cc:d1:bb:a5:de:f0:29:0d:6e:
httpd_1 | 3e:b7:cc:01:4f:0b:f3:13:c8:37:91:df:94:62:8e:ed:98:13:
httpd_1 | 58:52:dc:b9:4b:7f:a3:50:11:59:c4:8c:93:6c:b3:b6:08:58:
httpd_1 | af:a1:4a:66:17:4e:ae:15:da:9d:d0:b3:a5:fd:0a:b4:1f:0b:
httpd_1 | 3f:58:88:16:74:66:43:91:0f:d7:da:36:c7:c2:3a:84:e4:e5:
httpd_1 | 0e:13:e2:23:2a:0b:ea:13:9c:bf:73:ef:20:12:97:7b:8c:62:
httpd_1 | f4:00:76:50:7a:e2:e9:f6:77:78:45:12:26:47:37:37:7f:d2:
httpd_1 | c6:3b:e1:f1:1b:e5:b1:d6:58:ed:b4:de:28:f7:ee:70:51:98:
httpd_1 | 98:87:90:b3:34:c3:3e:4c:46:01:d5:c7:cf:38:dd:d7:1b:3f:
httpd_1 | 48:d2:32:c6:11:e2:f8:7f:36:df:e3:98:72:55:2f:40:03:79:
httpd_1 | f2:e1:97:08:28:ee:ce:3e:c7:8e:c6:b1:75:19:76:af:0f:69:
httpd_1 | 35:2b:da:c2
httpd_1 | /etc/httpd/cert/main/localhost.crt: OK
httpd_1 | root $ chown -R 1000:1000 /ca
httpd_1 | [INFO] Starting supervisord: 4.2.4
httpd_1 | 2023-07-10 03:46:24,283 INFO Set uid to user 0 succeeded
httpd_1 | 2023-07-10 03:46:24,285 INFO supervisord started with pid 1
httpd_1 | 2023-07-10 03:46:25,288 INFO spawned: 'httpd' with pid 171
httpd_1 | 2023-07-10 03:46:25,291 INFO spawned: 'watcherd' with pid 172
httpd_1 | [Mon Jul 10 03:46:25.323876 2023] [mpm_event:notice] [pid 171:tid 140521270971208] AH00489: Apache/2.4.54 (Unix) OpenSSL/3.0.7 configured -- resuming normal operations
httpd_1 | [Mon Jul 10 03:46:25.323943 2023] [core:notice] [pid 171:tid 140521270971208] AH00094: Command line: 'httpd -D FOREGROUND'
httpd_1 | 2023-07-10 03:46:26,325 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | 2023-07-10 03:46:26,326 INFO success: watcherd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | watcherd: [2023-07-10 03:46:28] Starting daemon.
httpd_1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/anything.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=anything.loc/emailAddress=admin@anything.loc' -out /etc/httpd/cert/mass/anything.loc.csr
httpd_1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/mass/anything.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/anything.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | 1d:77:10:1e:d7:35:a6:5d:ce:2e:65:57:5d:0d:f0:ac:a6:6f:a2:42
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 = "IuYAEvl+P0p/LJdHibbocZYHudM="
httpd_1 | Validity
httpd_1 | Not Before: Jul 10 03:46:28 2023 GMT
httpd_1 | Not After : Oct 12 03:46:28 2025 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = anything.loc, emailAddress = admin@anything.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:c4:52:01:c4:28:d0:c1:d1:57:8e:86:5e:e8:0d:
httpd_1 | 21:76:fe:46:19:ef:30:83:d0:73:b4:45:3f:b4:16:
httpd_1 | 13:d3:c8:66:2b:77:96:60:7d:96:6b:5b:19:54:7d:
httpd_1 | 29:7e:6d:ad:55:4e:09:4a:e8:f0:d7:f1:90:ea:a4:
httpd_1 | c2:05:99:bb:1c:41:7e:81:0a:a7:44:11:54:f7:35:
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.355+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"-","msg":"Initialized wire specification","attr":{"spec":{"incomingExternal
Client":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.356+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.356+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.357+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.359+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.359+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.359+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.359+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.360+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"mongo"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.360+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"5.0.18","
gitVersion":"796abe56bfdbca6968ff570311bf72d93632825b","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.360+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.360+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.362+00:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.363+00:00"},"s":"I", "c":"STORAGE", "id":22297, "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.363+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_si
ze=3461M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),builtin_extensi
on_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:24.989+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1688960784:989143][1:0x7f55bddfbc80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 19 through 20"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.061+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1688960785:61513][1:0x7f55bddfbc80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 20 through 20"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.139+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1688960785:139688][1:0x7f55bddfbc80], txn-recover: [WT_VERB_RECOVERY_ALL] Main recovery loop: starting at 19/15104 to 20/256"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.205+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1688960785:205906][1:0x7f55bddfbc80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 19 through 20"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.262+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1688960785:262216][1:0x7f55bddfbc80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 20 through 20"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.293+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1688960785:293753][1:0x7f55bddfbc80], txn-recover: [WT_VERB_RECOVERY_ALL] Set global recovery timestamp: (0, 0)"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.293+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1688960785:293921][1:0x7f55bddfbc80], txn-recover: [WT_VERB_RECOVERY_ALL] Set global oldest timestamp: (0, 0)"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.299+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1688960785:29
9734][1:0x7f55bddfbc80], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 30524"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.312+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":949}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.312+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.320+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.326+00:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.326+00:00"},"s":"W", "c":"CONTROL", "id":22178, "ctx":"initandlisten","msg":"/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'","tags":["startupWarnings"]}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.330+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incom
ingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"i
sInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.330+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.332+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.334+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.338+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.340+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.340+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:46:25.340+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
mongo_1 | {"t":{"$date":"2023-07-10T03:47:25.327+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":"[1688960845:327
614][1:0x7f55b55e9700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 3, snapshot max: 3 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 30524"}}
httpd_1 | 52:26:67:2f:e2:5e:08:f2:6e:5a:28:85:ac:0b:9a:
httpd_1 | d4:c8:df:8c:e9:df:dd:6d:91:db:69:e8:c6:cd:8b:
httpd_1 | 05:7e:92:f5:23:fe:b3:95:10:0b:14:d1:3b:c5:5a:
httpd_1 | 09:2d:aa:df:25:93:02:e3:44:1f:2b:b9:86:00:aa:
httpd_1 | af:95:6e:8e:29:15:85:db:7e:27:7c:46:e8:f6:21:
httpd_1 | 85:5a:9f:00:10:2f:51:4b:8f:0d:e0:a4:a3:8b:85:
httpd_1 | d6:9e:2f:b5:60:86:ed:a8:0d:50:6d:ae:17:0e:13:
httpd_1 | 06:21:24:5a:c9:29:66:24:32:24:ec:e0:6b:4e:b7:
httpd_1 | 0c:b8:00:a4:2d:82:ba:f3:74:18:50:14:52:09:09:
httpd_1 | 70:6c:ae:37:47:87:d5:53:a2:cf:f1:a9:d1:ab:59:
httpd_1 | 2f:25:df:8b:2a:6e:e7:80:11:02:1b:43:fb:23:88:
httpd_1 | b7:1a:c9:72:3d:d3:8d:b9:d7:2a:86:ef:a2:a2:3e:
httpd_1 | 48:b1
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 | 90:EE:66:50:F0:F6:3E:C3:B3:92:B2:60:CF:39:4D:08:B4:EB:8B:78
httpd_1 | X509v3 Key Usage: critical
httpd_1 | Digital Signature, Key Encipherment
httpd_1 | X509v3 Authority Key Identifier:
httpd_1 | keyid:22:E6:00:12:F9:7E:3F:4A:7F:2C:97:47:89:B6:E8:71:96:07:B9:D3
httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=IuYAEvl\+P0p\/LJdHibbocZYHudM=
httpd_1 | serial:1B:A6:02:12:FA:F0:02:2E:B6:92:92:9C:AE:73:DE:E0:62:81:0A:67
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:anything.loc, DNS:*.anything.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | Signature Value:
httpd_1 | 06:31:97:e5:6b:2d:09:14:f6:09:27:c4:ed:41:bf:30:b3:46:
httpd_1 | 44:8e:fc:43:ba:a5:ee:f2:d9:d3:79:a2:2a:e5:ea:8d:f7:04:
httpd_1 | 49:54:c5:bf:dc:5b:0e:01:43:46:11:7b:23:4c:1c:bf:98:68:
httpd_1 | d8:fe:98:b6:ab:19:70:85:a3:b3:83:6e:c0:67:54:0d:94:1d:
httpd_1 | d3:49:3a:bc:ef:13:84:f0:50:36:ef:7d:bc:94:0a:e0:47:bb:
httpd_1 | b7:8f:0e:75:d2:d6:fc:94:29:a8:d4:36:e3:ed:5b:31:a0:8b:
httpd_1 | 16:f1:16:a2:f6:10:49:8f:e3:88:56:72:d6:01:60:21:99:6d:
httpd_1 | c7:c9:c2:7b:52:c7:0a:dc:9e:73:7c:c3:03:51:9c:8d:e6:19:
httpd_1 | a3:e9:43:ac:92:57:e7:b3:78:93:6c:6d:53:9f:64:09:cd:ea:
httpd_1 | 94:5b:82:02:ae:7a:6e:6f:d5:4e:62:7f:59:df:e9:b2:ce:b7:
httpd_1 | 47:6c:4f:e9:cb:25:3e:2d:d5:b4:49:14:c6:dc:f2:2d:08:eb:
httpd_1 | d3:8a:ac:d4:92:3e:57:8c:5b:8b:f7:83:d7:e9:0f:bf:b2:24:
httpd_1 | 6a:83:b3:4f:c5:e2:a8:38:8e:08:b0:ff:b6:8b:58:37:dd:e9:
httpd_1 | df:3e:ba:93:ce:10:7c:01:b2:4e:6d:28:6c:5a:98:f8:16:3e:
httpd_1 | af:3e:ca:2d
httpd_1 | /etc/httpd/cert/mass/anything.loc.crt: OK
httpd_1 | $ vhost-gen -p "/shared/httpd/anything" -n "anything" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/anything/.devilbox/" -s -v -m both
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:28): Loading configuration file (-c): /etc/vhost-gen/mass.yml
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:28): Loading vhost template (global) (-t): /etc/vhost-gen/templates/apache24.yml
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:28): Loading vhost template (override) (-o): /shared/httpd/anything/.devilbox/apache24.yml
httpd_1 | vhost-gen: [WARN] (2023-07-10 03:46:28): Override Vhost template not found: /shared/httpd/anything/.devilbox/apache24.yml
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:28): Creating vhost type: https and http (both)
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:28): Using vhost name: anything.loc
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:28): Log setting: dir -> True
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:28): Log setting: Not specified
httpd_1 | vhost-gen: [INFO] (2023-07-10 03:46:28): Vhost config written to: /etc/httpd/vhost.d/anything.conf
httpd_1 | watcherd: [2023-07-10 03:46:28] [OK] ADD: succeeded: /shared/httpd/anything
httpd_1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/openmage.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=openmage.loc/emailAddress=admin@openmage.loc' -out /etc/httpd/cert/mass/openmage.loc.csr
httpd_1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/mass/openmage.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/openmage.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | 1d:77:10:1e:d7:35:a6:5d:ce:2e:65:57:5d:0d:f0:ac:a6:6f:a2:43
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 = "IuYAEvl+P0p/LJdHibbocZYHudM="
(too long had to edit)
```

### (Optional) Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.