-
Nextcloud version:
Hub 6/27.1.4
-
Operating system and version:
Server: Some Linux, probably Debian or Gentoo withkernel 5.15.125 x86_64
Client:Fedora 39 and Garuda Linux
-
Apache or nginx version:
don't know, will have to ask the hoster
-
PHP version:
8.1
-
The issue you are facing:
I actually tried to log in to the WebDAV share with two different Linux devices with KDE Dolphin, and I also tried mounting it in the OS with /etc/fstab on one, and generated several new app passwords.
The error is always something to the effect of “credentials rejected”
My theory is: NC generates me an app password, but doesn’t remember it should let new users log in with that.
Similar problems have been reported for NC 18, but can such a critical bug still be here nine releases later?
Or am I missing something?
-
Is this the first time you’ve seen this error?:
Yes. This is a pretty fresh install, one of the first things I’ve tried to do is connecting to WebDAV. -
Steps to replicate it:
- Create a new app password
- Try to log in any app other than the official NC one with WebDAV
- See if the error messages indicate wrong/unknown credentials/password
The output of the Nextcloud log in Admin > Logging:
It's empty
The config.php file in /path/to/nextcloud
:
<?php
$CONFIG = array (
'default_language' => 'de',
'default_locale' => 'de_DE',
'default_phone_region' => 'DE',
'enable_previews' => 'false',
'skeletondirectory' => '',
'instanceid' => 'theidofmyinstance',
'passwordsalt' => 'random string of chars',
'secret' => 'BigTopSecret',
'trusted_domains' =>
array (
0 => 'my.website.eu',
),
'datadirectory' => '/home/sites/site100011358/web/nextcloud/data',
'dbtype' => 'mysql',
'version' => '27.1.4.1',
'integrity.check.disabled' => true,
'trashbin_retention_obligation' => 'auto, 30',
'version_retention_obligation' => 'auto, 30',
'memcache.local' => '\\OC\\Memcache\\APCu',
'log_type' => 'file',
'logfile' => '/dev/null',
'localstorage.umask' => 7,
'overwrite.cli.url' => 'my.website.eu',
'dbname' => 'db000000',
'dbhost' => 'db.host.net',
'dbport' => '',
'dbtableprefix' => 'nc_',
'mysql.utf8mb4' => true,
'dbuser' => 'user',
'dbpassword' => 'password',
'installed' => true,
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
0 => 'admin',
),
'twofactor_enforced_excluded_groups' =>
array (
),
);
The output of your Apache/nginx/system log in /var/log/____
:
//I don't have direct access to the web server, it's a shared host, but I found this log file, there's a lot of this:
00.000.000.00 - - [01/Dec/2023:01:20:07 +0100] "PROPFIND /remote.php/dav HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1172 1280
00.000.000.00 - - [01/Dec/2023:01:20:07 +0100] "PROPFIND /remote.php/dav/files HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1178 1280
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1191 1245
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php HTTP/1.1" 404 255 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1168 914
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND / HTTP/1.1" 405 - "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1158 947
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1251 953
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1257 953
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1172 1280
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1178 1280
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1191 1280
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND / HTTP/1.1" 405 - "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1158 947
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1866 6554
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1251 953
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1257 953
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1270 953
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php HTTP/1.1" 404 255 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1168 914
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1178 1280
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1172 1281
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1191 1280
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1257 953
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1251 954
00.000.000.00 - - [01/Dec/2023:01:20:08 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1270 953
// and further up, there's more of this:
00.000.000.00 - - [01/Dec/2023:01:19:43 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1787 6881
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane/ HTTP/1.1" 301 263 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 847 538
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1270 954
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1191 1281
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane/ HTTP/1.1" 301 263 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 846 538
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1270 954
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane/ HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1788 6881
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane/ HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1271 954
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane/ HTTP/1.1" 301 263 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 847 538
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane/ HTTP/1.1" 401 557 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1192 1281
00.000.000.00 - - [01/Dec/2023:01:19:44 +0100] "PROPFIND /remote.php/dav/files/bennypr0fane/ HTTP/1.1" 429 285 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.111 dolphin/23.08.3" 1271 954
There’s also a folder with err.logs:
51.115.151.11 [2023-11-28 19:05:10.072478] [proxy_fcgi:error] [pid 31564] AH01071: Got error 'Primary script unknown'
12.121.121.21 [2023-11-30 17:37:45.254649] [access_compat:error] [pid 1924] AH01797: client denied by server configuration: /home/sites/site100011358/web/nextcloud/data/.ocdata
12.121.121.21 [2023-11-30 17:43:16.113161] [access_compat:error] [pid 6278] AH01797: client denied by server configuration: /home/sites/site100011358/web/nextcloud/data/.ocdata
12.121.121.21 [2023-11-30 17:51:09.521783] [access_compat:error] [pid 14735] AH01797: client denied by server configuration: /home/sites/site100011358/web/nextcloud/data/.ocdata
12.121.121.21 [2023-11-30 18:01:20.994185] [authz_core:error] [pid 24879] AH01630: client denied by server configuration: /home/sites/site100011358/web/nextcloud/apps/theming/img/core
12.121.121.21 [2023-11-30 18:04:54.518081] [authz_core:error] [pid 28483] AH01630: client denied by server configuration: /home/sites/site100011358/web/nextcloud/apps/theming/img/core
21.212.112.13 [2023-11-30 18:19:31.543685] [proxy_fcgi:error] [pid 10597] AH01071: Got error 'Primary script unknown'
13.232.31.31 [2023-11-30 19:45:31.774083] [authz_core:error] [pid 24855] AH01630: client denied by server configuration: /home/sites/site100011358/web/nextcloud/apps/theming/img/core
00.000.000.00 [2023-12-01 00:13:16.473467] [access_compat:error] [pid 7238] AH01797: client denied by server configuration: /home/sites/site100011358/web/nextcloud/data/.ocdata
00.000.000.00 [2023-12-01 00:15:07.703626] [authz_core:error] [pid 10329] AH01630: client denied by server configuration: /home/sites/site100011358/web/nextcloud/apps/theming/img/core
00.000.000.00 [2023-12-01 01:21:31.214076] [authz_core:error] [pid 25513] AH01630: client denied by server configuration: /home/sites/site100011358/web/nextcloud/apps/theming/img/core
00.000.000.00 [2023-12-01 01:21:33.652863] [authz_core:error] [pid 25515] AH01630: client denied by server configuration: /home/sites/site100011358/web/nextcloud/apps/theming/img/core
00.000.000.00 [2023-12-01 01:21:33.706821] [authz_core:error] [pid 25577] AH01630: client denied by server configuration: /home/sites/site100011358/web/nextcloud/apps/theming/img/core
11.111.111.11 [2023-12-01 18:40:13.834542] [access_compat:error] [pid 8911] AH01797: client denied by server configuration: /home/sites/site100011358/web/nextcloud/data/.ocdata
141.414.14.41 [2023-12-01 23:00:34.160597] [access_compat:error] [pid 7937] AH01797: client denied by server configuration: /home/sites/site100011358/web/nextcloud/data/.ocdata
00.000.000.00 [2023-12-01 23:54:33.374485] [access_compat:error] [pid 5201] AH01797: client denied by server configuration: /home/sites/site100011358/web/nextcloud/data/.ocdata
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors:
Is this not the same as the Nextcloud log in **Admin > Logging**? Which top right menu are we talking about?