Skip to content

0.4.1 not working on RaspberryPi 4 #42

@ScratMan

Description

@ScratMan

Hello, when trying to update my hass-configurator-docker running on my Raspberry pi 4 using causticlab/hass-configurator-docker:latest it fails to start. I need to use the causticlab/hass-configurator-docker:arm tag to keep it working, but it's 0.4.0.

Why ? Isn't the Pi 4 Armv7 ?

The log shows this continuously

No configuration file found proceeding with default values,
Fatal Python error: init_interp_main: can't initialize time,
PermissionError: [Errno 1] Operation not permitted,
Python runtime state: core initialized,
Current thread 0xb6f8f390 (most recent call first):,
<no Python frame>

The inspect of the container when failing:

{
    "AppArmorProfile": "",
    "Args": [],
    "Config": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": null,
        "Domainname": "",
        "Entrypoint": [
            "/app/run.sh"
        ],
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568",
            "PYTHON_VERSION=3.9.5",
            "PYTHON_PIP_VERSION=21.1.1",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/1954f15b3f102ace496a34a013ea76b061535bd2/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=f499d76e0149a673fb8246d88e116db589afbd291739bd84f2cd9a7bca7b6993"
        ],
        "ExposedPorts": {
            "3218/tcp": {}
        },
        "Hostname": "309990fc0eec",
        "Image": "causticlab/hass-configurator-docker:latest",
        "Labels": {
            "com.docker.compose.config-hash": "aafb07caf0db97cae44f1c47eef0831b7dcd1e368cb45a1761f4e3ace58c6b6d",
            "com.docker.compose.container-number": "1",
            "com.docker.compose.oneoff": "False",
            "com.docker.compose.project": "hass-configurator",
            "com.docker.compose.project.config_files": "docker-compose.yml",
            "com.docker.compose.project.working_dir": "/home/homeassistant/docker/compose-files/hass-configurator",
            "com.docker.compose.service": "hass-configurator",
            "com.docker.compose.version": "1.29.1",
            "maintainer": "Martin <Munsio> Treml"
        },
        "OnBuild": null,
        "OpenStdin": false,
        "StdinOnce": false,
        "Tty": false,
        "User": "",
        "Volumes": {
            "/config": {},
            "/hass-config": {}
        },
        "WorkingDir": "/app"
    },
    "Created": "2021-12-03T21:40:29.736189176Z",
    "Driver": "overlay2",
    "ExecIDs": null,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/home/docker/overlay2/c14e3a22f2e8cd4e4800ca2e0dfa7f6a53ee01237b0ecf102477f19db9969d82-init/diff:/home/docker/overlay2/8ca1d30b1c0f019051758884b3c0aa454b5ddfe27e9b7b3ef7b8985d9ea9ffae/diff:/home/docker/overlay2/bc925949c4f5c8bcfabd685f07c52fda7b9c222b1f9f43f57a78ad86283bd499/diff:/home/docker/overlay2/2c3d19d057bc9a9545b4d104da4ae39421cb43a1274a91c0a63b93c0221fa82e/diff:/home/docker/overlay2/f4e4ce1b30a601fa607966839dd86aeac8d754b910d7c5bc6163688e8801bae0/diff:/home/docker/overlay2/8d3d7b9a864d504c6bcf593bedba525ce77a1ac1d75774f3aceca4eeffceda8b/diff:/home/docker/overlay2/4beaaff52f774e52b9266102d68b6e148720e51cb6afe316fd23bf7ba20bd503/diff:/home/docker/overlay2/94ecd8a9ac06039369b24f3a5c8abbddab449f391aad5ce871ced1cb604f747e/diff:/home/docker/overlay2/b3a2c590482361d0553be7aeda5cd2ac1b153d0d9943f8202215c0eb1057ecf2/diff:/home/docker/overlay2/6769db37cb984e42ae4a7e4263b64640d420e36e9916aa2ff096929bffe847ac/diff",
            "MergedDir": "/home/docker/overlay2/c14e3a22f2e8cd4e4800ca2e0dfa7f6a53ee01237b0ecf102477f19db9969d82/merged",
            "UpperDir": "/home/docker/overlay2/c14e3a22f2e8cd4e4800ca2e0dfa7f6a53ee01237b0ecf102477f19db9969d82/diff",
            "WorkDir": "/home/docker/overlay2/c14e3a22f2e8cd4e4800ca2e0dfa7f6a53ee01237b0ecf102477f19db9969d82/work"
        },
        "Name": "overlay2"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": [
            "/home/homeassistant/docker/hass-configurator/configurator-config:/config",
            "/home/homeassistant/.homeassistant:/hass-config"
        ],
        "BlkioDeviceReadBps": null,
        "BlkioDeviceReadIOps": null,
        "BlkioDeviceWriteBps": null,
        "BlkioDeviceWriteIOps": null,
        "BlkioWeight": 0,
        "BlkioWeightDevice": null,
        "CapAdd": [
            "AUDIT_WRITE",
            "CHOWN",
            "DAC_OVERRIDE",
            "FOWNER",
            "FSETID",
            "KILL",
            "MKNOD",
            "NET_BIND_SERVICE",
            "NET_RAW",
            "SETFCAP",
            "SETGID",
            "SETPCAP",
            "SETUID",
            "SYS_CHROOT"
        ],
        "CapDrop": [
            "AUDIT_CONTROL",
            "BLOCK_SUSPEND",
            "DAC_READ_SEARCH",
            "IPC_LOCK",
            "IPC_OWNER",
            "LEASE",
            "LINUX_IMMUTABLE",
            "MAC_ADMIN",
            "MAC_OVERRIDE",
            "NET_ADMIN",
            "NET_BROADCAST",
            "SYSLOG",
            "SYS_ADMIN",
            "SYS_BOOT",
            "SYS_MODULE",
            "SYS_NICE",
            "SYS_PACCT",
            "SYS_PTRACE",
            "SYS_RAWIO",
            "SYS_RESOURCE",
            "SYS_TIME",
            "SYS_TTY_CONFIG",
            "WAKE_ALARM"
        ],
        "Cgroup": "",
        "CgroupParent": "",
        "CgroupnsMode": "host",
        "ConsoleSize": [
            0,
            0
        ],
        "ContainerIDFile": "",
        "CpuCount": 0,
        "CpuPercent": 0,
        "CpuPeriod": 0,
        "CpuQuota": 0,
        "CpuRealtimePeriod": 0,
        "CpuRealtimeRuntime": 0,
        "CpuShares": 0,
        "CpusetCpus": "",
        "CpusetMems": "",
        "DeviceCgroupRules": null,
        "DeviceRequests": null,
        "Devices": [],
        "Dns": [],
        "DnsOptions": [],
        "DnsSearch": [],
        "ExtraHosts": [],
        "GroupAdd": null,
        "IOMaximumBandwidth": 0,
        "IOMaximumIOps": 0,
        "IpcMode": "private",
        "Isolation": "",
        "KernelMemory": 0,
        "KernelMemoryTCP": 0,
        "Links": null,
        "LogConfig": {
            "Config": {},
            "Type": "json-file"
        },
        "MaskedPaths": [
            "/proc/asound",
            "/proc/acpi",
            "/proc/kcore",
            "/proc/keys",
            "/proc/latency_stats",
            "/proc/timer_list",
            "/proc/timer_stats",
            "/proc/sched_debug",
            "/proc/scsi",
            "/sys/firmware"
        ],
        "Memory": 0,
        "MemoryReservation": 0,
        "MemorySwap": 0,
        "MemorySwappiness": null,
        "NanoCpus": 0,
        "NetworkMode": "hass-configurator_default",
        "OomKillDisable": null,
        "OomScoreAdj": 0,
        "PidMode": "",
        "PidsLimit": null,
        "PortBindings": {
            "3218/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "3218"
                }
            ]
        },
        "Privileged": false,
        "PublishAllPorts": false,
        "ReadonlyPaths": [
            "/proc/bus",
            "/proc/fs",
            "/proc/irq",
            "/proc/sys",
            "/proc/sysrq-trigger"
        ],
        "ReadonlyRootfs": false,
        "RestartPolicy": {
            "MaximumRetryCount": 0,
            "Name": "always"
        },
        "Runtime": "runc",
        "SecurityOpt": null,
        "ShmSize": 67108864,
        "UTSMode": "",
        "Ulimits": null,
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": []
    },
    "HostnamePath": "/home/docker/containers/1c91babb4dea010d1e3066a9ebca8129edd46122590151d01c22a6a844c736d2/hostname",
    "HostsPath": "/home/docker/containers/1c91babb4dea010d1e3066a9ebca8129edd46122590151d01c22a6a844c736d2/hosts",
    "Id": "1c91babb4dea010d1e3066a9ebca8129edd46122590151d01c22a6a844c736d2",
    "Image": "sha256:b3c4307f8b81d9806540ca2dd4998f7b72753417dd814d8ad095b36386f96362",
    "LogPath": "/home/docker/containers/1c91babb4dea010d1e3066a9ebca8129edd46122590151d01c22a6a844c736d2/1c91babb4dea010d1e3066a9ebca8129edd46122590151d01c22a6a844c736d2-json.log",
    "MountLabel": "",
    "Mounts": [
        {
            "Destination": "/hass-config",
            "Mode": "",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/home/homeassistant/.homeassistant",
            "Type": "bind"
        },
        {
            "Destination": "/config",
            "Mode": "",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/home/homeassistant/docker/hass-configurator/configurator-config",
            "Type": "bind"
        }
    ],
    "Name": "/hass-configurator",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "Networks": {
            "hass-configurator_default": {
                "Aliases": [
                    "hass-configurator",
                    "309990fc0eec",
                    "1c91babb4dea"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": {},
                "IPAddress": "",
                "IPPrefixLen": 0,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "",
                "NetworkID": "22a8c6a785b41058959b11c8f03d16911361fe18254cca4bc6d79105c2663e3d"
            }
        },
        "Ports": {},
        "SandboxID": "f053cb2db2cbf4aa8a32b8a9c9dd676e06aa0b6d674c5b9234133f7f16c96c1e",
        "SandboxKey": "/var/run/docker/netns/f053cb2db2cb",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null
    },
    "Path": "/app/run.sh",
    "Platform": "linux",
    "Portainer": {
        "ResourceControl": {
            "Id": 102,
            "ResourceId": "1c91babb4dea010d1e3066a9ebca8129edd46122590151d01c22a6a844c736d2",
            "SubResourceIds": [],
            "Type": 1,
            "UserAccesses": [],
            "TeamAccesses": [],
            "Public": false,
            "AdministratorsOnly": true,
            "System": false
        }
    },
    "ProcessLabel": "",
    "ResolvConfPath": "/home/docker/containers/1c91babb4dea010d1e3066a9ebca8129edd46122590151d01c22a6a844c736d2/resolv.conf",
    "RestartCount": 14,
    "State": {
        "Dead": false,
        "Error": "",
        "ExitCode": 1,
        "FinishedAt": "2021-12-03T21:49:02.94467672Z",
        "OOMKilled": false,
        "Paused": false,
        "Pid": 0,
        "Restarting": true,
        "Running": true,
        "StartedAt": "2021-12-03T21:49:02.890633579Z",
        "Status": "restarting"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions