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

Help with Nextcloud contacts integration #1083

Closed
tilkov opened this issue Apr 13, 2023 · 3 comments
Closed

Help with Nextcloud contacts integration #1083

tilkov opened this issue Apr 13, 2023 · 3 comments
Labels
bug Something isn't working Nextcloud

Comments

@tilkov
Copy link

tilkov commented Apr 13, 2023

Describe the bug
Nextcloud contacts synchronization does not work on my installation. If I put the full URL (including domain) in Addressbook URL and type my password in the Password field, sync starts working

To Reproduce
Steps to reproduce the behavior:

  1. Observe Contacts being empty
  2. Start Sychronization from the menu - an error appears: Contacts synchronization error
  3. Go to Setting -> Contacts,
  4. Replace the path "/remote.php/dav/..." with the full address "https://my.domain.com/remote.php/dav/..."
  5. Full my acccount password in the Password field
  6. Go to Contacts, start Synchronization - works

Expected behavior
Nextcloud contacts sync should work out of the box without manual settings for every user.

Screenshots
snappy

Please complete the following information:

  • Browser: Chromium 112
  • IMAP daemon: dovecot
  • PHP version: 8.1.2-1ubuntu2.11
  • SnappyMail Version: 2.27.3, nextcloud plugin 2.27.3
  • Mode: nextcloud

Debug/logging information
DAV[WARNING]: No user credentials set
DAV[INFO]: DavClient: User: 309C711C-28F1-449F-9175-2C3B08B0222D, Url: https:///remote.php/dav/addressbooks/users/309C711C-28F1-449F-9175-2C3B08B0222D/contacts/
PROPFIND http://localhost/.well-known/carddav
DAV[DEBUG]: PROPFIND http://localhost/ - 405 Method Not Allowed
DAV[INFO]: Contacts path not found at: /
PdoAddressBook[WARNING]: Sync() invalid DavClient
JSON[INFO]: {"Action":"ContactsSync","Result":false,"ErrorCode":140,"ErrorMessage":"","ErrorMessageAdditional":"AddressBookProvider->Sync() failed","epoch":1681367442}

Additional context
Nextcloud authenticating agains Active Directory. It is not possible to set manually the sync settings for every user.

Thanks in advance!

@cm-schl
Copy link

cm-schl commented Apr 13, 2023

I think what you're looking for would be the Nextcloud Plugin of SnappyMail: #569
At the moment it is only possible to read the contacts of Nextcloud but saving contacts is not possible at the time.

@the-djmaze the-djmaze added bug Something isn't working Nextcloud labels Apr 13, 2023
@tilkov
Copy link
Author

tilkov commented Apr 18, 2023

I am aware that saving contacts does not work, but in my case i cannot read them as well (until I fill the full URL and the account password in Remote synchronization).

Is this a limitation, by design, or a problem on my side?

@cm-schl
Copy link

cm-schl commented Apr 18, 2023

Maybe it's only a thing where you're looking for the contacts: the Nextcloud integration of SnappyMail makes it possible to search for mail recipients when typing their name inside the To: field but does not show the addresses inside Nextcloud Contacts in the SnappyMail Contacts. In theory you could also deactivate the address book of SnappyMail and nevertheless could see the contacts inside the Nextcloud Contacts app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Nextcloud
Projects
None yet
Development

No branches or pull requests

3 participants