Hi,
I have dietpi last release installed on my raspberry pi 3 with home-assistant-supervised.
Installation ok. Home assistant on 192.168.1.29:8123.
Unable to connect !!!
ssh connection is ok
Hi,
I have dietpi last release installed on my raspberry pi 3 with home-assistant-supervised.
Installation ok. Home assistant on 192.168.1.29:8123.
Unable to connect !!!
ssh connection is ok
Good morning,
I have the latest dietpi installed on raspberry pi 3 model B and Home-Assistant-supervised and a pizigate gateway.
The problem is as follows: I cannot access Home-Assistant: Firefox cannot establish a connection…
However i have an ssh connection.
verify the port HA Supervised is running on
ss -tulpn | grep LISTEN
and if you need to use HTTP or HTTPS.
As well have a look to your container logs for error messages.
Hi,
tcp LISTEN 0 4096 0.0.0.0:4357 0.0.0.0:* users:(("docker-proxy",pid=893,fd=4))
Port 8123 does not appear
check your container configuration which port has been set/mapped
I don’t know which command line to pass with docker inspect
systemd-cgls sends me a lot of information!! I don’t know what to take in it
dietpi@DietPi:~$ sudo docker network ls
NETWORK ID NAME DRIVER SCOPE
0a7fe646c7a9 bridge bridge local
bc76ae9d1b30 hassio bridge local
ab9603db8a80 host host local
68970fe8bd74 none null local
sudo docker port hassio_observer
80/tcp -0.0.0.0:4357
80/tcp -[::]:4357
The other containers return nothing
sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6d5234882fc3 ghcr.io/home-assistant/aarch64-hassio-multicast:2024.03.0 "/init" 16 hours ago Up 16 hours hassio_multicast
e11de9cf40eb ghcr.io/home-assistant/aarch64-hassio-audio:2023.12.0 "/init" 16 hours ago Up 16 hours hassio_audio
873e15b2cb3f ghcr.io/home-assistant/aarch64-hassio-dns:2024.04.0 "/init" 16 hours ago Up 16 hours hassio_dns
2864b68f87e3 ghcr.io/home-assistant/aarch64-hassio-cli:2024.07.0 "/init" 16 hours ago Up 16 hours hassio_cli
850457afc9f8 ghcr.io/home-assistant/aarch64-hassio-observer:2023.06.0 "/usr/bin/observer" 47 hours ago Up 16 hours 0.0.0.0:4357->80/tcp, [::]:4357->80/tcp hassio_observer
0c1c3e24afc4 ghcr.io/home-assistant/aarch64-hassio-supervisor:latest "/init" 47 hours ago Up 16 hours hassio_supervisor
referring to your information, HA seems to be running on port 4357
Hi,
I also asked for help on the HA forum. I got this answer that I don’t know what to do with.
But maybe you can tell me what to do!?
The core container is not in your docker ps list
I don’t use HA core nor HA supervised. I did some testing 4 years back Home Assistant Supervised on DietPi - #8 by Joulinar and it seems port 8132 is not provided by a container. At least back in time it was some python script. Probably you would need to have a look into the service if still existing on current installations.
systemctl status hassio-supervisor.service
I do a clean install on a new dietpi: GitHub - home-assistant/supervised-installer: Installer for a generic Linux system
Step 1: an error message: dbus.service is not active, cannot reload.
Setting up bluez (5.66-1+rpt1+deb12u2) ...
dbus.service is not active, cannot reload.
invoke-rc.d: initscript dbus, action "force-reload" failed.
Created symlink /etc/systemd/system/dbus-org.bluez.service → /lib/systemd/system/bluetooth.service.
Created symlink /etc/systemd/system/bluetooth.target.wants/bluetooth.service → /lib/systemd/system/bluetooth.service.
Setting up cifs-utils (2:7.0-2) ...
update-alternatives: using /usr/lib/aarch64-linux-gnu/cifs-utils/idmapwb.so to provide /etc/cifs-utils/idmap-plugin (idmap-plugin) in auto mode
Processing triggers for libc-bin (2.36-9+rpt2+deb12u8) ...
Processing triggers for systemd (252.30-1~deb12u2) ...
Processing triggers for sgml-base (1.31) ...
Setting up polkitd (122-3) ...
Creating group 'polkitd' with GID 993.
Creating user 'polkitd' (polkit) with UID 993 and GID 993.
dbus.service is not active, cannot reload.
invoke-rc.d: initscript dbus, action "reload" failed.
did you already tried
systemctl enable dbus
systemctl start dbus
# systemctl enable dbus
Synchronizing state of dbus.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable dbus
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.
not sure what to answer, this is just the output while enabling the service.
It seams ok
Here is the end of the installation: that of home-assistant-supervised.deb
[warn] Could not find /etc/default/grub or /boot/firmware/cmdline.txt failed to switch to cgroup v1
apt install ./homeassistant-supervised.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'homeassistant-supervised' instead of './homeassistant-supervised.deb'
The following NEW packages will be installed:
homeassistant-supervised
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/7440 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/dietpi/homeassistant-supervised.deb homeassistant-supervised all 1.8.0 [7440 B]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package homeassistant-supervised.
(Reading database ... 18902 files and directories currently installed.)
Preparing to unpack .../homeassistant-supervised.deb ...
[warn]
[warn] If you want more control over your own system, run
[warn] Home Assistant as a VM or run Home Assistant Core
[warn] via a Docker container.
[warn]
Adding 'diversion of /etc/NetworkManager/NetworkManager.conf to /etc/NetworkManager/NetworkManager.conf.real by homeassistant-supervised'
Adding 'diversion of /etc/NetworkManager/system-connections/default to /etc/NetworkManager/system-connections/default.real by homeassistant-supervised'
Adding 'diversion of /etc/docker/daemon.json to /etc/docker/daemon.json.real by homeassistant-supervised'
Adding 'diversion of /etc/network/interfaces to /etc/network/interfaces.real by homeassistant-supervised'
Adding 'diversion of /etc/systemd/resolved.conf to /etc/systemd/resolved.conf.real by homeassistant-supervised'
Unpacking homeassistant-supervised (1.8.0) ...
Setting up homeassistant-supervised (1.8.0) ...
[info] Reload systemd
[info] Restarting NetworkManager
[info] Enable systemd-resolved
[info] Restarting systemd-resolved
[info] Set up systemd-journal-gatewayd socket file
[info] Enable systemd-journal-gatewayd
[info] Start nfs-utils.service
[info] Restarting docker service
PING checkonline.home-assistant.io(2606:4700:20::681a:5ee (2606:4700:20::681a:5ee)) 56 data bytes
64 bytes from 2606:4700:20::681a:5ee (2606:4700:20::681a:5ee): icmp_seq=1 ttl=55 time=12.2 ms
--- checkonline.home-assistant.io ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 12.153/12.153/12.153/0.000 ms
[info] Install supervisor startup scripts
[info] Install AppArmor scripts
[info] Start Home Assistant Supervised
[info] Installing the 'ha' cli
[warn] Could not find /etc/default/grub or /boot/firmware/cmdline.txt failed to switch to cgroup v1
[info] Within a few minutes you will be able to reach Home Assistant at:
[info] http://homeassistant.local:8123 or using the IP address of your
[info] machine: http://192.168.1.29:8123
Unable to connect
Firefox can’t establish a connection to the server at 192.168.1.29:8123.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.
Did you checked service log already?
$ systemctl status hassio-supervisor.service
● hassio-supervisor.service - Hass.io supervisor
Loaded: loaded (/etc/systemd/system/hassio-supervisor.service; enabled; preset: enabled)
Active: active (running) since Wed 2024-09-04 15:53:47 BST; 2h 13min ago
Process: 951 ExecStartPre=/usr/bin/docker stop hassio_supervisor (code=exited, status=0/SUCCESS)
Main PID: 960 (docker)
Tasks: 9 (limit: 1069)
CPU: 2.891s
CGroup: /system. Slice/hassio-supervisor.service
└─960 docker container wait hassio_supervisor
can you check all available conatiner
docker ps -a
sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e1d03e08d88c ghcr.io/home-assistant/aarch64-hassio-multicast:2024.03.0 "/init" 2 hours ago Up 2 hours hassio_multicast
31e689fc5335 ghcr.io/home-assistant/aarch64-hassio-audio:2023.12.0 "/init" 2 hours ago Up 2 hours hassio_audio
1b6d8ada17a0 ghcr.io/home-assistant/aarch64-hassio-dns:2024.04.0 "/init" 2 hours ago Up 38 minutes hassio_dns
2521f9cf4626 ghcr.io/home-assistant/aarch64-hassio-cli:2024.07.0 "/init" 2 hours ago Up 2 hours hassio_cli
9a1ed8cf8d1e ghcr.io/home-assistant/aarch64-hassio-supervisor:latest "/init" 4 hours ago Up 2 hours hassio_supervisor
0487dc1cd9db ghcr.io/home-assistant/aarch64-hassio-observer:2023.06.0 "/usr/bin/observer" 21 hours ago Up 2 hours 0.0.0.0:4357->80/tcp, [::]:4357->80/tcp hassio_observer
ha supervisor logs
2024-09-05 12:04:32.936 INFO (MainThread) [supervisor.os.manager] No Home Assistant Operating System found
2024-09-05 12:04:34.907 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/d5369777 repository
2024-09-05 12:04:34.911 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
2024-09-05 12:04:34.920 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
2024-09-05 12:04:34.925 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/5c53de3b repository
2024-09-05 12:04:36.440 INFO (MainThread) [supervisor.store] Loading add-ons from store: 80 all - 80 new - 0 remove
2024-09-05 12:04:36.684 INFO (MainThread) [supervisor.addons.manager] Found 0 installed add-ons
2024-09-05 12:04:36.780 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
2024-09-05 12:04:36.781 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
2024-09-05 12:04:36.781 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
2024-09-05 12:04:36.782 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state setup
2024-09-05 12:04:36.782 INFO (MainThread) [supervisor.resolution.checks.base] Run check for detached_addon_removed/addon
2024-09-05 12:04:36.783 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-09-05 12:04:36.784 INFO (MainThread) [supervisor.resolution.checks.base] Run check for detached_addon_missing/addon
2024-09-05 12:04:36.784 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-09-05 12:04:36.785 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-09-05 12:04:36.785 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
2024-09-05 12:04:36.806 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-09-05 12:04:36.808 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - setup
2024-09-05 12:04:36.809 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
2024-09-05 12:04:36.810 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-09-05 12:04:36.813 INFO (MainThread) [__main__] Running Supervisor
2024-09-05 12:04:36.834 INFO (MainThread) [supervisor.jobs] 'OSManager.mark_healthy' blocked from execution, no Home Assistant OS available
2024-09-05 12:04:36.835 INFO (MainThread) [supervisor.addons.manager] Phase 'initialize' starting 0 add-ons
2024-09-05 12:04:36.861 INFO (MainThread) [supervisor.addons.manager] Phase 'system' starting 0 add-ons
2024-09-05 12:04:36.862 INFO (MainThread) [supervisor.addons.manager] Phase 'services' starting 0 add-ons
2024-09-05 12:04:36.879 INFO (MainThread) [supervisor.core] Start Home Assistant Core
2024-09-05 12:04:36.936 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2024-09-05 12:04:39.513 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/generic-x86-64-homeassistant with version 2024.9.0
2024-09-05 12:04:39.514 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-09-05 12:04:44.539 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2024-09-05 12:04:44.541 ERROR (MainThread) [supervisor.core] Can't start Home Assistant Core - rebuiling
2024-09-05 12:04:44.567 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning homeassistant application
2024-09-05 12:04:44.699 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2024-09-05 12:04:45.639 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/generic-x86-64-homeassistant with version 2024.9.0
2024-09-05 12:04:45.640 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-09-05 12:04:50.660 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2024-09-05 12:04:50.664 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_repair - core / None
2024-09-05 12:04:50.665 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - core / None
2024-09-05 12:04:50.667 INFO (MainThread) [supervisor.addons.manager] Phase 'application' starting 0 add-ons
2024-09-05 12:04:50.699 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
2024-09-05 12:04:50.703 INFO (MainThread) [supervisor.core] Supervisor is up and running
2024-09-05 12:04:50.715 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-09-05 12:04:50.723 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-09-05 12:04:50.724 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-09-05 12:04:50.725 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-09-05 12:04:50.736 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-09-05 12:04:50.737 INFO (MainThread) [supervisor.resolution.module] Create new suggestion create_full_backup - system / None
2024-09-05 12:04:50.738 INFO (MainThread) [supervisor.resolution.module] Create new issue no_current_backup - system / None
2024-09-05 12:04:50.739 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-09-05 12:04:50.744 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-09-05 12:04:50.746 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-09-05 12:04:50.831 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-09-05 12:04:50.832 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-09-05 12:04:50.833 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-09-05 12:04:50.892 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-09-05 12:04:50.908 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-09-05 12:04:50.926 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-09-05 12:04:50.926 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-09-05 12:04:50.927 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-09-05 12:04:51.972 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-09-05 12:04:51.974 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-09-05 12:04:51.974 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-09-05 12:04:52.111 INFO (MainThread) [supervisor.jobs] 'OSManager.reload' blocked from execution, no Home Assistant OS available
2024-09-05 12:04:52.111 INFO (MainThread) [supervisor.host.services] Updating service information
2024-09-05 12:04:52.127 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-09-05 12:04:52.518 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-09-05 12:04:52.542 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-09-05 12:53:03.044 INFO (MainThread) [supervisor.core] Starting repair of Supervisor Environment
2024-09-05 12:53:03.045 INFO (SyncWorker_2) [supervisor.docker.manager] Prune stale containers
2024-09-05 12:53:03.107 INFO (SyncWorker_2) [supervisor.docker.manager] Prune stale images
2024-09-05 12:54:12.493 INFO (SyncWorker_2) [supervisor.docker.manager] Prune stale builds
2024-09-05 12:54:12.530 INFO (SyncWorker_2) [supervisor.docker.manager] Prune stale volumes
2024-09-05 12:54:12.551 INFO (SyncWorker_2) [supervisor.docker.manager] Prune stale networks
2024-09-05 12:54:12.570 INFO (SyncWorker_2) [supervisor.docker.manager] Fix stale container on hassio network
2024-09-05 12:54:13.034 INFO (SyncWorker_2) [supervisor.docker.manager] Fix stale container on host network
2024-09-05 12:54:13.351 INFO (MainThread) [supervisor.addons.manager] Found 0 add-ons to repair
2024-09-05 12:54:13.380 INFO (MainThread) [supervisor.homeassistant.core] Repair Home Assistant 2024.9.0
2024-09-05 12:54:13.387 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/generic-x86-64-homeassistant with tag 2024.9.0.
2024-09-05 13:04:36.817 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-09-05 13:04:36.817 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-09-05 13:04:36.819 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-09-05 13:04:36.822 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-09-05 13:04:36.956 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-09-05 13:04:36.957 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-09-05 13:04:36.976 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-09-05 13:04:36.976 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-09-05 13:04:36.977 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-09-05 13:04:36.980 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-09-05 13:04:36.982 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-09-05 13:04:36.982 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-09-05 13:04:36.983 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-09-05 13:04:42.204 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-09-05 13:04:42.205 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-09-05 13:04:42.206 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-09-05 13:04:45.292 INFO (MainThread) [supervisor.supervisor] Repairing Supervisor 2024.08.0
2024-09-05 13:04:45.466 INFO (MainThread) [supervisor.core] Finished repair of Supervisor Environment
2024-09-05 13:12:05.327 INFO (MainThread) [supervisor.plugins.dns] Restarting CoreDNS plugin
2024-09-05 13:12:05.351 INFO (SyncWorker_6) [supervisor.docker.manager] Restarting hassio_dns
2024-09-05 13:13:32.929 INFO (MainThread) [supervisor.plugins.dns] Restarting CoreDNS plugin
2024-09-05 13:13:32.942 INFO (SyncWorker_3) [supervisor.docker.manager] Restarting hassio_dns
I installed this os agent : https://github.com/home-assistant/os-agent/releases/download/1.2.0/os-agent_1.2.0_linux_aarch64.deb
Device model : RPi 3 Model B (aarch64)
Hardware : BCM2835
Revision : a02082
Serial : 00000000122f317f
Model : Raspberry Pi 3 Model B Rev 1.2