<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Nextcloud calendar sync not working]]></title><description><![CDATA[<p dir="auto">Hello everyone,</p>
<p dir="auto">I am trying to set up my calendar on my UT-Fairphone 4 OTA-2 stable. I have a nextcloud calendar running that syncs with no problems with my thunderbird calendar. But I can't get the calendar to show up on ubuntu touch. My phone and the server are both in the same network.</p>
<p dir="auto">I had a running setup with a different nextcloud server and a Fairphone 2. From that I remember, that I had to use"Genereric CalDAV" instead of "Nextcloud" in the calendar-account settings.</p>
<p dir="auto">I tried the stup with the following URLs already because I think in the past the URL was the problem:<br />
<a href="http://192.168.x.x/remote.php/dav" rel="nofollow ugc">http://192.168.x.x/remote.php/dav</a><br />
<a href="https://192.168.x.x/remote.php/dav" rel="nofollow ugc">https://192.168.x.x/remote.php/dav</a><br />
<a href="http://192.168.x.x/remote.php/dav/calendars/%22Nextcloud-username%22/%22Calendar-name%22" rel="nofollow ugc">http://192.168.x.x/remote.php/dav/calendars/"Nextcloud-username"/"Calendar-name"</a><br />
<a href="https://192.168.x.x/remote.php/dav/calendars/%22Nextcloud-username%22/%22Calendar-name%22" rel="nofollow ugc">https://192.168.x.x/remote.php/dav/calendars/"Nextcloud-username"/"Calendar-name"</a></p>
<p dir="auto">I always get a notification-popup that says that the sync finished. If I use https the popup apperas nearly instantly. If I use http it takes a few minutes. No appointment is shown in the calendar. The CalDAV-account is listed in the phones settings. In the calendar-app overview of calendars my nextcloud-calendar is not listed.</p>
<p dir="auto">Does anyone know what I am doing wrong? I remember that it was a lot of work setting up the calendar on the Fairphone 2 but somehow now I can't get it to work at all with the FP4.</p>
<p dir="auto">Thank you in advance.</p>
]]></description><link>https://forums.ubports.com/topic/9512/nextcloud-calendar-sync-not-working</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 10:32:38 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/9512.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Oct 2023 16:16:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nextcloud calendar sync not working on Sun, 12 Nov 2023 19:04:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/fairose" aria-label="Profile: fairose">@<bdi>fairose</bdi></a>,</p>
<p dir="auto">I still use the way mentioned in my post from almost 5 years ago. It gets overwritten from time to time, but I just re-run the commands to trust my cert again.</p>
<p dir="auto">I think I changed <code>.pem</code> to <code>.crt</code>, but otherwise it is in <code>/usr/share/ca-certificates/certificate.crt</code> (filename doesn't really matter).</p>
<p dir="auto">I don't know why are you getting the error, but I guess there is a problem with some certificate you put in there.</p>
]]></description><link>https://forums.ubports.com/post/76694</link><guid isPermaLink="true">https://forums.ubports.com/post/76694</guid><dc:creator><![CDATA[zlamalp]]></dc:creator><pubDate>Sun, 12 Nov 2023 19:04:23 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud calendar sync not working on Sat, 04 Nov 2023 20:07:38 GMT]]></title><description><![CDATA[<p dir="auto">I tryed using this way, DO NOT TRY YOURSELF, I MAY HAVE DAMAGED MY INSTALLATION:</p>
<pre><code># make the root file system writable
sudo mount -o remount,rw /
# copy certificate
cp /home/.../nextcloud.pem /usr/share/ca-certificates
# run this command
dpkg-reconfigure ca-certificates
</code></pre>
<p dir="auto">I tinkered around a little bit and moved the certificate between <code>/usr/share/ca-certificates</code> and <code>/usr/share/ca-certificates/mozilla</code>. I also renamed it "nextcloud.pem", "cert.pem" or "nextcloud.crt".</p>
<p dir="auto">After the <code>dpkg-reconfigure ca-certificates</code> there is a question shown if I want to trust the new certificates. The answer-options are "yes", "no" and "ask". I ran the command multiple times. Sometimes I choose "yes", sometimes "ask". The next page shows a list with all the certificates. Unfortunatly the screen is croped and I can't read all the text. But I can select my new certificate.</p>
<p dir="auto">I tryed navigating to <a href="https://192.168.x.x:1234" rel="nofollow ugc">https://192.168.x.x:1234</a> (my nextcloud instance) in the morph-browser to check if there is a warning about an untrusted certificate. Unfortunatly there still is. And additionally <code>sudo dpkg-reconfigure ca-certificates</code> now shows the error message <code>/usr/sbin/dpkg-reconfigure: ca-certificates is broken or not fully installed</code> and exits after the error.</p>
<p dir="auto">I am not sure where I went wrong with my tinkering. Any Ideas of how to repair the damage in the <code>sudo dpkg-reconfigure ca-certificates</code>?</p>
]]></description><link>https://forums.ubports.com/post/76547</link><guid isPermaLink="true">https://forums.ubports.com/post/76547</guid><dc:creator><![CDATA[fairose]]></dc:creator><pubDate>Sat, 04 Nov 2023 20:07:38 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud calendar sync not working on Sat, 04 Nov 2023 13:07:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arubislander" aria-label="Profile: arubislander">@<bdi>arubislander</bdi></a> That my be the problem.</p>
<p dir="auto">Is there a way to trust a certificate in UT? I found ths 4 years old thread:<br />
<a href="https://forums.ubports.com/post/16216">https://forums.ubports.com/post/16216</a><br />
Is there a better way of trusting a certificate by now? Or could I use a trusted certificate on my local server?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zlamalp" aria-label="Profile: zlamalp">@<bdi>zlamalp</bdi></a> Did you have any trouble with your method of trusting the certificate of your nextcloud server?</p>
]]></description><link>https://forums.ubports.com/post/76539</link><guid isPermaLink="true">https://forums.ubports.com/post/76539</guid><dc:creator><![CDATA[fairose]]></dc:creator><pubDate>Sat, 04 Nov 2023 13:07:42 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud calendar sync not working on Wed, 01 Nov 2023 20:52:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fairose" aria-label="Profile: fairose">@<bdi>fairose</bdi></a> said in <a href="/post/76486">Nextcloud calendar sync not working</a>:</p>
<blockquote>
<p dir="auto">Are there any known issues with CalDAV and https on UT?</p>
</blockquote>
<p dir="auto">Not specifically. But it is know that UT does not trust self signed certificates.</p>
]]></description><link>https://forums.ubports.com/post/76487</link><guid isPermaLink="true">https://forums.ubports.com/post/76487</guid><dc:creator><![CDATA[arubislander]]></dc:creator><pubDate>Wed, 01 Nov 2023 20:52:01 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud calendar sync not working on Wed, 01 Nov 2023 20:07:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thebird" aria-label="Profile: TheBird">@<bdi>TheBird</bdi></a> Thank you for your answer. Good to know that the deprecation warning does not matter.</p>
<p dir="auto">If I type <a href="http://192.168.x.x" rel="nofollow ugc">http://192.168.x.x</a> in my browser I get "Error: net::ERR_CONNECTION_REFUSED". <a href="https://192.168.x.x" rel="nofollow ugc">https://192.168.x.x</a> leads me to the nextcloud login page. So I think 192.168.x.x is my "base url". I now tried ownCloud, Nextcloud and Generic CalDAV with <a href="http://192.168.x.x" rel="nofollow ugc">http://192.168.x.x</a> and <a href="https://192.168.x.x" rel="nofollow ugc">https://192.168.x.x</a>. If I choose ownCloud or Nextcloud I get an error saying that the host-URL is invalid and I can't create the account at all. With Generic CalDAV I can create the account but the calender does not sync.</p>
<p dir="auto">I synced my new phone with my old nextcloud server. I noticed that my old nextcloud server is reachable through http and https while my new one is only reachable via https. I am only in my local network so https is not that important. Are there any known issues with CalDAV and https on UT?</p>
]]></description><link>https://forums.ubports.com/post/76486</link><guid isPermaLink="true">https://forums.ubports.com/post/76486</guid><dc:creator><![CDATA[fairose]]></dc:creator><pubDate>Wed, 01 Nov 2023 20:07:08 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud calendar sync not working on Wed, 01 Nov 2023 09:06:31 GMT]]></title><description><![CDATA[<p dir="auto">Nextcloud (I have Owncloud) sync is working correctly with my phone and server. When I do <code> account-console show x</code> I get the same "DeprecationWarning". So this will not be your problem.</p>
<p dir="auto">But I see another difference in the output.</p>
<p dir="auto">host: <a href="https://owncloud.domain-name.eu" rel="nofollow ugc">https://owncloud.domain-name.eu</a><br />
name: <a href="mailto:nextclouduser-name@owncloud.domain-name.eu" rel="nofollow ugc">nextclouduser-name@owncloud.domain-name.eu</a></p>
<p dir="auto">So I think you should only give the base url when you add the nextcloud account in accounts. Could this be your problem?</p>
<p dir="auto">Oh, and I choose Owncloud, not generic. So that could be why these lines are different.</p>
]]></description><link>https://forums.ubports.com/post/76478</link><guid isPermaLink="true">https://forums.ubports.com/post/76478</guid><dc:creator><![CDATA[TheBird]]></dc:creator><pubDate>Wed, 01 Nov 2023 09:06:31 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud calendar sync not working on Tue, 31 Oct 2023 22:51:33 GMT]]></title><description><![CDATA[<p dir="auto">Additional info:</p>
<p dir="auto">With the command <code>account-console list</code> I can find out the id of the currently existing account (28). If I type <code>account-console show 28</code> into the terminal I get the following text:</p>
<blockquote>
<p dir="auto">account: id 28, enabled, provider: generic-caldav<br />
Global settings:<br />
/usr/bin/account-console:244: DeprecationWarning: Accounts.AccountSettingIter.next is deprecated<br />
(ok, key, value) = iterator.next()<br />
CredentialsId: 28 (&lt;class 'int'&gt;)<br />
auth/mechanism: password (&lt;class 'str'&gt;)<br />
auth/method: password (&lt;class 'str'&gt;)<br />
enabled: True (&lt;class 'bool'&gt;)<br />
host: <a href="http://192.168.x.x/remote.php/dav/calendars/%22Nextloud-username%22/%22Calendar-name%22" rel="nofollow ugc">http://192.168.x.x/remote.php/dav/calendars/"Nextloud-username"/"Calendar-name"</a> (&lt;class 'str'&gt;)<br />
name: "Nextcloud-username"@192.168.x.x/remote.php/dav/calendars/"Nextloud-username"/"Calendar-name" (&lt;class 'str'&gt;)</p>
</blockquote>
<p dir="auto">What does this deprecation warning mean?</p>
]]></description><link>https://forums.ubports.com/post/76468</link><guid isPermaLink="true">https://forums.ubports.com/post/76468</guid><dc:creator><![CDATA[fairose]]></dc:creator><pubDate>Tue, 31 Oct 2023 22:51:33 GMT</pubDate></item></channel></rss>