Nextcloud version: 12.0
Operating system and version: iOS 10.3.1
I have this simple problem, but I don’t know where to start to debug it: on an instance of NextCloud with 5 calendars, 2 of them don’t get synced on iOS. They appear in the list of calendars on the iPhone, but events on this calendar don’t show up. It is not related to their shared status (one is shared, one is not, and other working calendars are either shared or not).
I have no clue if it is related, but I noticed the discrepancy after I switched to HTTPS… I have already deleted the account altogether on the iPhone to start from scratch, and updated to NextCloud 12.0 to see if it would make any difference, to no avail.
Any idea where I could start to fix this issue?
Note that all calendars are working without any problem in the Calendar app as well as on Thunderbird/Lightning, so it might be an iOS issue, not a NextCloud issue. Still, I’d be happy to have pointers to resolve the issue.
on port 443 (my server is secured, with a certificate).
But in the meanwhile, things got a lot more complicated (and I don’t think I have changed anything):
All calendars stopped working in Thunderbird: They’re all turned off, and if I try to turn any of them on, it briefly works before switching off again. The error message led me nowhere after a web search:
On my iPhone, it seems that I have now some of the events showing up from the two problematic calendars! But I can’t make sense out of it. This week, for instance, I can see events from all of my calendars. If I go back two months in time, events from two calendars don’t show.
Could it be that there is an internal error in one or several events, that makes iOS and Thunderbird to run into problems with the calendars? Do you know if there is a way to check the integrity of calendars?
Thanks for any pointer, I feel completely in the dark with this issue.
I had a couple of syncing problems as well. In general, deleting and adding the account again helped. I wasn’t able to properly reproduce this issue. If you find a way to reproduce an error, you can submit a bug report.
I’m still experiencing the problem with Thunderbird (v45.8.0). I even tried with a completely fresh install of NextCloud (v12.0), with no difference: if I try to subscribe to a calendar using Lightning in TB, it is quickly disable and greyed out…
As suggested in this thread, I tried setting network.http.spdy.enabled.http2 to false, but it did not fix it. I am now wondering whether that could be related to OpenSSL (v1.0.1e-fips, which may not be enough).
Note also that on the same server, I also run an old instance of ownCloud (v8.2.9), which syncs the calendar without any issue (using HTTPS too).
I went a bit deeper with this, but I’m still hitting a wall (no sync of the NextCloud calendar, which makes me very reluctant to upgrade my other ownCloud instance!). Here is what I tried:
Creating a new empty profile, with nothing added, except for the calendar. Same problem as described here: it doesn’t even get to the authentication step, and throws the messages and error just above.
I tried turning the option enabling calendar.network.multirealm to true, as suggested here for example. No difference…
Any suggestion (or pointer to debug this) would be really really appreciated. Thanks in advance!
Another piece of information which seems to blame Thunderbird and not NextCloud: I can synchronize to the faulty calendar account using Gnome Accounts + Calendar, and it seems to work without any issue… Probably time to file a bug in TB, or look for help on the side of Mozilla…
Thanks again for your help! I failed to identify if that was a bug related to my own issue… What would be the best way to install the fix? Switch to the daily or maybe beta channel? (and can I switch back to stable later if I do that?)
I would only try this patch specifically and then update, as soon as 12.0.1 comes out (was announced for the end of June, so it should come the next 2 weeks). For applying a specific patch, @jospoortvliet wrote a little howto:
Mmmh… I’m off to a rough start: although I do have NextCloud 12.0, 2 of the three files modified by the patch are absent from my install (apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php and build/integration/features/webdav-related.feature). I have to admit I am very unfamiliar with patch (but have a fairly good command of Linux), so I’m very unsure what to do with this patch.
Again, thanks for your guidance. Any pointer will be greatly appreciated.
(at this stage, I may as well wait for 12.0.1 to be released…)
I finally opened a bug for Thunderbird too, to see what they have to say about it there… I’ll keep both synchronized, if any useful development happens on any side.
Hallelujah!!! Thanks a lot for your help and guidance: I was able to update this one file on my NextCloud, and everything seems to work properly! I can finally use Thunderbird + Lightning again with my NextCloud calendars, sync works in both directions.
I will close TB’s bug and comment on the other thread (I have changed the subject of this thread accordingly). Again, thank you so much for helping me all along!
Syncing issues between Thunderbird and Lightning, the calendar add-on, can be frustrating, but there are several troubleshooting steps you can take to resolve them:
Update Thunderbird and Lightning: Ensure that both Thunderbird and the Lightning add-on are updated to the latest versions. Sometimes, syncing issues can be caused by compatibility issues between outdated software versions.
Check Internet Connection: Make sure your computer has a stable internet connection. Syncing requires a reliable connection to the internet, so if your connection is weak or intermittent, it may cause syncing problems.
Verify Calendar Settings: In Thunderbird, go to the “Calendar” tab and select “Calendar Settings.” Check that the correct calendar is selected for syncing and that the synchronization settings are configured correctly.
However, note that it is best practice to export Thunderbird emails to TXT, PDF and other file formats to ensure the security of your data.