Docker Installation fails

I used to run Home Assitant via Docker on my MyCloud EX2 Ultra with Marvell ARMADA 385 Dual-Core ARM Processor.

I used to use this image from dockerhub: homeassistant/armhf-homeassistant

But now I redployed the Container and it refuses to run.

The console shows the following output:


[cont-init.d] udev.sh: executing... 
,[15:45:13] INFO: Update udev information
,[cont-init.d] udev.sh: exited 0.
,[cont-init.d] done.
,[services.d] starting services
,[services.d] done.
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,Fatal Python error: _PyRuntimeState_Init_impl: Can't initialize threads for interpreter
,
,[cont-finish.d] executing container finish scripts...
,[cont-finish.d] done.
,[s6-finish] waiting for services.
,[s6-finish] sending all processes the TERM signal.
,[s6-finish] sending all processes the KILL signal and exiting.
,[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
,[s6-init] ensuring user provided files have correct perms...exited 0.
,[fix-attrs.d] applying ownership & permissions fixes...
,[fix-attrs.d] done.
,[cont-init.d] executing container initialization scripts...
,[cont-init.d] udev.sh: executing... 
,[15:46:14] INFO: Update udev information
,[cont-init.d] udev.sh: exited 0.
,[cont-init.d] done.
,[services.d] starting services
,[services.d] done.
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,Fatal Python error: _PyRuntimeState_Init_impl: Can't initialize threads for interpreter
,
,[cont-finish.d] executing container finish scripts...
,[cont-finish.d] done.
,[s6-finish] waiting for services.
,[s6-finish] sending all processes the TERM signal.
,[s6-finish] sending all processes the KILL signal and exiting.
,[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
,[s6-init] ensuring user provided files have correct perms...exited 0.
,[fix-attrs.d] applying ownership & permissions fixes...
,[fix-attrs.d] done.
,[cont-init.d] executing container initialization scripts...
,[cont-init.d] udev.sh: executing... 
,[15:47:25] INFO: Update udev information
,[cont-init.d] udev.sh: exited 0.
,[cont-init.d] done.
,[services.d] starting services
,[services.d] done.
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,Fatal Python error: _PyRuntimeState_Init_impl: Can't initialize threads for interpreter
,
,[cont-finish.d] executing container finish scripts...
,[cont-finish.d] done.
,[s6-finish] waiting for services.
,[s6-finish] sending all processes the TERM signal.
,[s6-finish] sending all processes the KILL signal and exiting.
,[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
,[s6-init] ensuring user provided files have correct perms...exited 0.
,[fix-attrs.d] applying ownership & permissions fixes...
,[fix-attrs.d] done.
,[cont-init.d] executing container initialization scripts...
,[cont-init.d] udev.sh: executing... 
,[15:48:35] INFO: Update udev information
,[cont-init.d] udev.sh: exited 0.
,[cont-init.d] done.
,[services.d] starting services
,[services.d] done.
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,Fatal Python error: _PyRuntimeState_Init_impl: Can't initialize threads for interpreter
,
,[cont-finish.d] executing container finish scripts...
,[cont-finish.d] done.
,[s6-finish] waiting for services.
,[s6-finish] sending all processes the TERM signal.
,[s6-finish] sending all processes the KILL signal and exiting.
,[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
,[s6-init] ensuring user provided files have correct perms...exited 0.
,[fix-attrs.d] applying ownership & permissions fixes...
,[fix-attrs.d] done.
,[cont-init.d] executing container initialization scripts...
,[cont-init.d] udev.sh: executing... 
,[15:49:45] INFO: Update udev information
,[cont-init.d] udev.sh: exited 0.
,[cont-init.d] done.
,[services.d] starting services
,[services.d] done.
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,<jemalloc>: Unsupported system page size
,Fatal Python error: _PyRuntimeState_Init_impl: Can't initialize threads for interpreter
,
,[cont-finish.d] executing container finish scripts...
,[cont-finish.d] done.
,[s6-finish] waiting for services.
,[s6-finish] sending all processes the TERM signal.
,[s6-finish] sending all processes the KILL signal and exiting.
,

Any one knows whats wrong with my setup? I am now trying to run an older image I pulled in 2019, as I found an Image from 2019 and one from 2018. Maybe one of these will run but it still would be good if I could run the latest version of HASS.

So the Image from 05/2019 runs. Why does the newest Image have problems?

Regards

How you deploy this?
What docker run command?

You doing this command line or other method? We

Hello !

I have the same problem running on my QNAP TS-531P (arm).
I’m running 0.107.7 without any problem, but 0.108 and 0.108.3 isn’t working :confused:
I have created the “docker container” using “container station”, no command line.
I created a bug report : https://github.com/home-assistant/core/issues/34162

Here is the log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.                                                                                                                                                   
[s6-init] ensuring user provided files have correct perms...exited 0.                                                                                                                                                           
[fix-attrs.d] applying ownership & permissions fixes...                                                                                                                                                                         
[fix-attrs.d] done.                                                                                                                                                                                                             
[cont-init.d] executing container initialization scripts...                                                                                                                                                                     
[cont-init.d] udev.sh: executing...                                                                                                                                                                                             
starting version 3.2.9                                                                                                                                                                                                          
[21:38:30] INFO: Update udev information                                                                                                                                                                                        
[cont-init.d] udev.sh: exited 0.                                                                                                                                                                                                
[cont-init.d] done.                                                                                                                                                                                                             
[services.d] starting services                                                                                                                                                                                                  
[services.d] done.                                                                                                                                                                                                              
<jemalloc>: Unsupported system page size                                                                                                                                                                                        
<jemalloc>: Unsupported system page size                                                                                                                                                                                        
<jemalloc>: Unsupported system page size                                                                                                                                                                                        
Fatal Python error: _PyRuntimeState_Init_impl: Can't initialize threads for interpreter                                                                                                                                         
                                                                                                                                                                                                                                
[cont-finish.d] executing container finish scripts...                                                                                                                                                                           
[cont-finish.d] done.                                                                                                                                                                                                           
[s6-finish] waiting for services.                                                                                                                                                                                               
[s6-finish] sending all processes the TERM signal.                                                                                                                                                                              
[s6-finish] sending all processes the KILL signal and exiting.

I deploy this via portainer. I don’t know exactly which commands it uses but with newer images it fails to deploy.

Hi,

I am trying to install homeassistant/armhf-hassio-supervisor:2021.02.dev1801.

It is on a QNAP TS-431X2, Firmware 4.5.2.1566, Docker version 19.03.13.
The homeassistant/armhf-homeassistant:2021.3.0.dev20210218 is running fine - after commenting out the jemalloc library.

But the homeassistant/armhf-hassio-supervisor - independent which tag I am using - is showing me always the error message below:
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] udev.sh: executing…
[20:06:00] INFO: Setup udev backend inside container
starting version 3.2.9
[06:11:52] INFO: Update udev information
Assertion ‘clock_gettime(clock_id, &ts) == 0’ failed at time-util.c:32, function now(). Aborting.
/var/run/s6/etc/cont-init.d/udev.sh: line 20: 209 Aborted udevadm settle
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
: Unsupported system page size
[01:19:04] INFO: Starting local supervisor watchdog…
: Unsupported system page size
: Unsupported system page size
Fatal Python error: _PyRuntimeState_Init_impl: Can’t initialize threads for interpreter
Python runtime state: unknown

[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] udev.sh: executing…
[07:58:32] INFO: Setup udev backend inside container
starting version 3.2.9
[14:28:56] INFO: Update udev information
Assertion ‘clock_gettime(clock_id, &ts) == 0’ failed at time-util.c:32, function now(). Aborting.
/var/run/s6/etc/cont-init.d/udev.sh: line 20: 211 Aborted udevadm settle
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:35:52] INFO: Starting local supervisor watchdog…
Fatal Python error: pyinit_main: can’t initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted

Current thread 0x75b4c390 (most recent call first):

[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Has someone any ideas to fix this issue?

Regards,

Gerhard