Error 50X on everything except status.php since latest update of stable-fpm-alpine

Since the latest update of the nextcloud:stable-fpm-alpine image, most paths except status.php produce an error 500 (other exceptions include / which redirects to /login since I’m not logged in, but that in turn produces a 500). The image uses Nextcloud 22.2.0.2, according to status.php. It was working fine yesterday.

Proxy and Let’s Encrypt appear to work fine themselves, since the connection is secure with a valid certificate (and status.php is reachable).

Within the app-container, I am seeing log messages like this:


172.19.0.6 - Joe 23/Oct/2021:10:28:53 +0000 "PROPFIND /remote.php" 500,
172.19.0.6 -  23/Oct/2021:10:36:50 +0000 "GET /index.php" 302
172.19.0.6 -  23/Oct/2021:10:36:50 +0000 "GET /index.php" 500,

So not particularly informative

At the reverse proxy layer


nginx.1     | jsmr.de 85.203.20.59 - Joe [23/Oct/2021:10:28:53 +0000] "PROPFIND /remote.php/dav/addressbooks/users/Joe/z-app-generated--contactsinteraction--recent/ HTTP/2.0" 500 351 "-" "iOS/15.0.2 (19A404) dataaccessd/1.0" "172.20.0.2:80",
nginx.1     | 109.250.7.161 209.141.62.185 - - [23/Oct/2021:10:34:27 +0000] "GET /config/getuser?index=0 HTTP/1.1" 503 190 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0" "-",
nginx.1     | jsmr.de 109.250.7.161 - - [23/Oct/2021:10:36:50 +0000] "GET / HTTP/2.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0" "172.20.0.2:80",
nginx.1     | jsmr.de 109.250.7.161 - - [23/Oct/2021:10:36:51 +0000] "GET /login HTTP/2.0" 500 289 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0" "172.20.0.2:80"

At the web/nginx layer:


85.203.20.59 - Joe [23/Oct/2021:10:28:53 +0000] "PROPFIND /remote.php/dav/addressbooks/users/Joe/z-app-generated--contactsinteraction--recent/ HTTP/1.1" 500 363 "-" "iOS/15.0.2 (19A404) dataaccessd/1.0" "85.203.20.59",
109.250.7.161 - - [23/Oct/2021:10:36:50 +0000] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0" "109.250.7.161",
109.250.7.161 - - [23/Oct/2021:10:36:51 +0000] "GET /login HTTP/1.1" 500 301 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0" "109.250.7.161"

For a successful status request:

Proxy:

nginx.1     | jsmr.de 109.250.7.161 - - [23/Oct/2021:10:44:08 +0000] "GET /status.php HTTP/2.0" 200 138 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0" "172.20.0.2:80"

Web:


109.250.7.161 - - [23/Oct/2021:10:44:08 +0000] "GET /status.php HTTP/1.1" 200 149 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0" "109.250.7.161"

App:

172.19.0.6 -  23/Oct/2021:10:44:07 +0000 "GET /status.php" 200