home-assistant/core

Home Assistant Docker container not working on QNAP TS-431P3

stefangossner opened this issue · 1 comments

The problem

Starting the docker container for Home Assistant on QNAP TS-431P3 does not work.
No error in the log.
Exit Code is 139.

Tested with DISABLE_JEMALLOC=true - does not help.

The issue with identical hardware has been discussed here without a solution:
https://community.home-assistant.io/t/qnap-431p3-docker-homeassistant-core/601041

Here are more details:

[~] # docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f8e40a5a4421 homeassistant/home-assistant:latest "/init python -m hom…" 26 minutes ago Exited (139) 26 minutes ago home-assistant

[~] # docker inspect f8e40a5a4421
[~] #

[~] # docker inspect f8e40a5a4421
[
{
"Id": "f8e40a5a44210c49acfc87dfdd2ebd542528b306ffa63e3f29954cd3f68f946c",
"Created": "2024-10-19T19:46:16.9321234Z",
"Path": "/init",
"Args": [
"python",
"-m",
"homeassistant",
"--config",
"/config"
],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 139,
"Error": "",
"StartedAt": "2024-10-19T19:46:18.00899784Z",
"FinishedAt": "2024-10-19T19:46:18.14063042Z"
},
"Image": "sha256:daccc3ffd67b209e09cfc2cb34f2d03866411511c974a3fc0bb6d8926287c25d",
"ResolvConfPath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/containers/f8e40a5a44210c49acfc87dfdd2ebd542528b306ffa63e3f29954cd3f68f946c/resolv.conf",
"HostnamePath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/containers/f8e40a5a44210c49acfc87dfdd2ebd542528b306ffa63e3f29954cd3f68f946c/hostname",
"HostsPath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/containers/f8e40a5a44210c49acfc87dfdd2ebd542528b306ffa63e3f29954cd3f68f946c/hosts",
"LogPath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/containers/f8e40a5a44210c49acfc87dfdd2ebd542528b306ffa63e3f29954cd3f68f946c/f8e40a5a44210c49acfc87dfdd2ebd542528b306ffa63e3f29954cd3f68f946c-json.log",
"Name": "/home-assistant",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/share/Container/homeass:/config",
"/etc/localtime:/etc/localtime:ro"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {
"max-file": "10",
"max-size": "10m"
}
},
"NetworkMode": "host",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
35,
278
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": true,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": [
"label=disable"
],
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": [],
"BlkioDeviceWriteBps": [],
"BlkioDeviceReadIOps": [],
"BlkioDeviceWriteIOps": [],
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": [
{
"Name": "nofile",
"Hard": 65535,
"Soft": 65535
}
],
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": null,
"ReadonlyPaths": null
},
"GraphDriver": {
"Data": {
"LowerDir": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b71e748809b4abdd8dea97ecc5c62dd6d156489b38372da9a6853ef10de1406f-init/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/a94c48e1398bd1b2cc468e8c652c4974eb856bfa857a65b94a105f5be22d4673/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/ee3be820212924e66250c023b990f48d15789dd3614655dce99d63a6f026f3a9/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/1cb61e3e1d7ab0a1d2a3c0b14a6dafc603880f16de1624adaa0fadbef7b9fec6/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/ba12f6e59f923cf014b2ad9dabeb002bc1eef9b1ec7a1a200d719ea35078679d/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b33acc1d3de9176fd7abe6b65af4253f3aa86fc39a176ff9790e1343dfa42f86/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/4fe0fba7467878366f086ff401889803691e5f9ba4a54b7af2eb4d3acf68e3e3/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/34ae3f44a03eada17040bdae24e1792d58d9f559a9a42e690f2b7b59f808521f/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/c14377553719562ced23a43b2388d200a0eeacf668246e3c4bdaa45fe5e1eb8d/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/e9266d364126017e63ebc9c07bf04db681e7409a7dc4dc1860e24239087e8a38/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/a4de75110fd53befe621167d3b95f26515256533fe3ff7157618946939525195/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/0a52b3ce1f8bc2c608487db714bee1385a1a03f2cc65fb098343f9838191b023/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/88fc22a11c53ef79acfedf9470bae275d8f2fbaad938786f93647cccd760b1f4/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/abc5a62c4a0191f21b7a7dcc26f5e0cf6a5592e48329768334d66d6bebe3f133/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/9e1cd53cb843070ba7feb86a8a3351c88f72174f421e618e9ee4db25904d34e4/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/931399a0ad2d7e17c65d5be0b839454e1252791f7fdeef678a7411668fb8433b/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/abe39d3d58e3a3418997712543b38249c9fdf48b892068ba2e8725c8252d6789/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b9dd1c89f12ba3709485fd73e4d2c0ee685c7208ac9283dfdecf4003729487c6/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/50e09ceeb0c368e1b4e58d143c1f169d865ac5a63714d7c73c2c4faf81f6e519/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b8d77f35154fd3f0a1b0002885554ba6a2f49ad183a20deab6f53000f37ef756/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/4087024320f230d48c5bd9c5de6acbd30437af06aff564e6f6ce86c650f2769c/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/afb5df0198723654e64201bca93e9a41e24a7aecd9510d4a92787a255a839229/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/9ef195d285dcef9d2076903df1b8ee1ec01cae585ce08009bb0f366f7777a039/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/27fed7eb71c5bcbacfb0b8baf3eda45b3e0c482e6cdef047add36fedd7f39b87/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/9912844e70adc9559409dd30384a90b9156f4d39657217c6cd5cb44352601c0f/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/32dcc8217cc7921833f036a1196a169cf80ff4786799ab2212f9a0c97c2bf8bb/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/483012e346b65da68421d7760b961e155a42a4d1cf7becca20fa63a9cd4ce710/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/925c918403dc672d369fc535e24c3ebe75b97438ac5a8497605b4186772325b0/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/4fd66ec8db9efe2bffdc8b134e245c905c0872a5cdef8cca443dc3e03ec22829/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/c3b2feb35ee59e936738e57817340db2d17a6f38c3d0fc7fd88814e5aa832086/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b81ea4fced000cfc7b2a625977590b88facf666740ec80f289a89dfbf6b0d777/diff:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/8682a2721ef0620a6c14f30bbf79631f53df9613d679b7e73f0185ead233b583/diff",
"MergedDir": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b71e748809b4abdd8dea97ecc5c62dd6d156489b38372da9a6853ef10de1406f/merged",
"UpperDir": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b71e748809b4abdd8dea97ecc5c62dd6d156489b38372da9a6853ef10de1406f/diff",
"WorkDir": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/b71e748809b4abdd8dea97ecc5c62dd6d156489b38372da9a6853ef10de1406f/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/share/Container/homeass",
"Destination": "/config",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/etc/localtime",
"Destination": "/etc/localtime",
"Mode": "ro",
"RW": false,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "MY_QNAP",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"DISABLE_JEMALLOC=true",
"PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.UTF-8",
"S6_BEHAVIOUR_IF_STAGE2_FAILS=2",
"S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
"S6_CMD_WAIT_FOR_SERVICES=1",
"S6_SERVICES_READYTIME=50",
"UV_EXTRA_INDEX_URL=https://wheels.home-assistant.io/musllinux-index/",
"S6_SERVICES_GRACETIME=240000",
"UV_SYSTEM_PYTHON=true"
],
"Cmd": [
"python",
"-m",
"homeassistant",
"--config",
"/config"
],
"Image": "homeassistant/home-assistant:latest",
"Volumes": null,
"WorkingDir": "/config",
"Entrypoint": [
"/init"
],
"OnBuild": null,
"Labels": {
"io.hass.arch": "armv7",
"io.hass.base.arch": "armv7",
"io.hass.base.image": "ghcr.io/home-assistant/armv7-base:3.20",
"io.hass.base.name": "python",
"io.hass.base.version": "2024.06.1",
"io.hass.type": "core",
"io.hass.version": "2024.10.3",
"org.opencontainers.image.authors": "The Home Assistant Authors",
"org.opencontainers.image.created": "2024-10-18 15:13:39+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": "2024.10.3"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "772314a91ed3321a813395485524028c7f500bd15679b3fa184ed5aa0ce43948",
"SandboxKey": "/var/run/docker/netns/default",
"Ports": {},
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"host": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"MacAddress": "",
"NetworkID": "83b1b188c0ad34783c75cdbe15cef2c458cc972a372b7f656d4597a3b8fc502b",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DriverOpts": null,
"DNSNames": null
}
}
}
}
]

What version of Home Assistant Core has the issue?

2024.10.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Just to ensure - did you follow the install guide for QNAP based docker installations?
Further, without any error message it will be hard to analyse the issue