Check Setup Error after docker-compose upgrade 21.0.9 -> 22.2.5 (timeout?)

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): nextcloud:22-fpm-alpine (22.2.5), postgres:12-alpine (12.10)
Operating system and version (eg, Ubuntu 20.04): docker-compose version 1.25.0 on Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): nginx:alpine (1.21.5)
PHP version (eg, 7.4): PHP 8.0.16

The issue you are facing:

In the Administration Overview page, the system check fails to run with the message in red

  • Error occurred whilst checking server setup

The upgrade appears to have completed with no errors, and there are no errors produced in the log when accessing the Overview page. There are some errors that seem to be related to the Cookbook app, but those were there prior to the upgrade too as far as I can tell. I cannot find anything that’s actually not working.

Based on the nginx logs, the 499 response code implies this is a timeout. I’ve never had a problem accessing this page prior to the upgrade though.

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

Steps to replicate it:

  1. Open Administration / Overview

The output of your Nextcloud log in Admin > Logging:

None

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

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  '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',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'pgsql',
  'version' => '22.2.5.1',
  'overwrite.cli.url' => 'http://redacted',
  'dbname' => 'nextcloud',
  'dbhost' => 'db',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_admin',
  'dbpassword' => 'redacted',
  'installed' => true,
  'overwriteprotocol' => 'https',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'notifications',
  'mail_domain' => 'redacted',
  'mail_smtphost' => 'redacted',
  'mail_smtpport' => '587',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'redacted',
  'mail_smtppassword' => 'redacted',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpsecure' => 'tls',
  'maintenance' => false,
  'loglevel' => 2,
  'default_phone_region' => 'EE',
);

The output of your Apache/nginx/system log in /var/log/____:

web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:46 +0000] "GET /settings/admin/overview HTTP/1.1" 200 9855 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:46 +0000] "GET /ocs/v2.php/cloud//groups HTTP/1.1" 200 101 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 112 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "PROPFIND /.well-known/caldav HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "PROPFIND /.well-known/carddav HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 2022/02/20 11:29:47 [error] 25#25: *8084 access forbidden by rule, client: 192.168.16.2, server: , request: "GET /data/.ocdata?t=1645356587118 HTTP/1.1", host: "nextcloud.turujarve.ee"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "GET /data/.ocdata?t=1645356587118 HTTP/1.1" 403 184 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "GET /ocs/v2.php/search/providers?from=%2Fsettings%2Fadmin%2Foverview HTTP/1.1" 200 244 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "GET /ocm-provider/ HTTP/1.1" 200 187 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "PROPFIND /remote.php/webdav HTTP/1.1" 207 7019 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "GET /ocs-provider/ HTTP/1.1" 200 349 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "GET /heartbeat HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "GET /apps/apporder/getOrder HTTP/1.1" 200 136 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "GET /index.php/.well-known/webfinger HTTP/1.1" 404 37 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "GET /index.php/.well-known/nodeinfo HTTP/1.1" 404 36 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "PROPFIND /remote.php/dav HTTP/1.1" 207 442 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:47 +0000] "PROPFIND /remote.php/dav HTTP/1.1" 207 442 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:30:17 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:30:47 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:30:47 +0000] "GET /settings/ajax/checksetup HTTP/1.1" 499 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"

Sometimes also see:

web_1  | 2022/02/20 11:29:20 [error] 25#25: *8038 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 192.168.16.2, server: , request: "GET /settings/ajax/checksetup HTTP/1.1", upstream: "fastcgi://192.168.48.3:9000", host: "redacted"
web_1  | 192.168.16.2 - - [20/Feb/2022:11:29:20 +0000] "GET /settings/ajax/checksetup HTTP/1.1" 504 569 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "redacted"