Nexcloud dock Internal Server Error

Since yesterday i’ve an issue with my Nextcloud docker setup. When requesting the webpage an ‘Internal Server Error’ occurs. Wat are the next steps for troubleshooting this issue?

Config:
Nextcloud container version 17.0.0.9
MariaDB container version 1:10.4.8
Lets Ecrypt valid SSL certificate

The only error events i can find in this one;
nginx/error.log
2019/10/22 11:21:27 [error] 332#332: *29325 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: “MOVE /remote.php/dav/uploads
/user/278001082/.file HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “url”
2019/10/23 05:34:34 [error] 330#330: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: “GET /status.php HTTP/1.1”, upstream: “fastcgi://12
7.0.0.1:9000”, host: “url”
2019/10/23 05:34:34 [error] 329#329: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: “GET /status.php HTTP/1.1”, upstream: “fastcgi://12
7.0.0.1:9000”, host: “url”

Everything else is clean;
./var/log/nginx/error.log
./config/log/nginx/access.log
./config/log/nginx/error.log
./config/log/php/error.log
./data/updater.log
./data/audit.log
./data/nextcloud.log

config.php
<?php
$CONFIG = array (
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘datadirectory’ => ‘/data’,
‘instanceid’ => ‘CLEARED’,
‘passwordsalt’ => ‘CLEARED’,
‘secret’ => ‘CLEARED’,
‘trusted_domains’ =>
array (
0 => ‘LOCAL IP’,
1 => ‘DNS’,
),
‘dbtype’ => ‘mysql’,
‘version’ => ‘17.0.0.9’,
‘overwrite.cli.url’ => ‘https://LOCAL IP:8443’,
‘dbname’ => ‘CLEARED’,
‘dbhost’ => ‘LOCAL IP:9306’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘CLEARED’,
‘dbpassword’ => ‘CLEARED’,
‘installed’ => true,
‘maintenance’ => false,
‘theme’ => ‘’,
‘loglevel’ => 2,
‘mail_from_address’ => ‘nextcloud’,
‘mail_smtpmode’ => ‘smtp’,
‘mail_sendmailmode’ => ‘smtp’,
‘mail_domain’ => ‘CLEARED’,
‘mail_smtpsecure’ => ‘ssl’,
‘mail_smtpauthtype’ => ‘LOGIN’,
‘mail_smtpauth’ => 1,
‘mail_smtphost’ => ‘CLEARED’,
‘mail_smtpport’ => ‘465’,
‘mail_smtpname’ => ‘CLEARED’,
‘mail_smtppassword’ => ‘CLEARED’,
‘twofactor_enforced’ => ‘false’,
‘twofactor_enforced_groups’ =>
array (
0 => ‘admin’,
1 => ‘users’,
),
‘twofactor_enforced_excluded_groups’ =>
array (
),
‘updater.release.channel’ => ‘stable’,
);

that’s the url of your php-fpm server.

are you using docker or linux based nextcloud?

I’m using the following docker container https://hub.docker.com/r/linuxserver/nextcloud/

did you simply restart container/server?

did you check with ps -ef if php-fpm is still running?

I’ve restarted the docker container and removed the complete container and redeployed.

php-fpm is running when the docker container is active.

    PID   USER     TIME  COMMAND                                                                                                
    1 root      0:00 s6-svscan -t0 /var/run/s6/services                                                                     
   35 root      0:00 s6-supervise s6-fdholderd                                                                              
  306 root      0:00 s6-supervise nginx                                                                                     
  307 root      0:00 s6-supervise cron                                                                                      
  308 root      0:00 s6-supervise php-fpm                                                                                   
  310 root      0:01 {php-fpm7} php-fpm: master process (/etc/php7/php-fpm.conf)                                            
  311 root      0:00 nginx: master process /usr/sbin/nginx -c /config/nginx/nginx.conf                                      
  312 root      0:00 bash ./run                                                                                             
  324 root      0:00 /usr/sbin/crond -f -S -l 0 -c /etc/crontabs                                                            
  330 abc       0:00 nginx: worker process                                                                                  
  331 abc       0:00 nginx: worker process                                                                                  
  332 abc       0:00 nginx: worker process                                                                                  
  333 abc       0:00 nginx: worker process                                                                                  
  393 root      0:00 /bin/bash                                                                                              
  530 abc       0:00 {php-fpm7} php-fpm: pool www                                                                           
  532 abc       0:00 {php-fpm7} php-fpm: pool www                                                                           
  533 abc       0:00 {php-fpm7} php-fpm: pool www                                                                           
  713 root      0:00 ps -ef