Waiting for the Home Assistant CLI to be ready... | Set a timezone without keyboard

I received my RPI Zero W which I plan to use as a BLE extender with HA linked to my main instance, hoping it would be a simple endeavor. I did not get the OTG MicroUSB adpapter hoping I wouldn’t need it. I have since ordered one arriving in a few days. Until then… is there an simple fix?!

Note:
I do not have the ability to attach a keyboard or house to the Zero.
https://desertbot.io/blog/headless-pi-zero-ssh-access-over-usb-windows was unsuccessful

I installed haos_rpi0-w-6.0.img.xz booted and got

Wait Until Kernel Time Synchomized [FAILED]
followed by Waiting for the Home Assistant CLI to be ready…

I installed the my-network with my WLAN deets hoping that I would be able to SSH and fix but the device is not joining the WLAN. I have also tried wpa_supplicant and SSH files with no result.

My understanding is that the issue is caused by incorrect time zone and SSL Certs via CLI not running. How to get HA running properly?

As I cannot SSH or use a keyboard, is there anyway to set a time zone with a file on the boot drive?

Yes, I have left it running for 12 hours and it did not process past this point or join the network.

1 Like

I setup a guest network with ONLY 2.4ghz and tried connecting to that, nothing.

So, its working - but requires manual intervention when booting from power reboot.

Waiting for the Home Assistant CLIU to be ready…
[WARN} Home Assistant CLI not starting!J Jumping into emergency console…

then I type “login” and everything starts.

Is there anyway I can make it try to login again if it hasn’t started in 3-5minutes?

2 Likes

It appears that Supervisor on the Zero takes an abnormally longer time to startup

Home Assistant observer
Supervisor:
Disconnected
[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…
[05:08:11] INFO: Using udev information from host
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[05:08:13] INFO: Starting local supervisor watchdog…
21-06-17 05:08:42 INFO (MainThread) [main] Initializing Supervisor setup
21-06-17 05:08:43 INFO (MainThread) [supervisor.docker.network] Can’t find Supervisor network, creating a new network
21-06-17 05:08:45 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
21-06-17 05:08:45 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi
21-06-17 05:08:46 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/armhf-hassio-supervisor with version 2021.05.4
21-06-17 05:08:46 INFO (SyncWorker_0) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
21-06-17 05:08:49 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
21-06-17 05:08:51 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-06-17 05:08:51 INFO (MainThread) [main] Setting up Supervisor
21-06-17 05:08:52 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
21-06-17 05:08:53 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
21-06-17 05:08:58 INFO (MainThread) [supervisor.host.info] Updating local host information
21-06-17 05:08:59 INFO (MainThread) [supervisor.host.services] Updating service information
21-06-17 05:09:00 INFO (MainThread) [supervisor.host.network] Updating local network information
21-06-17 05:09:11 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-06-17 05:09:11 INFO (MainThread) [supervisor.host] Host information reload completed
21-06-17 05:09:11 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {‘hassio-supervisor’}
21-06-17 05:09:11 INFO (MainThread) [supervisor.host.services] Reloading local service hassos-apparmor.service
21-06-17 05:09:12 INFO (SyncWorker_0) [supervisor.docker.interface] Found homeassistant/armhf-hassio-dns versions: []
21-06-17 05:09:12 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/armhf-hassio-dns with version 2021.04.0
21-06-17 05:09:12 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
21-06-17 05:09:24 INFO (SyncWorker_1) [supervisor.docker.dns] Starting DNS homeassistant/armhf-hassio-dns with version 2021.04.0 - 172.30.32.3
21-06-17 05:09:24 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
21-06-17 05:09:25 INFO (SyncWorker_1) [supervisor.docker.interface] Found homeassistant/armhf-hassio-audio versions: []
21-06-17 05:09:25 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/armhf-hassio-audio with version 2021.04.0
21-06-17 05:09:25 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
21-06-17 05:09:39 INFO (SyncWorker_0) [supervisor.docker.audio] Starting Audio homeassistant/armhf-hassio-audio with version 2021.04.0 - 172.30.32.4
21-06-17 05:09:40 INFO (SyncWorker_1) [supervisor.docker.interface] Found homeassistant/armhf-hassio-cli versions: []
21-06-17 05:09:40 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/armhf-hassio-cli with version 2021.05.1
21-06-17 05:09:41 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
21-06-17 05:10:03 INFO (SyncWorker_0) [supervisor.docker.cli] Starting CLI homeassistant/armhf-hassio-cli with version 2021.05.1 - 172.30.32.5
21-06-17 05:10:04 INFO (SyncWorker_1) [supervisor.docker.interface] Found homeassistant/armhf-hassio-observer versions: []
21-06-17 05:10:05 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/armhf-hassio-observer with version 2020.10.1
21-06-17 05:10:05 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
21-06-17 05:10:16 INFO (SyncWorker_0) [supervisor.docker.observer] Starting Observer homeassistant/armhf-hassio-observer with version 2020.10.1 - 172.30.32.6
21-06-17 05:10:17 INFO (SyncWorker_1) [supervisor.docker.interface] Found homeassistant/armhf-hassio-multicast versions: []
21-06-17 05:10:17 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/armhf-hassio-multicast with version 2021.04.0
21-06-17 05:10:17 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
21-06-17 05:10:25 INFO (SyncWorker_0) [supervisor.docker.multicast] Starting Multicast homeassistant/armhf-hassio-multicast with version 2021.04.0 - Host
21-06-17 05:10:25 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-06-17 05:10:35 INFO (MainThread) [supervisor.plugins] dns does not have the latest version 2021.06.0, updating
21-06-17 05:10:35 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image homeassistant/armhf-hassio-dns:2021.04.0 to ghcr.io/home-assistant/armhf-hassio-dns:2021.06.0
21-06-17 05:10:35 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/armhf-hassio-dns with tag 2021.06.0.
21-06-17 05:12:33 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping hassio_dns application
21-06-17 05:12:40 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_dns application
21-06-17 05:12:41 INFO (SyncWorker_1) [supervisor.docker.interface] Cleanup images: [‘homeassistant/armhf-hassio-dns:2021.04.0’]
21-06-17 05:12:45 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
21-06-17 05:12:54 INFO (SyncWorker_0) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/armhf-hassio-dns with version 2021.06.0 - 172.30.32.3
21-06-17 05:12:55 INFO (MainThread) [supervisor.plugins] observer does not have the latest version 2021.06.0, updating
21-06-17 05:12:55 INFO (SyncWorker_1) [supervisor.docker.interface] Updating image homeassistant/armhf-hassio-observer:2020.10.1 to ghcr.io/home-assistant/armhf-hassio-observer:2021.06.0
21-06-17 05:12:55 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/armhf-hassio-observer with tag 2021.06.0.
[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…
[05:15:57] INFO: Using udev information from host
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[05:15:59] INFO: Starting local supervisor watchdog…
21-06-17 05:16:27 INFO (MainThread) [main] Initializing Supervisor setup
21-06-17 05:16:28 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
21-06-17 05:16:28 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi
21-06-17 05:16:28 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/armhf-hassio-supervisor with version 2021.05.4
21-06-17 05:16:29 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
21-06-17 05:16:30 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-06-17 05:16:30 INFO (MainThread) [main] Setting up Supervisor
21-06-17 05:16:31 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
21-06-17 05:16:33 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
21-06-17 05:16:38 INFO (MainThread) [supervisor.host.info] Updating local host information
21-06-17 05:16:38 INFO (MainThread) [supervisor.host.services] Updating service information
21-06-17 05:16:40 INFO (MainThread) [supervisor.host.network] Updating local network information
21-06-17 05:16:51 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-06-17 05:16:51 INFO (MainThread) [supervisor.host] Host information reload completed
21-06-17 05:16:51 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {‘hassio-supervisor’}
21-06-17 05:16:51 INFO (MainThread) [supervisor.host.services] Reloading local service hassos-apparmor.service
21-06-17 05:16:52 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/armhf-hassio-dns with version 2021.06.0
21-06-17 05:16:52 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
21-06-17 05:16:52 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_dns application
21-06-17 05:17:04 INFO (SyncWorker_0) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/armhf-hassio-dns with version 2021.06.0 - 172.30.32.3
21-06-17 05:17:04 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
21-06-17 05:17:04 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/armhf-hassio-audio with version 2021.04.0
21-06-17 05:17:05 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
21-06-17 05:17:05 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_audio application
21-06-17 05:17:30 INFO (SyncWorker_0) [supervisor.docker.audio] Starting Audio homeassistant/armhf-hassio-audio with version 2021.04.0 - 172.30.32.4
21-06-17 05:17:30 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/armhf-hassio-cli with version 2021.05.1
21-06-17 05:17:31 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
21-06-17 05:17:31 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning hassio_cli application
21-06-17 05:17:56 INFO (SyncWorker_1) [supervisor.docker.cli] Starting CLI homeassistant/armhf-hassio-cli with version 2021.05.1 - 172.30.32.5
21-06-17 05:17:56 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/armhf-hassio-observer with version 2020.10.1
21-06-17 05:17:57 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/armhf-hassio-multicast with version 2021.04.0
21-06-17 05:17:57 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
21-06-17 05:17:57 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_multicast application
21-06-17 05:18:14 INFO (SyncWorker_0) [supervisor.docker.multicast] Starting Multicast homeassistant/armhf-hassio-multicast with version 2021.04.0 - Host
21-06-17 05:18:14 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-06-17 05:18:25 ERROR (MainThread) [supervisor.utils.codenotary] Timeout while processing CodeNotary
21-06-17 05:18:26 INFO (MainThread) [supervisor.plugins] observer does not have the latest version 2021.06.0, updating
21-06-17 05:18:26 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image homeassistant/armhf-hassio-observer:2020.10.1 to ghcr.io/home-assistant/armhf-hassio-observer:2021.06.0
21-06-17 05:18:26 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/armhf-hassio-observer with tag 2021.06.0.
21-06-17 05:19:09 ERROR (MainThread) [supervisor.utils.codenotary] Timeout while processing CodeNotary
21-06-17 05:19:09 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping hassio_observer application
21-06-17 05:19:17 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_observer application
21-06-17 05:19:20 INFO (SyncWorker_1) [supervisor.docker.interface] Cleanup images: [‘homeassistant/armhf-hassio-observer:2020.10.1’]
21-06-17 05:19:30 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
21-06-17 05:19:47 INFO (SyncWorker_0) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/armhf-hassio-observer with version 2021.06.0 - 172.30.32.6
21-06-17 05:19:47 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-06-17 05:19:58 ERROR (MainThread) [supervisor.utils.codenotary] Timeout while processing CodeNotary
21-06-17 05:19:58 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
21-06-17 05:19:59 INFO (SyncWorker_0) [supervisor.docker.interface] No version found for homeassistant/raspberrypi-homeassistant
21-06-17 05:19:59 INFO (MainThread) [supervisor.homeassistant.core] No Home Assistant Docker image homeassistant/raspberrypi-homeassistant found.
21-06-17 05:20:00 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/raspberrypi-homeassistant with version landingpage
21-06-17 05:20:00 INFO (MainThread) [supervisor.homeassistant.core] Using preinstalled landingpage
21-06-17 05:20:00 INFO (MainThread) [supervisor.homeassistant.core] Starting HomeAssistant landingpage
21-06-17 05:20:00 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
21-06-17 05:20:09 INFO (SyncWorker_1) [supervisor.docker.homeassistant] Starting Home Assistant homeassistant/raspberrypi-homeassistant with version landingpage
21-06-17 05:20:10 INFO (MainThread) [supervisor.hassos] Detect Home Assistant Operating System 6.0 / BootSlot A
21-06-17 05:20:10 INFO (MainThread) [supervisor.store.git] Cloning add-on GitHub - hassio-addons/repository: Home Assistant Community Add-ons repository
21-06-17 05:20:10 INFO (MainThread) [supervisor.store.git] Cloning add-on GitHub - home-assistant/addons: Docker add-ons for Home Assistant repository
21-06-17 05:20:55 INFO (MainThread) [supervisor.store] Loading add-ons from store: 63 all - 63 new - 0 remove
21-06-17 05:20:55 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
21-06-17 05:20:55 INFO (MainThread) [supervisor.snapshots] Found 0 snapshot files
21-06-17 05:20:55 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
21-06-17 05:20:55 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
21-06-17 05:20:55 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
21-06-17 05:20:55 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-06-17 05:20:55 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
21-06-17 05:20:57 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-06-17 05:20:57 INFO (MainThread) [supervisor.jobs] ‘ResolutionFixup.run_autofix’ blocked from execution, system is not running - CoreState.SETUP
21-06-17 05:20:57 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
21-06-17 05:20:58 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-06-17 05:20:58 INFO (MainThread) [main] Running Supervisor
21-06-17 05:20:59 INFO (MainThread) [supervisor.hassos] Rauc: A - marked slot kernel.0 as good
21-06-17 05:20:59 INFO (MainThread) [supervisor.supervisor] Fetching AppArmor profile https://version.home-assistant.io/apparmor.txt
21-06-17 05:21:10 ERROR (MainThread) [supervisor.utils.codenotary] Timeout while processing CodeNotary
21-06-17 05:21:10 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: hassio-supervisor
21-06-17 05:21:10 INFO (MainThread) [supervisor.host.services] Reloading local service hassos-apparmor.service
21-06-17 05:21:11 INFO (MainThread) [supervisor.supervisor] Update Supervisor to version 2021.06.3
21-06-17 05:21:11 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image homeassistant/armhf-hassio-supervisor with tag 2021.06.3.
21-06-17 05:24:42 INFO (MainThread) [supervisor.api] Stopping API on 172.30.32.2
21-06-17 05:24:42 INFO (MainThread) [supervisor.misc.scheduler] Shutting down scheduled tasks
21-06-17 05:24:42 INFO (MainThread) [supervisor.hardware.monitor] Stopped Supervisor hardware monitor
21-06-17 05:24:42 INFO (MainThread) [supervisor.core] Supervisor is down - 0
[cont-finish.d] executing container finish scripts…
21-06-17 05:24:43 INFO (MainThread) [main] Closing Supervisor
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: timed out
[s6-finish] sending all processes the TERM signal.
[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…
[05:27:21] INFO: Using udev information from host
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[05:27:23] INFO: Starting local supervisor watchdog…
21-06-17 05:27:50 INFO (MainThread) [main] Initializing Supervisor setup
21-06-17 05:27:51 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
21-06-17 05:27:52 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi
21-06-17 05:27:52 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/armhf-hassio-supervisor with version 2021.05.4
21-06-17 05:27:52 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
21-06-17 05:27:54 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-06-17 05:27:54 INFO (MainThread) [main] Setting up Supervisor
21-06-17 05:27:55 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
21-06-17 05:27:56 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
21-06-17 05:28:02 INFO (MainThread) [supervisor.host.info] Updating local host information
21-06-17 05:28:02 INFO (MainThread) [supervisor.host.services] Updating service information
21-06-17 05:28:04 INFO (MainThread) [supervisor.host.network] Updating local network information
21-06-17 05:28:15 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-06-17 05:28:15 INFO (MainThread) [supervisor.host] Host information reload completed
21-06-17 05:28:15 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {‘hassio-supervisor’}
21-06-17 05:28:15 INFO (MainThread) [supervisor.host.services] Reloading local service hassos-apparmor.service
21-06-17 05:28:16 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-a

I have the exact same issue as of today. Cant boot suddenly. Worked fine 6 hours ago.

Pi Zero? It looks like it’s not giving enough time for Supervisor to start. After 10mins or so, type “login” and it seems to start

1 Like