Can't upgrade to Core 2025.01.x - Rollback to 2024.12.x and no info

Hello Community,

I’m facing an issues during the Core 2025.1.x update but I can’t find any good log to figure out which is the issue.
I’m running Home Assistant Operating System on Proxmox:

  • Core 2024.12.5
  • Supervisor 2024.12.3
  • Operating System 14.2

In December I had some issues with the MariaDB add-on and hard time with ZHA as well (probably due to the aforementioned DB issues…). If so I removed MariadDB and went back to SQLite.
DB is now ~1.6Gb, everything is working fine but I can’t upgrade to the newest 2025.x Core release.
I think after the DB change I upgraded to 2024.12.4 and 2024.12.5, so the process was ok and went fine even if after the DB change. I don’t see it as linked and Ithink there are not leftovers from old integrations/add-ons/etc.
In January I waited for 2025.1.1 and then tried the upgrade all the minor versions. Nothing.
Core container is created but after few seconds it dies and the rollback procedure starts.

Supervisor logs:

2025-01-27 18:52:42.867 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2025.1.4
2025-01-27 18:52:42.872 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/qemux86-64-homeassistant:2024.12.5 to ghcr.io/home-assistant/qemux86-64-homeassistant:2025.1.4
2025-01-27 18:52:42.874 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2025.1.4.
2025-01-27 18:52:43.717 INFO (SyncWorker_6) [supervisor.docker.manager] Stopping homeassistant application
2025-01-27 18:52:58.309 INFO (SyncWorker_6) [supervisor.docker.manager] Cleaning homeassistant application
2025-01-27 18:52:59.666 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2025-01-27 18:53:00.768 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/qemux86-64-homeassistant with version 2025.1.4
2025-01-27 18:53:00.770 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-01-27 18:53:25.921 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2025-01-27 18:53:25.923 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!
2025-01-27 18:53:25.953 INFO (MainThread) [supervisor.resolution.module] Create new issue update_rollback - core / None
2025-01-27 18:53:25.963 INFO (MainThread) [supervisor.homeassistant.core] A backup of the logfile is stored in /config/home-assistant-rollback.log
2025-01-27 18:53:25.964 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2024.12.5
2025-01-27 18:53:25.966 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/qemux86-64-homeassistant:2025.1.4 to ghcr.io/home-assistant/qemux86-64-homeassistant:2024.12.5
2025-01-27 18:53:25.969 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2024.12.5.
2025-01-27 18:53:27.021 INFO (SyncWorker_4) [supervisor.docker.manager] Cleaning homeassistant application
2025-01-27 18:53:27.366 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2025-01-27 18:53:28.354 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/qemux86-64-homeassistant with version 2024.12.5
2025-01-27 18:53:28.357 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-01-27 18:54:25.017 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-01-27 18:54:26.053 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete

Same result letting the system download the new version of pulling it from cli before run the upgrade.
No good info there as well:

home-assistant-rollback.log
home-assistant.log.1
home-assistant.log.fault

The only log which is showing something is the one for the “short life” container:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 192, in main
    from . import config, runner
  File "/usr/src/homeassistant/homeassistant/runner.py", line 16, in <module>
    from . import bootstrap
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 27, in <module>
    from . import (
    ...<6 lines>...
    )
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 33, in <module>
    from .components import persistent_notification
  File "/usr/src/homeassistant/homeassistant/components/persistent_notification/__init__.py", line 14, in <module>
    from homeassistant.components import websocket_api
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/__init__.py", line 12, in <module>
    from . import commands, connection, const, decorators, http, messages  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 16, in <module>
    from homeassistant.components.http import KEY_HASS, HomeAssistantView
  File "/usr/src/homeassistant/homeassistant/components/http/__init__.py", line 50, in <module>
    from homeassistant.helpers.network import NoURLAvailableError, get_url
  File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 10, in <module>
    from hass_nabucasa import remote
  File "/usr/local/lib/python3.13/site-packages/hass_nabucasa/__init__.py", line 18, in <module>
    from .auth import CloudError, CognitoAuth
  File "/usr/local/lib/python3.13/site-packages/hass_nabucasa/auth.py", line 12, in <module>
    import boto3
  File "/usr/local/lib/python3.13/site-packages/boto3/__init__.py", line 17, in <module>
    from boto3.session import Session
  File "/usr/local/lib/python3.13/site-packages/boto3/session.py", line 17, in <module>
    import botocore.session
  File "/usr/local/lib/python3.13/site-packages/botocore/session.py", line 26, in <module>
    import botocore.client
  File "/usr/local/lib/python3.13/site-packages/botocore/client.py", line 15, in <module>
    from botocore import waiter, xform_name
  File "/usr/local/lib/python3.13/site-packages/botocore/waiter.py", line 18, in <module>
    from botocore.docs.docstring import WaiterDocstring
  File "/usr/local/lib/python3.13/site-packages/botocore/docs/__init__.py", line 15, in <module>
    from botocore.docs.service import ServiceDocumenter
  File "/usr/local/lib/python3.13/site-packages/botocore/docs/service.py", line 13, in <module>
    from botocore.docs.bcdoc.restdoc import DocumentStructure
  File "/usr/local/lib/python3.13/site-packages/botocore/docs/bcdoc/restdoc.py", line 17, in <module>
    from botocore.compat import OrderedDict
  File "/usr/local/lib/python3.13/site-packages/botocore/compat.py", line 32, in <module>
    from urllib3 import exceptions
  File "/usr/local/lib/python3.13/site-packages/urllib3/__init__.py", line 13, in <module>
    from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
  File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 41, in <module>
    from .response import HTTPResponse
  File "/usr/local/lib/python3.13/site-packages/urllib3/response.py", line 163, in <module>
    class HTTPResponse(io.IOBase):
    ...<721 lines>...
                yield b"".join(buffer)
  File "/usr/local/lib/python3.13/site-packages/urllib3/response.py", line 396, in HTTPResponse
    DECODER_ERROR_CLASSES += (brotli.error,)
                              ^^^^^^^^^^^^
AttributeError: module 'brotli' has no attribute 'error'
[09:46:32] INFO: Home Assistant Core finish process exit code 1
[09:46:32] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

But I can’t find anything about this error. Something missing on OS level? Home Assistant Operating System is running w/o any other issue…

Any additional test should I run?
Developer mode?
Starting from scratch?

Thanks!

Hello Community,

same behavior with 2025.2.0:

[...]
  File "/usr/local/lib/python3.13/site-packages/botocore/docs/bcdoc/restdoc.py", line 17, in <module>
    from botocore.compat import OrderedDict
  File "/usr/local/lib/python3.13/site-packages/botocore/compat.py", line 32, in <module>
    from urllib3 import exceptions
  File "/usr/local/lib/python3.13/site-packages/urllib3/__init__.py", line 13, in <module>
    from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
  File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 41, in <module>
    from .response import HTTPResponse
  File "/usr/local/lib/python3.13/site-packages/urllib3/response.py", line 163, in <module>
    class HTTPResponse(io.IOBase):
    ...<721 lines>...
                yield b"".join(buffer)
  File "/usr/local/lib/python3.13/site-packages/urllib3/response.py", line 396, in HTTPResponse
    DECODER_ERROR_CLASSES += (brotli.error,)
                              ^^^^^^^^^^^^
AttributeError: module 'brotli' has no attribute 'error'
[06:54:25] INFO: Home Assistant Core finish process exit code 1
[06:54:25] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

after a

➜  ~ ha core update --version 2025.2.0 --no-progress --log-level debug --raw-json
DEBU[0000] Adding homedir to searchpath                  homedir=/root
INFO[0000] No configfile found
DEBU[0000] Debug flags                                   apiToken=5[...]6 cfgFile= endpoint=supervisor logLevel=debug noProgress=true rawJSON=true
DEBU[0000] core update                                   args="[]"
DEBU[0000] [GenerateURI]                                 base=supervisor command=update section=core
DEBU[0000] [GenerateURI] Result                          uri="http://supervisor/core/update" url="http://supervisor/core/update" url(string)="http://supervisor/core/update"
DEBU[0000] Request body                                  body="map[version:2025.2.0]"

Any suggestion?

Thanks