Baikal icon indicating copy to clipboard operation
Baikal copied to clipboard

Adding Adressbook in Carddav doesn't work

Open heull001 opened this issue 4 years ago • 5 comments

I tried to add my Baikal-adressbook with Cardbook in Thunderbird, but the Check did not work and in the error_log contained the following entries:

[01-Jun-2020 15:19:44 Europe/Berlin] Sabre\DAV\Exception\NotFound: File not found: .well-known in 'root' in baikalpath/vendor/sabre/dav/lib/DAV/SimpleCollection.php:97
Stack trace:
#0 baikalpath/vendor/sabre/dav/lib/DAV/Tree.php(70): Sabre\DAV\SimpleCollection->getChild('.well-known')
#1 baikalpath/vendor/sabre/dav/lib/DAV/Tree.php(73): Sabre\DAV\Tree->getNodeForPath('.well-known')
#2 baikalpath/vendor/sabre/dav/lib/DAV/Server.php(969): Sabre\DAV\Tree->getNodeForPath('.well-known/car...')
#3 baikalpath/vendor/sabre/dav/lib/DAV/Server.php(1654): Sabre\DAV\Server->getPropertiesIteratorForPath('.well-known/car...', Array, 0)
#4 baikalpath/vendor/sabre/dav/lib/DAV/Server.php(1639): Sabre\DAV\Server->writeMultiStatus(Object(Sabre\Xml\Writer), Object(Generator), false)
#5 baikalpath/vendor/sabre/dav/lib/DAV/CorePlugin.php(346): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)
#6 baikalpath/vendor/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 baikalpath/vendor/sabre/dav/lib/DAV/Server.php(470): Sabre\DAV\Server->emit('method:PROPFIND', Array)
#8 baikalpath/vendor/sabre/dav/lib/DAV/Server.php(251): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#9 baikalpath/vendor/sabre/dav/lib/DAV/Server.php(319): Sabre\DAV\Server->start()
#10 baikalpath/Core/Frameworks/Baikal/Core/Server.php(119): Sabre\DAV\Server->exec()
#11 baikalpath/html/dav.php(69): Baikal\Core\Server->start()
#12 {main}

heull001 avatar Jun 02 '20 18:06 heull001

What URL did you enter? What Baikal version do you use? Next time, please fill out the issue template. Having to ask this manually every time takes away development time that could be spent on features and bugfixes.

ByteHamster avatar Jun 02 '20 19:06 ByteHamster

Sorry, I did not know about the template, but I should have known...

Version: 0.7.0, but it happened with 0.6.0 and 0.6.1 too. Domain: domain.tld/dav.php. I tried domain.tld/card.php too, same error. Root of domain.tld is baikalpath/html. I tested setting domain.tld's root to baikalpath and using domain.tld/html/dav.php, same error.

heull001 avatar Jun 03 '20 18:06 heull001

Same here Fresh 0.7.0 install I tried user default also with CardBook, tested digest and basic auth also https://domain.tld/html/dav.php/addressbooks/username/default/

gaborbit avatar Jun 06 '20 21:06 gaborbit

Try https://dav.server.tld/dav.php/principals/[email protected]/

Works on eM Client / iOS / Android

Tntdruid avatar Jun 06 '20 21:06 Tntdruid

this does not work :( https://baikal.myserver.tld/html/dav.php/principals/[email protected]/ Principal with name [email protected] not found

https://baikal.myserver.tld/html/dav.php/principals/[email protected]/ Principal with name [email protected] not found

https://baikal.myserver.tld/html/dav.php/principals/myusername/ [06-Jun-2020 23:26:41 Europe] Sabre\DAV\Exception\NotFound: Node with name .well-known was not found in baikal.myserver.tld/vendor/sabre/dav/lib/CalDAV/Principal/User.php:59 Stack trace: #0 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Tree.php(78): Sabre\CalDAV\Principal\User->getChild('.well-known') #1 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Tree.php(73): Sabre\DAV\Tree->getNodeForPath('principals/gabo...') #2 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(969): Sabre\DAV\Tree->getNodeForPath('principals/gabo...') #3 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(1654): Sabre\DAV\Server->getPropertiesIteratorForPath('principals/gabo...', Array, 0) #4 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(1639): Sabre\DAV\Server->writeMultiStatus(Object(Sabre\Xml\Writer), Object(Generator), false) #5 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/CorePlugin.php(346): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false) #6 baikal.myserver.tld/vendor/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response)) #7 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(470): Sabre\DAV\Server->emit('method:PROPFIND', Array) #8 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(251): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response)) #9 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(319): Sabre\DAV\Server->start() #10 baikal.myserver.tld/Core/Frameworks/Baikal/Core/Server.php(119): Sabre\DAV\Server->exec() #11 baikal.myserver.tld/html/dav.php(69): Baikal\Core\Server->start() #12 {main}

https://baikal.myserver.tld/html/dav.php/addressbooks/myusername/default/ [06-Jun-2020 23:38:41 Europe] Sabre\DAV\Exception\NotFound: Card not found in baikal.myserver.tld/vendor/sabre/dav/lib/CardDAV/AddressBook.php:67 Stack trace: #0 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Tree.php(78): Sabre\CardDAV\AddressBook->getChild('.well-known') #1 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Tree.php(73): Sabre\DAV\Tree->getNodeForPath('addressbooks/ga...') #2 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(969): Sabre\DAV\Tree->getNodeForPath('addressbooks/ga...') #3 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(1654): Sabre\DAV\Server->getPropertiesIteratorForPath('addressbooks/ga...', Array, 0) #4 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(1639): Sabre\DAV\Server->writeMultiStatus(Object(Sabre\Xml\Writer), Object(Generator), false) #5 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/CorePlugin.php(346): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false) #6 baikal.myserver.tld/vendor/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response)) #7 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(470): Sabre\DAV\Server->emit('method:PROPFIND', Array) #8 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(251): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response)) #9 baikal.myserver.tld/vendor/sabre/dav/lib/DAV/Server.php(319): Sabre\DAV\Server->start() #10 baikal.myserver.tld/Core/Frameworks/Baikal/Core/Server.php(119): Sabre\DAV\Server->exec() #11 baikal.myserver.tld/html/dav.php(69): Baikal\Core\Server->start() #12 {main}

gaborbit avatar Jun 06 '20 21:06 gaborbit

Given that this issue is >2 years old, I assume you have either solved it or moved on.

ByteHamster avatar May 18 '23 09:05 ByteHamster