haus42
(Andreas Klingler)
November 3, 2016, 6:33pm
1
I did delete a google calendar which I had configured in the CalDav binding on OH2. But even after removing it from caldavio.cfg I still get
[ERROR] [caldav.internal.job.EventReloaderJob] - error while loading calendar entries: Unexpected response (404 - Not Found)
entries in the openhab.log.
During an OpenHAB restart there is a log entry with
[INFO ] [.io.caldav.internal.CalDavLoaderImpl] - reload job scheduled for: deletedcalendarname
So for some reason the CalDav binding still tries to sync with the deleted calendar.
Even a deinstallation of the binding did not help. After reinstalling it the job is immediately scheduled again.
How do I get rid of the job?
Dim
(Angelos)
November 5, 2016, 3:22pm
2
Try to check the stored configs via the Karaf console.
See:
1. Intro
This tutorial is based on an apt-get installation of OH2 in Linux and is for advanced/manual configuration of OpenHab 2 and for troubleshooting purposes. The normal way of working with OpenHab 2 configurations is via the Paper UI and the config files in /etc/openhab2.
2. Basics
OpenHab 2 is based on the Eclipse SmartHome framework and is fully written in Java. It uses the Apache Karaf (a lightweight and modular container, powered by OSGi) to store many information, including all t…
Maybe there are some stale configs in your OH2.
BR,
Dim
jtb0
(Jtb0)
May 7, 2017, 8:26pm
3
Hi Haus 24,
did you find out how to remove the reload job?
I have the same issue and I searched with the karaf console, but I dont know, how to delete these entries…
Maybe you found out how to fix this issue.
Thanks.
I have done this steps to solve this Problem.
Remove the Binding with Paper UI
Connect the console of your openHAB-Server (Uses Linus(ssh) Windows(putty)
Now connect to Karaf Console (Password: habopen)
#> sudo ssh openhab@localhost -p 8101
Check the calDAV-config
openhab> config:list “(service.pid=org.openhab.caldavio)”
Delete the calDAV-config
openhab> config:delete org.openhab.caldavio
openhab> logout
Install the CalDAV-Binding again.
Best wishes and good luck
3 Likes