Disappearing Entries on Android Mobile Phone
i am using an ownCloud 8.2.2 server, which i use to sync between Thunderbird lighting Calendar and an Samsung Galaxy A3 mobile phone.
When i add an entry in the calendar or tasks on the mobile phone, the entry gets synced to Owncloud and Lighting but disappears from the mobile phone.
Any help would be great!
Below is the Davdroid Log and the Owncloud log:
--- BEGIN DEBUG INFO --- SOFTWARE INFORMATION Package: at.bitfire.davdroid Version: 188.8.131.52-ose (231) from Jun 13, 2018 Installed from: com.google.android.packageinstaller JB Workaround installed: no CONNECTIVITY (at the moment) Active connection: WiFi, CONNECTED CONFIGURATION Power saving disabled: yes android.permission.READ_CONTACTS permission: granted android.permission.WRITE_CONTACTS permission: granted android.permission.READ_CALENDAR permission: granted android.permission.WRITE_CALENDAR permission: granted org.dmfs.permission.READ_TASKS permission: granted org.dmfs.permission.WRITE_TASKS permission: granted System-wide synchronization: automatically Account: nbedau owncloud Address book sync. interval: â€” Calendar sync. interval: 240 min OpenTasks sync. interval: 240 min WiFi only: false [CardDAV] Contact group method: GROUP_VCARDS [CalDAV] Time range (past days): 90 Manage calendar colors: false SQLITE DUMP android_metadata | locale | | en_US | ---------- services | _id | accountName | service | principal | | 3 | nbedau owncloud | caldav | http://tinosecolodge.gr/work/remote.php/caldav/principals/nbedau/ | ---------- sqlite_sequence | name | seq | | services | 3 | | homesets | 5 | | collections | 25 | ---------- homesets | _id | serviceID | url | | 5 | 3 | http://tinosecolodge.gr/work/remote.php/caldav/calendars/nbedau/ | ---------- collections | _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync | type | source | forceReadOnly | | 21 | 3 | http://tinosecolodge.gr/work/remote.php/caldav/calendars/nbedau/personal/ | 0 | Personal | <null> | -10027009 | <null> | 1 | 1 | 0 | CALENDAR | <null> | 0 | | 22 | 3 | http://tinosecolodge.gr/work/remote.php/caldav/calendars/nbedau/tinosecolodge/ | 0 | Tinos ecolodge | <null> | -10046721 | <null> | 1 | 1 | 0 | CALENDAR | <null> | 0 | | 23 | 3 | http://tinosecolodge.gr/work/remote.php/caldav/calendars/nbedau/todo/ | 0 | To DO | <null> | -8323328 | <null> | 1 | 1 | 1 | CALENDAR | <null> | 0 | | 24 | 3 | http://tinosecolodge.gr/work/remote.php/caldav/calendars/nbedau/schoolholidays/ | 0 | School Holidays | <null> | -32768 | <null> | 1 | 1 | 0 | CALENDAR | <null> | 0 | | 25 | 3 | http://tinosecolodge.gr/work/remote.php/caldav/calendars/nbedau/contact_birthdays/ | 0 | Contact birthdays | <null> | -3355444 | <null> | 1 | 0 | 0 | CALENDAR | <null> | 0 | ---------- SYSTEM INFORMATION Android version: 7.0 (NRD90M.A310FXXU3CQL2) Device: samsung SM-A310F (a3xelte) --- END DEBUG INFO ---
The Log of the Owncloud:
Error files_external Forbidden. Bad input parameter. Error message should indicate which one and why. 2018-06-14T13:56:57+00:00 Error PHP Array to string conversion at /var/www/vhosts/tinosecolodge.gr/httpdocs/site_ecolodge/work/3rdparty/sabre/dav/lib/CalDAV/CalendarQueryValidator.php#62 2018-06-14T13:53:17+00:00 Error files_external Forbidden. Bad input parameter. Error message should indicate which one and why. 2018-06-14T13:56:57+00:00 Error PHP Array to string conversion at /var/www/vhosts/tinosecolodge.gr/httpdocs/site_ecolodge/work/3rdparty/sabre/dav/lib/CalDAV/CalendarQueryValidator.php#62 2018-06-14T13:53:17+00:00```
Are the entered events older than 90 days or whatever you have set in the past event time limits?
Please provide steps to reproduce and verbose DAVdroid logs etc as described in [READ BEFORE POSTING] What’s required to diagnose a problem.
thanks for writing! Can you provide more details? Which Android version, which phone? Which contacts app are you using? We’ve never experienced something like that.
thx for answering! The mobile phone is a Samsung A3 2016 SM-A310F and it is running Android 7.0 Kernel version 3.10.61-13952378. I have tried many different Task and Calendar Apps because in the beginning i thought the problem is on that site: Mirakel, Tasks(f-droid version), Etar and of course the Android Calendar. The behavior on all this Apps is the same: I make an entry => it syncs to owncloud server => disappears from the mobile phone => it becomes visible at the server and in lighting .
The entered events are all in the future not in the past.
I dont no what else i could provide to help the troubleshooting.
ps: @rfc2822 i read the [READ BEFORE POSTING] and i tried to follow the instruction to the best of my understanding. What did i do wrong?
Thank you for the information and also the debug info. Maybe your local calendar storage on Android is corrupt. You could try to clear it (System Settings / Apps / Calendar storage / Clear data). Then all local event entries from all calendars get deleted and you have to synchronize them again. Make sure to have a reliable backup.
I just tried the medicine, but it has no effect. While thinking about the issue it is like a one way sync but without davdroid reading the entries on the server. My girlfriend actually has the exact same phone with an older android version i will install davdroid there and see if it shows the same behavior.