[/details]
Nextcloud version (eg, 20.0.5): 22.2.0
Operating system and version (eg, Ubuntu 20.04): FreeBSD 13
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.51
PHP version (eg, 7.4): 7.3
The issue you are facing: Cannot sync Calendar with Evolution
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Open Evolution
- Select a Calendar
- Righ-click “Refresh”
The output of your Nextcloud log in Admin > Logging:
The calendar backend servicing “Nextcloud” encountered an error.
The reported error was “Object is out of sync”.
[Fri Oct 22 18:11:22.852518 2021] [php7:notice] [pid 57839] [client 192.168.100.30:55494]
{
"reqId": "H9OHfUP1LGWG5euD9k4V",
"level": 0,
"time": "2021-10-22T16:11:22+00:00",
"remoteAddr": "192.168.100.30",
"user": "--",
"app": "no app in context",
"method": "REPORT",
"url": "/remote.php/caldav/calendars/xavier/contact_birthdays/",
"message": "Token is not valid: Token does not exist",
"userAgent": "Evolution/3.40.0",
"version": "22.2.0.2",
"exception": {
"Exception": "OC\\\\Authentication\\\\Exceptions\\\\InvalidTokenException",
"Message": "Token does not exist",
"Code": 0,
"Trace": [
{
"file": "/usr/local/www/nextcloud/lib/private/Authentication/Token/Manager.php",
"line": 146,
"function": "getToken",
"class": "OC\\\\Authentication\\\\Token\\\\DefaultTokenProvider",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/lib/private/User/Session.php",
"line": 531,
"function": "getToken",
"class": "OC\\\\Authentication\\\\Token\\\\Manager",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/lib/private/User/Session.php",
"line": 447,
"function": "isTokenPassword",
"class": "OC\\\\User\\\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/apps-pkg/dav/lib/Connector/Sabre/Auth.php",
"line": 129,
"function": "logClientIn",
"class": "OC\\\\User\\\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php",
"line": 103,
"function": "validateUserPass",
"class": "OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/apps-pkg/dav/lib/Connector/Sabre/Auth.php",
"line": 252,
"function": "check",
"class": "Sabre\\\\DAV\\\\Auth\\\\Backend\\\\AbstractBasic",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/nextcloud/apps-pkg/dav/lib/Connector/Sabre/Auth.php",
"line": 154,
"function": "auth",
"class": "OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php",
"line": 182,
"function": "check",
"class": "OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php",
"line": 137,
"function": "check",
"class": "Sabre\\\\DAV\\\\Auth\\\\Plugin",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/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": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 456,
"function": "emit",
"class": "Sabre\\\\DAV\\\\Server",
"type": "->",
"args": [
"beforeMethod:REPORT",
[
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 253,
"function": "invokeMethod",
"class": "Sabre\\\\DAV\\\\Server",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 321,
"function": "start",
"class": "Sabre\\\\DAV\\\\Server",
"type": "->",
"args": []
},
{
"file": "/usr/local/www/nextcloud/apps-pkg/dav/appinfo/v1/caldav.php",
"line": 119,
"function": "exec",
"class": "Sabre\\\\DAV\\\\Server",
"type": "->",
"args": []
},
{
"file": "/usr/local/www/nextcloud/remote.php",
"line": 166,
"args": [
"/usr/local/www/nextcloud/apps-pkg/dav/appinfo/v1/caldav.php"
],
"function": "require_once"
}
],
"File": "/usr/local/www/nextcloud/lib/private/Authentication/Token/DefaultTokenProvider.php",
"Line": 159,
"Previous": {
"Exception": "OCP\\\\AppFramework\\\\Db\\\\DoesNotExistException",
"Message": "token does not exist",
"Code": 0,
"Trace": [
{
"file": "/usr/local/www/nextcloud/lib/private/Authentication/Token/DefaultTokenProvider.php",
"line": 157,
"function": "getToken",
"class": "OC\\\\Authentication\\\\Token\\\\DefaultTokenMapper",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/lib/private/Authentication/Token/Manager.php",
"line": 146,
"function": "getToken",
"class": "OC\\\\Authentication\\\\Token\\\\DefaultTokenProvider",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/lib/private/User/Session.php",
"line": 531,
"function": "getToken",
"class": "OC\\\\Authentication\\\\Token\\\\Manager",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/lib/private/User/Session.php",
"line": 447,
"function": "isTokenPassword",
"class": "OC\\\\User\\\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/apps-pkg/dav/lib/Connector/Sabre/Auth.php",
"line": 129,
"function": "logClientIn",
"class": "OC\\\\User\\\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php",
"line": 103,
"function": "validateUserPass",
"class": "OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/usr/local/www/nextcloud/apps-pkg/dav/lib/Connector/Sabre/Auth.php",
"line": 252,
"function": "check",
"class": "Sabre\\\\DAV\\\\Auth\\\\Backend\\\\AbstractBasic",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/nextcloud/apps-pkg/dav/lib/Connector/Sabre/Auth.php",
"line": 154,
"function": "auth",
"class": "OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php",
"line": 182,
"function": "check",
"class": "OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php",
"line": 137,
"function": "check",
"class": "Sabre\\\\DAV\\\\Auth\\\\Plugin",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/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": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 456,
"function": "emit",
"class": "Sabre\\\\DAV\\\\Server",
"type": "->",
"args": [
"beforeMethod:REPORT",
[
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 253,
"function": "invokeMethod",
"class": "Sabre\\\\DAV\\\\Server",
"type": "->",
"args": [
{
"__class__": "Sabre\\\\HTTP\\\\Request"
},
{
"__class__": "Sabre\\\\HTTP\\\\Response"
}
]
},
{
"file": "/usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 321,
"function": "start",
"class": "Sabre\\\\DAV\\\\Server",
"type": "->",
"args": []
},
{
"file": "/usr/local/www/nextcloud/apps-pkg/dav/appinfo/v1/caldav.php",
"line": 119,
"function": "exec",
"class": "Sabre\\\\DAV\\\\Server",
"type": "->",
"args": []
},
{
"file": "/usr/local/www/nextcloud/remote.php",
"line": 166,
"args": [
"/usr/local/www/nextcloud/apps-pkg/dav/appinfo/v1/caldav.php"
],
"function": "require_once"
}
],
"File": "/usr/local/www/nextcloud/lib/private/Authentication/Token/DefaultTokenMapper.php",
"Line": 93
},
"CustomMessage": "Token is not valid: Token does not exist"
}
}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'debug' => false,
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/local/www/nextcloud/apps',
'url' => '/apps',
'writable' => true,
),
1 =>
array (
'path' => '/usr/local/www/nextcloud/apps-pkg',
'url' => '/apps-pkg',
'writable' => false,
),
),
'logfile' => '/var/log/nextcloud/nextcloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'instanceid' => '*****',
'passwordsalt' => '*****',
'secret' => '*****',
'trusted_domains' =>
array (
0 => 'nextcloud.groumpf.org',
),
'datadirectory' => '/nextcloud-data',
'dbtype' => 'mysql',
'version' => '22.2.0.2',
'overwrite.cli.url' => 'https://nextcloud.groumpf.org',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '*****',
'dbpassword' => '*****',
'installed' => true,
'trashbin_retention_obligation' => 1,
0 => 3,
'maintenance' => false,
'theme' => '',
'loglevel' => 0,
'default_phone_region' => 'FR',
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'groumpf.org',
'mail_smtphost' => 'smtp.groumpf.org',
'mail_smtpport' => '587',
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
);
The output of your Apache/nginx/system log in /var/log/____
:
Not relevant
Thanks,
Regards,
Xavier