I’m no Android expert by any means but all I can say is that certain apps show requesting autostart permission while others don’t inside the Android app settings. It’s the case on both of my devices, one is running Android 5.1.1 (will be upgraded in the next few hours) and the other is on 7.1.2…
On the Android 5.1.1. I also have a pretty old app called Autostarts, which not only lists the apps being started by default on boot, but also all the apps which get triggered when certain aspects of the device change like Wifi getting enabled & disabled, headphones being plugged, etc… It’s really suprising which apps by default get notified by pretty much anything that’s happening on the OS. With that mentioned app Autostarts the root user can disabled that behaviour per app per status change. All I can say is that while many appear there which you’d think have no business being there DAVx5 is appearing in none of those categories which per se is very good unless it hinders DAVx5 from funtioning properly.
If anyone wonders the Autostart app is this:
https://github.com/miracle2k/android-autostarts
https://elsdoerfer.name/android-autostarts
https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
Baikal + DavDroid
-
Hi, i have installed booth… but a sync doesn’t work. I can create a account. It founds the AddressbookID’s. But Sync will fail.
xxx.xxx.xxx.xxx - - [19/Jan/2014:04:13:23 +0100] "OPTIONS /cal.php/ HTTP/1.1" 401 865 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:13:23 +0100] "OPTIONS /cal.php/ HTTP/1.1" 200 695 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:13:23 +0100] "PROPFIND /cal.php/ HTTP/1.1" 401 807 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:13:23 +0100] "PROPFIND /cal.php/ HTTP/1.1" 207 960 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:13:23 +0100] "PROPFIND /cal.php/principals/Username/ HTTP/1.1" 401 806 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:13:23 +0100] "PROPFIND /cal.php/principals/Username/ HTTP/1.1" 207 1123 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:13:23 +0100] "PROPFIND /cal.php/calendars/Username/ HTTP/1.1" 401 806 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:13:23 +0100] "PROPFIND /cal.php/calendars/Username/ HTTP/1.1" 207 2526 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:14:15 +0100] "PROPFIND /card.php/addressbooks/Username/adressID/ HTTP/1.1" 401 865 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:14:15 +0100] "PROPFIND /card.php/addressbooks/Username/adressID/ HTTP/1.1" 207 905 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:14:15 +0100] "PROPFIND /card.php/addressbooks/Username/adressID/ HTTP/1.1" 401 806 "-" "DAVdroid/0.5.6-alpha" xxx.xxx.xxx.xxx - - [19/Jan/2014:04:14:15 +0100] "PROPFIND /card.php/addressbooks/Username/adressID/ HTTP/1.1" 207 1002 "-" "DAVdroid/0.5.6-alpha"
-
Because my magic crystall ball is out of service at the moment, I will need further information like DAVdroid version, Baikal version, Android version and – most important – DAVdroid logs.
-
I will bring more informations about my apache2 server config:
enabled mods
vhost config
-
Thanks, but I need the DAVdroid logs to debug DAVdroid.
-
How i can find it?
-
Ok, i have found it. But i anonymous the url and username.
I/davdroid.DavSyncAdapter(10442): Performing sync for authority com.android.contacts I/davdroid.SyncManager(10442): Remotely removing 0 deleted resource(s) (if not changed) I/davdroid.SyncManager(10442): Uploading 0 new resource(s) (if not existing) I/davdroid.SyncManager(10442): Uploading 0 modified resource(s) (if not changed) I/davdroid.SyncManager(10442): Synchronization forced I/davdroid.SyncManager(10442): Fetching remote resource list D/davdroid.HttpPropfind(10442): Prepared PROPFIND request: <propfind xmlns="DAV:"> D/davdroid.HttpPropfind(10442): <prop> D/davdroid.HttpPropfind(10442): <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> D/davdroid.HttpPropfind(10442): <getetag/> D/davdroid.HttpPropfind(10442): </prop> D/davdroid.HttpPropfind(10442): </propfind> D/davdroid.WebDavResource(10442): Received HTTP/1.1 207 Multi-Status D/davdroid.WebDavResource(10442): Processing multi-status element: http://baikal.host.com/card.php/addressbooks/UserName/adressbookid/ D/davdroid.WebDavResource(10442): <?xml version="1.0" encoding="utf-8"?> D/davdroid.WebDavResource(10442): <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/addressbooks/UserName/adressbookid/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">1</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus> I/davdroid.SyncManager(10442): Fetching 0 new remote resource(s) I/davdroid.SyncManager(10442): Fetching 0 updated remote resource(s) I/davdroid.SyncManager(10442): Removing non-dirty resources that are not present remotely anymore D/davdroid.LocalCollection(10442): Committing 1 operations I/davdroid.SyncManager(10442): Sync complete, fetching new CTag I/davdroid.DavSyncAdapter(10442): Performing sync for authority com.android.contacts I/davdroid.SyncManager(10442): Remotely removing 0 deleted resource(s) (if not changed) I/davdroid.SyncManager(10442): Uploading 0 new resource(s) (if not existing) I/davdroid.SyncManager(10442): Uploading 0 modified resource(s) (if not changed) D/davdroid.HttpPropfind(10442): Prepared PROPFIND request: <propfind xmlns="DAV:"> D/davdroid.HttpPropfind(10442): <prop> D/davdroid.HttpPropfind(10442): <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> D/davdroid.HttpPropfind(10442): </prop> D/davdroid.HttpPropfind(10442): </propfind> D/davdroid.WebDavResource(10442): Received HTTP/1.1 207 Multi-Status D/davdroid.WebDavResource(10442): Processing multi-status element: http://baikal.host.com/card.php/addressbooks/UserName/adressbookid/ D/davdroid.WebDavResource(10442): <?xml version="1.0" encoding="utf-8"?> D/davdroid.WebDavResource(10442): <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/addressbooks/UserName/adressbookid/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">1</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus> I/davdroid.SyncManager(10442): Fetching remote resource list D/davdroid.HttpPropfind(10442): Prepared PROPFIND request: <propfind xmlns="DAV:"> D/davdroid.HttpPropfind(10442): <prop> D/davdroid.HttpPropfind(10442): <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> D/davdroid.HttpPropfind(10442): <getetag/> D/davdroid.HttpPropfind(10442): </prop> D/davdroid.HttpPropfind(10442): </propfind> D/davdroid.WebDavResource(10442): Received HTTP/1.1 207 Multi-Status D/davdroid.WebDavResource(10442): Processing multi-status element: http://baikal.host.com/card.php/addressbooks/UserName/adressbookid/ D/davdroid.WebDavResource(10442): <?xml version="1.0" encoding="utf-8"?> D/davdroid.WebDavResource(10442): <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/addressbooks/UserName/adressbookid/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">1</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus> I/davdroid.SyncManager(10442): Fetching 0 new remote resource(s) I/davdroid.SyncManager(10442): Fetching 0 updated remote resource(s) I/davdroid.SyncManager(10442): Removing non-dirty resources that are not present remotely anymore D/davdroid.LocalCollection(10442): Committing 1 operations I/davdroid.SyncManager(10442): Sync complete, fetching new CTag I/davdroid.DavSyncAdapter(10442): Performing sync for authority com.android.calendar I/davdroid.SyncManager(10442): Remotely removing 0 deleted resource(s) (if not changed) I/davdroid.SyncManager(10442): Uploading 0 new resource(s) (if not existing) I/davdroid.SyncManager(10442): Uploading 0 modified resource(s) (if not changed) D/davdroid.HttpPropfind(10442): Prepared PROPFIND request: <propfind xmlns="DAV:"> D/davdroid.HttpPropfind(10442): <prop> D/davdroid.HttpPropfind(10442): <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> D/davdroid.HttpPropfind(10442): </prop> D/davdroid.HttpPropfind(10442): </propfind> D/davdroid.WebDavResource(10442): Received HTTP/1.1 207 Multi-Status D/davdroid.WebDavResource(10442): Processing multi-status element: http://baikal.host.com/cal.php/calendars/UserName/default/ D/davdroid.WebDavResource(10442): <?xml version="1.0" encoding="utf-8"?> D/davdroid.WebDavResource(10442): <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/"><d:response><d:href>/cal.php/calendars/UserName/default/</d:href><d:propstat><d:prop><cs:getctag>1</cs:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus> I/davdroid.SyncManager(10442): Fetching remote resource list D/davdroid.HttpPropfind(10442): Prepared PROPFIND request: <propfind xmlns="DAV:"> D/davdroid.HttpPropfind(10442): <prop> D/davdroid.HttpPropfind(10442): <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> D/davdroid.HttpPropfind(10442): <getetag/> D/davdroid.HttpPropfind(10442): </prop> D/davdroid.HttpPropfind(10442): </propfind> D/davdroid.WebDavResource(10442): Received HTTP/1.1 207 Multi-Status D/davdroid.WebDavResource(10442): Processing multi-status element: http://baikal.host.com/cal.php/calendars/UserName/default/ D/davdroid.WebDavResource(10442): <?xml version="1.0" encoding="utf-8"?> D/davdroid.WebDavResource(10442): <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/"><d:response><d:href>/cal.php/calendars/UserName/default/</d:href><d:propstat><d:prop><cs:getctag>1</cs:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus> I/davdroid.SyncManager(10442): Fetching 0 new remote resource(s) I/davdroid.SyncManager(10442): Fetching 0 updated remote resource(s) I/davdroid.SyncManager(10442): Removing non-dirty resources that are not present remotely anymore D/davdroid.LocalCollection(10442): Committing 1 operations I/davdroid.SyncManager(10442): Sync complete, fetching new CTag D/davdroid.LocalCollection(10442): Committing 1 operations I/davdroid.DavSyncAdapter(10442): Performing sync for authority com.android.contacts I/davdroid.SyncManager(10442): Remotely removing 0 deleted resource(s) (if not changed) I/davdroid.SyncManager(10442): Uploading 0 new resource(s) (if not existing) I/davdroid.SyncManager(10442): Uploading 0 modified resource(s) (if not changed) D/davdroid.HttpPropfind(10442): Prepared PROPFIND request: <propfind xmlns="
-
But Sync will fail.
As I can see from the logs, the server tells DAVdroid that there are no contacts/events.
Please verify that
- there are contacts/events in the selected calendars/address books,
- it works with other CalDAV/CardDAV clients
Then I’d need detailed steps on how to reproduce the issue.
-
i choose the using account option. Choose the Davdroid account. There are no contacts. Next i choose import from SDCard. Choose the vcf file and run import. So i save the contacts from google to my phone. But with davdroid this way doesn’t work. If i create a complete new contact it will be sync with baikal. Why?
-
Ok, now its work. My error.
- choose from import
- choose the source from
- choose the account into which the contacts will be imported
- choose from the vcf file
After this, i deleted all google, samsung and local contacts choosed the account DavDroid and all contacts are visible with the Davdroid Logo.
my next step. How to sync S-Planner with baikal.
-
What’s the problem with SPlanner? It should work out of the box when you select the right calendar.
-
I’ll close this issue. If there’s an issue with the events, please post again, giving detailed steps to reproduce and log output.