Kiitos taas avusta. Kyllähän tuo komento tuli annettua kun oli ohjeesi mukana, käynnistin nyt uudestaan ja annoin pari viimeistä ohjeesi komentoa, docker näyttää pyörivän mutta restart ei muuta tilannetta. Myöskään jos menen suoraan Raspin browseriin ja laitan 192.168.1.63:8123 ei siinäkään mitään tapahdu, toisin kuin esim talologgeri tulee näkyviin IP osoitteen lyömällä selaimeen...
Mitään en linux/dockerista tiedä, mutta muutaman komennon kun helpistä otti, kill ei toimi, mutta start ja restart kyllä
Mutta sitten:
Inscpect optio tuottaa epäilyttävän tuloksen, kun laitan restart, se näyttää kyllä käynnistävän ja sitten stoppaa samantein, ilman mitään virheilmoitusta???
pi@raspberrypi:~ $ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
homeassistant/home-assistant stable 36a3549ae5c5 2 weeks ago 1.04GB
pi@raspberrypi:~ $ docker restart home-assistant
home-assistant
pi@raspberrypi:~ $ docker
inspect home-assistant
[
{
"Id": "d3ebbfc65aacd365fed8935d0be080172819e69ac989e3164e890509296f80b8",
"Created": "2021-11-01T12:46:11.556242148Z",
"Path": "/init",
"Args": [],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 129, "Error": "",
"StartedAt": "2021-11-01T12:46:33.316351333Z",
"FinishedAt": "2021-11-01T12:46:33.874516454Z" },
.................
},
"Mounts": [
{
"Type": "bind",
"Source": "/home/pi/homeassistant",
"Destination": "/config",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "raspberrypi",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"TZ=Europe/Helsinki",
"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=1",
"WHEELS_LINKS=https://wheels.home-assistant.io/alpine-3.14/armv7/",
"S6_SERVICES_GRACETIME=220000"
],
"Cmd": null,
"Image": "homeassistant/home-assistant:stable",
"Volumes": null,
"WorkingDir": "/config",
"Entrypoint": [
"/init"
],
"OnBuild": null,
"Labels": {
"io.hass.arch": "armv7",
"io.hass.base.arch": "armv7",
"io.hass.base.image": "homeassistant/armv7-base:3.14",
"io.hass.base.name": "python",
"io.hass.base.version": "2021.09.1",
"io.hass.type": "core",
"io.hass.version": "2021.10.6",
"org.opencontainers.image.authors": "The Home Assistant Authors",
"org.opencontainers.image.created": "2021-10-18 06:34:50+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": "2021.10.6"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "5cf00b545c1a82b532ea790bbec7bde30ac54a4d542df489457f3afc5ebdd2f5",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/default",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"host": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "fb52e31b12486845d35644a0da06d2e24bf2257afa5d4d6ef72e0d671900c453",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]
pi@raspberrypi:~ $
pi@raspberrypi:~ $ ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:ec:fd:89:93 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.163 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::b6:4b48:f0d7:bf6c prefixlen 64 scopeid 0x20<link>
ether e4:5f:01:32:1a:11 txqueuelen 1000 (Ethernet)
RX packets 589 bytes 69920 (68.2 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 207 bytes 21579 (21.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 109 bytes 8432 (8.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 109 bytes 8432 (8.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.130 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::a588:59c2:bcdc:5903 prefixlen 64 scopeid 0x20<link>
ether e4:5f:01:32:1a:12 txqueuelen 1000 (Ethernet)
RX packets 387 bytes 41794 (40.8 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 49 bytes 6879 (6.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0