Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/homaneeg/public_html/textpattern/lib/constants.php on line 136
https://textpattern.com/?v=4.7.3 homan.ee https://homan.ee/ Erwin's Blog Mon, 23 Sep 2019 11:49:16 GMT Agenda synchroniseren op iPhone: iOS instellingen voor Baïkal (CalDAV) , certificaten Aan het eind va 2018 kreeg mijn iPhone problemen met het synchroniseren van de agenda met Baïkal. Het automatisch synchroniseren op de achtergrond leek niet meer te werken.

Door een paar Baïkal account-instellingen op de iPhone aan te passen, kon ik de synchronisatie weer werkend krijgen. Eerst maakte ik de Baïkal-instellingen op de iPhone ongeldig en sloeg ze op. Daarna terugveranderen in de juiste instellingen. Hierdoor gaat de iPhone de hele agenda opnieuw synhroniseren.

Uit wat zoekwerk bleek dat iOS vermoedelijk weigert om (herhaald) te synchroniseren met een “self-signed” certificaat op de Baïkal-server. Er worden geen foutmeldingen getoond. Andere iOS-gebruikers met vergelijkbare problemen meldden dit op discussiefora.

Verder onderzoek leidde me naar LetsEncrypt. Voor mijn server-setup bestaat een script voor het gebruik van Certbot, een tool waarmee genereren en installeren van LetsEncrypt-certificaten grotendeels automatisch verloopt. Dat werkte prima. De Baïkal-server heeft nu een “echt” certificaat, en automatische synchronisatie van de agenda werkt nu weer op iOS.

]]>
https://homan.ee/nl/agenda-synchroniseren-op-iphone-ios-instellingen-voor-baikal-caldav-certificaten Mon, 23 Sep 2019 11:49:46 GMT Erwin Homan tag:homan.ee,2019-09-23:852e2b43ac6f08113cd04ab7bed92889/db0e572d79268b5a37ea423a8c89ce19
iPhone calendar synchronization: iOS settings for Baïkal (CalDAV), certificates Somewhere at the end of 2018, the Baïkal calendar synchronization on my iPhone started to show some problems. Continuous synchronization in the background did not seem to work.

By changing some of the Baïkal account settings on the iPhone, the synchronization could be made to work again. Intentionally, I create invalid settings, let the validation pass and save the settings. Then, I restore the original, correct settings again. As a result, the iPhone starts a full synchronization, which takes a few minutes in my case.

Further analysis showed that probably iOS does not like to synchronize using a self-signed certificate on the Baïkal-server. There is no error reported. Other users with comparable issues have reported this in discussion groups.

Some research led me to trying LetsEncrypt. For my server setup, there is a script available for using Certbot, a tool that automates issuing and installation of LetsEncrypt-certificates. Worked like a charm. The Baïkal-server now uses a real certificate and iOS synchronization works again.

]]>
https://homan.ee/en/iphone-calendar-synchronization-ios-settings-for-baikal-caldav-certificates Mon, 23 Sep 2019 11:49:10 GMT Erwin Homan tag:homan.ee,2019-09-23:852e2b43ac6f08113cd04ab7bed92889/2da68b0f86a52746f3fe34a5dc3aeaca
SQL - Berekening datum van de eerste dag van de week (ISO 8601) Berekeningen met datum-waarden in selecties op de database zijn lastig. Voor aggregatie naar weeknummers, waren we op zoek naar een manier om de datum van de eerste dag van de week te berekenen, uitgaande van een willekeurige datum en op basis van ISO 8601 weeknummers.

]]>
https://homan.ee/nl/sql-berekening-datum-van-de-eerste-dag-van-de-week-iso-8601 Tue, 17 Oct 2017 14:50:21 GMT Erwin Homan tag:homan.ee,2017-10-17:852e2b43ac6f08113cd04ab7bed92889/17c757d36405e230a6945599672f056d
SQL - Calculation of the date of the first day of the week (ISO 8601) Calculations involving dates in database selections can cause headaches. For aggregation into “week buckets”, we were looking for a way to calculate the date of the first day of the week, given an arbitrary date and using the ISO 8601 definiton of a week.

]]>
https://homan.ee/en/sql-calculation-of-the-date-of-the-first-day-of-the-week-iso-8601 Tue, 17 Oct 2017 14:37:01 GMT Erwin Homan tag:homan.ee,2017-10-17:852e2b43ac6f08113cd04ab7bed92889/243bf878796154668c76ec6be34e7e9f
iPhone calendar synchronization: iOS settings for Baïkal (CalDAV) For synchronization of contacts and calendar on iOS using a Baïkal-server running on Nginx:
  • The redirect rules (for iOS) must be correctly applied in Nginx, so in its base configuration.
  • The url’s that must be entered into iOS for connecting with Baïkal are different from what other Baïkal-clients use.

]]>
https://homan.ee/en/iphone-calendar-synchronization-ios-settings-for-baikal-caldav Tue, 04 Jul 2017 12:49:51 GMT Erwin Homan tag:homan.ee,2017-07-04:852e2b43ac6f08113cd04ab7bed92889/c09d46dfa9e3dabdf23b13d2e4dd8be3