Hello Guys,
I recently migrated egroupware from 14.3.007 to the lastest version using the package from this site:
https://software.opensuse.org/download.html?project=server%3AeGroupWare&package=egroupware-docker
Yesterday at 17h30 when I left my job, everything was fine.
But today I have an error and I really don’t know why. Everything was running great since this night.
So i’ve got a 502 Bad Gateway nginx/1.18.0.
When I look at the webserver logs this is what I’ve got
/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: error: 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: Configuration complete; ready for start up
2020/12/18 08:27:24 [error] 20#20: *1 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.2:9000", host: "10.171.33.196"
2020/12/18 08:27:25 [error] 20#20: *4 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.2:9000", host: "10.171.33.196"
2020/12/18 08:27:48 [error] 20#20: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/login.php?phpgw_forward=%252Findex.php HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 08:28:54 [error] 20#20: *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.2:9000", host: "10.171.33.196"
2020/12/18 08:29:45 [error] 20#20: *10 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.2:9000", host: "10.171.33.196"
2020/12/18 08:29:46 [error] 20#20: *12 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.2:9000", host: "10.171.33.196"
2020/12/18 08:29:48 [error] 20#20: *14 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.2:9000", host: "10.171.33.196"
2020/12/18 08:30:33 [error] 20#20: *16 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.2:9000", host: "10.171.33.196"
2020/12/18 08:36:08 [error] 20#20: *18 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/index.php?cd=yes HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 08:36:54 [error] 20#20: *20 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.2:9000", host: "localhost:8080"
2020/12/18 08:39:45 [error] 20#20: *22 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.2:9000", host: "10.171.33.196"
2020/12/18 08:39:47 [error] 20#20: *24 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.2:9000", host: "10.171.33.196"
2020/12/18 08:39:47 [error] 20#20: *26 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.2:9000", host: "10.171.33.196"
2020/12/18 08:41:51 [error] 20#20: *28 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/setup/ HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 08:42:00 [error] 20#20: *30 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.2:9000", host: "10.171.33.196"
2020/12/18 08:42:05 [error] 20#20: *32 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/setup/ HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 08:42:38 [error] 20#20: *34 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.2:9000", host: "10.171.33.196"
2020/12/18 08:44:56 [error] 20#20: *36 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.2:9000", host: "10.171.33.196"
2020/12/18 08:45:56 [error] 20#20: *38 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.2:9000", host: "10.171.33.196"
2020/12/18 08:47:55 [error] 20#20: *40 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.2:9000", host: "10.171.33.196"
2020/12/18 08:48:00 [error] 20#20: *42 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.2:9000", host: "10.171.33.196"
2020/12/18 08:49:48 [error] 20#20: *44 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.2:9000", host: "10.171.33.196"
2020/12/18 08:49:49 [error] 20#20: *46 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.2:9000", host: "10.171.33.196"
2020/12/18 08:50:30 [error] 20#20: *48 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.2:9000", host: "10.171.33.196"
2020/12/18 08:50:35 [error] 20#20: *50 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/setup/ HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 08:50:38 [error] 20#20: *52 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.2:9000", host: "10.171.33.196"
2020/12/18 08:51:07 [error] 20#20: *54 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.2:9000", host: "10.171.33.196"
2020/12/18 08:52:59 [error] 20#20: *56 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/index.php?cd=yes HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 08:53:23 [error] 20#20: *58 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.2:9000", host: "10.171.33.196"
2020/12/18 08:55:02 [error] 20#20: *60 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/setup/ HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 08:55:05 [error] 20#20: *62 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.2:9000", host: "10.171.33.196"
2020/12/18 09:04:17 [error] 20#20: *64 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.2:9000", host: "10.171.33.196"
2020/12/18 09:05:13 [error] 20#20: *66 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.2:9000", host: "10.171.33.196"
2020/12/18 09:05:18 [error] 20#20: *68 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.2:9000", host: "10.171.33.196"
2020/12/18 09:06:41 [error] 20#20: *70 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.2:9000", host: "10.171.33.196"
2020/12/18 09:09:29 [error] 20#20: *72 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/index.php?cd=yes HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 09:09:50 [error] 20#20: *74 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.2:9000", host: "10.171.33.196"
2020/12/18 09:09:51 [error] 20#20: *76 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.2:9000", host: "10.171.33.196"
2020/12/18 09:13:08 [error] 20#20: *78 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.2:9000", host: "10.171.33.196"
2020/12/18 09:17:57 [error] 20#20: *80 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/login.php?phpgw_forward=%252Findex.php HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 09:17:59 [error] 20#20: *82 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/login.php?phpgw_forward=%252Findex.php HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 09:21:13 [error] 20#20: *84 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/index.php?cd=yes HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 09:21:19 [error] 20#20: *86 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/index.php?cd=yes HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 09:29:05 [error] 20#20: *88 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.2:9000", host: "10.171.33.196"
2020/12/18 09:29:29 [error] 20#20: *90 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/login.php?phpgw_forward=%252Findex.php HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 09:30:19 [error] 20#20: *92 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.2:9000", host: "10.171.33.196"
2020/12/18 09:31:16 [error] 20#20: *94 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/index.php?cd=yes HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 09:31:18 [error] 20#20: *96 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.2:9000", host: "10.171.33.196"
2020/12/18 09:31:22 [error] 20#20: *98 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.2:9000", host: "10.171.33.196"
2020/12/18 09:32:05 [error] 20#20: *100 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.2:9000", host: "10.171.33.196"
2020/12/18 09:32:16 [error] 20#20: *102 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.2:9000", host: "10.171.33.196"
2020/12/18 09:32:18 [error] 20#20: *104 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.2:9000", host: "10.171.33.196"
2020/12/18 09:32:21 [error] 20#20: *106 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.2:9000", host: "10.171.33.196"
2020/12/18 09:32:25 [error] 20#20: *108 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.2:9000", host: "10.171.33.196"
2020/12/18 09:32:39 [error] 20#20: *110 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=26887 HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 09:33:25 [error] 20#20: *112 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.2:9000", host: "10.171.33.196"
2020/12/18 09:33:35 [error] 20#20: *114 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.2:9000", host: "10.171.33.196"
2020/12/18 09:36:04 [error] 20#20: *116 connect() failed (111: Connection refused) while connecting to upstream, client: 172.19.0.1, server: _, request: "GET /egroupware/index.php?cd=yes HTTP/1.1", upstream: "fastcgi://172.19.0.2:9000", host: "10.171.33.196"
2020/12/18 09:36:53 [error] 20#20: *118 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.2:9000", host: "localhost:8080"
2020/12/18 09:38:38 [error] 20#20: *124 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.2:9000", host: "10.171.33.196"
2020/12/18 09:38:40 [error] 20#20: *126 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.2:9000", host: "10.171.33.196"
2020/12/18 09:42:22 [error] 20#20: *130 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.2:9000", host: "10.171.33.196"
2020/12/18 09:42:50 [error] 20#20: *132 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.2:9000", host: "10.171.33.196"
2020/12/18 09:43:33 [error] 20#20: *134 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.2:9000", host: "10.171.33.196"
2020/12/18 09:43:33 [error] 20#20: *136 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.2:9000", host: "10.171.33.196"
2020/12/18 09:43:37 [error] 20#20: *138 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.2:9000", host: "10.171.33.196"
2020/12/18 09:43:37 [error] 20#20: *140 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.2:9000", host: "10.171.33.196"
2020/12/18 09:45:46 [error] 20#20: *144 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.2:9000", host: "10.171.33.196"
2020/12/18 09:46:32 [error] 20#20: *146 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.2:9000", host: "10.171.33.196"
2020/12/18 09:46:32 [error] 20#20: *148 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.2:9000", host: "10.171.33.196"
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
03f303f69fe1 nginx:stable-alpine “/docker-entrypoint.…” 2 hours ago Up About an hour 127.0.0.1:8080->80/tcp egroupware-nginx
569c5adace8b phpswoole/swoole:latest “/entrypoint.sh” 2 hours ago Up About an hour egroupware-push
1a23ff30e6ef egroupware/egroupware:20.1 “/entrypoint.sh php-…” 2 hours ago Up 33 seconds 9000/tcp egroupware
bf4a4a04d41b quay.io/egroupware/collabora-key:stable “/bin/sh -c 'bash st…” 6 hours ago Up About an hour 127.0.0.1:9980->9980/tcp collabora-key
68997686dfa5 containrrr/watchtower:latest “/watchtower --sched…” 3 days ago Up About an hour 8080/tcp egroupware-watchtower
a793ecbe9135 mariadb:10.4 “docker-entrypoint.s…” 3 days ago Up About an hour 3306/tcp egroupware-db
docker-compose logs
egroupware | Installation failed --> exiting!
egroupware |
egroupware | Retrying EGroupware installation in 3 seconds …
egroupware | EGroupware\Api\Db\Backup::__construct->No files Directory set/found
egroupware | /usr/bin/php7.3 -d memory_limit=-1 /usr/share/egroupware/setup/setup-cli.php --update 'all,admin,>G>H9Rd#7}QV(:qz’
egroupware | EGroupware API version 20.1.002 found.
egroupware | EGroupware configuration file (header.inc.php) version 1.29 exists and is up to date
egroupware |
egroupware | The following applications are NOT installed: groupdav, projectmanager, timesheet
egroupware | Backup failed.: backupdir ‘/db_backup’ is not writeable by the webserver
egroupware |
egroupware | Installation failed --> exiting!
egroupware |
egroupware | Retrying EGroupware installation in 3 seconds …
egroupware | EGroupware\Api\Db\Backup::__construct->No files Directory set/found
egroupware | /usr/bin/php7.3 -d memory_limit=-1 /usr/share/egroupware/setup/setup-cli.php --update 'all,admin,wXiJLSos|9)lzX-z’
egroupware | EGroupware API version 20.1.002 found.
egroupware | EGroupware configuration file (header.inc.php) version 1.29 exists and is up to date
egroupware |
egroupware | The following applications are NOT installed: groupdav, projectmanager, timesheet
egroupware | Backup failed.: backupdir ‘/db_backup’ is not writeable by the webserver
egroupware |
egroupware | Installation failed --> exiting!
egroupware |
egroupware | Retrying EGroupware installation in 3 seconds …
curl -i http://10.171.33.196/egroupware/push
HTTP/1.1 401 Unauthorized
Server: nginx/1.18.0 (Ubuntu)
Date: Fri, 18 Dec 2020 09:56:24 GMT
Content-Type: text/html
Content-Length: 21
Connection: keep-alive
Www-Authenticate: Basic realm=“EGroupware Push Server”
Missing Bearer Token!
I don’t really know what to do.
I didn’t do anything and everything was good until this morning.
Tell me if I can add more informations. Since I really don’t know what’s the problem, I don’t really know what to add.
Thank you all