cytopia / devilbox

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

Symlinks don't generate vhost files for Apache container #753

Closed Sn0wCrack closed 3 years ago

Sn0wCrack commented 3 years ago

ISSUE TYPE

Checklist

OS / ENVIRONMENT

  1. Host operating system and version: macOS 10.15.7
  2. (Windows only) Native Docker or Docker Toolbox: N/a
  3. Docker version: 2.5.0.1
  4. Docker Compose version: 1.27.4
  5. (Linux) Is SELinux enabled?: N/a
  6. What git commit hash are you on?: v1.8.2

SUMMARY

I've currently got two symlinks in my data/www folder that link back to folders with my projects in them.

These symlinks are fully accessible and all files within can be accessed within the php and httpd containers just fine.

This was accomplished via mounting the symlink targets via the docker-compose.override.yml file.

My assumption here is that symlinks aren't picked up by watcherd to trigger vhost generation.

STEPS TO REPRODUCE

Create a symlink to a directory from within your data/www folder to another folder

Add or update the following in your docker-compose.override.yml:

services:
  php:
    volumes:
      - /path/to/linked/directory:/path/to/link/directory
  httpd:
    volumes:
      - /path/to/linked/directory:/path/to/link/directory

This should allow you to access the created symlink just fine inside of both containers.

When viewing the virtual hosts page in the devilbox intranet you'll be greeted errors on the symlink directories saying "No Host DNS record found. Add the following to /etc/hosts: 127.0.0.1 directory.loc"

And clicking on the config cog icon it will take you to a vhost config file that does not eixst.

EXPECTED BEHAVIOUR

Symlinks that have a folder set as their source should trigger watcherd to generate vhosts

ACTUAL BEHAVIOUR

Symlinks appear to be ignored by watcherd and no vhost file is generated

OTHER INFORMATION

Start command

$ docker-compose up -d

Outputs

$ ./check-config.sh

# ==============================================================================
# Checking git
# ==============================================================================
[ERR]  git is unclean
 M check-config.sh

# ==============================================================================
# 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 directories
# ==============================================================================
[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 directory permissions
# ==============================================================================
[SUCC] All devilbox directories have correct permissions
[SUCC] All devilbox directories have correct uid
[SUCC] All devilbox directories have correct gid

# ==============================================================================
# Checking 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
# ==============================================================================
[SUCC] All project dirs have correct permissions
[SUCC] All project dirs have correct uid
[SUCC] All project dirs have correct gid

# ==============================================================================
# SUMMARY
# ==============================================================================
[ERR]  Found 1 error(s)
[ERR]  Devilbox might not work properly
[ERR]  Fix the issues before submitting a bug report
[INFO] Ensure to run 'docker-compose stop; docker-compose rm -f' on changes in .env
docker-compose logs ```bash $ docker-compose logs bind_1 | [INFO] Debug level: 2 bind_1 | [INFO] BIND logging: disabled explicitly bind_1 | [INFO] Using default DNS TTL time: 3600 sec bind_1 | [INFO] Using default DNS Refresh time: 1200 sec bind_1 | [INFO] Using default DNS Retry time: 180 sec bind_1 | [INFO] Using default DNS Expiry time: 1209600 sec bind_1 | [INFO] Using default DNS Max Cache time: 10800 sec bind_1 | [INFO] Adding wildcard DNS: *.test -> 127.0.0.1 bind_1 | bind_1 | zone test/IN: loaded serial 1605764103 bind_1 | OK bind_1 | [INFO] Not adding any extra hosts bind_1 | [INFO] DNSSEC Validation: no bind_1 | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4 bind_1 | [INFO] Starting BIND 9.11.3 httpd_1 | [INFO] Debug level: 2 httpd_1 | [INFO] Runtime debug: 2 httpd_1 | [INFO] Changing user 'daemon' uid to: 501 httpd_1 | root $ usermod -u 501 daemon httpd_1 | root $ chown -R daemon /usr/sbin httpd_1 | [WARN] Group with 20 already exists: dialout httpd_1 | [INFO] Changing GID of dialout to 9876 httpd_1 | root $ groupmod -g 9876 dialout httpd_1 | [INFO] Changing group 'daemon' gid to: 20 httpd_1 | root $ groupmod -g 20 daemon httpd_1 | root $ chown -R :daemon /usr/sbin httpd_1 | [INFO] Setting container timezone to: UTC httpd_1 | root $ ln -sf /usr/share/zoneinfo/UTC /etc/localtime httpd_1 | [INFO] Docker date set to: Thu Nov 19 05:35:06 UTC 2020 httpd_1 | [INFO] $DOCKER_LOGS disabled. Logging errors and access to log files inside container. httpd_1 | [INFO] PHP 5.2 compatibility mode: Disabled httpd_1 | [INFO] PHP-FPM: Enabled httpd_1 | [INFO] PHP-FPM: Server address: 172.16.238.10 httpd_1 | [INFO] PHP-FPM: Server port: 9000 httpd_1 | [INFO] PHP-FPM: Timeout: 180 httpd_1 | [INFO] Main vhost: Enabled httpd_1 | [INFO] Main vhost: Setting SSL type to: 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,*.test,*.synergywholesale.com 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: .test httpd_1 | [INFO] Mass vhost: changing document root to: public_html httpd_1 | [INFO] Mass vhost: changing template dir to: .devilbox httpd_1 | [INFO] Disabling PHP 5.2 compat mode httpd_1 | [INFO] vhost-gen: no customized template found httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's|__ENABLE_STATUS__|yes|g' /etc/vhost-gen/main.yml httpd_1 | root $ sed -i'' 's|__STATUS_ALIAS__|/devilbox-httpd-status|g' /etc/vhost-gen/main.yml httpd_1 | root $ vhost_gen.py -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 | [WARN] override template not found: /var/www/default/cfg/apache24.yml httpd_1 | vhostgen: [2020-11-19 05:35:07] Adding: localhost httpd_1 | root $ sed -i'' 's|__DOCROOT_SUFFIX__|public_html|g' /etc/vhost-gen/mass.yml httpd_1 | root $ sed -i'' 's/__TLD__/.test/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 *.test *.synergywholesale.com' /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 | 41:cf:93:64:cf:66:56:0a:91:dc:02:2a:74:7e:df:a0:57:2a:73:c3 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 = "35dLgryN0zktRpufnnV+6M/57sM=" httpd_1 | Validity httpd_1 | Not Before: Nov 19 05:35:07 2020 GMT httpd_1 | Not After : Feb 22 05:35:07 2023 GMT httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = localhost, emailAddress = admin@localhost httpd_1 | Subject Public Key Info: httpd_1 | Public Key Algorithm: rsaEncryption httpd_1 | RSA Public-Key: (2048 bit) httpd_1 | Modulus: httpd_1 | 00:f6:df:d7:a6:69:19:87:80:f3:09:80:a4:ab:4e: httpd_1 | 3e:33:35:51:d7:9c:d1:32:82:03:1e:ec:e8:86:4b: httpd_1 | b0:fc:a2:81:86:68:bb:fb:4f:21:30:f1:88:5a:2e: httpd_1 | ba:ac:b4:a4:4e:1f:9b:d8:90:c7:fa:aa:3a:26:95: httpd_1 | f2:db:b4:a3:a8:9f:64:86:4f:1c:58:03:51:98:6d: httpd_1 | f8:25:9a:2e:95:f7:cc:6d:c8:34:d5:9a:5d:f7:c1: httpd_1 | 88:3e:1c:c3:25:00:4e:fc:41:e3:33:0c:70:54:cb: httpd_1 | b8:0c:5f:c3:e6:f1:0e:a3:b5:38:bb:b0:ce:6a:3c: httpd_1 | 4f:d2:ec:25:fc:d5:9c:4f:4f:a0:19:28:2f:ab:39: httpd_1 | 10:d6:d5:6d:e4:bb:19:c2:89:82:49:7e:b6:a8:c5: httpd_1 | 0a:93:10:4d:c3:25:cc:2b:ab:96:ec:65:c6:85:4e: httpd_1 | 2b:41:09:b4:13:8f:ad:a0:05:0c:34:02:29:70:0f: httpd_1 | c1:4e:ad:ff:56:cc:bb:78:0a:3f:ed:eb:1f:63:cb: httpd_1 | ec:1d:ec:f5:57:b7:0e:03:00:1f:a9:c9:bb:a3:7c: httpd_1 | 64:e3:87:bd:76:e8:b3:02:ee:2d:65:5b:1a:d9:80: httpd_1 | 36:1d:9d:09:9a:52:47:7b:ae:4f:d7:71:d6:c7:7d: httpd_1 | 2c:d8:1f:65:20:f7:4a:05:bd:c4:9f:a6:6f:b1:dc: httpd_1 | 9c:1b httpd_1 | Exponent: 65537 (0x10001) httpd_1 | X509v3 extensions: mailhog_1 | 2020/11/19 05:35:08 Using in-memory storage mailhog_1 | 2020/11/19 05:35:08 [SMTP] Binding to address: 0.0.0.0:1025 mailhog_1 | 2020/11/19 05:35:08 Serving under http://0.0.0.0:8025/ mailhog_1 | [HTTP] Binding to address: 0.0.0.0:8025 mailhog_1 | Creating API v1 with WebPath: mailhog_1 | Creating API v2 with WebPath: mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events httpd_1 | X509v3 Basic Constraints: critical httpd_1 | CA:FALSE httpd_1 | X509v3 Subject Key Identifier: httpd_1 | 18:E2:FA:14:FE:4F:1D:87:BF:59:DE:AF:41:E0:3D:C1:06:C6:17:48 httpd_1 | X509v3 Key Usage: critical httpd_1 | Digital Signature, Key Encipherment httpd_1 | X509v3 Authority Key Identifier: httpd_1 | keyid:DF:97:4B:82:BC:8D:D3:39:2D:46:9B:9F:9E:75:7E:E8:CF:F9:EE:C3 httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=35dLgryN0zktRpufnnV+6M/57sM= httpd_1 | serial:6B:D3:FD:50:FB:A5:A1:0D:40:E4:EC:36:DD:DA:57:8F:F2:FC:70:C5 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, DNS:*.test, DNS:*.synergywholesale.com httpd_1 | Signature Algorithm: sha256WithRSAEncryption httpd_1 | 68:c4:5d:f7:36:8e:cc:ca:7d:17:d6:2e:8e:22:37:71:59:18: httpd_1 | 24:b1:b9:b9:68:ed:8a:f1:aa:a0:51:a3:cc:9f:02:17:31:5d: httpd_1 | 89:3f:b8:2c:f8:aa:ef:49:13:bb:e9:51:b5:4c:02:ce:cd:6a: httpd_1 | 95:a4:0a:d2:7f:ee:16:b8:bc:a9:02:6d:dc:94:37:bb:fc:4e: httpd_1 | 16:ad:b4:e6:c8:cc:9e:b6:ea:0b:15:ba:4b:ba:9f:39:f2:6d: httpd_1 | 56:2e:ed:e4:38:a8:2d:ef:0f:f8:e9:58:48:e7:7d:fe:8d:77: httpd_1 | fb:cf:33:28:17:ec:d3:52:04:7a:aa:90:e6:8e:05:b1:a6:47: httpd_1 | bf:ce:78:64:9d:4b:3b:c8:b6:e4:6b:48:83:f7:08:51:48:0b: httpd_1 | 6a:31:0a:5c:21:15:7e:24:7c:ed:a9:62:69:e8:6c:bc:88:44: httpd_1 | 0f:da:16:c1:f7:6f:d6:ea:43:e4:43:aa:ee:40:01:3c:50:27: httpd_1 | fe:85:67:57:10:08:c4:95:86:97:1d:85:59:56:46:da:ff:b5: httpd_1 | f6:7c:9f:da:99:81:ef:57:a5:a2:e9:50:68:b5:d3:39:96:aa: httpd_1 | b9:31:22:fb:11:d7:a5:ab:8c:1b:cc:b1:0a:35:7c:f7:33:fb: httpd_1 | 6f:c0:15:b6:cd:80:b6:dc:3b:6e:1b:12:9e:cb:90:87:11:85: httpd_1 | fd:0e:c4:f6 httpd_1 | /etc/httpd/cert/main/localhost.crt: OK httpd_1 | root $ chown -R 501:20 /ca httpd_1 | [INFO] Starting supervisord: 3.3.5 httpd_1 | 2020-11-19 05:35:09,228 INFO Set uid to user 0 succeeded httpd_1 | 2020-11-19 05:35:09,240 INFO supervisord started with pid 1 httpd_1 | 2020-11-19 05:35:10,247 INFO spawned: 'httpd' with pid 246 httpd_1 | 2020-11-19 05:35:10,257 INFO spawned: 'watcherd' with pid 247 httpd_1 | [Thu Nov 19 05:35:10.457093 2020] [mpm_event:notice] [pid 246:tid 140241280742528] AH00489: Apache/2.4.46 (Unix) OpenSSL/1.1.1d configured -- resuming normal operations httpd_1 | [Thu Nov 19 05:35:10.457293 2020] [core:notice] [pid 246:tid 140241280742528] AH00094: Command line: 'httpd -D FOREGROUND' httpd_1 | 2020-11-19 05:35:11,460 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) httpd_1 | 2020-11-19 05:35:11,460 INFO success: watcherd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) httpd_1 | watcherd: [2020-11-19 05:35:13] Starting daemon. httpd_1 | watcherd: [2020-11-19 05:35:13] Using bash loop to watch for changes. mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events mailhog_1 | [APIv1] KEEPALIVE /api/v1/events pgsql_1 | pgsql_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization pgsql_1 | pgsql_1 | 2020-11-19 05:35:09.283 UTC [1] LOG: starting PostgreSQL 12.1 (Debian 12.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit pgsql_1 | 2020-11-19 05:35:09.284 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 pgsql_1 | 2020-11-19 05:35:09.284 UTC [1] LOG: listening on IPv6 address "::", port 5432 pgsql_1 | 2020-11-19 05:35:09.288 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" pgsql_1 | 2020-11-19 05:35:09.340 UTC [25] LOG: database system was shut down at 2020-11-19 05:32:56 UTC pgsql_1 | 2020-11-19 05:35:09.356 UTC [1] LOG: database system is ready to accept connections pgsql_1 | 2020-11-19 06:05:11.482 UTC [30] LOG: stats_timestamp 2020-11-19 06:05:11.505791+00 is later than collector's time 2020-11-19 06:05:11.481194+00 for database 13408 mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.721+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.840+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"} mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.842+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.863+00:00"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"mongo"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.863+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.1","gitVersion":"ad91a93a5a31e175f5cbf8c69561e788bbc55ce1","openSSLVersion":"OpenSSL 1.1.1 11 Sep 2018","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu1804","distarch":"x86_64","target_arch":"x86_64"}}}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.863+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"18.04"}}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.863+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.881+00:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.883+00:00"},"s":"I", "c":"STORAGE", "id":22297, "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]} mongo_1 | {"t":{"$date":"2020-11-19T05:35:08.883+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=481M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:09.861+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1605764109:861119][1:0x7f1215635a80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 12 through 13"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:09.974+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1605764109:974262][1:0x7f1215635a80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 13 through 13"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.085+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1605764110:85531][1:0x7f1215635a80], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 12/8832 to 13/256"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.215+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1605764110:215176][1:0x7f1215635a80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 12 through 13"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.332+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1605764110:332059][1:0x7f1215635a80], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 13 through 13"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.395+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1605764110:395725][1:0x7f1215635a80], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.395+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1605764110:395959][1:0x7f1215635a80], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.410+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":1527}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.410+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.423+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.426+00:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.454+00:00"},"s":"I", "c":"STORAGE", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.473+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.476+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.480+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}} mongo_1 | {"t":{"$date":"2020-11-19T05:35:10.480+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}} mysql_1 | 2020-11-19 05:35:08+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.4.17+maria~focal started. mysql_1 | 2020-11-19 05:35:09+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mysql_1 | 2020-11-19 05:35:09+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.4.17+maria~focal started. mysql_1 | 2020-11-19 5:35:09 0 [Note] mysqld (mysqld 10.4.17-MariaDB-1:10.4.17+maria~focal) starting as process 1 ... mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Using Linux native AIO mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Uses event mutexes mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Number of pools: 1 mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Using SSE2 crc32 instructions mysql_1 | 2020-11-19 5:35:09 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Completed initialization of buffer pool mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: 128 out of 128 rollback segments are active. mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Creating shared tablespace for temporary tables mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: 10.4.17 started; log sequence number 90210965; transaction id 2623 mysql_1 | 2020-11-19 5:35:09 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mysql_1 | 2020-11-19 5:35:09 0 [Note] Plugin 'FEEDBACK' is disabled. mysql_1 | 2020-11-19 5:35:09 0 [Note] Server socket created on IP: '::'. mysql_1 | 2020-11-19 5:35:09 0 [Warning] 'proxies_priv' entry '@% root@mysql' ignored in --skip-name-resolve mode. mysql_1 | 2020-11-19 5:35:09 0 [Note] Reading of all Master_info entries succeeded mysql_1 | 2020-11-19 5:35:09 0 [Note] Added new Master_info '' to hash table mysql_1 | 2020-11-19 5:35:09 0 [Note] mysqld: ready for connections. mysql_1 | Version: '10.4.17-MariaDB-1:10.4.17+maria~focal' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mysql_1 | 2020-11-19 5:35:11 0 [Note] InnoDB: Buffer pool(s) load completed at 201119 5:35:11 php_1 | [INFO] Debug level: 2 php_1 | [INFO] Changing user 'devilbox' uid to: 501 php_1 | root $ usermod -u 501 devilbox 2>/dev/null php_1 | root $ chown -R devilbox /home/devilbox 2>/dev/null || true php_1 | root $ chown -R devilbox /var/lib/php/session php_1 | root $ chown -R devilbox /var/lib/php/wsdlcache php_1 | root $ chown -R devilbox /var/spool/mail/devilbox php_1 | [WARN] Group with 20 already exists: dialout php_1 | [INFO] Changing GID of dialout to 9876 php_1 | root $ groupmod -g 9876 dialout php_1 | [INFO] Changing group 'devilbox' gid to: 20 php_1 | root $ groupmod -g 20 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 | [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: Thu Nov 19 05:35:05 UTC 2020 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 '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 | [INFO] PHP.ini: 00-cliclient.ini -> /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-00-cliclient.ini php_1 | root $ cp /etc/php-custom.d/00-cliclient.ini /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-00-cliclient.ini php_1 | [INFO] PHP.ini: synergy-php.ini -> /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-synergy-php.ini php_1 | root $ cp /etc/php-custom.d/synergy-php.ini /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-synergy-php.ini 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,mcrypt,phalcon 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 $ rm /usr/local/etc/php/conf.d/docker-php-ext-mcrypt.ini php_1 | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.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 = secret/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 $ cp /ca/devilbox-ca.crt /usr/local/share/ca-certificates/devilbox-devilbox-ca.crt php_1 | root $ update-ca-certificates php_1 | Updating certificates in /etc/ssl/certs... php_1 | 1 added, 0 removed; done. php_1 | Running hooks in /etc/ca-certificates/update.d... php_1 | done. php_1 | [INFO] Executing custom startup script: 01-install-mailparse.sh php_1 | downloading mailparse-3.1.1.tgz ... php_1 | Starting to download mailparse-3.1.1.tgz (941,192 bytes) php_1 | ...........................................................................................................................................................................................done: 941,192 bytes php_1 | 11 source files, building php_1 | running: phpize php_1 | Configuring for: php_1 | PHP Api Version: 20180731 php_1 | Zend Module Api No: 20180731 php_1 | Zend Extension Api No: 320180731 php_1 | building in /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1 php_1 | running: /tmp/pear/temp/mailparse/configure --with-php-config=/usr/local/bin/php-config php_1 | checking for grep that handles long lines and -e... /bin/grep php_1 | checking for egrep... /bin/grep -E php_1 | checking for a sed that does not truncate output... /bin/sed php_1 | checking for cc... cc php_1 | checking whether the C compiler works... yes php_1 | checking for C compiler default output file name... a.out php_1 | checking for suffix of executables... php_1 | checking whether we are cross compiling... no php_1 | checking for suffix of object files... o php_1 | checking whether we are using the GNU C compiler... yes php_1 | checking whether cc accepts -g... yes php_1 | checking for cc option to accept ISO C89... none needed php_1 | checking how to run the C preprocessor... cc -E php_1 | checking for icc... no php_1 | checking for suncc... no php_1 | checking whether cc understands -c and -o together... yes php_1 | checking for system library directory... lib php_1 | checking if compiler supports -R... no php_1 | checking if compiler supports -Wl,-rpath,... yes php_1 | checking build system type... x86_64-pc-linux-gnu php_1 | checking host system type... x86_64-pc-linux-gnu php_1 | checking target system type... x86_64-pc-linux-gnu php_1 | checking for PHP prefix... /usr/local php_1 | checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib php_1 | checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20180731 php_1 | checking for PHP installed headers prefix... /usr/local/include/php php_1 | checking if debug is enabled... no php_1 | checking if zts is enabled... no php_1 | checking for re2c... re2c php_1 | checking for re2c version... 1.1.1 (ok) php_1 | checking for gawk... gawk php_1 | checking whether to enable mailparse support... yes, shared php_1 | checking libmbfl headers... found in /usr/local/include/php/ext/mbstring php_1 | checking for ld used by cc... /usr/bin/ld php_1 | checking if the linker (/usr/bin/ld) is GNU ld... yes php_1 | checking for /usr/bin/ld option to reload object files... -r php_1 | checking for BSD-compatible nm... /usr/bin/nm -B php_1 | checking whether ln -s works... yes php_1 | checking how to recognize dependent libraries... pass_all php_1 | checking for ANSI C header files... yes php_1 | checking for sys/types.h... yes php_1 | checking for sys/stat.h... yes php_1 | checking for stdlib.h... yes php_1 | checking for string.h... yes php_1 | checking for memory.h... yes php_1 | checking for strings.h... yes php_1 | checking for inttypes.h... yes php_1 | checking for stdint.h... yes php_1 | checking for unistd.h... yes php_1 | checking dlfcn.h usability... yes php_1 | checking dlfcn.h presence... yes php_1 | checking for dlfcn.h... yes php_1 | checking the maximum length of command line arguments... 1572864 php_1 | checking command to parse /usr/bin/nm -B output from cc object... ok php_1 | checking for objdir... .libs php_1 | checking for ar... ar php_1 | checking for ranlib... ranlib php_1 | checking for strip... strip php_1 | checking if cc supports -fno-rtti -fno-exceptions... no php_1 | checking for cc option to produce PIC... -fPIC php_1 | checking if cc PIC flag -fPIC works... yes php_1 | checking if cc static flag -static works... yes php_1 | checking if cc supports -c -o file.o... yes php_1 | checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes php_1 | checking whether -lc should be explicitly linked in... no php_1 | checking dynamic linker characteristics... GNU/Linux ld.so php_1 | checking how to hardcode library paths into programs... immediate php_1 | checking whether stripping libraries is possible... yes php_1 | checking if libtool supports shared libraries... yes php_1 | checking whether to build shared libraries... yes php_1 | checking whether to build static libraries... no php_1 | php_1 | creating libtool php_1 | appending configuration tag "CXX" to libtool php_1 | configure: creating ./config.status php_1 | config.status: creating config.h php_1 | running: make php_1 | /bin/bash /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/include -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/main -I/tmp/pear/temp/mailparse -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mailparse/mailparse.c -o mailparse.lo php_1 | mkdir .libs php_1 | cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/include -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/main -I/tmp/pear/temp/mailparse -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mailparse/mailparse.c -fPIC -DPIC -o .libs/mailparse.o php_1 | /bin/bash /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/include -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/main -I/tmp/pear/temp/mailparse -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mailparse/php_mailparse_mime.c -o php_mailparse_mime.lo php_1 | cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/include -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/main -I/tmp/pear/temp/mailparse -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mailparse/php_mailparse_mime.c -fPIC -DPIC -o .libs/php_mailparse_mime.o php_1 | re2c -b /tmp/pear/temp/mailparse/php_mailparse_rfc822.re > /tmp/pear/temp/mailparse/php_mailparse_rfc822.c php_1 | /bin/bash /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/include -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/main -I/tmp/pear/temp/mailparse -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mailparse/php_mailparse_rfc822.c -o php_mailparse_rfc822.lo php_1 | cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/include -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/main -I/tmp/pear/temp/mailparse -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mailparse/php_mailparse_rfc822.c -fPIC -DPIC -o .libs/php_mailparse_rfc822.o rabbit_1 | Configuring logger redirection rabbit_1 | 2020-11-19 05:35:18.105 [debug] <0.287.0> Lager installed handler error_logger_lager_h into error_logger rabbit_1 | 2020-11-19 05:35:18.111 [debug] <0.308.0> Lager installed handler lager_forwarder_backend into rabbit_log_ldap_lager_event rabbit_1 | 2020-11-19 05:35:18.111 [debug] <0.311.0> Lager installed handler lager_forwarder_backend into rabbit_log_mirroring_lager_event rabbit_1 | 2020-11-19 05:35:18.111 [debug] <0.317.0> Lager installed handler lager_forwarder_backend into rabbit_log_queue_lager_event rabbit_1 | 2020-11-19 05:35:18.111 [debug] <0.320.0> Lager installed handler lager_forwarder_backend into rabbit_log_ra_lager_event rabbit_1 | 2020-11-19 05:35:18.111 [debug] <0.323.0> Lager installed handler lager_forwarder_backend into rabbit_log_shovel_lager_event rabbit_1 | 2020-11-19 05:35:18.111 [debug] <0.326.0> Lager installed handler lager_forwarder_backend into rabbit_log_upgrade_lager_event rabbit_1 | 2020-11-19 05:35:18.111 [debug] <0.290.0> Lager installed handler lager_forwarder_backend into error_logger_lager_event rabbit_1 | 2020-11-19 05:35:18.111 [debug] <0.293.0> Lager installed handler lager_forwarder_backend into rabbit_log_lager_event rabbit_1 | 2020-11-19 05:35:18.112 [debug] <0.296.0> Lager installed handler lager_forwarder_backend into rabbit_log_channel_lager_event rabbit_1 | 2020-11-19 05:35:18.112 [debug] <0.299.0> Lager installed handler lager_forwarder_backend into rabbit_log_connection_lager_event rabbit_1 | 2020-11-19 05:35:18.112 [debug] <0.302.0> Lager installed handler lager_forwarder_backend into rabbit_log_feature_flags_lager_event rabbit_1 | 2020-11-19 05:35:18.112 [debug] <0.305.0> Lager installed handler lager_forwarder_backend into rabbit_log_federation_lager_event rabbit_1 | 2020-11-19 05:35:18.112 [debug] <0.314.0> Lager installed handler lager_forwarder_backend into rabbit_log_prelaunch_lager_event rabbit_1 | 2020-11-19 05:35:18.145 [info] <0.44.0> Application lager started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:18.605 [debug] <0.283.0> Lager installed handler lager_backend_throttle into lager_event rabbit_1 | 2020-11-19 05:35:21.448 [info] <0.44.0> Application mnesia started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:21.449 [info] <0.272.0> rabbit_1 | Starting RabbitMQ 3.8.9 on Erlang 23.1.1 rabbit_1 | Copyright (c) 2007-2020 VMware, Inc. or its affiliates. rabbit_1 | Licensed under the MPL 2.0. Website: https://rabbitmq.com rabbit_1 | rabbit_1 | ## ## RabbitMQ 3.8.9 rabbit_1 | ## ## rabbit_1 | ########## Copyright (c) 2007-2020 VMware, Inc. or its affiliates. rabbit_1 | ###### ## rabbit_1 | ########## Licensed under the MPL 2.0. Website: https://rabbitmq.com rabbit_1 | rabbit_1 | Doc guides: https://rabbitmq.com/documentation.html rabbit_1 | Support: https://rabbitmq.com/contact.html rabbit_1 | Tutorials: https://rabbitmq.com/getstarted.html rabbit_1 | Monitoring: https://rabbitmq.com/monitoring.html rabbit_1 | rabbit_1 | Logs: rabbit_1 | rabbit_1 | Config file(s): /etc/rabbitmq/rabbitmq.conf rabbit_1 | rabbit_1 | Starting broker...2020-11-19 05:35:21.450 [info] <0.272.0> rabbit_1 | node : rabbit@rabbit rabbit_1 | home dir : /var/lib/rabbitmq rabbit_1 | config file(s) : /etc/rabbitmq/rabbitmq.conf rabbit_1 | cookie hash : xkQ7n6cX2UZSCB7PUKGD/g== rabbit_1 | log(s) : rabbit_1 | database dir : /var/lib/rabbitmq/mnesia/rabbit@rabbit rabbit_1 | 2020-11-19 05:35:21.463 [info] <0.272.0> Running boot step pre_boot defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.463 [info] <0.272.0> Running boot step rabbit_core_metrics defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.464 [info] <0.272.0> Running boot step rabbit_alarm defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.474 [info] <0.391.0> Memory high watermark set to 794 MiB (833442611 bytes) of 1987 MiB (2083606528 bytes) total rabbit_1 | 2020-11-19 05:35:21.480 [info] <0.411.0> Enabling free disk space monitoring rabbit_1 | 2020-11-19 05:35:21.481 [info] <0.411.0> Disk free limit set to 50MB rabbit_1 | 2020-11-19 05:35:21.485 [info] <0.272.0> Running boot step code_server_cache defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.486 [info] <0.272.0> Running boot step file_handle_cache defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.486 [info] <0.415.0> FHC read buffering: OFF rabbit_1 | 2020-11-19 05:35:21.486 [info] <0.415.0> FHC write buffering: ON rabbit_1 | 2020-11-19 05:35:21.486 [info] <0.414.0> Limiting to approx 1048479 file handles (943629 sockets) rabbit_1 | 2020-11-19 05:35:21.488 [info] <0.272.0> Running boot step worker_pool defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.489 [info] <0.370.0> Will use 6 processes for default worker pool rabbit_1 | 2020-11-19 05:35:21.489 [info] <0.370.0> Starting worker pool 'worker_pool' with 6 processes in it rabbit_1 | 2020-11-19 05:35:21.490 [info] <0.272.0> Running boot step database defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.496 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 9 retries left rabbit_1 | 2020-11-19 05:35:21.497 [info] <0.272.0> Successfully synced tables from a peer rabbit_1 | 2020-11-19 05:35:21.497 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 9 retries left rabbit_1 | 2020-11-19 05:35:21.497 [info] <0.272.0> Successfully synced tables from a peer rabbit_1 | 2020-11-19 05:35:21.522 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 9 retries left rabbit_1 | 2020-11-19 05:35:21.522 [info] <0.272.0> Successfully synced tables from a peer rabbit_1 | 2020-11-19 05:35:21.522 [info] <0.272.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping registration. rabbit_1 | 2020-11-19 05:35:21.522 [info] <0.272.0> Running boot step database_sync defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.523 [info] <0.272.0> Running boot step feature_flags defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.523 [info] <0.272.0> Running boot step codec_correctness_check defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.523 [info] <0.272.0> Running boot step external_infrastructure defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.523 [info] <0.272.0> Running boot step rabbit_registry defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.523 [info] <0.272.0> Running boot step rabbit_auth_mechanism_cr_demo defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.524 [info] <0.272.0> Running boot step rabbit_queue_location_random defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.524 [info] <0.272.0> Running boot step rabbit_event defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.524 [info] <0.272.0> Running boot step rabbit_auth_mechanism_amqplain defined by app rabbit php_1 | /bin/bash /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/include -I/tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/main -I/tmp/pear/temp/mailparse -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o mailparse.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/modules mailparse.lo php_mailparse_mime.lo php_mailparse_rfc822.lo php_1 | cc -shared .libs/mailparse.o .libs/php_mailparse_mime.o .libs/php_mailparse_rfc822.o -Wl,-soname -Wl,mailparse.so -o .libs/mailparse.so php_1 | creating mailparse.la php_1 | (cd .libs && rm -f mailparse.la && ln -s ../mailparse.la mailparse.la) php_1 | /bin/bash /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/libtool --mode=install cp ./mailparse.la /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/modules php_1 | cp ./.libs/mailparse.so /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/modules/mailparse.so php_1 | cp ./.libs/mailparse.lai /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/modules/mailparse.la php_1 | PATH="$PATH:/sbin" ldconfig -n /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/modules php_1 | ---------------------------------------------------------------------- php_1 | Libraries have been installed in: php_1 | /tmp/pear/temp/pear-build-defaultusergRJLqR/mailparse-3.1.1/modules php_1 | php_1 | If you ever happen to want to link against installed libraries php_1 | in a given directory, LIBDIR, you must either use libtool, and php_1 | specify the full pathname of the library, or use the `-LLIBDIR' php_1 | flag during linking and do at least one of the following: php_1 | - add LIBDIR to the `LD_LIBRARY_PATH' environment variable php_1 | during execution php_1 | - add LIBDIR to the `LD_RUN_PATH' environment variable php_1 | during linking php_1 | - use the `-Wl,--rpath -Wl,LIBDIR' linker flag php_1 | - have your system administrator add LIBDIR to `/etc/ld.so.conf' php_1 | php_1 | See any operating system documentation about shared libraries for php_1 | more information, such as the ld(1) and ld.so(8) manual pages. php_1 | ---------------------------------------------------------------------- php_1 | php_1 | Build complete. php_1 | Don't forget to run 'make test'. php_1 | php_1 | running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1" install php_1 | Installing shared extensions: /tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1/usr/local/lib/php/extensions/no-debug-non-zts-20180731/ php_1 | running: find "/tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1" | xargs ls -dils php_1 | 1966877 4 drwxr-xr-x 3 root root 4096 Nov 19 05:35 /tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1 php_1 | 1966902 4 drwxr-xr-x 3 root root 4096 Nov 19 05:35 /tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1/usr php_1 | 1966903 4 drwxr-xr-x 3 root root 4096 Nov 19 05:35 /tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1/usr/local php_1 | 1966904 4 drwxr-xr-x 3 root root 4096 Nov 19 05:35 /tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1/usr/local/lib php_1 | 1966905 4 drwxr-xr-x 3 root root 4096 Nov 19 05:35 /tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1/usr/local/lib/php php_1 | 1966906 4 drwxr-xr-x 3 root root 4096 Nov 19 05:35 /tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1/usr/local/lib/php/extensions php_1 | 1966907 4 drwxr-xr-x 2 root root 4096 Nov 19 05:35 /tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1/usr/local/lib/php/extensions/no-debug-non-zts-20180731 php_1 | 1966900 312 -rwxr-xr-x 1 root root 318496 Nov 19 05:35 /tmp/pear/temp/pear-build-defaultusergRJLqR/install-mailparse-3.1.1/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mailparse.so php_1 | php_1 | Build process completed successfully php_1 | Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mailparse.so' php_1 | install ok: channel://pecl.php.net/mailparse-3.1.1 php_1 | configuration option "php_ini" is not set to php.ini location php_1 | You should add "extension=mailparse.so" to php.ini php_1 | [INFO] Executing custom startup script: 02-install-phalcon.sh php_1 | Get:1 http://dl.yarnpkg.com/debian stable InRelease [17.1 kB] php_1 | Get:2 http://deb.debian.org/debian buster InRelease [121 kB] php_1 | Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] php_1 | Get:4 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] php_1 | Get:5 http://dl.yarnpkg.com/debian stable/main amd64 Packages [10.1 kB] php_1 | Get:6 http://deb.debian.org/debian buster/main amd64 Packages [7906 kB] php_1 | Get:7 http://ppa.launchpad.net/git-core/ppa/ubuntu artful InRelease [15.4 kB] php_1 | Ign:8 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 InRelease php_1 | Get:9 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB] php_1 | Get:10 http://security.debian.org/debian-security buster/updates/main amd64 Packages [248 kB] php_1 | Get:11 http://dl.yarnpkg.com/debian stable/main all Packages [10.1 kB] php_1 | Get:12 http://apt.postgresql.org/pub/repos/apt stretch-pgdg InRelease [76.6 kB] php_1 | Get:13 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 Release [1490 B] php_1 | Get:14 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 Release.gpg [801 B] php_1 | Get:15 http://deb.debian.org/debian buster-updates/main amd64 Packages [7856 B] php_1 | Get:16 http://ppa.launchpad.net/git-core/ppa/ubuntu artful/main amd64 Packages [3324 B] php_1 | Get:17 http://apt.postgresql.org/pub/repos/apt stretch-pgdg/main amd64 Packages [254 kB] php_1 | Get:18 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0/main amd64 Packages [14.8 kB] php_1 | Get:19 http://packages.blackfire.io/debian any InRelease [23.2 kB] php_1 | Get:20 http://ftp.debian.org/debian stretch-backports/main amd64 Packages [612 kB] php_1 | Get:21 http://packages.blackfire.io/debian any/main amd64 Packages [1431 B] php_1 | Fetched 9533 kB in 3s (2863 kB/s) php_1 | Reading package lists... php_1 | Reading package lists... php_1 | Building dependency tree... php_1 | Reading state information... php_1 | gcc is already the newest version (4:8.3.0-1). php_1 | make is already the newest version (4.2.1-1.2). php_1 | re2c is already the newest version (1.1.1-1). php_1 | The following NEW packages will be installed: php_1 | libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 php_1 | 0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded. php_1 | Need to get 1310 kB of archives. php_1 | After this operation, 3571 kB of additional disk space will be used. php_1 | Get:1 http://deb.debian.org/debian buster/main amd64 libpcre16-3 amd64 2:8.39-12 [259 kB] php_1 | Get:2 http://deb.debian.org/debian buster/main amd64 libpcre32-3 amd64 2:8.39-12 [250 kB] php_1 | Get:3 http://deb.debian.org/debian buster/main amd64 libpcrecpp0v5 amd64 2:8.39-12 [152 kB] php_1 | Get:4 http://deb.debian.org/debian buster/main amd64 libpcre3-dev amd64 2:8.39-12 [650 kB] php_1 | debconf: delaying package configuration, since apt-utils is not installed php_1 | Fetched 1310 kB in 0s (5643 kB/s) php_1 | Selecting previously unselected package libpcre16-3:amd64. (Reading database ... 38997 files and directories currently installed.) rabbit_1 | 2020-11-19 05:35:21.525 [info] <0.272.0> Running boot step rabbit_auth_mechanism_plain defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.525 [info] <0.272.0> Running boot step rabbit_exchange_type_direct defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.525 [info] <0.272.0> Running boot step rabbit_exchange_type_fanout defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.525 [info] <0.272.0> Running boot step rabbit_exchange_type_headers defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.526 [info] <0.272.0> Running boot step rabbit_exchange_type_topic defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.526 [info] <0.272.0> Running boot step rabbit_mirror_queue_mode_all defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.526 [info] <0.272.0> Running boot step rabbit_mirror_queue_mode_exactly defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.526 [info] <0.272.0> Running boot step rabbit_mirror_queue_mode_nodes defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.527 [info] <0.272.0> Running boot step rabbit_priority_queue defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.527 [info] <0.272.0> Priority queues enabled, real BQ is rabbit_variable_queue rabbit_1 | 2020-11-19 05:35:21.527 [info] <0.272.0> Running boot step rabbit_queue_location_client_local defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.527 [info] <0.272.0> Running boot step rabbit_queue_location_min_masters defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.527 [info] <0.272.0> Running boot step kernel_ready defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.527 [info] <0.272.0> Running boot step rabbit_sysmon_minder defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.528 [info] <0.272.0> Running boot step rabbit_epmd_monitor defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.529 [info] <0.439.0> epmd monitor knows us, inter-node communication (distribution) port: 25672 rabbit_1 | 2020-11-19 05:35:21.529 [info] <0.272.0> Running boot step guid_generator defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.532 [info] <0.272.0> Running boot step rabbit_node_monitor defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.532 [info] <0.443.0> Starting rabbit_node_monitor rabbit_1 | 2020-11-19 05:35:21.532 [info] <0.272.0> Running boot step delegate_sup defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.534 [info] <0.272.0> Running boot step rabbit_memory_monitor defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.534 [info] <0.272.0> Running boot step core_initialized defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.534 [info] <0.272.0> Running boot step upgrade_queues defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.553 [info] <0.272.0> Running boot step rabbit_connection_tracking defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.553 [info] <0.272.0> Running boot step rabbit_connection_tracking_handler defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.553 [info] <0.272.0> Running boot step rabbit_exchange_parameters defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.553 [info] <0.272.0> Running boot step rabbit_mirror_queue_misc defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.554 [info] <0.272.0> Running boot step rabbit_policies defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.556 [info] <0.272.0> Running boot step rabbit_policy defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.556 [info] <0.272.0> Running boot step rabbit_queue_location_validator defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.556 [info] <0.272.0> Running boot step rabbit_quorum_memory_manager defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.556 [info] <0.272.0> Running boot step rabbit_vhost_limit defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.556 [info] <0.272.0> Running boot step recovery defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.557 [info] <0.472.0> Making sure data directory '/var/lib/rabbitmq/mnesia/rabbit@rabbit/msg_stores/vhosts/9CXUC1GMRBKT0XK28FYKNS76M' for vhost 'my_vhost' exists rabbit_1 | 2020-11-19 05:35:21.561 [info] <0.472.0> Starting message stores for vhost 'my_vhost' rabbit_1 | 2020-11-19 05:35:21.561 [info] <0.476.0> Message store "9CXUC1GMRBKT0XK28FYKNS76M/msg_store_transient": using rabbit_msg_store_ets_index to provide index rabbit_1 | 2020-11-19 05:35:21.563 [info] <0.472.0> Started message store of type transient for vhost 'my_vhost' rabbit_1 | 2020-11-19 05:35:21.563 [info] <0.480.0> Message store "9CXUC1GMRBKT0XK28FYKNS76M/msg_store_persistent": using rabbit_msg_store_ets_index to provide index rabbit_1 | 2020-11-19 05:35:21.567 [info] <0.472.0> Started message store of type persistent for vhost 'my_vhost' rabbit_1 | 2020-11-19 05:35:21.570 [info] <0.272.0> Running boot step empty_db_check defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.570 [info] <0.272.0> Will not seed default virtual host and user: have definitions to load... rabbit_1 | 2020-11-19 05:35:21.570 [info] <0.272.0> Running boot step rabbit_looking_glass defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.570 [info] <0.272.0> Running boot step rabbit_core_metrics_gc defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.571 [info] <0.272.0> Running boot step background_gc defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.571 [info] <0.272.0> Running boot step connection_tracking defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.572 [info] <0.272.0> Setting up a table for connection tracking on this node: tracked_connection_on_node_rabbit@rabbit rabbit_1 | 2020-11-19 05:35:21.572 [info] <0.272.0> Setting up a table for per-vhost connection counting on this node: tracked_connection_per_vhost_on_node_rabbit@rabbit rabbit_1 | 2020-11-19 05:35:21.572 [info] <0.272.0> Running boot step routing_ready defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.573 [info] <0.272.0> Running boot step pre_flight defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.573 [info] <0.272.0> Running boot step notify_cluster defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.573 [info] <0.272.0> Running boot step networking defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.573 [info] <0.272.0> Running boot step definition_import_worker_pool defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.573 [info] <0.370.0> Starting worker pool 'definition_import_pool' with 6 processes in it rabbit_1 | 2020-11-19 05:35:21.574 [info] <0.272.0> Running boot step cluster_name defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.574 [info] <0.272.0> Running boot step direct_client defined by app rabbit rabbit_1 | 2020-11-19 05:35:21.574 [info] <0.44.0> Application rabbit started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:22.365 [info] <0.512.0> Feature flags: list of feature flags found: rabbit_1 | 2020-11-19 05:35:22.365 [info] <0.512.0> Feature flags: [ ] drop_unroutable_metric rabbit_1 | 2020-11-19 05:35:22.365 [info] <0.512.0> Feature flags: [ ] empty_basic_get_metric rabbit_1 | 2020-11-19 05:35:22.365 [info] <0.512.0> Feature flags: [x] implicit_default_bindings rabbit_1 | 2020-11-19 05:35:22.365 [info] <0.512.0> Feature flags: [x] maintenance_mode_status rabbit_1 | 2020-11-19 05:35:22.365 [info] <0.512.0> Feature flags: [x] quorum_queue rabbit_1 | 2020-11-19 05:35:22.365 [info] <0.512.0> Feature flags: [x] virtual_host_metadata rabbit_1 | 2020-11-19 05:35:22.365 [info] <0.512.0> Feature flags: feature flag states written to disk: yes rabbit_1 | 2020-11-19 05:35:22.649 [info] <0.512.0> Running boot step rabbit_mgmt_db_handler defined by app rabbitmq_management_agent rabbit_1 | 2020-11-19 05:35:22.650 [info] <0.512.0> Management plugin: using rates mode 'basic' rabbit_1 | 2020-11-19 05:35:22.657 [info] <0.44.0> Application rabbitmq_management_agent started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:22.691 [info] <0.44.0> Application cowlib started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:22.718 [info] <0.44.0> Application cowboy started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:22.745 [info] <0.44.0> Application rabbitmq_web_dispatch started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:22.768 [info] <0.44.0> Application amqp_client started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:22.792 [info] <0.512.0> Running boot step rabbit_mgmt_reset_handler defined by app rabbitmq_management php_1 | Preparing to unpack .../libpcre16-3_2%3a8.39-12_amd64.deb ... php_1 | Unpacking libpcre16-3:amd64 (2:8.39-12) ... php_1 | Selecting previously unselected package libpcre32-3:amd64. php_1 | Preparing to unpack .../libpcre32-3_2%3a8.39-12_amd64.deb ... php_1 | Unpacking libpcre32-3:amd64 (2:8.39-12) ... php_1 | Selecting previously unselected package libpcrecpp0v5:amd64. php_1 | Preparing to unpack .../libpcrecpp0v5_2%3a8.39-12_amd64.deb ... php_1 | Unpacking libpcrecpp0v5:amd64 (2:8.39-12) ... php_1 | Selecting previously unselected package libpcre3-dev:amd64. php_1 | Preparing to unpack .../libpcre3-dev_2%3a8.39-12_amd64.deb ... php_1 | Unpacking libpcre3-dev:amd64 (2:8.39-12) ... php_1 | Setting up libpcrecpp0v5:amd64 (2:8.39-12) ... php_1 | Setting up libpcre16-3:amd64 (2:8.39-12) ... php_1 | Setting up libpcre32-3:amd64 (2:8.39-12) ... php_1 | Setting up libpcre3-dev:amd64 (2:8.39-12) ... php_1 | Processing triggers for libc-bin (2.28-10) ... php_1 | Cloning into '/tmp/cphalcon'... php_1 | Note: checking out '08e7bfc7091250349bcbb39f22f99399ad0c09c4'. php_1 | php_1 | You are in 'detached HEAD' state. You can look around, make experimental php_1 | changes and commit them, and you can discard any commits you make in this php_1 | state without impacting any branches by performing another checkout. php_1 | php_1 | If you want to create a new branch to retain commits you create, you may php_1 | do so (now or later) by using -b with the checkout command again. Example: php_1 | php_1 | git checkout -b php_1 | php_1 | Configuring for: php_1 | PHP Api Version: 20180731 php_1 | Zend Module Api No: 20180731 php_1 | Zend Extension Api No: 320180731 php_1 | appending configuration tag "CXX" to libtool php_1 | mkdir .libs php_1 | gcc -I. -I/tmp/cphalcon/build/php7/64bits -DPHP_ATOM_INC -I/tmp/cphalcon/build/php7/64bits/include -I/tmp/cphalcon/build/php7/64bits/main -I/tmp/cphalcon/build/php7/64bits -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -fomit-frame-pointer -c /tmp/cphalcon/build/php7/64bits/phalcon.zep.c -fPIC -DPIC -o .libs/phalcon.o php_1 | gcc -shared .libs/phalcon.o -march=native -mtune=native -Wl,-soname -Wl,phalcon.so -o .libs/phalcon.so php_1 | creating phalcon.la php_1 | (cd .libs && rm -f phalcon.la && ln -s ../phalcon.la phalcon.la) php_1 | cp ./.libs/phalcon.so /tmp/cphalcon/build/php7/64bits/modules/phalcon.so php_1 | cp ./.libs/phalcon.lai /tmp/cphalcon/build/php7/64bits/modules/phalcon.la php_1 | PATH="$PATH:/sbin" ldconfig -n /tmp/cphalcon/build/php7/64bits/modules php_1 | ---------------------------------------------------------------------- php_1 | Libraries have been installed in: php_1 | /tmp/cphalcon/build/php7/64bits/modules php_1 | php_1 | If you ever happen to want to link against installed libraries php_1 | in a given directory, LIBDIR, you must either use libtool, and php_1 | specify the full pathname of the library, or use the `-LLIBDIR' php_1 | flag during linking and do at least one of the following: php_1 | - add LIBDIR to the `LD_LIBRARY_PATH' environment variable php_1 | during execution php_1 | - add LIBDIR to the `LD_RUN_PATH' environment variable php_1 | during linking php_1 | - use the `-Wl,--rpath -Wl,LIBDIR' linker flag php_1 | - have your system administrator add LIBDIR to `/etc/ld.so.conf' php_1 | php_1 | See any operating system documentation about shared libraries for php_1 | more information, such as the ld(1) and ld.so(8) manual pages. php_1 | ---------------------------------------------------------------------- php_1 | php_1 | Build complete. php_1 | Don't forget to run 'make test'. php_1 | php_1 | Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/ php_1 | Installing header files: /usr/local/include/php/ php_1 | php_1 | Thanks for compiling Phalcon! php_1 | Build succeed: Please restart your web server to complete the installation php_1 | php_1 | [INFO] Starting supervisord php_1 | 2020-11-19 05:38:00,124 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing php_1 | 2020-11-19 05:38:00,124 INFO Included extra file "/etc/supervisor/conf.d/postfix.conf" during parsing php_1 | 2020-11-19 05:38:00,124 INFO Included extra file "/etc/supervisor/conf.d/rsyslogd.conf" during parsing php_1 | 2020-11-19 05:38:00,124 INFO Included extra file "/etc/supervisor/conf.d/socat-11211-memcd-11211.conf" during parsing php_1 | 2020-11-19 05:38:00,124 INFO Included extra file "/etc/supervisor/conf.d/socat-27017-mongo-27017.conf" during parsing php_1 | 2020-11-19 05:38:00,124 INFO Included extra file "/etc/supervisor/conf.d/socat-3306-mysql-3306.conf" during parsing php_1 | 2020-11-19 05:38:00,124 INFO Included extra file "/etc/supervisor/conf.d/socat-443-httpd-443.conf" during parsing php_1 | 2020-11-19 05:38:00,124 INFO Included extra file "/etc/supervisor/conf.d/socat-5432-pgsql-5432.conf" during parsing php_1 | 2020-11-19 05:38:00,124 INFO Included extra file "/etc/supervisor/conf.d/socat-6379-redis-6379.conf" during parsing php_1 | 2020-11-19 05:38:00,125 INFO Included extra file "/etc/supervisor/conf.d/socat-80-httpd-80.conf" during parsing php_1 | 2020-11-19 05:38:00,125 INFO Set uid to user 0 succeeded php_1 | 2020-11-19 05:38:00,130 INFO supervisord started with pid 1 php_1 | 2020-11-19 05:38:01,133 INFO spawned: 'rsyslogd' with pid 6528 php_1 | 2020-11-19 05:38:01,135 INFO spawned: 'socat-3306-mysql-3306' with pid 6529 php_1 | 2020-11-19 05:38:01,138 INFO spawned: 'socat-6379-redis-6379' with pid 6530 php_1 | 2020-11-19 05:38:01,141 INFO spawned: 'postfix' with pid 6531 php_1 | 2020-11-19 05:38:01,145 INFO spawned: 'socat-27017-mongo-27017' with pid 6532 php_1 | 2020-11-19 05:38:01,149 INFO spawned: 'php-fpm' with pid 6533 php_1 | 2020-11-19 05:38:01,152 INFO spawned: 'socat-80-httpd-80' with pid 6534 php_1 | 2020-11-19 05:38:01,155 INFO spawned: 'socat-443-httpd-443' with pid 6535 php_1 | 2020-11-19 05:38:01,161 INFO spawned: 'socat-11211-memcd-11211' with pid 6537 php_1 | 2020-11-19 05:38:01,166 INFO spawned: 'socat-5432-pgsql-5432' with pid 6538 php_1 | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted. php_1 | rsyslogd: activation of module imklog failed [v8.1901.0 try https://www.rsyslog.com/e/2145 ] php_1 | 2020-11-19 05:38:02,313 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2020-11-19 05:38:02,313 INFO success: socat-3306-mysql-3306 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2020-11-19 05:38:02,313 INFO success: socat-6379-redis-6379 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2020-11-19 05:38:02,313 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) rabbit_1 | 2020-11-19 05:35:22.792 [info] <0.512.0> Running boot step rabbit_management_load_definitions defined by app rabbitmq_management rabbit_1 | 2020-11-19 05:35:22.853 [info] <0.578.0> Management plugin: HTTP (non-TLS) listener started on port 15672 rabbit_1 | 2020-11-19 05:35:22.853 [info] <0.684.0> Statistics database started. rabbit_1 | 2020-11-19 05:35:22.854 [info] <0.683.0> Starting worker pool 'management_worker_pool' with 3 processes in it rabbit_1 | 2020-11-19 05:35:22.855 [info] <0.44.0> Application rabbitmq_management started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:22.916 [info] <0.44.0> Application prometheus started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:22.945 [info] <0.697.0> Prometheus metrics: HTTP (non-TLS) listener started on port 15692 rabbit_1 | 2020-11-19 05:35:22.945 [info] <0.512.0> Ready to start client connection listeners rabbit_1 | 2020-11-19 05:35:22.946 [info] <0.44.0> Application rabbitmq_prometheus started on node rabbit@rabbit rabbit_1 | 2020-11-19 05:35:22.949 [info] <0.816.0> started TCP listener on [::]:5672 rabbit_1 | completed with 4 plugins. rabbit_1 | 2020-11-19 05:35:23.599 [info] <0.512.0> Server startup complete; 4 plugins started. rabbit_1 | * rabbitmq_prometheus rabbit_1 | * rabbitmq_management rabbit_1 | * rabbitmq_web_dispatch rabbit_1 | * rabbitmq_management_agent rabbit_1 | 2020-11-19 05:35:23.600 [info] <0.512.0> Resetting node maintenance status php_1 | 2020-11-19 05:38:02,313 INFO success: socat-27017-mongo-27017 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2020-11-19 05:38:02,314 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2020-11-19 05:38:02,314 INFO success: socat-80-httpd-80 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2020-11-19 05:38:02,314 INFO success: socat-443-httpd-443 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2020-11-19 05:38:02,314 INFO success: socat-11211-memcd-11211 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) php_1 | 2020-11-19 05:38:02,314 INFO success: socat-5432-pgsql-5432 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) redis_1 | 1:C 19 Nov 2020 05:35:08.657 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis_1 | 1:C 19 Nov 2020 05:35:08.659 # Redis version=5.0.10, bits=64, commit=00000000, modified=0, pid=1, just started redis_1 | 1:C 19 Nov 2020 05:35:08.659 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf redis_1 | 1:M 19 Nov 2020 05:35:08.666 * Running mode=standalone, port=6379. redis_1 | 1:M 19 Nov 2020 05:35:08.666 # Server initialized redis_1 | 1:M 19 Nov 2020 05:35:08.668 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. redis_1 | 1:M 19 Nov 2020 05:35:08.669 * Ready to accept connections ```
cytopia commented 3 years ago
  php:
    volumes:
      - /path/to/linked/directory:/path/to/link/directory
  1. Can you show an ls -lap of those two paths (inside and outside the Devilbox)
  2. Can you also show an ls -lap of the directory containing the symlink
  3. Are you able to cd into the symlink from inside the Devilbox?
Sn0wCrack commented 3 years ago

Currently not at my workstation to check the first two, but I was able to cd into the symlinks from inside of Devilbox, editing files also reflected back to my host machine just fine as well.

I'll let you know first thing the output from those ls commands when I'm back at my workstation.

cytopia commented 3 years ago

Can you also try this check-config.sh (should be fixed for MacOS): remove .txt extension and make it executable first.

check-config.sh.txt

Sn0wCrack commented 3 years ago

Here's the output of those commands

Local Machine:

❯ ls -lap api.company
lrwxr-xr-x  1 user  staff  54 19 Nov 16:18 api.company -> /Users/user/Documents/Development/Company/api

Docker Container:

devilbox@php-7.3.24 in /shared/httpd $ ls -lap api.company
lrwxr-xr-x 1 devilbox devilbox 54 Nov 19 05:18 api.company -> /Users/user/Documents/Development/Company/api/

Local Machine www directory:

❯ ls -lap
total 16
drwxr-xr-x@ 6 user  staff   192 19 Nov 16:34 ./
drwxr-xr-x  5 user  staff   160 15 Oct 16:30 ../
-rw-r--r--@ 1 user  staff  6148 15 Oct 16:30 .DS_Store
-rw-r--r--  1 user  staff     0 15 Oct 16:13 .keepme
lrwxr-xr-x  1 user  staff    54 19 Nov 16:18 api.company -> /Users/user/Documents/Development/Company/api
lrwxr-xr-x  1 user  staff    59 19 Nov 16:34 manage.company -> /Users/user/Documents/Development/Company/frontend

I've also updated my check-config.sh output in issue description, I had a few permissions errors with my startup scripts, but those don't appear to have changed anything after fixing them.

To also comment on why I believe this is an issue with watcherd, at this line: https://github.com/devilbox/watcherd/blob/master/watcherd#L102 Since this find command uses -type d as its filter, links aren't returned:

devilbox@php-7.3.24 in /shared/httpd $ find -type l
./api.company
./manage.company
devilbox@php-7.3.24 in /shared/httpd $ find -type d
.
# This command ensures the links it finds target a directory and not a file
devilbox@php-7.3.24 in /shared/httpd $ find -type l,d -xtype d
.
./api.company
./manage.company

I've also updated my httpd container's /usr/bin/watcherd to use -find l,d -xtype d and it appears to generate the vhosts correctly when bringing the container up now.

cytopia commented 3 years ago

I've also updated my httpd container's /usr/bin/watcherd to use -find l,d -xtype d and it appears to generate the vhosts correctly when bringing the container up now.

Thanks for figuring this out. PR is on the way. I've done it a bit differently by omitting any find GNU features to preserve compatibility with MacOS: https://github.com/devilbox/watcherd/blob/master/watcherd#L103

Sn0wCrack commented 3 years ago

Thanks for the quick fix on this, appreciate it!

cytopia commented 3 years ago

Fix released here: https://github.com/cytopia/devilbox/pull/757