Can't update to 2023.11.1?

Running HA on a rPi 4b for years now. Have it running off an SSD with 200gb free. I am currently on 2023.11.0 and have tried twice over the past 4 days to update to 2023.11.1

Both times the backup takes place and the update seems to work with restart and everything but when HA is finished restarting, I still see an orange 1 next to Settings informed me that there is an update available for 2023.11.1

Also, each time, I have lost all Zwave entries (unavailable) until I do a full restart of the system (not just HA). My Wave runs via the Zwave JS UI add-on

Any thoughts/suggestions?

Which HA install are you running?

  • Core2023.11.0
  • Supervisor2023.11.0
  • Operating System11.1
  • Frontend20231030.1

So I just tried to update to 2023.11.2
Made a backup and downloaded just in case
Updated and all seemed to work…

But then the system restarted on its own and reverted to 2023.11.0!

Logs (don’t see anything obvious but not good at reading these):

Home Assistant Core

2023-11-11 11:33:48.763 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration plex_recently_added which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-11 11:33:48.765 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration meross_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-11 11:33:48.767 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration trakt which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-11 11:33:48.769 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bhyve which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-11 11:33:48.771 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tesla_custom which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-11 11:33:48.773 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-11 11:33:48.775 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration awnet_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-11 11:33:48.777 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration wundergroundpws which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-11 11:33:48.780 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration emporia_vue which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-11-11 11:33:54.266 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly

2023-11-11 11:33:54.311 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=288 from 2023-11-11 16:18:33.632244)

2023-11-11 11:33:59.015 ERROR (MainThread) [frontend.js.latest.202310301] Uncaught error from Safari 17.1 on Mac OS 10.15.7

ReferenceError: Can’t find variable: Polymer

module code (/local/battery-entity.js:1:36)

2023-11-11 11:34:12.389 ERROR (MainThread) [custom_components.wundergroundpws.coordinator] Error fetching WUnderground data: TimeoutError()

2023-11-11 11:34:12.405 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up wundergroundpws platform for sensor

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 359, in _async_setup_platform

await asyncio.shield(task)

File “/config/custom_components/wundergroundpws/sensor.py”, line 46, in async_setup_entry

sensors = [

^

File “/config/custom_components/wundergroundpws/sensor.py”, line 47, in

WundergroundPWSSensor(coordinator, description) for description in SENSOR_DESCRIPTIONS

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/config/custom_components/wundergroundpws/sensor.py”, line 116, in init

self._sensor_data = _get_sensor_data(

^^^^^^^^^^^^^^^^^

File “/config/custom_components/wundergroundpws/sensor.py”, line 180, in _get_sensor_data

return sensors[FIELD_OBSERVATIONS][0][kind]

^^^^^^^^^^^^^^^^^^^^

TypeError: ‘NoneType’ object is not subscriptable

2023-11-11 11:34:12.414 ERROR (MainThread) [homeassistant.components.weather] Error adding entities for domain weather with platform wundergroundpws

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 507, in async_add_entities

await asyncio.gather(*tasks)

File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 752, in _async_add_entity

await entity.add_to_platform_finish()

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1023, in add_to_platform_finish

self.async_write_ha_state()

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 743, in async_write_ha_state

self._async_write_ha_state()

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 843, in _async_write_ha_state

state, attr = self._async_generate_attributes()

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 784, in _async_generate_attributes

state = self._stringify_state(available)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 749, in _stringify_state

if (state := self.state) is None:

^^^^^^^^^^

File “/usr/src/homeassistant/homeassistant/components/weather/init.py”, line 960, in state

return self.condition

^^^^^^^^^^^^^^

File “/config/custom_components/wundergroundpws/weather.py”, line 163, in condition

day = self.coordinator.get_forecast(FIELD_FORECAST_ICONCODE)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/config/custom_components/wundergroundpws/coordinator.py”, line 214, in get_forecast

return self.data[FIELD_DAYPART][0][field][period]

^^^^^^^^^^^^^^^

TypeError: ‘NoneType’ object is not subscriptable

2023-11-11 11:34:12.430 ERROR (MainThread) [homeassistant.components.weather] Error while setting up wundergroundpws platform for weather

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 367, in _async_setup_platform

await asyncio.gather(*pending)

File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 507, in async_add_entities

await asyncio.gather(*tasks)

File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 752, in _async_add_entity

await entity.add_to_platform_finish()

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1023, in add_to_platform_finish

self.async_write_ha_state()

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 743, in async_write_ha_state

self._async_write_ha_state()

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 843, in _async_write_ha_state

state, attr = self._async_generate_attributes()

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 784, in _async_generate_attributes

state = self._stringify_state(available)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 749, in _stringify_state

if (state := self.state) is None:

^^^^^^^^^^

File “/usr/src/homeassistant/homeassistant/components/weather/init.py”, line 960, in state

return self.condition

^^^^^^^^^^^^^^

File “/config/custom_components/wundergroundpws/weather.py”, line 163, in condition

day = self.coordinator.get_forecast(FIELD_FORECAST_ICONCODE)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/config/custom_components/wundergroundpws/coordinator.py”, line 214, in get_forecast

return self.data[FIELD_DAYPART][0][field][period]

^^^^^^^^^^^^^^^

TypeError: ‘NoneType’ object is not subscriptable

2023-11-11 11:34:58.124 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: raspberry_pi

2023-11-11 11:35:58.216 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: raspberry_pi

2023-11-11 11:36:58.290 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: raspberry_pi

2023-11-11 11:37:58.357 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: raspberry_pi

2023-11-11 11:38:11.048 ERROR (MainThread) [frontend.js.latest.202310301] Uncaught error from Safari 17.1 on Mac OS 10.15.7

ReferenceError: Can’t find variable: Polymer

module code (/local/battery-entity.js:1:36)

2023-11-11 11:38:58.429 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: raspberry_pi

2023-11-11 11:39:10.561 WARNING (MainThread) [py.warnings] /config/custom_components/bhyve/sensor.py:155: RuntimeWarning: coroutine ‘BHyveWebsocketEntity.async_update’ was never awaited

super().async_update()

Your database is corrupt. Possibly system was forcibly restarted while SQLite was updating.

2023-11-11 11:33:54.266 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly

Thanks for interpreting that.

Fixable with an install and restore or need to find a version to restore that is older?

1 Like

Nevermind, looks like I fixed it by adding MariaDB add-on and one word in the configuration.yaml

recorder:

(well and link to the MariaDB pw…)

Boot is faster now too

Successfully on 2023.11.2

Hoping it holds…