Support intro
Sorry to hear you’re facing problems
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
Nextcloud version (eg, 20.0.5): 21.0.7
Operating system and version (eg, Ubuntu 20.04): Alpine Linux
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.20.2
PHP version (eg, 7.4): 8.0.14
The issue you are facing:
I have successfully patched from Nextcloud 17 to Nextcloud 21.0.7.
In the administration page I find this security warning:
* Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the [documentation](https://docs.nextcloud.com/server/21/go.php?to=admin-setup-well-known-URL).
* Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the [documentation](https://docs.nextcloud.com/server/21/go.php?to=admin-setup-well-known-URL).
* Your web server is not properly set up to resolve "/.well-known/caldav". Further information can be found in the [documentation](https://docs.nextcloud.com/server/21/go.php?to=admin-setup-well-known-URL).
* Your web server is not properly set up to resolve "/.well-known/carddav". Further information can be found in the [documentation](https://docs.nextcloud.com/server/21/go.php?to=admin-setup-well-known-URL).
This server is running behind a forward proxy; I don’t know if this is related to the issue.
Is this the first time you’ve seen this error? (Y/N):
No
Steps to replicate it:
- Settings
- Administration > Overview
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => '<passwordsalt>,
'secret' => '<secret>',
'trusted_domains' =>
array (
0 => '<cloud.mydomain.com>',
),
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/nextcloud/apps',
'url' => '/apps',
'writable' => true,
),
),
'datadirectory' => '/var/lib/nextcloud/data',
'skeletondirectory' => '/var/lib/nextcloud/default_files',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => 2,
'logtimezone' => 'Europe/Berlin',
'knowledgebaseenabled' => true,
'check_for_working_htaccess' => false,
'dbtype' => 'mysql',
'version' => '21.0.7.0',
'overwrite.cli.url' => 'https://<cloud.mydomain.com>',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nc',
'dbpassword' => '<dbpassword>',
'installed' => true,
'integrity.check.disabled' => false,
'default_phone_region' => 'DE',
'instanceid' => 'ochentz7kvhd',
'maintenance' => false,
'filelocking.enabled' => 'true',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'theme' => '',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'app_install_overwrite' =>
array (
0 => 'files_texteditor',
),
'encryption.legacy_format_support' => false,
'updater.secret' => '<updater.secret>',
);
The output of your Apache/nginx/system log in /var/log/____
:
2021/12/26 20:10:37 [error] 657#657: *11 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.0.0.10
0, server: cloud.mydomain.com, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.mydomain.com"
2021/12/26 20:10:37 [error] 657#657: *13 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.0.0.10
0, server: cloud.mydomain.com, request: "GET /nextcloud/status.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.mydomain.com"
2021/12/26 20:11:39 [error] 657#657: *15 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.0.0.10
0, server: cloud.mydomain.com, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.mydomain.com"
2021/12/26 20:11:39 [error] 657#657: *17 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.0.0.10
0, server: cloud.mydomain.com, request: "GET /nextcloud/status.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.mydomain.com"
2021/12/26 20:12:41 [error] 657#657: *19 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.0.0.10
0, server: cloud.mydomain.com, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.mydomain.com"
2021/12/26 20:12:41 [error] 657#657: *21 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.0.0.10
0, server: cloud.mydomain.com, request: "GET /nextcloud/status.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.mydomain.com"
2021/12/26 20:12:44 [error] 657#657: *23 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.0.0.10
0, server: cloud.mydomain.com, request: "PROPFIND /remote.php/dav/calendars/user/personal_shared_by_thomas/ HTTP/1.1", upstream: "fastcgi://
127.0.0.1:9000", host: "cloud.mydomain.com"
2021/12/26 20:12:44 [error] 657#657: *25 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.0.0.10
0, server: cloud.mydomain.com, request: "PROPFIND /remote.php/dav/calendars/user/personal/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000",
host: "cloud.mydomain.com"
2021/12/26 20:22:46 [error] 643#643: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.0.0.100, server: cloud.mydomain.com, request: "GET /settings/admin HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.mydomain.com"
2021/12/26 20:22:47 [error] 643#643: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.0.0.100, server: cloud.mydomain.com, request: "PROPFIND /remote.php/dav/files/name/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.mydomain.com"