addons.config
I have both install on my system without issue.
Maybe I’m not guessing it right…
But how do I “correctly” clear the cache and delete tmp folders?
clearing the cache & tmp folders
I always have done it that way:
- stopped openhab
- sudo openhab-cli clean-cache
- rebooted system (twice or three times)
How do I delete tmp folders?
Thanks a lot
I go old-school.
Shut down openHAB
Assuming userdata
is /var/lib/openhab2
sudo rm -rf /var/lib/openhab2/cache/*
sudo rm -rf /var/lib/openhab2/tmp/*
Restart openHAB
That deletes the contents but leaves the directories.
After sudo openhab-cli clean-cache
both directory were deleted …
both directories were created after first reboot again
That is what openhab-cli does but when troubleshooting its worth trying both ways just to make sure.
OK, thanks.
I rebooted after clean-chache and now have to wait until system is up again… will take a while
Are you sure you put the /
between the directory name and *
? Leaving it out would delete the directory too.
I didn’t deleted manually I only used sudo openhab-cli clean-cache
After first reboot I got a lot of error messages, that items are missing
rebooting second time
After I first upgraded to 2.5
my text files were not read until a restart. Likely a bug in OH Core that will not be fixed.
second restart is in progress. All items are there now… waiting until restart is complete (currently loadubg rules)
Second Restart finished.
Current situation:
and no errors or warnings in openhab.log
Normally after a 30-60 minutes the load raises up… will check
Now the errors and the load is here again:
2020-02-04 17:47:07.768 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.io.monitor.i
nternal.EventLogger@ae910c' takes more than 5000ms.
2020-02-04 17:47:14.609 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.i
nternal.CommunicationManager@d86804' takes more than 5000ms.
2020-02-04 17:47:44.119 [INFO ] [e.model.script.Tasmota_433_MHz.rules] - Der Datenstring hat sich geaendert. Wert ITEM: ACEF7C
2020-02-04 17:47:44.169 [INFO ] [e.model.script.Tasmota_433_MHz.rules] - Der Datenstring hat sich geaendert. Wert ITEM: ACEF7C
2020-02-04 17:47:50.079 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.i
nternal.CommunicationManager@d86804' takes more than 5000ms.
2020-02-04 17:47:56.527 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.interna
l.items.ItemUpdater@1945e99' takes more than 5000ms.
2020-02-04 17:48:16.300 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.openhab.core.events.internal.E
ventBridge@1e57d3f' takes more than 5000ms.
I see Tasmota mentioned. Would it make sense ti uninstall that binding temporarily as a test or would that be too disruptive?
If Google Translate is correct, the error occurs about 6 seconds after an Item change. Item ACEF7C could also be the issue.
ITEM ACEF7C is a 433MHZ Code… send via Tasmota RF Bridge
Errors still there:
2020-02-04 18:06:42.979 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.i
nternal.CommunicationManager@d86804' takes more than 5000ms.
2020-02-04 18:06:49.116 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.i
nternal.CommunicationManager@d86804' takes more than 5000ms.
2020-02-04 18:07:01.202 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.i
nternal.CommunicationManager@d86804' takes more than 5000ms.
2020-02-04 18:07:07.166 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.i
nternal.CommunicationManager@d86804' takes more than 5000ms.
Trying 3rd reboot…
Errors starting:
[WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.i
nternal.CommunicationManager@e23b4e' takes more than 5000ms.