Wrong owncloud CalDAV adress

CalDAV adress copied from owncloud calendar page doesn’t allow thunderbird connect.
J’utilise owncloud V10.6.0 installé sur ovh pour synchroniser mes agendas avec 2 ordinateurs.
un thunderbird V91.5.0 sous linux, un thunderbird 97.0.1 sous windows 7 et lightning V2.7 dans les deux environnements.
J’ai le même comportement dans les deux environnements :
Je clique sur thunderbird : fichier, nouveau, agenda, “créer un agenda : sur le réseau”. Je donne le nom d’utilisateur propriétaire de l’agenda sur owncloud et l’adresse caldav donnée par owncloud/agenda. Je clique sur thunderbird sur “rechercher des agendas”, je mets le mot de passe de owncloud/agenda quand thunderbird me le réclame et j’obtiens le message "les identifiants de connexion saisis n’ont pas été acceptés. Veuillez vérifier vos paramètres.
J’ai vérifié, plusieurs fois.1.
2.
3.

Expected behaviour

Create remote calendars on thunderbird synchronized with owncloud calendars

Actual behaviour

Giving owncloud CalDAV address, owncloud administrator user name and associated owncloud password makes thunderbird answer : “entered connexion ids not accepted. Please verify your parameters.”

Server configuration

Operating system: probably linux

Web server: ovh shared server

Database: musql V5.6

PHP version: 7.3

ownCloud version: 10.6.0.5

Updated from an older ownCloud or fresh install: fresh

Where did you install ownCloud from: tar download from Download Server Packages - ownCloud

Signing status (ownCloud 9.0 and above): administrator

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.
 @gillesdeloustal
gillesdeloustal/gist:d7038fe41013f2f5582c2faa69a4340b
<script src="https://gist.github.com/gillesdeloustal/d7038fe41013f2f5582c2faa69a4340b.js"></script>

The content of config/config.php:

<?php $CONFIG = array ( 'instanceid' => 'xxx', 'passwordsalt' => 'xxxx', 'secret' => 'xxx', 'trusted_domains' => array ( 0 => 'www.xxx.yyy', 1 => 'xxx.yyy', ), 'datadirectory' => '/home/xxx/www/nuage/owncloud_data', 'overwrite.cli.url' => 'https://www.xxx.yyy/nuage/owncloud', 'dbtype' => 'mysql', 'version' => '10.6.0.5', 'dbname' => 'xxx', 'dbhost' => 'xxx.mysql.db', 'dbtableprefix' => 'xx_', 'dbuser' => 'xxx', 'dbpassword' => 'xxx', 'logtimezone' => 'UTC', 'installed' => true, 'trashbin_retention_obligation' => '10, 30', 'maintenance' => false, 'theme' => '', 'loglevel' => 0, 'enable_previews' => true, ); ``` Log in to the web-UI with an administrator account and click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' This report includes the config.php settings, the list of activated apps and other details in a well sanitized form. or If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your ownCloud installation folder *ATTENTION:* Do not post your config.php file in public as is. Please use one of the above methods whenever possible. Both, the generated reports from the web-ui and from occ config:list consistently remove sensitive data. You still may want to review the report before sending. If done manually then it is critical for your own privacy to dilligently remove *all* host names, passwords, usernames, salts and other credentials before posting. You should assume that attackers find such information and will use them against your systems. ``` **List of activated apps:** ``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your ownCloud installation folder. ``` **Are you using external storage, if yes which one:** local/smb/sftp/... no **Are you using encryption:** yes/no no **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... no #### LDAP configuration (delete this part if not used) ``` With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your ownCloud installation folder Without access to your command line download the data/owncloud.db to your local computer or access your SQL server remotely and run the select query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap'; Eventually replace sensitive data as the name/IP-address of your LDAP server or groups. ``` ### Client configuration **Browser:** firefox **Operating system:** both linux 20 and windows 7 ### Logs #### Web server error log ``` Insert your webserver log here ``` #### ownCloud log (data/owncloud.log) ``` Insert your ownCloud log here ``` "reqId":"YiT1Z@sargEpDM7Z4YVX@QAAAAw","level":0,"time":"2022-03-06T17:54:47+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/nuage\/owncloud\/index.php\/apps\/calendar\/","message":"token 44f7551884e30de01acc82f0a96108b82924f8f7b87b0f7bd1f936870f606133cee6809044c889500f9599aaed89ef4efd1e410fcb059e2fdcdc6f4528d76557 with token id 14477 found, validating"} {"reqId":"YiT1Z@sargEpDM7Z4YVX@QAAAAw","level":0,"time":"2022-03-06T17:54:47+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"OC\\User\\Session::checkTokenCredentials","method":"GET","url":"\/nuage\/owncloud\/index.php\/apps\/calendar\/","message":"checking credentials for token 44f7551884e30de01acc82f0a96108b82924f8f7b87b0f7bd1f936870f606133cee6809044c889500f9599aaed89ef4efd1e410fcb059e2fdcdc6f4528d76557 with token id 14477, last check at 1646588613 was more than 5 min ago"} {"reqId":"YiT1Z@sargEpDM7Z4YVX@QAAAAw","level":0,"time":"2022-03-06T17:54:47+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"OC\\Authentication\\Token\\DefaultTokenProvider::updateToken","method":"GET","url":"\/nuage\/owncloud\/index.php\/apps\/calendar\/","message":"updating token 14477, last check is now 1646589287"} {"reqId":"YiT1Z@sargEpDM7Z4YVX@QAAAAw","level":0,"time":"2022-03-06T17:54:47+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"OC\\Authentication\\Token\\DefaultTokenProvider::updateTokenActivity","method":"GET","url":"\/nuage\/owncloud\/index.php\/apps\/calendar\/","message":"updating activity of token 14477 to 1646589287"} {"reqId":"YiT1Z@sargEpDM7Z4YVX@QAAAAw","level":0,"time":"2022-03-06T17:54:48+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/nuage\/owncloud\/index.php\/apps\/calendar\/","message":"token 44f7551884e30de01acc82f0a96108b82924f8f7b87b0f7bd1f936870f606133cee6809044c889500f9599aaed89ef4efd1e410fcb059e2fdcdc6f4528d76557 with token id 14477 found, validating"} ....... {"reqId":"YiT1ausargEpDM7Z4YVYCgAAABA","level":0,"time":"2022-03-06T17:54:50+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"cron","method":"GET","url":"\/nuage\/owncloud\/index.php\/cron","message":"Running job with id 9 and class OCA\\Files\\BackgroundJob\\CleanupFileLocks. Last run 1646568175 and interval 300"} {"reqId":"YiT1ausargEpDM7Z4YVYCgAAABA","level":0,"time":"2022-03-06T17:54:50+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"cron","method":"GET","url":"\/nuage\/owncloud\/index.php\/cron","message":"Started background job of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : "} {"reqId":"YiT1ausargEpDM7Z4YVYCgAAABA","level":0,"time":"2022-03-06T17:54:50+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"cron","method":"GET","url":"\/nuage\/owncloud\/index.php\/cron","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : "} {"reqId":"YiT1ausargEpDM7Z4YVYBwAAADM","level":0,"time":"2022-03-06T17:54:50+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"OC\\User\\Session::validateToken","method":"POST","url":"\/nuage\/owncloud\/index.php\/apps\/calendar\/v1\/config","message":"token 44f7551884e30de01acc82f0a96108b82924f8f7b87b0f7bd1f936870f606133cee6809044c889500f9599aaed89ef4efd1e410fcb059e2fdcdc6f4528d76557 with token id 14477 found, validating"} {"reqId":"YiT1ausargEpDM7Z4YVYBwAAADM","level":0,"time":"2022-03-06T17:54:50+00:00","remoteAddr":"90.42.197.59","user":"gilles","app":"OC\\User\\Session::validateToken","method":"POST","url":"\/nuage\/owncloud\/index.php\/apps\/calendar\/v1\/config","message":"token 44f7551884e30de01acc82f0a96108b82924f8f7b87b0f7bd1f936870f606133cee6809044c889500f9599aaed89ef4efd1e410fcb059e2fdcdc6f4528d76557 with token id 14477 found, validating"} ........ {"reqId":"YiT1k@sargEpDM7Z4YVZWgAAAAA","level":0,"time":"2022-03-06T17:55:31+00:00","remoteAddr":"90.42.197.59","user":"--","app":"OC\\Authentication\\Token\\DefaultTokenProvider::invalidateToken","method":"PROPFIND","url":"\/nuage\/owncloud\/remote.php\/dav\/","message":"invalidating token 0373fabc5f8df34c8ed480b7ebe1a61af40a694b741f86688aa5fee0866531fb915c1383c45c6caf29a22b027e3fca626696b5d002293b1210677b36b4d90935"} {"reqId":"YiT1k@sargEpDM7Z4YVZVwAAAAs","level":0,"time":"2022-03-06T17:55:31+00:00","remoteAddr":"90.42.197.59","user":"--","app":"OC\\Authentication\\Token\\DefaultTokenProvider::invalidateToken","method":"HEAD","url":"\/nuage\/owncloud\/remote.php\/dav\/","message":"invalidating token 70e9809336b31bbd3e13ddc3cfb95773c4da0501d62c873c90de83696a6ed8cd511e8a29c8d105102492622809b189882cc3dcc37cb325a0a9198867536bf728"} {"reqId":"YiT1k@sargEpDM7Z4YVZVwAAAAs","level":0,"time":"2022-03-06T17:55:31+00:00","remoteAddr":"90.42.197.59","user":"--","app":"webdav","method":"HEAD","url":"\/nuage\/owncloud\/remote.php\/dav\/","message":"Exception: HTTP\/1.1 401 No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Message\":\"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/WildcardEmitterTrait.php(89): Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(456): Sabre\\\\DAV\\\\Server->emit('beforeMethod:HE...', Array)\\n#2 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(253): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(330): Sabre\\\\DAV\\\\Server->start()\\n#4 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#5 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/remote.php(165): require_once('\\\/home\\\/infoadre\\\/...')\\n#6 {main}\",\"File\":\"\\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":154}"} {"reqId":"YiT1k@sargEpDM7Z4YVZWgAAAAA","level":0,"time":"2022-03-06T17:55:31+00:00","remoteAddr":"90.42.197.59","user":"--","app":"webdav","method":"PROPFIND","url":"\/nuage\/owncloud\/remote.php\/dav\/","message":"Exception: HTTP\/1.1 401 No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Message\":\"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/WildcardEmitterTrait.php(89): Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(456): Sabre\\\\DAV\\\\Server->emit('beforeMethod:PR...', Array)\\n#2 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(253): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(330): Sabre\\\\DAV\\\\Server->start()\\n#4 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#5 \\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/remote.php(165): require_once('\\\/home\\\/infoadre\\\/...')\\n#6 {main}\",\"File\":\"\\\/home\\\/infoadre\\\/www\\\/nuage\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":154}"} {"reqId":"YiT1k@sargEpDM7Z4YVZbAAAACg","level":0,"time":"2022-03-06T17:55:32+00:00","remoteAddr":"90.42.197.59","user":"--","app":"OC\\Authentication\\Token\\DefaultTokenProvider::invalidateToken","method":"GET","url":"\/nuage\/owncloud\/remote.php\/dav\/","message":"invalidating token 9870b0244a5d651c66aaaef713140a4551d560a98d4366ba8083b8b98a481acc5d4e4ac21fa53aa02521fbe27d6cc11f39aa41a9326ffb576ebd8f5b11d6f0a9"} #### Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```

I don’t remember that the recover function for calendars has ever worked, or I wasn’t aware of. I always add calendars one by one with the full link.

Nevertheless, this is strange, as it works from Android devices. My conclusion is, the issue is rooted at Thunderbird.

Actually my problem is related to create calendars one by one
best regards

I mean, I create a calendar and then create a network calendar in Thunderbird, using the calendars link. Doesn’t this work for you?

1 Like

No it doesn’t, but apparently it should.
Because of malware programs, I plan to re-install the whole.
Is there any possibility to export my events in order to import them in a new instance ?

Yes. Download each calendar to an ics-file, use it for import on your new instance.

Thank you very much. I downloaded them all

Yes it’s possible,I plan to re install the whole

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.