Baikal icon indicating copy to clipboard operation
Baikal copied to clipboard

Syncing Baikal Calendar with iOS

Open rschildt86 opened this issue 6 years ago • 29 comments

Hello, first of all, I love using Baikal.

Right now I sync my Contacts between my iPad/iPhone and Outlook (caldavsyncronizer). This works perfect. However I now started using Calendars. Calenders work with Outlook (caldavsyncronizer) but not with iOS.

I tried the following Links:

mydomain.de/Baikal/html/cal.php/ mydomain.de/Baikal/html/cal.php/myusername/calendername mydomain.de/Baikal/html/cal.php/principals/myusername/calendername mydomain.de/Baikal/html/cal.php/principals/myusername

mydomain.de/Baikal/html/dav.php/ mydomain.de/Baikal/html/dav.php/myusername/calendername mydomain.de/Baikal/html/dav.php/principals/myusername/calendername mydomain.de/Baikal/html/dav.php/principals/myusername

what am I doing wrong? How can i make the Calendar to shop up in iOS?

thanks!

rschildt86 avatar Jun 09 '18 19:06 rschildt86

anyone who can hep me? I have the latest update release installed.

rschildt86 avatar Jun 10 '18 11:06 rschildt86

I'm running 0.4.5 and I don't know if there have been any changes since then. I'm running Baikal on a Synology NAS with Apache 2.2 and PHP 5.6. I configured calendar and contacts just fine on iOS 11.2.6 using the same URL for CalDAV and CardDAV (../dav.php/principals/myusername).

Do you see your calendars as nodes when accessing yourdomain.de/Baikal/html/dav.php/calendars/myusername/ in a browser?

marcelbrueckner avatar Jun 10 '18 11:06 marcelbrueckner

Hello Marcelbrueckner, no i just see a 404 error page of the betheme that runs the website on the maindomain.

rschildt86 avatar Jun 10 '18 12:06 rschildt86

strangely enough the contacts are working though

rschildt86 avatar Jun 10 '18 12:06 rschildt86

How's your webserver (Apache, nginx) serving Baikal configured? Can you access mydomain.de/Baikal/html/dav.php/principals/myusername? Whats the value of the cal:calendar-home-set property? Do you have CalDAV enabled in the admin settings?

I've never faced such an error so it's hard for me to diagnose as I'm just an user but no dev of Baikal.

marcelbrueckner avatar Jun 10 '18 12:06 marcelbrueckner

well I host Baikal on a One.com webspace runinng the latest PHP and a mysql database.

mydomain.de//baikal/html/ gives a message "Baikal is running allright" mydomain.de//baikal/html/admin/ is my admin gui.

I now checked the URL used by caldavsyncronizer for outlook: mydomain.de/baikal/html/card.php/calendars/myusername/calendar/

than i see Nodes after loggin in

rschildt86 avatar Jun 10 '18 12:06 rschildt86

Right now I sync my Contacts between my iPad/iPhone and Outlook (caldavsyncronizer).

Did it happen that you disabled/unchecked overall calendar support in Baikal admin > settings page? Do you have an default calendar set up for your account?

I now checked the URL used by caldavsyncronizer for outlook: mydomain.de/baikal/html/card.php/calendars/myusername/calendar/

In your first post you wrote "Baikal" (uppercase B) in your URL. The URL may be case sensitive.

marcelbrueckner avatar Jun 11 '18 10:06 marcelbrueckner

we had also a problem with calendar sync and ios. the sync with outlook/mac/android works without problems but ios not, sometimes some appointments appears but not all.

we found special unicode chars in our note files - we had to clean up these chars and after that, all appointments get synced

swASO avatar Jul 24 '18 07:07 swASO

I also have error when try to sync Baikal with iphone SE

Baïkal 0.4.6 Web admin | On CalDAV | On CardDAV | On

Apple iPhone SE Official firmware 12.0

cardDAV works well calDAV is not working!!!

When try to create contacts account I put this address http://dav.myserver.ru/card.php/addressbooks/mybook/default/ Then when I check created account it is automatically changed to http://dav.myserver.ru/card.php/principals/mybook/

When try to create calendar account I put this address http://dav.myserver.ru/cal.php/calendars/mycalendar/default/ or http://dav.myserver.ru/cal.php/principals/mycalendar/

I got error - caldav validation failed.

And with Android everything works well using OpenSync app.

schel4ok avatar Oct 02 '18 07:10 schel4ok

As of iOS 12 you need to use https. It will not send any credentials over http

Tntdruid avatar Oct 02 '18 18:10 Tntdruid

I could understand that if both not working. But why cardDAV works without https?

schel4ok avatar Oct 02 '18 18:10 schel4ok

Hi - I tried it today with an iPad and iOS 12.x The SOLUTION:

The URL has a "double-/". And you can use "http://"

Use the following URL: http://your.server.tld//dav.php/principals/yourname

You can even use https:// but be sure to use // (double-slash) before "dav.php"

You can check it out if you open your Bailkal from your browser. The URL you see there is the URL you must use with iOS

kuerbis42 avatar Jan 04 '19 09:01 kuerbis42

Today I installed Letsencrypt certificate on my server and tried with SSL. There was one step forward - without SSL iphone didn't allow to create calDAV account, now I created one. But anyway I cannot see calendar events on iphone. So in reality problems still not solved. I can see calDAV events on Android, but cannot see on iphone.

schel4ok avatar Jan 05 '19 10:01 schel4ok

I Have the same problem, PHP 7.2.18, Baikal 0.5.3 Syncing calendars between mac is ok but not with iOS

Please any help ?

Cheers

tchek avatar May 13 '19 18:05 tchek

Are you using HTTPS and not a self-signed certificate?

evert avatar May 13 '19 18:05 evert

evert,

Yes i use HTTPS (but not on mysql, Apache is in https)

https://www.mydomain.com/baikal/html/dav.php/principals/myusername

it work but it take a VERY VERY long time to Syncing, and not sure of the reliability ( It is instantaneous between 3 mac)

and same issue with CARD DAV

tchek avatar May 13 '19 18:05 tchek

Hi, I have also an issue with IOS and baikal 0.5.3 on apache with php 7.3.5. WebGUI of baikal works, also I can access the admin Interface.

But when I add the CalDAV calender to the Ipad (which runs without errors), I see no calenders on Ipad an the apache logs says:

95.222.x.y - - [23/May/2019:22:52:12 +0200] "PROPFIND /dav.php/principals/uid/ HTTP/1.1" 401 5329 "-" "iOS/12.2 (16E227) dataaccessd/1.0" 95.222.x.y - - [23/May/2019:22:52:13 +0200] "PROPFIND /dav.php/principals/uid/ HTTP/1.1" 207 2896 "-" "iOS/12.2 (16E227) dataaccessd/1.0" 95.222.x.y - - [23/May/2019:22:52:13 +0200] "OPTIONS /dav.php/principals/uid/ HTTP/1.1" 200 809 "-" "iOS/12.2 (16E227) dataaccessd/1.0" 95.222.x.y - - [23/May/2019:22:52:13 +0200] "REPORT /dav.php/principals/ HTTP/1.1" 200 822 "-" "iOS/12.2 (16E227) dataaccessd/1.0" 95.222.x.y - - [23/May/2019:22:52:13 +0200] "PROPFIND /dav.php/calendars/uid/ HTTP/1.1" 500 1042 "-" "iOS/12.2 (16E227) dataaccessd/1.0"

But no Calender and no Entries are seen. Whats wrong here?

Then I try to access the URL "https://cal.domain.tld/dav.php/principals/uid/" with Firefox. I need to log in and get the following: <d:error><s:sabredav-version>3.2.2</s:sabredav-version><s:exception>PDOException</s:exception><s:message>SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'displayname' in field list is ambiguous</s:message></d:error>

tbals avatar May 23 '19 21:05 tbals

Baikal 0.5.3 on apache with php 7.3.5 OR php 7.2 simply do not work on iOS

tchek avatar May 23 '19 21:05 tchek

Sadly I am having the same issue with baikal 0.7.2 and iOS 14. I checked the logs and I have not found any issue! Works with macos catalina

ghost avatar Jan 25 '21 02:01 ghost

For all people experiencing it, this closed issue answer worked for me to set the iOS cal https://github.com/sabre-io/Baikal/issues/1030#issuecomment-787100536

ThibaultNocchi avatar May 12 '21 06:05 ThibaultNocchi

Hi - I tried it today with an iPad and iOS 12.x The SOLUTION:

The URL has a "double-/". And you can use "http://"

Use the following URL: http://your.server.tld//dav.php/principals/yourname

You can even use https:// but be sure to use // (double-slash) before "dav.php"

You can check it out if you open your Bailkal from your browser. The URL you see there is the URL you must use with iOS

kuerbis42 🥇 I have absolutely no idea how on earth you managed to figure this out ... your solution is so counter intuitive, but you are right: this actually works. And I am on IOS 16.3 and we are writing 2023

OldSmurf56 avatar Feb 12 '23 13:02 OldSmurf56

Just getting up on Baikal today.

A question: I have a CalDAV account set up in Calendar and the calendars I have show in the side bar, but the calendars are not populating on the screen...is there something I need to do here?

Can't find an install manual anywhere for how to set up on the Apple side of things.

Thanks.

MediaStudies avatar Feb 14 '23 05:02 MediaStudies

I was have significant issues syncing my calendar (which is static. Family bdays/anniversaries...et al, it seems to work right away but i'm not sure since I dont make regular updates due to content). But even just importing virgin copies of contacts brutally painful. What worked for me is exporting contacts to VCF onto my phone. and importing directly via phone. Then 100% cards were imported instead of arbitrary amount that never synced. So far new adds (via phone seem to sync rather immediately) When I tried all that via Thunderbird it was not successful/reliable.

vulcanjedi avatar Mar 25 '23 04:03 vulcanjedi

Install became too problematic for me without support. I switched to NextCloud. Relatively simple (guided) setup, lots of community support and Mac OS friendly. No regrets, only pluses.

MediaStudies avatar Mar 25 '23 05:03 MediaStudies

Same experience here. I can add the account/server fine in Calendar Settings in iOS. I use https://mydomain.tdl/dav.php/calendars/user/default/ as given by baikal. In the iOS Calendar app the error "Unable to update calendars" shows :( Works perfectly in Thunderbird.

mattcd216 avatar Dec 09 '23 11:12 mattcd216

I'm using https://mydomain.tld/dav.php/principals/user as URL for both, calendar and contacts, on latest iOS (17.2.1) and macOS Sonoma (14.1.2) without any issues.

marcelbrueckner avatar Dec 09 '23 13:12 marcelbrueckner

Hi - I tried it today with an iPad and iOS 12.x The SOLUTION:

The URL has a "double-/". And you can use "http://"

Use the following URL: http://your.server.tld//dav.php/principals/yourname

You can even use https:// but be sure to use // (double-slash) before "dav.php"

You can check it out if you open your Bailkal from your browser. The URL you see there is the URL you must use with iOS

iOS 15.7.1, confirmed that this works, use double dash before "dav.php":

https://domain.com//dav.php/principals/yourbaikaluser

Cereal-Killa avatar Feb 07 '24 10:02 Cereal-Killa