-
-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When deploying home assistant in my home lab (proxmox, ubuntu 24.04 vm, docker, portainer), the container shows running but the service isn't listening on 8123. When I check the logs, I find the following. If I revert back to 2025.9.0, it runs fine.
**** New container detected, fixing python package permissions. This may take a while. ****
/etc/s6-overlay/s6-rc.d/init-config-homeassistant/run: line 20: 126 Segmentation fault mv "${PY_LOCAL_PATH}.bak" "${PY_LOCAL_PATH}"
Setting permissions
[custom-init] No custom files found, skipping...
Failed to set capabilities on file '/usr/local/bin/python3.13.bak': No such file or directory
Error processing line 1 of /usr/local/lib/python3.13/site-packages/azure_kusto_data-4.5.1-py3.7-nspkg.pth:
Fatal Python error: init_import_site: Failed to import the site module
Python runtime state: initialized
Traceback (most recent call last):
File "", line 207, in addpackage
File "", line 1, in
ModuleNotFoundError: No module named 'types'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 716, in
File "", line 703, in main
File "", line 422, in addsitepackages
File "", line 248, in addsitedir
File "", line 217, in addpackage
ModuleNotFoundError: No module named 'traceback'
Expected Behavior
I should be able to upgrade to 2025.9.1 without experiencing these errors and the service should run as expected.
Steps To Reproduce
- I updated my docker-compose.yml to the latest tag, 2025.9.1.
- The stack updated in Portainer, shows running, but the logs show errors, and the service is not responding.
Environment
- OS: Ubuntu 24.04 VM
- How docker service was installed: Installed as stack through Portainer with the following docker compose configCPU architecture
x86-64
Docker creation
services:
homeassistant:
image: lscr.io/linuxserver/homeassistant:2025.9.1
container_name: home-assistant
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=America/Chicago
volumes:
- /docker/home-assistant/config:/config
ports:
- 8123:8123
restart: unless-stoppedContainer logs
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1000
User GID: 1000
───────────────────────────────────────
Linuxserver.io version: 2025.9.1-ls138
Build-date: 2025-09-10T02:02:38+00:00
───────────────────────────────────────
**** New container detected, fixing python package permissions. This may take a while. ****
/etc/s6-overlay/s6-rc.d/init-config-homeassistant/run: line 20: 126 Segmentation fault mv "${PY_LOCAL_PATH}.bak" "${PY_LOCAL_PATH}"
Setting permissions
[custom-init] No custom files found, skipping...
Failed to set capabilities on file '/usr/local/bin/python3.13.bak': No such file or directory
Error processing line 1 of /usr/local/lib/python3.13/site-packages/azure_kusto_data-4.5.1-py3.7-nspkg.pth:
Fatal Python error: init_import_site: Failed to import the site module
Python runtime state: initialized
Traceback (most recent call last):
File "<frozen site>", line 207, in addpackage
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'types'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen site>", line 716, in <module>
File "<frozen site>", line 703, in main
File "<frozen site>", line 422, in addsitepackages
File "<frozen site>", line 248, in addsitedir
File "<frozen site>", line 217, in addpackage
ModuleNotFoundError: No module named 'traceback'
Failed to set capabilities on file '/usr/local/bin/python3.13.bak': No such file or directory
Error processing line 1 of /usr/local/lib/python3.13/site-packages/azure_kusto_data-4.5.1-py3.7-nspkg.pth:
Fatal Python error: init_import_site: Failed to import the site module
Python runtime state: initialized
Traceback (most recent call last):
File "<frozen site>", line 207, in addpackage
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'types'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen site>", line 716, in <module>
File "<frozen site>", line 703, in main
File "<frozen site>", line 422, in addsitepackages
File "<frozen site>", line 248, in addsitedir
File "<frozen site>", line 217, in addpackage
ModuleNotFoundError: No module named 'traceback'Metadata
Metadata
Assignees
Type
Projects
Status