@TheOtherDoctor A note on the brute-force approach which other apps (example: Synker) use - providing a (possibly power-draining) desktop widget just to enforce they maintain a handle to run processes which Android otherwise does not like them to… honestly, when having to decide to either further struggle with an unwilling device or just sacrifice a bit of runtime for now… the latter is a tempting alternative. 😉
Davmail: Only extra calendars are synced
Chewie last edited by rfc2822
I run davx5 to synchronize two accounts on my phone: a personal one through my nextcloud instance, and a work one through davmail to hide the exchange silliness. This setup used to work wonders on my old phone (nokia 7.1), but a very strange problem appears on my new phone (xiami mi a3, running android one):
- On nextcloud, the synchronization works fine, nothing to report
- Through davmail, extra calendars (like the shared calendar for national holidays) are synced
- But the main calendar (simply named “Calendar” on outlook and which cannot be renamed) and contact group do not appear in the app!
I have tested adding other extra calendars, and they get picked up immediately. But no matter what I do, the main calendar is a no-show.
Please find here the davx5 verbose logs of a configuration + synchronization. I think I saw the mention of the main “Calendar”, but I’m not sure how to interpret it.
Thank you very much!
What is the URL you would expected to be detected as “Calendar”?
If it is
https://xxxx:1080/users/xxx@xxx/calendar/: this URL is defined as homeset. DAVx⁵ detects it as a home set, and assumes that a homeset is a collection that contains calendar collection, i.e. it’s not a calendar collection itself.
However, Davmail seems to report the same collection as homeset and calendar collection. I think that’s the problem.
As I understand it, a homeset should contain the calendar collections and not be a calendar collection (see link above). Maybe you can contact Davmail about their opinion about that?
Chewie last edited by
Thank you for your quick reply!
I managed to revive my old phone where it did work, at least long enough to get the logs on its own davx5: https://pastebin.com/BJVD0p8D
Another point I noticed, is that the old phone also received a carddav contact group, which the new phone doesn’t. Maybe the homeset/collection collision is a false flag? In any case, I’m reading up on it, and will open an issue on the davmail tracker as soon as I understand it enough to explain the problem!
Running into the same issue that my main calendar from DavMail is not showing up.
Github Issue is tracked here: https://github.com/mguessan/davmail/issues/75
Also, can you provide a test account so that we can give DavMail a try ourselves?
@rfc2822 I downloaded from f-droid, where this is not yet available, correct?
@bmmeijers No. I can send an APK but it will have another signature as the F-Droid signature, so you would have to uninstall the F-Droid version and not get updates. But we have already released 2.6.3 so it should appear in F-Droid soon…
@rfc2822 Sorry, this DavMail server is setup by the IT department of the university, and I don’t have that possibility to make extra accounts. I can test once 2.6.3 is available on F-droid (or you send me the APK version, then I’ll test right away) and come back to you.
@bmmeijers I have sent it over email.