[/details]
Nextcloud version (eg, 18.0.2): 20.0.2
Operating system and version (eg, Ubuntu 20.04): Debian 10
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.38-3+deb10u4
PHP version (eg, 7.1): 2:7.3+69
The issue you are facing:
Since the update to version 20.0.2 i see repeated errors while accessing nextcloud through davfs:
However, functionality seems not to be affected
Is this the first time you’ve seen this error? Occured with the upgrade to 20.0.2
Steps to replicate it: don’t know
The output of your Nextcloud log in Admin > Logging:
{"reqId":"KbXPUces3V5Rq4wj8RVg","level":0,"time":"2020-12-01T08:32:01+00:00","remoteAddr":"10.64.65.1","user":"--","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/9E71B8A7-154D-4E55-B691-CE75DB3B8B23/example_dir/","message":"{\"Exception\":\"OC\\\\Authentication\\\\Exceptions\\\\InvalidTokenException\",\"Message\":\"Token does not exist\",\"Code\":0,\"Trace\":[{\"file\":\"/var/www/html/nextcloud/lib/private/Authentication/Token/Manager.php\",\"line\":147,\"function\":\"getToken\",\"class\":\"OC\\\\Authentication\\\\Token\\\\DefaultTokenProvider\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/lib/private/User/Session.php\",\"line\":532,\"function\":\"getToken\",\"class\":\"OC\\\\Authentication\\\\Token\\\\Manager\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/lib/private/User/Session.php\",\"line\":448,\"function\":\"isTokenPassword\",\"class\":\"OC\\\\User\\\\Session\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php\",\"line\":131,\"function\":\"logClientIn\",\"class\":\"OC\\\\User\\\\Session\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php\",\"line\":106,\"function\":\"validateUserPass\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php\",\"line\":254,\"function\":\"check\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Backend\\\\AbstractBasic\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php\",\"line\":156,\"function\":\"auth\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php\",\"line\":192,\"function\":\"check\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php\",\"line\":144,\"function\":\"check\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php\",\"line\":89,\"function\":\"beforeMethod\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":458,\"function\":\"emit\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\",\"args\":[\"beforeMethod:PROPFIND\",[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":251,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":319,\"function\":\"start\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\",\"args\":[]},
{\"file\":\"/var/www/html/nextcloud/apps/dav/lib/Server.php\",\"line\":332,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\",\"args\":[]},
{\"file\":\"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php\",\"line\":35,\"function\":\"exec\",\"class\":\"OCA\\\\DAV\\\\Server\",\"type\":\"->\",\"args\":[]},
{\"file\":\"/var/www/html/nextcloud/remote.php\",\"line\":167,\"args\":[\"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php\"],\"function\":\"require_once\"}],\"File\":\"/var/www/html/nextcloud/lib/private/Authentication/Token/DefaultTokenProvider.php\",\"Line\":160,\"Previous\":{\"Exception\":\"OCP\\\\AppFramework\\\\Db\\\\DoesNotExistException\",\"Message\":\"token does not exist\",\"Code\":0,\"Trace\":[{\"file\":\"/var/www/html/nextcloud/lib/private/Authentication/Token/DefaultTokenProvider.php\",\"line\":158,\"function\":\"getToken\",\"class\":\"OC\\\\Authentication\\\\Token\\\\DefaultTokenMapper\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/lib/private/Authentication/Token/Manager.php\",\"line\":147,\"function\":\"getToken\",\"class\":\"OC\\\\Authentication\\\\Token\\\\DefaultTokenProvider\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/lib/private/User/Session.php\",\"line\":532,\"function\":\"getToken\",\"class\":\"OC\\\\Authentication\\\\Token\\\\Manager\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/lib/private/User/Session.php\",\"line\":448,\"function\":\"isTokenPassword\",\"class\":\"OC\\\\User\\\\Session\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php\",\"line\":131,\"function\":\"logClientIn\",\"class\":\"OC\\\\User\\\\Session\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php\",\"line\":106,\"function\":\"validateUserPass\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},
{\"file\":\"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php\",\"line\":254,\"function\":\"check\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Backend\\\\AbstractBasic\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Auth.php\",\"line\":156,\"function\":\"auth\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php\",\"line\":192,\"function\":\"check\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php\",\"line\":144,\"function\":\"check\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php\",\"line\":89,\"function\":\"beforeMethod\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":458,\"function\":\"emit\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\",\"args\":[\"beforeMethod:PROPFIND\",[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]]},
{\"file\":\"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php\",\"line\":251,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"type\":\"->\",\"args\":[{\"__class__\":\"Sabre\\\\HTTP\\\\Request\"},
{\"__class__\":\"Sabre\\\\HTTP\\\\Response\"}]},
{\"file\":\"/var/www/html/n
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'instanceid' => 'xxxx',
'passwordsalt' => 'xxxxx',
'secret' => 'xxxxxx',
'trusted_domains' =>
array (
0 => 'servername',
1 => '10.64.65.31',
),
'datadirectory' => '/var/www/nextcloud_data',
'dbtype' => 'pgsql',
'version' => '20.0.2.2',
'overwrite.cli.url' => 'https://servername',
'dbname' => 'nextclouddb',
'dbhost' => 'localhost:5432',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'xxxxxxxxxxxxxxx',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'loglevel' => 0,
'log_type' => 'syslog',
'maintenance' => false,
'theme' => '',
'app_install_overwrite' =>
array (
0 => 'calendar',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
10.64.65.1 - techuser.edicloud [01/Dec/2020:08:32:01 +0100] "PROPFIND /remote.php/dav/files/9E71B8A7-154D-4E55-B691-CE75DB3B8B23/example_dir/ HTTP/1.1" 207 34585 "-" "davfs2/1.5.5 neon/0.30.2"