Greetings, I am troubleshooting an issue with a new package install of EGW Version 21.1 on Linux Mint 20.3. This VM server also runs Wordpress. After installing (using apt install egroupware-docker apache2) I am getting 502 Bad Gateway nginx/1.20.2
Note: after installation Apache seems to be broken, Wordpress, phpMyadmin are no longer accessible (blank page)
Webserver Log:
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2022/04/01 00:20:16 [notice] 1#1: using the “epoll” event method
2022/04/01 00:20:16 [notice] 1#1: nginx/1.20.2
2022/04/01 00:20:16 [notice] 1#1: built by gcc 10.3.1 20210424 (Alpine 10.3.1_git20210424)
2022/04/01 00:20:16 [notice] 1#1: OS: Linux 5.4.0-107-generic
2022/04/01 00:20:16 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2022/04/01 00:20:16 [notice] 1#1: start worker processes
2022/04/01 00:20:16 [notice] 1#1: start worker process 23
2022/04/01 00:21:42 [error] 23#23: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/index.php HTTP/1.1”, upstream: “fastcgi://172.19.0.3:9000”, host: "localhost"
2022/04/01 00:22:00 [error] 23#23: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/index.php HTTP/1.1”, upstream: “fastcgi://172.19.0.3:9000”, host: "localhost"
2022/04/01 00:22:19 [error] 23#23: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/index.php HTTP/1.1”, upstream: “fastcgi://172.19.0.3:9000”, host: "localhost"
2022/04/01 01:38:30 [notice] 1#1: signal 3 (SIGQUIT) received, shutting down
2022/04/01 01:38:30 [notice] 23#23: gracefully shutting down
2022/04/01 01:38:30 [notice] 23#23: exiting
2022/04/01 01:38:30 [notice] 23#23: exit
2022/04/01 01:38:30 [notice] 1#1: signal 17 (SIGCHLD) received from 23
2022/04/01 01:38:30 [notice] 1#1: worker process 23 exited with code 0
2022/04/01 01:38:30 [notice] 1#1: exit
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2022/04/01 01:46:57 [notice] 1#1: using the “epoll” event method
2022/04/01 01:46:57 [notice] 1#1: nginx/1.20.2
2022/04/01 01:46:57 [notice] 1#1: built by gcc 10.3.1 20210424 (Alpine 10.3.1_git20210424)
2022/04/01 01:46:57 [notice] 1#1: OS: Linux 5.4.0-107-generic
2022/04/01 01:46:57 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2022/04/01 01:46:57 [notice] 1#1: start worker processes
2022/04/01 01:46:57 [notice] 1#1: start worker process 23
2022/04/01 03:42:47 [error] 23#23: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/index.php HTTP/1.1”, upstream: “fastcgi://172.19.0.4:9000”, host: "rhha-lmsrvr0.rhha.local"
2022/04/01 12:55:23 [error] 23#23: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/index.php HTTP/1.1”, upstream: “fastcgi://172.19.0.4:9000”, host: "rhha-lmsrvr0.rhha.local"
2022/04/01 13:23:37 [error] 23#23: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/ HTTP/1.1”, upstream: “fastcgi://172.19.0.4:9000”, host: "localhost"
2022/04/01 13:25:03 [error] 23#23: *8 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: “GET /egroupware/index.php HTTP/1.1”, upstream: “fastcgi://172.19.0.4:9000”, host: “rhha-lmsrvr0.rhha.local”
Database:
Your MySQL connection id is 12
Server version: 8.0.28-0ubuntu0.20.04.3 (Ubuntu)
Webserver:
Server version: Apache/2.4.41 (Ubuntu)
Server built: 2022-03-16T16:52:53
PHP:
PHP 7.4.3 (cli) (built: Mar 2 2022 15:36:52) ( NTS )
Copyright © The PHP Group
Zend Engine v3.4.0, Copyright © Zend Technologies
with Zend OPcache v7.4.3, Copyright ©, by Zend Technologies
I noticed I have three additional interfaces/networks after the docker install: