android
android copied to clipboard
calendar backup not working
I've enabled daily contacts and calendar backup.
Backup of contacts is working for a long time now and it's backup up all contacts to a single .vcf file in .Contacts-Backup on the nextcloud server home of the user (I would like to specify the folder but that's another topic :) )
However the newly introduced calendar backup doesn't do anything. Or where should I find the backup files?
It's Nextcloud files for android 3.18.0 on Android 11.
Best Henning
Subscribing: backup of contact indeed works great. Calendar doesn't do anything though, would be great if that goes in.
Same for me ; The contact backup feature works great (I have been using it for years). I have noticed that the backup files are stored in a hidden "Contacts-Backup" folder. On the other hand, the calendar backup seams not to work. I imagine that if it worked, a hidden backup folder would be available (and would contain dated ics files, for each calendar).
I have 4 calendars and its only backing up 3 of them. The "main" calendar "Termine" is not backed up.
The backup of my calendar "Termine" is now working. Don't know why.
Nothing has changed here so far. I still only have backup files of contacts in the /.Contacts-Backup folder.
I use DAVx^5 to sync my calendars, Nextcloud would only backup calendars from other accounts, not the ones saved on my server. It also saved the calendars on my own server two month ago but stopped suddenly, I see this in the files in the .calendar-backup folder.
I use DAVx^5 to sync my calendars, Nextcloud would only backup calendars from other accounts, not the ones saved on my server. It also saved the calendars on my own server two month ago but stopped suddenly, I see this in the files in the .calendar-backup folder.
I do also you DAVx^5. But the directory ".calendar-backup" doesn't show up.
Here similar:
-
calendar backup not working at all
-
contacts backup works only manually (via "Back up now" button) - while "Restore backup" giving me the possibility to choose any date from a certain date on (April 2022, can't remember whether I activated the backup back then)
System info: Nextcloud Android app: 3.20.3 Android 10 (MIUI Global 12.0.1)
I also have the same error. The contacts are backed up in the folder .Contacts-Backup. But my calendars are not backed up. There is also NO folder .Calendar.Backup. Even if I create it manually, nothing happens. The calendar backup just does not work.
System info: Nexcloud version 24.0.2 and DavX5 version 4.2.2-ose. My phone is running Nextcloud Android App 3.20.3.
Also having issues...
Android 12, nextcloud 3.20.3
- Calendar backup does not work
- Contacts backup used to work but now does not. I tried toggling the slider but still doesn't work. Manual back up does work.
May try reinstalling the app if I continue to have issues with contacts but any suggestions are appreciated.
How can I check whether this works in 3.21.1? Clicking on "backup now" creates a new file in .contacts-backup but nothing else, although "backup calendar" is enabled. No error message either.
The activity tab does also only show the vcf file and nothing else.
How can I check whether this works in 3.21.1? Clicking on "backup now" creates a new file in .contacts-backup but nothing else, although "backup calendar" is enabled. No error message either.
The activity tab does also only show the vcf file and nothing else.
Same.
I have another phone where it worked. With that phone the backup was enabled after the update to 3.21.1
How can I check whether this works in 3.21.1? Clicking on "backup now" creates a new file in .contacts-backup but nothing else, although "backup calendar" is enabled. No error message either.
The activity tab does also only show the vcf file and nothing else.
Try removing and re-granting calendar permissions for the app
How can I check whether this works in 3.21.1? Clicking on "backup now" creates a new file in .contacts-backup but nothing else, although "backup calendar" is enabled. No error message either. The activity tab does also only show the vcf file and nothing else.
Try removing and re-granting calendar permissions for the app
I tried this to no avail. Starting a manual backup only created a backup of the contacts.
How can I check whether this works in 3.21.1? Clicking on "backup now" creates a new file in .contacts-backup but nothing else, although "backup calendar" is enabled. No error message either. The activity tab does also only show the vcf file and nothing else.
Try removing and re-granting calendar permissions for the app
I tried this to no avail. Starting a manual backup only created a backup of the contacts.
Same (still no calendar backup after disabling and enabling it)
@Jerome-Herbinet @Simplenuity can either of you post some logs?
Instructions here: https://github.com/nextcloud/android#getting-debug-info-via-logcat-mag
Feel free to search and replace the server URL, username and other file names in the output.
@Jerome-Herbinet @Simplenuity can either of you post some logs?
Instructions here: https://github.com/nextcloud/android#getting-debug-info-via-logcat-mag
Feel free to search and replace the server URL, username and other file names in the output.
@AlvaroBrey logcatOutput.txt
Thanks @Jerome-Herbinet, from the above log:
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: Work [ id=a948a45c-10cf-49c1-bb5d-0fe9bda45e1c, tags={ name:immediate_calendar_backup <account id> timestamp:1661764601420, *, user:<user id>, com.nextcloud.client.jobs.CalendarBackupWork } ] failed because it threw an exception/error
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: java.util.concurrent.ExecutionException: net.fortuna.ical4j.model.ValidationException: Calendar must contain at least one component
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at androidx.work.impl.utils.futures.AbstractFuture.getDoneValue(AbstractFuture.java:516)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at androidx.work.impl.utils.futures.AbstractFuture.get(AbstractFuture.java:475)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at androidx.work.impl.WorkerWrapper$2.run(WorkerWrapper.java:311)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at java.lang.Thread.run(Thread.java:920)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: Caused by: net.fortuna.ical4j.model.ValidationException: Calendar must contain at least one component
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at net.fortuna.ical4j.model.Calendar.validate(Calendar.java:287)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at net.fortuna.ical4j.model.Calendar.validate(Calendar.java:257)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at net.fortuna.ical4j.data.CalendarOutputter.output(CalendarOutputter.java:96)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at net.fortuna.ical4j.data.CalendarOutputter.output(CalendarOutputter.java:83)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at third_parties.sufficientlysecure.SaveCalendar.start(SaveCalendar.java:193)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at com.nextcloud.client.jobs.CalendarBackupWork.doWork(CalendarBackupWork.kt:69)
08-29 11:16:41.606 14654 14672 E WM-WorkerWrapper: at androidx.work.Worker$1.run(Worker.java:86)
I have no idea what Calendar must contain at least one component
means, I'll try to figure it out.
@Jerome-Herbinet @Simplenuity can either of you post some logs? Instructions here: https://github.com/nextcloud/android#getting-debug-info-via-logcat-mag Feel free to search and replace the server URL, username and other file names in the output.
@AlvaroBrey logcatOutput.txt
@AlvaroBrey, this is strange ... so, I have just made sure that none of my 9 calendars are empty. They all contain events.
@Jerome-Herbinet @Simplenuity can either of you post some logs?
Instructions here: https://github.com/nextcloud/android#getting-debug-info-via-logcat-mag
Feel free to search and replace the server URL, username and other file names in the output.
Sorry for the delay, @AlvaroBrey Would it still be helpful to provide some logs?
@Simplenuity yes please, the most probable thing is that it's the same error as the one above, but it may be the case that it's not
@AlvaroBrey, please find logcat attached logcat.txt
Same here:
`10-12 17:32:20.023 7328 7512 I ICS_SaveCalendar: Save id 1 to file /data/user/0/com.nextcloud.client/cache/calendar_displayname_local_2022-10-12_17-32-20.ics
10-12 17:32:20.026 7328 7512 I Configurator: ical4j.properties not found.
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: Work [ id=e9ac781b-46c0-44b4-bb01-2280387cd706, tags={ name:immediate_calendar_backup [email protected]@xxxx.xxxx timestamp:1665588739952, *, user:[email protected]@xxxx.xxx, com.nextcloud.client.jobs.CalendarBackupWork } ] failed because it threw an exception/error
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: java.util.concurrent.ExecutionException: net.fortuna.ical4j.model.ValidationException: Calendar must contain at least one component
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at androidx.work.impl.utils.futures.AbstractFuture.getDoneValue(AbstractFuture.java:516)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at androidx.work.impl.utils.futures.AbstractFuture.get(AbstractFuture.java:475)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at androidx.work.impl.WorkerWrapper$2.run(WorkerWrapper.java:311)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at java.lang.Thread.run(Thread.java:1012)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: Caused by: net.fortuna.ical4j.model.ValidationException: Calendar must contain at least one component
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at net.fortuna.ical4j.model.Calendar.validate(Calendar.java:287)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at net.fortuna.ical4j.model.Calendar.validate(Calendar.java:257)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at net.fortuna.ical4j.data.CalendarOutputter.output(CalendarOutputter.java:96)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at net.fortuna.ical4j.data.CalendarOutputter.output(CalendarOutputter.java:83)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at third_parties.sufficientlysecure.SaveCalendar.start(SaveCalendar.java:193)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at com.nextcloud.client.jobs.CalendarBackupWork.doWork(CalendarBackupWork.kt:69)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: at androidx.work.Worker$1.run(Worker.java:86)
10-12 17:32:20.031 7328 7383 E WM-WorkerWrapper: ... 3 more
10-12 17:32:20.031 7328 7383 I WM-WorkerWrapper: Worker result FAILURE for Work [ id=e9ac781b-46c0-44b4-bb01-2280387cd706,`
Hi, calendar backup still doesn't work for me either.
Need logs ?
Fixed ! 🔥
Still not working here Android 12 Nextcloud client 3.22.1
Not all calendars are saved, some are still missing
Still not working for me : Android 12 on a Xiami 11T Nextcloud Android client : 3.22.1 Nextcloud server : 24.0.6 Calendar app : 3.5.1 Contacts app : 4.2.2
@repsorp @Jerome-Herbinet Have you tried going into the settings and activating calendar backup ? It seems to reset with 3.22
@repsorp @Jerome-Herbinet Have you tried going into the settings and activating calendar backup ? It seems to reset with 3.22
Already tried before writing my comment 😟