Error while checking server setup in administration overview

Nextcloud version (eg, 20.0.5): 25.0.10 run through Docker
Operating system and version (eg, Ubuntu 20.04): nextcloud:25.0.10-fpm base image
Apache or nginx version (eg, Apache 2.4.25): nginx 1.25.2
PHP version (eg, 7.4): 8.1.22

The issue you are facing:

When I go to administration overview, I get an error after some time:

There are some errors regarding your setup.
Error occurred whilst checking server setup

This happened when I changed from the apache docker image to the fpm image.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Go to administration overview
  2. Wait for security and setup warnings scan to complete
  3. observe error “Error occurred whilst checking server setup”

The output of your Nextcloud log in Admin > Logging:

{"reqId":"i0spb5884x5k9iOk3RgJ","level":1,"time":"August 28, 2023 10:48:41","remoteAddr":"172.31.0.4","user":"REDACTED","app":"no app in context","method":"GET","url":"/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_INDEXES: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"25.0.10.1","data":[]}
{"reqId":"i0spb5884x5k9iOk3RgJ","level":1,"time":"August 28, 2023 10:48:41","remoteAddr":"172.31.0.4","user":"REDACTED","app":"no app in context","method":"GET","url":"/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_COLUMNS: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"25.0.10.1","data":[]}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'filelocking.enabled' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'redis',
    'password' => '',
    'port' => 6379,
  ),
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'REDACTED',
  'passwordsalt' => 'REDACTED',
  'secret' => 'REDACTED',
  'trusted_domains' =>
  array (
    0 => 'REDACTED',
    1 => 'REDACTED',
  ),
  'overwrite.cli.url' => 'http://REDACTED',
  'overwriteprotocol' => 'https',
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '25.0.10.1',
  'dbname' => 'REDACTED',
  'dbhost' => 'mariadb',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'REDACTED',
  'dbpassword' => 'REDACTED',
  'installed' => true,
  'loglevel' => 0,
  'logfile' => '/var/www/html/nextcloud.log',
  'logdateformat' => 'F d, Y H:i:s',
  'memories.exiftool' => '/var/www/html/custom_apps/memories/exiftool-bin/exiftool-amd64-glibc',
  'memories.vod.path' => '/var/www/html/custom_apps/memories/exiftool-bin/go-vod-amd64',
  'preview_max_memory' => 4096,
  'preview_max_filesize_image' => 256,
  'memories.vod.disable' => false,
  'memories.vod.ffmpeg' => '/usr/local/bin/ffmpeg',
  'memories.vod.ffprobe' => '/usr/local/bin/ffprobe',
  'maintenance' => false,
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\HEIC',
    4 => 'OC\\Preview\\BMP',
    5 => 'OC\\Preview\\XBitmap',
    6 => 'OC\\Preview\\MP3',
    7 => 'OC\\Preview\\TXT',
    8 => 'OC\\Preview\\MarkDown',
    9 => 'OC\\Preview\\Image',
    10 => 'OC\\Preview\\Movie',
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memories.vod.vaapi' => true,
  'memories.video_default_quality' => '-1',
  'updater.release.channel' => 'beta',
  'updater.secret' => 'REDACTED',
);

The output of nginx web server related to checksetup.

$ docker-compose logs web | grep checksetup -A 3 -B 5
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:47:51 +0000] "GET /ocs/v2.php/apps/updatenotification/api/v1/applist/25.0.10.1 HTTP/1.1" 200 213 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:48:02 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 2023/08/28 10:48:12 [warn] 34#34: *156 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/1/00/0000000001 while reading upstream, client: 172.31.0.4, server: , request: "PROPFIND /remote.php/dav/photos/REDACTED/albums/Japan/ HTTP/1.1", upstream: "fastcgi://192.168.16.4:9000", host: "REDACTED"
nextcloud-web-1  | 172.31.0.4 - REDACTED [28/Aug/2023:10:48:12 +0000] "PROPFIND /remote.php/dav/photos/REDACTED/albums/Japan/ HTTP/1.1" 207 1029881 "-" "davfs2/1.5.5 neon/0.30.2" "192.168.0.93"
nextcloud-web-1  | 172.31.0.4 - REDACTED [28/Aug/2023:10:48:12 +0000] "GET /remote.php/dav/photos/REDACTED/albums/Japan/6218-DSC03717.JPG HTTP/1.1" 200 6719135 "-" "davfs2/1.5.5 neon/0.30.2" "192.168.0.93"
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:48:31 +0000] "GET /settings/ajax/checksetup HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:48:32 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:49:02 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 172.31.0.4 - REDACTED [28/Aug/2023:10:49:11 +0000] "PROPFIND /remote.php/dav/photos/REDACTED/albums/ HTTP/1.1" 207 3504 "-" "davfs2/1.5.5 neon/0.30.2" "192.168.0.93"
--
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:56:56 +0000] "PROPFIND /remote.php/dav/ HTTP/1.1" 207 357 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:56:57 +0000] "GET /ocs/v2.php/cloud/groups/details HTTP/1.1" 200 161 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 172.31.0.4 - REDACTED [28/Aug/2023:10:57:11 +0000] "GET /remote.php/dav/photos/REDACTED/albums/B%c3%a6bsiblikke/832699-DSC_1426.JPG HTTP/1.1" 200 3057835 "-" "davfs2/1.5.5 neon/0.30.2" "192.168.0.93"
nextcloud-web-1  | 172.31.0.4 - REDACTED [28/Aug/2023:10:57:15 +0000] "PROPFIND /remote.php/dav/photos/REDACTED/albums/ HTTP/1.1" 207 3504 "-" "davfs2/1.5.5 neon/0.30.2" "192.168.0.93"
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:57:26 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:57:56 +0000] "GET /settings/ajax/checksetup HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 172.31.0.4 - - [28/Aug/2023:10:57:57 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "REDACTED"
nextcloud-web-1  | 172.31.0.4 - REDACTED [28/Aug/2023:10:58:12 +0000] "PROPFIND /remote.php/dav/photos/REDACTED/albums/B%c3%a6bsiblikke/ HTTP/1.1" 207 920358 "-" "davfs2/1.5.5 neon/0.30.2" "192.168.0.93"
nextcloud-web-1  | 172.31.0.4 - REDACTED [28/Aug/2023:10:58:12 +0000] "GET /remote.php/dav/photos/REDACTED/albums/B%c3%a6bsiblikke/839472-PXL_20221110_085223990.jpg HTTP/1.1" 200 1371343 "-" "davfs2/1.5.5 neon/0.30.2" "192.168.0.93"


The nextcloud.log is shown below:



{"reqId":"Wy40xCmB0wmdPgCsfGTo","level":1,"time":"2023-08-28T10:57:57+00:00","remoteAddr":"172.31.0.4","user":"REDACTED","app":"no app in context","method":"GET","url":"/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_COLUMNS: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"25.0.10.1","data":[],"id":"64ec8000e6f86"}

{"reqId":"Wy40xCmB0wmdPgCsfGTo","level":1,"time":"2023-08-28T10:57:57+00:00","remoteAddr":"172.31.0.4","user":"REDACTED","app":"no app in context","method":"GET","url":"/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_INDEXES: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"25.0.10.1","data":[],"id":"64ec8000e6f8d"}

{"reqId":"Wy40xCmB0wmdPgCsfGTo","level":1,"time":"2023-08-28T10:57:57+00:00","remoteAddr":"172.31.0.4","user":"REDACTED","app":"no app in context","method":"GET","url":"/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_PRIMARY_KEYS: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"25.0.10.1","data":[],"id":"64ec8000e6f94"}

The problem is that the updating servers are not available:

That seems odd. This has happened since I updated to nginx instead of apache, so it’s more likely related to that.