I have a big problem. I had successfully configured the caldav binding. So my setup worked for 2 days without an problem.
But tonight I had big trouble with “caldav service not available” so I edited the caldavio config file and deleted the old ical files. Then I stopped the openhab service and deleted the cache with openhab-cli clean-cache and restarted the service.
Now I have no UI´s and the karaf console isn´t working. Also the log at localhost:9001 has the info´s from the 30.09…
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569802263006--org.eclipse.smarthome.core.thing.Thing.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569793365075--org.eclipse.smarthome.config.discovery.DiscoveryResult.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569793365821--org.eclipse.smarthome.config.discovery.DiscoveryResult.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569427734101--thing_status_storage.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569782427448--org.eclipse.smarthome.core.thing.link.ItemChannelLink.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569802260242--org.eclipse.smarthome.core.thing.Thing.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569782339297--org.eclipse.smarthome.core.thing.link.ItemChannelLink.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569802260798--org.eclipse.smarthome.core.thing.Thing.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569793365118--org.eclipse.smarthome.config.discovery.DiscoveryResult.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569826876123--org.eclipse.smarthome.core.thing.Thing.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569427734366--thing_status_storage.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569427734100--thing_status_storage.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569427734602--thing_status_storage.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569802260271--org.eclipse.smarthome.core.thing.Thing.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569793721972--org.eclipse.smarthome.config.discovery.DiscoveryResult.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569782395790--org.eclipse.smarthome.core.thing.link.ItemChannelLink.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569427734099--thing_status_storage.json': No such file or directory
chown: changing ownership of '/var/lib/openhab2/jsondb/backup/1569793365318--org.eclipse.smarthome.config.discovery.DiscoveryResult.json': No such file or directory
Edit:
I did it a second time. This time with no error messages, but with no effect
I have news. If I try sudo openhab-cli start I get this:
null
Error occurred shutting down framework: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)
at java.lang.Integer.parseInt(Integer.java:615)
at org.apache.karaf.main.ConfigProperties.<init>(ConfigProperties.java:230)
at org.apache.karaf.main.Main.updateInstancePidAfterShutdown(Main.java:227)
at org.apache.karaf.main.Main.main(Main.java:192)
I solved the problem.
I reinstalled openhab with sudo apt-get --reinstall -o Dpkg::Options::="--force-confmiss" install openhab2
and after that I reset the ownership as you said with sudo openhab-cli reset-ownership
now it is running again.