From barjunk at attglobal.net Tue Jan 17 03:05:29 2023 From: barjunk at attglobal.net (Mike) Date: Mon, 16 Jan 2023 18:05:29 -0900 Subject: [sync] Resolved: Error when syncing calendar In-Reply-To: <20230115184936.Horde.J0AiL8mql_K0wCeNycb6RtQ@tarn.theupstairsroom.com> References: <20230114112514.Horde.webR2eWkSOOYKv-rVvgZGvH@192.168.6.10> <20230115184936.Horde.J0AiL8mql_K0wCeNycb6RtQ@tarn.theupstairsroom.com> Message-ID: <20230116180529.Horde._71AXFkdwDZxpT6bwRhqrhr@192.168.6.10> Quoting Michael J Rubinsky : > Quoting Mike : > >> Quoting Mike : >> >>> I've renamed the original problem because now, Through Michael's >>> help, I've determined the issue with my contacts was that the >>> calendar was causing other sync's to fail. (I'm assuming that >>> contact syncing happens after calendar syncing) >>> >>> So once I turned off calendar syncing on my device the contacts >>> synced as I would expect them to. >>> >>> I only have one calendar on the server, however, there are >>> multiple calendars connected to the device. >>> >>> Maybe I'm not configuring preferences according to this setup properly. >>> >>> It SEEMS that checking (or unchecking) the "support for separate >>> calendars" in the synchronization preferences of the users >>> calendar fixes this issue for one sync cycle. > > Toggling this causes the sync state to be reset, thus triggering a > "fresh" sync each time. The failure in your original email had to do > with "soft delete", which removes the entries from the device as > they fall outside of your configured sync window. E.g., your client > may only be synchronizing entries within the the last week. I'm not > sure if that is the error that is occurring each time. One thing you > can do to try to see if that is related is to configure your device > to synchronize all events, and not just those that fall within a > certain window. > > It still sounds to me as if there is some issue with permissions in > your set up. How many calendars does this user have? Does the user > have read/write to each one? Does the user have full permissions to > both the "Horde" application, and the "Kronolith" application? OK. After I spent some time looking a little harder at the users Calendar Synchronization Preferences, I noticed that the calendar listed in that screen was selected (it was a shared calendar for the user). This user only has one calendar (two if you count the shared calendar) To that end, I de-selected it and now calendar seems to be syncing with my default calendar and not this shared calendar. Why would this shared calendar have issues? Where are the permissions for this shared calendar? All authenticated users and also the specific user has full rights to Kronolith and Turba. Another interesting thing I found is that when I add this shared calendar to my calendar in the browser, it also says "Permission denied", so I think this shared calendar is most likely the issue. Can I delete and recreate the shared calendar? I'm not really using it, but would like to understand what is happening. Thanks. Mike > > >>> If I force a sync again, through the phones accounts sync >>> enable/disable, it fails the second time through, until I toggle >>> the "support for separate calendars" value again. It will sync >>> without error one time, then fail in the second forced sync. >>> >>> While calendar sync is enabled on the phone, contacts and mail >>> sync fail as well, even with a successful calendar sync. >>> >>> >>> Order of events: >>> >>> Toggle "support for separate calendars" in user preference and hit >>> save (now checked) >>> Force sync calendar (successful) >>> Force sync calendar (unsuccessful) - permission denied >>> Toggle "support for separate calendars" in user preference and hit >>> save (now unchecked) >>> Force sync calendar (successful) >>> Force sync calendar (unsuccessful) - permission denied >>> >>> What else should I try to continue to narrow this down. I feel >>> I'm getting closer, but don't know where to look. >>> >>> Mike Barsalou >>> >>> >>> >>> -- >>> sync mailing list >>> Frequently Asked Questions: http://wiki.horde.org/FAQ >>> To unsubscribe, mail: sync-unsubscribe at lists.horde.org >> >> I apologize, my subject line was in error, I've corrected that. >> >> still experiencing issues as the e-mail above indicates. >> >> Mike Barsalou >> >> -- >> sync mailing list >> Frequently Asked Questions: http://wiki.horde.org/FAQ >> To unsubscribe, mail: sync-unsubscribe at lists.horde.org > > > > -- > mike > The Horde Project > http://www.horde.org > https://www.facebook.com/hordeproject > https://www.twitter.com/hordeproject