Anleitung MailStation carddav Plugin aktivieren.

Status
Für weitere Antworten geschlossen.

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
Yes, the plugin replaces %u by the Roundcube username

/Erik
 

luddi

Benutzer
Sehr erfahren
Mitglied seit
05. Sep 2012
Beiträge
3.259
Punkte für Reaktionen
601
Punkte
174
Ok, understood. But then, that would´t work at my environment. Although I´m using the same user for roundcube and owncloud, but different passwords.

luddi
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
Roundcube password is also passed automagically :)
So the idea is that in case you are happy with the default addressbook, there is nothing to be configured in the Settings.
This should work for any Roundcube user with any password, under the condition that the username/password on Roundcube is the same as on the CardDAV server.

/Erik
 

luddi

Benutzer
Sehr erfahren
Mitglied seit
05. Sep 2012
Beiträge
3.259
Punkte für Reaktionen
601
Punkte
174
Ok, good to know. :)
That´s definitely a nice idea assuming that username/password on both systems (roundcube and CardDAV server) are exactly the same.

luddi
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
Uploaded beta version 0.9.1 with updated URLs.
Now it should work out-of-the-box for Synology and ownCloud CardDAV servers.

Only tested on Baikal, any feedback is more than welcome !

/Erik
 

luddi

Benutzer
Sehr erfahren
Mitglied seit
05. Sep 2012
Beiträge
3.259
Punkte für Reaktionen
601
Punkte
174
Hi Erik,

I just downloaded the new released beta version of the package and installed it. The update succeeded and the before created addressbook remained also after the update. Everything went fine.

Many thanks for creating and publishing the package! :)

luddi
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
Hi Luddi,

Good to hear it is working properly for you with ownCloud.

Best regards,
Erik.
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
Anyone who has tried (or is willing to try) the package with the standard Synology CardDAV Server?

Erik
 

luddi

Benutzer
Sehr erfahren
Mitglied seit
05. Sep 2012
Beiträge
3.259
Punkte für Reaktionen
601
Punkte
174
Hi Erik,

today I have taken the time to try it with the Synology CardDAV Server.

Here are the results summarized:

  1. System: DSM 5.0-4528 Update 2
  2. removed the Mail Station from DSM to get a clean environment. (to remove /var/packages/MailStation/ and begin with a new installation)
  3. reinstalled the Mail Station
  4. installed the Synology CardDAV Server via package center 5.2.0-0021 (dependency needed: python 2.7.8-0049 installed from inside the package center)
  5. configured https (set checkbox for https) with the default port '8443'
  6. connected to the Synology CardDAV account inside the Mac OS X (10.9) 'Addressbook' application. (with success)
  7. created a test vcard "Max Mustermann" with the Mac OS Addressbook on the Synology CardDAV server. (also without error or warning)
  8. installed the 'mailstation_CardDAV-0.9.1.spk' plugin
  9. checked Synology ('https://localhost:8443/addressbooks/users/%u/addressbook/') during installation process
  10. seemed that everything went fine (no error message appeared)
  11. logged in into MailStation with the same user created the test vcard (to check if the before created vcard from step #7 is available)
  12. clicked 'Addressbook' --> but now only the 'personal addressbook' (the local default one from roundcube) was available.
  13. the expected Synology CardDAV addressbook didn´t appeared.
  14. when trying to set up the Synology CardDAV addressbook manually at "Settings --> CardDAV" and type the given URL "https://localhost:8443/addressbooks/users/%u/addressbook/" it throws an error message (No addressbook found)
  15. it also trows the same error when replacing the %u parameter with the origin USER name "https://localhost:8443/addressbooks/users/<USER>/addressbook/"


Best Regards and a merry X-mas
luddi
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
Hi Luddi,

Thanks for testing :)

Don't know why https is not working, but reverted Synology CardDAV to http://localhost:8008:/... and this works fine for me.

I uploaded version 0.9.2, maybe you can retest please, by
- deinstall Mail Station CardDAV, select "Remove data" (just the cached contacts and previous settings will be removed)
- deinstall Synology CardDAV Server, select "Remove data" => ONLY if it contains just some test data !!
- install Synology CardDAV Server again (don't care what you do with https)
- install Mail Station CardDAV, select "Synology CardDAV Server"
- login to Mail Station, go to Addressbook, you should see the "CardDAV" addressbook
- add a test contact to it

Thanks in advance, and a merry Xmas,

Erik
 

luddi

Benutzer
Sehr erfahren
Mitglied seit
05. Sep 2012
Beiträge
3.259
Punkte für Reaktionen
601
Punkte
174
Hi Erik,

no problem. I´m very interested in testing your package. :)

I have done exactly the steps you have described (also with deleting all data - because only test data contained)
But nevertheless, the addressbook do not appear inside the "Addressbook" section in roundcube after the login. When trying to configure manually with 'http://localhost:8008/.../<USER>/...' the same error message as before will thrown (No addressbook found).

luddi
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
You did try the new 0.9.2 version ?

This is how it looks in my Roundcube Settings
Synology CardDAV settings.png
 
Zuletzt bearbeitet:

luddi

Benutzer
Sehr erfahren
Mitglied seit
05. Sep 2012
Beiträge
3.259
Punkte für Reaktionen
601
Punkte
174
Yes of course!
And during the installation I have observed that you have changed the default Synology URL from 'https://localhost:8443/...' to 'http://localhost:8008/...' when asked to select the CardDAV location.

I don´t know what went wrong on my environment.

luddi
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
1) Did you try again if you can access the Synology CardDAV on your Mac ?

2) What happens if you open the CardDAV link with a browser on your Mac or PC:
http://<YourSyno>:8008/addressbooks/users/<NAME>/addressbook/
Here I get a nice page with "Collection Listing" and "Properties" containing a lot of XML data.

Erik.
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
1) Did you try again if you can access the Synology CardDAV on your Mac ?

2) What happens if you open the CardDAV link with a browser on your Mac or PC:
http://<YourSyno>:8008/addressbooks/users/<NAME>/addressbook/
Here I get a nice page with "Collection Listing" and "Properties" containing a lot of XML data.

3) Your Synology firewall is open for 8008 and 8443 ?

Erik.
 

luddi

Benutzer
Sehr erfahren
Mitglied seit
05. Sep 2012
Beiträge
3.259
Punkte für Reaktionen
601
Punkte
174
1) Did you try again if you can access the Synology CardDAV on your Mac ?
Yes, with success via Port 8008.

2) What happens if you open the CardDAV link with a browser on your Mac or PC:
http://<YourSyno>:8008/addressbooks/users/<NAME>/addressbook/
Here I get a nice page with "Collection Listing" and "Properties" containing a lot of XML data.
I do not checked this. And meanwhile I have uninstalled the packages again. But I will try it soon and let you know.

3) Your Synology firewall is open for 8008 and 8443 ?
Should be open. I have defined a "allow" rule for any port and application at the complete local area network.
But I can also try to create a rule espacially for this application and ports.

luddi
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
Yes, with success via Port 8008.
[...]Should be open. I have defined a "allow" rule for any port and application at the complete local area network.
But I can also try to create a rule espacially for this application and ports.

If it works from your Mac with 8008, it should also work from internal (localhost).
 

luddi

Benutzer
Sehr erfahren
Mitglied seit
05. Sep 2012
Beiträge
3.259
Punkte für Reaktionen
601
Punkte
174
Yes, you are right. That was also my expectation!

Now I have new results and good news. :)

I have created a new test user on my system (new DSM user) and installed all packages again.
After finishing the installation I logged in into the roundcube with the new created user (in this case "user3000") and the CardDAV book appeared immediately.

Attached the picture of the CardDAV (preset) configuration.

roundube_carddav_test_user.png

But with the existing user "admin" and with my other default user account of DSM it did not work properly. I don't know what´s wrong at my environment.

Best regards,
luddi
 

Basalt

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
255
Punkte für Reaktionen
0
Punkte
0
[...]But with the existing user "admin" and with my other default user account of DSM it did not work properly. I don't know what´s wrong at my environment.
Beats me...
Maybe some strange setting in Roundcube for these 2 users?
E.g. something weird in: Roundcube->Settings->Addressbook->default addressbook?

Added:
What if you switch to using ownCloud, and then back to Synology CardDAV?
 
Zuletzt bearbeitet:

luddi

Benutzer
Sehr erfahren
Mitglied seit
05. Sep 2012
Beiträge
3.259
Punkte für Reaktionen
601
Punkte
174
I dont´t know whats wrong with those 2 users...

There is no possibility to switch to ownCloud and then back to Synology CardDAV, because there is only the 'personal addressbook' available in the settings for the default addressbook.

roundcube_settings_addressbok.jpg

luddi
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat