OH3 had been running with a few niggles for a few months, however just recently, maybe over the last 2 months its been crashing. The Pi rejects SSH during the crash, web browser finds the Basic UI but sits forever with the blue spinning ring.
Only method of recovery is to power down via an un-plug and power back up. After the power up it runs fine as if nothing has happened except for missing trend data for the period of the crash.
I’m constantly updating the software to try (hope) it fixes it!
Time of Day does not seem to be a trigger as it happens at any time as far as I can see.
Setup / logs from last night below:
Platform information:
RPi 4
Storage and boot is via external HDD (Powered independently from the Pi)
runtimeInfo:
version: 3.1.0
buildString: “Build #2387”
locale: en-GB
systemInfo:
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 11.0.9
javaVendor: Azul Systems, Inc.
javaVendorVersion: Zulu11.43+88-CA
osName: Linux
osVersion: 5.10.17-v7l+
osArchitecture: arm
availableProcessors: 4
freeMemory: 59610328
totalMemory: 191012864
bindings:
- amazonechocontrol
- astro
- mqtt
- neato
- nest
- weathercompany
- weatherunderground
-
zwave
clientInfo:
device:
desktop: true
windows: true
os: windows
pixelRatio: 1
prefersColorScheme: light
isSecureContext: false
locationbarVisible: true
menubarVisible: true
navigator:
cookieEnabled: true
deviceMemory: N/A
hardwareConcurrency: 4
language: en
languages:- en
en-GB
onLine: true
platform: Win32
screen:
width: 1600
height: 900
colorDepth: 24
support:
touch: false
pointerEvents: true
observer: true
passiveListener: true
gestures: false
intersectionObserver: true
themeOptions:
dark: dark
filled: true
pageTransitionAnimation: default
bars: light
homeNavbar: default
homeBackground: default
expandableCardAnimation: default
userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/90.0.4430.212 Safari/537.36
timestamp: 2021-05-20T08:26:52.990Z
Logs (Truncated):
2021-05-19 19:36:19.803 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-19 19:36:19.861 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘gGF_Shed’ for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-19 19:36:19.863 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘gGF_Shed’ for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-19 19:36:19.865 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘gGF_Shed’ for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-19 19:36:19.878 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.openhab.core.model.sitemap.sitemap.Frame
2021-05-19 19:36:19.881 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘Settings’ for widget org.openhab.core.model.sitemap.sitemap.Frame
2021-05-19 19:36:19.887 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘Settings’ for widget org.openhab.core.model.sitemap.sitemap.Frame
2021-05-19 23:14:57.310 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘gLivingRoom_Light’ for widget org.openhab.core.model.sitemap.sitemap.Switch
2021-05-19 23:14:57.336 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘gLivingRoom_Light’ for widget org.openhab.core.model.sitemap.sitemap.Switch
2021-05-19 23:14:57.338 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.openhab.core.model.sitemap.sitemap.Switch
Truncated this bit…
2021-05-19 23:16:14.043 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘gGF_Shed’ for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-19 23:16:14.044 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-19 23:16:14.046 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-19 23:16:15.811 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘Settings’ for widget org.openhab.core.model.sitemap.sitemap.Frame
2021-05-19 23:16:15.812 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘Settings’ for widget org.openhab.core.model.sitemap.sitemap.Frame
2021-05-19 23:16:15.813 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.openhab.core.model.sitemap.sitemap.Frame
2021-05-20 03:48:53.495 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 73aaff99-a30d-4393-aa24-23e2219feabb, base URL = http://localhost:8080)
2021-05-20 03:50:09.785 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 73aaff99-a30d-4393-aa24-23e2219feabb, base URL = http://localhost:8080)
2021-05-20 03:50:38.632 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance
2021-05-20 03:50:40.156 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 73aaff99-a30d-4393-aa24-23e2219feabb, base URL = http://localhost:8080)
2021-05-20 03:51:20.605 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 73aaff99-a30d-4393-aa24-23e2219feabb, base URL = http://localhost:8080)
2021-05-20 03:51:31.606 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2021-05-20 03:52:21.989 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 73aaff99-a30d-4393-aa24-23e2219feabb, base URL = http://localhost:8080)
2021-05-20 04:00:27.196 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168.24.20’. Next attempt in 60000ms
2021-05-20 04:01:20.351 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to ‘192.168.24.20’ with clientid de5e0593-94ae-4f8c-b6fc-7231537f5e24
2021-05-20 04:08:21.409 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.OutOfMemoryError: Java heap space
2021-05-20 04:10:30.183 [WARN ] [.util.thread.strategy.EatWhatYouKill] -
java.lang.OutOfMemoryError: Java heap space
2021-05-20 04:10:35.277 [ERROR] [org.apache.felix.fileinstall ] - In main loop, we have serious trouble
java.lang.OutOfMemoryError: Java heap space
2021-05-20 04:11:22.103 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic +/+/$homie
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:12:34.466 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168.24.20’. Next attempt in 60000ms
2021-05-20 04:12:20.737 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic tele/AirconMaster/SENSOR
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:08.791 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic tele/AirQual/SENSOR
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:13:17.951 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic stat/XmasTree/RESULT
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:32.314 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic stat/AlarmBoxShed/RESULT
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:38.842 [ERROR] [org.apache.felix.fileinstall ] - In main loop, we have serious trouble
java.lang.OutOfMemoryError: Java heap space
2021-05-20 04:14:43.740 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic homeassistant/#
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:43.743 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic stat/frontlights1/RESULT
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:43.745 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic tele/AirconMaster/RESULT
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:45.322 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic stat/GateOpen1/POWER2
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:45.322 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic tele/DHWTemp2/SENSOR
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:43.745 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic stat/DHWOveride/RESULT
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:45.324 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic octoPrint/temperature/tool0
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:45.324 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic octoPrint/temperature/tool1
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:53.412 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic milight/states/#
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:46.998 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic stat/UFHeating/POWER
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:55.344 [WARN ] [.transport.mqtt.MqttBrokerConnection] - Failed subscribing to topic tele/DHWTemp1/SENSOR
com.hivemq.client.mqtt.exceptions.MqttSessionExpiredException: Session expired as connection was closed.
Suppressed: java.lang.OutOfMemoryError: Java heap space
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
2021-05-20 04:14:56.926 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to ‘192.168.’ with clientid de5e0593-94ae-4f8c-b6fc-7231537f5e24
2021-05-20 04:15:57.897 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to '192.168.’. Next attempt in 60000ms
2021-05-20 04:16:07.423 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to ‘192.168..’ with clientid de5e0593-94ae-4f8c-b6fc-7231537f5e24
2021-05-20 04:17:09.027 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168..’. Next attempt in 60000ms
2021-05-20 04:18:23.087 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168.*.’. Next attempt in 60000ms
2021-05-20 04:28:55.199 [ERROR] [org.apache.felix.fileinstall ] - In main loop, we have serious trouble
java.lang.OutOfMemoryError: Java heap space
2021-05-20 04:30:34.823 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.OutOfMemoryError: Java heap space
2021-05-20 04:30:39.656 [WARN ] [hannel.AbstractChannelHandlerContext] - An exception ‘java.lang.OutOfMemoryError: Java heap space’ [enable DEBUG level for full stacktrace] was thrown by a user handler’s exceptionCaught() method while handling the following exception:
java.lang.OutOfMemoryError: Java heap space
2021-05-20 04:32:18.639 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = *********************************, base URL = http://localhost:8080)
2021-05-20 04:32:31.483 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance
2021-05-20 04:32:31.486 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = **********************************, base URL = http://localhost:8080)
2021-05-20 04:33:26.734 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2021-05-20 04:33:51.586 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = ******************************, base URL = http://localhost:8080)
2021-05-20 04:34:05.673 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance
2021-05-20 04:34:05.678 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = ****************************************, base URL = http://localhost:8080)
2021-05-20 04:34:25.953 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 73aaff99-a30d-4393-aa24-23e2219feabb, base URL = http://localhost:8080)
2021-05-20 04:34:43.344 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance
2021-05-20 04:34:43.347 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = **, base URL = http://localhost:8080)
2021-05-20 04:34:48.278 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2021-05-20 04:34:54.733 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 7, base URL = http://localhost:8080)
2021-05-20 04:35:13.437 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance
2021-05-20 04:35:16.558 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = *******************************, base URL = http://localhost:8080)
2021-05-20 04:36:15.086 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2021-05-20 04:36:15.088 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2021-05-20 04:36:35.393 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = *******************************, base URL = http://localhost:8080)
2021-05-20 04:36:49.491 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance
2021-05-20 04:36:51.074 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = ************************, base URL = http://localhost:8080)
2021-05-20 04:37:05.155 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2021-05-20 04:37:05.155 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = ******************************, base URL = http://localhost:8080)
2021-05-20 04:37:19.298 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance
2021-05-20 04:37:20.878 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = *************************, base URL = http://localhost:8080)
2021-05-20 04:37:34.998 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2021-05-20 04:37:36.523 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = *********************, base URL = http://localhost:8080)
2021-05-20 04:37:52.186 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance
2021-05-20 04:37:53.714 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = *******************, base URL = http://localhost:8080)
2021-05-20 04:39:07.406 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2021-05-20 08:57:42.111 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-20 08:57:42.113 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘gGF_Shed’ for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-20 08:57:42.115 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘gGF_Shed’ for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-20 08:57:42.117 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘gGF_Shed’ for widget org.openhab.core.model.sitemap.sitemap.Group
2021-05-20 08:57:48.546 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.openhab.core.model.sitemap.sitemap.Frame
2021-05-20 08:57:48.548 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘Settings’ for widget org.openhab.core.model.sitemap.sitemap.Frame
2021-05-20 08:57:48.550 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item ‘Settings’ for widget org.openhab.core.model.sitemap.sitemap.Frame
<\code>
Thanks for the help
John