Home assistant Docker 2025-1 bug

Good morning,

I hope I’m in the right place, I’m having a problem with Home Assistant since version 2025.

My HA is installed on a Qnap via docker, I have had HA since 2022 I believe and I have never encountered this problem, I update HA with each new version while keeping the old one just in case, but since the version 2025 I encounter a problem Every time I install version 2025 whether it is 1, 2, 3 or 4 My HA after a certain time is no longer accessible via the browser or app… I have to restart docker so that HA is accessible again.

I also noticed that when I reboot via HA it no longer becomes accessible as well. So each time I go back to version 2024-12-5 which works perfectly.

Can you help me resolve this problem? What information do you need?

Sorry for my english but i used google traductor.

Thank you!

Logs are always helpful.

1 Like
2025-01-27 17:53:24.842 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration huawei_solar 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
2025-01-27 17:53:33.246 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (pt) string component.assist_pipeline.issues.assist_in_progress_deprecated.title failed: ({'entity_id', 'integration_name'} != {'integration_name'})
2025-01-27 17:53:33.263 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (pt) string component.tapo_control.config.flow_title failed: ({'nome'} != {'name'})
2025-01-27 17:53:33.494 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2025-01-27 17:53:45.452 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry home-assistant-e8c0d for google_assistant
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/google_assistant/__init__.py", line 121, in async_setup_entry
    config: ConfigType = {**hass.data[DOMAIN][DATA_CONFIG]}
                            ~~~~~~~~~^^^^^^^^
KeyError: 'google_assistant'
2025-01-27 17:53:45.465 DEBUG (MainThread) [custom_components.precoscombustiveis] Start 'async_setup'...
2025-01-27 17:53:45.465 DEBUG (MainThread) [custom_components.precoscombustiveis] Save API in hass.data[DOMAIN]
2025-01-27 17:53:45.588 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.poupanca_eletricidade_daily (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.595 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.poupanca_eletricidade_weekly (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.625 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.poupanca_eletricidade_monthly (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.629 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.poupanca_eletricidade_yearly (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.634 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.vendido_eletricidade_daily (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.638 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.vendido_eletricidade_weekly (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.656 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.vendido_eletricidade_monthly (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.663 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.vendido_eletricidade_yearly (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.667 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.pago_eletricidade_daily (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.671 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.pago_eletricidade_weekly (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.677 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.pago_eletricidade_monthly (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:45.681 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.pago_eletricidade_yearly (<class 'homeassistant.components.utility_meter.sensor.UtilityMeterSensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+utility_meter%22
2025-01-27 17:53:46.555 WARNING (SyncWorker_1) [homeassistant.util.yaml.loader] YAML file /config/configuration.yaml contains duplicate key "packages". Check lines 9 and 10
2025-01-27 17:53:56.423 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Turn on/off Exterior light' failed to setup actions and has been disabled: Unknown device '82eaeadad04734343cffdae00672661b'
2025-01-27 17:53:59.077 DEBUG (MainThread) [custom_components.precoscombustiveis.dgeg] Fetching details for gas station Id:70202...
2025-01-27 17:53:59.357 DEBUG (MainThread) [custom_components.precoscombustiveis.dgeg] Fetching details for gas station Id:70202...
2025-01-27 17:53:59.359 DEBUG (MainThread) [custom_components.precoscombustiveis.dgeg] Fetching details for gas station Id:70202...
2025-01-27 17:53:59.361 DEBUG (MainThread) [custom_components.precoscombustiveis.dgeg] Fetching details for gas station Id:70202...
2025-01-27 17:54:00.112 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbc03a3f390>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-01-27 17:54:00.691 WARNING (ImportExecutor_0) [homeassistant.const] POWER_VOLT_AMPERE_REACTIVE was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.9. Use UnitOfReactivePower.VOLT_AMPERE_REACTIVE instead, please report it to the author of the 'huawei_solar' custom integration
2025-01-27 17:54:03.039 ERROR (MainThread) [homeassistant.components.media_player] Platform music_assistant does not generate unique IDs. ID 7b779812-aa1f-9028-843e-5db9bc73805b already exists - ignoring media_player.google_home_2
2025-01-27 17:54:38.350 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/withings/__init__.py", line 271, in register_webhook
    await async_subscribe_webhooks(self.withings_data.client, webhook_url)
  File "/usr/src/homeassistant/homeassistant/components/withings/__init__.py", line 198, in async_subscribe_webhooks
    await client.subscribe_notification(webhook_url, notification)
  File "/usr/local/lib/python3.13/site-packages/aiowithings/withings.py", line 357, in subscribe_notification
    await self._request(
    ...<6 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/aiowithings/withings.py", line 137, in _request
    raise WithingsInvalidParamsError(error)
aiowithings.exceptions.WithingsInvalidParamsError: The callback URL is either absent or incorrect
2025-01-27 17:54:39.594 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbbf7da8410>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-01-27 17:54:50.026 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbbf29665d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-01-27 17:54:51.983 ERROR (MainThread) [aiohttp_sse_client2.client] fetch http://192.168.1.56/events failed: 401: b'wrong login or password'
2025-01-27 17:54:51.986 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/pysmlight/sse.py", line 52, in client
    await self.sse_stream()
  File "/usr/local/lib/python3.13/site-packages/pysmlight/sse.py", line 58, in sse_stream
    async with EventSource(
               ~~~~~~~~~~~^
        self.url, session=self.session, timeout=self.timeout, max_connect_retry=8
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ) as event_source:
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohttp_sse_client2/client.py", line 126, in __aenter__
    await self.connect(self._max_connect_retry)
  File "/usr/local/lib/python3.13/site-packages/aiohttp_sse_client2/client.py", line 244, in connect
    raise ConnectionRefusedError(error_message, body)
ConnectionRefusedError: [Errno fetch http://192.168.1.56/events failed: 401: b'wrong login or password'] b'wrong login or password'
2025-01-27 17:55:10.356 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbc03a3c7d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-01-27 17:55:50.789 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbbf232cf50>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-01-27 17:57:11.127 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbbf232e710>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-01-27 17:58:31.208 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbbf232d810>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-01-27 17:59:51.345 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbbf1af2990>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-01-27 18:01:11.640 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbbf1af1810>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-01-27 18:02:34.952 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.14', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbbf1af1a90>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-01-27 18:27:09.581 WARNING (SyncWorker_6) [homeassistant.util.yaml.loader] YAML file /config/configuration.yaml contains duplicate key "packages". Check lines 9 and 10
2025-01-27 18:27:09.663 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Turn on/off Exterior light' failed to setup actions and has been disabled: Unknown device '82eaeadad04734343cffdae00672661b'
2025-01-27 18:27:12.440 WARNING (SyncWorker_2) [homeassistant.util.yaml.loader] YAML file /config/configuration.yaml contains duplicate key "packages". Check lines 9 and 10
2025-01-27 18:27:12.524 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Turn on/off Exterior light' failed to setup actions and has been disabled: Unknown device '82eaeadad04734343cffdae00672661b'
2025-01-27 18:27:18.270 WARNING (SyncWorker_5) [homeassistant.util.yaml.loader] YAML file /config/configuration.yaml contains duplicate key "packages". Check lines 9 and 10
2025-01-27 18:27:18.357 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Turn on/off Exterior light' failed to setup actions and has been disabled: Unknown device '82eaeadad04734343cffdae00672661b'
2025-01-27 18:27:18.468 ERROR (MainThread) [homeassistant.core] Error running job: <Job onetime listen homeassistant_stop <bound method Client.stop of <custom_components.bhyve.pybhyve.client.Client object at 0x7fbc0bd16900>> HassJobType.Callback <_OneTimeListener custom_components.bhyve.pybhyve.client:<bound method Client.stop of <custom_components.bhyve.pybhyve.client.Client object at 0x7fbc0bd16900>>>>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1578, in async_fire_internal
    self._hass.async_run_hass_job(job, event)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 940, in async_run_hass_job
    hassjob.target(*args)
    ~~~~~~~~~~~~~~^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 1439, in __call__
    self.hass.async_run_hass_job(self.listener_job, event)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 943, in async_run_hass_job
    return self._async_add_hass_job(hassjob, *args, background=background)
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 759, in _async_add_hass_job
    hassjob.target(*args), name=hassjob.name, loop=self.loop
    ~~~~~~~~~~~~~~^^^^^^^
TypeError: Client.stop() takes 1 positional argument but 2 were given
s6-rc: info: service legacy-services: stopping

The TAPO camera was not accessible but this is corrected as well as the Automation with alias ‘Turn on/off Exterior light’ problem

what about orbit integration?

I’m going to disable the integration to see.

Same and when I restart via HA it becomes inaccessible, I have to restart via Container station from qnap.

I also tried in SAFE MODE without any integration, when I do “restart HA” nothing happens, HA becomes inaccessible, the only way to return to HA is to restart the Container.

In order to understand I have just created a new Container with HA 2025-1-4 without using the config of my old HA, so a brand new HA without any integration and the problem remains the same, if I restart HA it becomes inaccessible, I I have to restart the container. So I suppose that the error comes from Home assistant in Docker version since 2025 or there is an incompatibility with QNAP Container.

Can you show your QNAP container station config or docker compose file? I have several QNAPs myself so I can try to replicate.



Name:
home-assistant-2025-01-04
ID:
7f239e6c39eee4bade1ab89d7b74ea65cef6446fd201dbbe2b08e99083bf7816
Image:
homeassistant/home-assistant:2025.1.4@sha256:543b62111c0c47246c9b209cba81e0254365aad4e026a1e895219a1cda24cdc4
Entrypoint:
/init
Restart policy:
Unless Stopped

Runtime:
runc
Privileged mode:
Disabled
CPU limit:
Unlimited
Memory limit:
Unlimited
Memory reservation:
Unlimited

Variable:
Value:
LANG
C.UTF-8
PATH
/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
S6_BEHAVIOUR_IF_STAGE2_FAILS
2
S6_CMD_WAIT_FOR_SERVICES
1
S6_CMD_WAIT_FOR_SERVICES_MAXTIME
0
S6_SERVICES_GRACETIME
240000
S6_SERVICES_READYTIME
50
Tz
Europe/Lisbon
UV_EXTRA_INDEX_URL
https://wheels.home-assistant.io/musllinux-index/
UV_NO_CACHE
true
UV_SYSTEM_PYTHON
true

Key:
Value:
io.hass.arch
amd64
io.hass.base.arch
amd64
io.hass.base.image
ghcr.io/home-assistant/amd64-base:3.21
io.hass.base.name
python
io.hass.base.version
2024.12.1
io.hass.type
core
io.hass.version
2025.1.4
org.opencontainers.image.authors
The Home Assistant Authors
org.opencontainers.image.created
2025-01-24 08:56:07+00:00
org.opencontainers.image.description
Open-source home automation platform running on Python 3
org.opencontainers.image.documentation
https://www.home-assistant.io/docs/
org.opencontainers.image.licenses
Apache License 2.0
org.opencontainers.image.source
https://github.com/home-assistant/core
org.opencontainers.image.title
Home Assistant
org.opencontainers.image.url
https://www.home-assistant.io/
org.opencontainers.image.version
2025.1.4

Mode
Network
Connection
IP Address
MAC Address
Host
host
- -
- -
- -

home-assistant-2024-12-5, /Container/container-station-data/lib/docker/volumes/homeassistant-config/_data, /Multimedia

Is that right?

That does not match what I have, where are you getting this from? I take it you are deploying from the GUI, not docker-compose.

Yes I do it from GUI, I can try via docker compose if you explain how to do it, please, thank you.

can I choose the version of home assistant? if yes can you tell me how? Because I always keep an old version that works when I upgrade to a new one.

You can specify the version with image: "ghcr.io/home-assistant/home-assistant:stable" set it to the version you want.

version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:2025.1.4"
    volumes:
      - /Container/container-station-data/lib/docker/volumes/homeassistant-config/_data:/config
      - /Multimedia:/media
    restart: unless-stopped
    privileged: true
    network_mode: host

Like that?

1 Like

I did it with Docker Compose, however it did not take into account the existing config, was I wrong in the code?

You need to map to your configuration. Like I wrote in the example:

Create a folder where you store your HA data, in this example it assumes that you have a folder created here: System/container/home-assistant This is very important to keep your config stored regardless of updates. Also make sure you take a backup of this folder regularly.