Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Adressbook in Carddav doesn't work #926

Closed
heull001 opened this issue Jun 2, 2020 · 6 comments
Closed

Adding Adressbook in Carddav doesn't work #926

heull001 opened this issue Jun 2, 2020 · 6 comments

Comments

@heull001
Copy link

heull001 commented Jun 2, 2020

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}
@ByteHamster
Copy link
Member

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.

@heull001
Copy link
Author

heull001 commented Jun 3, 2020

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 heull001 closed this as completed Jun 3, 2020
@heull001 heull001 reopened this Jun 3, 2020
@gaborbit
Copy link

gaborbit commented Jun 6, 2020

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/

@Tntdruid
Copy link

Tntdruid commented Jun 6, 2020

Try https://dav.server.tld/dav.php/principals/me@server.tld/

Works on eM Client / iOS / Android

@gaborbit
Copy link

gaborbit commented Jun 6, 2020

this does not work :(
https://baikal.myserver.tld/html/dav.php/principals/myusername@myserver.tld/
Principal with name myusername@myserver.tld not found

https://baikal.myserver.tld/html/dav.php/principals/myusername@baikal.myserver.tld/
Principal with name myusername@baikal.myserver.tld 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}

@ByteHamster
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants