Suggestion is avoid using SD cards; use SSD disks instead. SD cards are OK for casual burst writing (e.g. photography, videography), but not good for long term OS usage.
Thank you I will try using a SSD
I flashed the new installation into a SSD and the same error continues
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
[07:35:13] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
s6-rc: info: service legacy-services successfully started
[07:35:13] INFO: Starting local supervisor watchdog...
22-03-11 07:35:22 INFO (MainThread) [__main__] Initializing Supervisor setup
22-03-11 07:35:22 INFO (MainThread) [supervisor.docker.network] Can't find Supervisor network, creating a new network
22-03-11 07:35:22 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
22-03-11 07:35:22 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi4-64
22-03-11 07:35:22 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/aarch64-hassio-supervisor with version 2022.07.0
22-03-11 07:35:22 INFO (SyncWorker_0) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
22-03-11 07:35:23 WARNING (SyncWorker_0) [supervisor.docker.interface] Can't find homeassistant/aarch64-hassio-supervisor for cleanup
22-03-11 07:35:23 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
22-03-11 07:35:23 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-11 07:35:23 INFO (MainThread) [__main__] Setting up Supervisor
22-03-11 07:35:23 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
22-03-11 07:35:23 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
22-03-11 07:35:23 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface io.hass.os
22-03-11 07:35:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.systemd1
22-03-11 07:35:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.login1
22-03-11 07:35:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.hostname1
22-03-11 07:35:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.timedate1
22-03-11 07:35:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.NetworkManager
22-03-11 07:35:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface de.pengutronix.rauc
22-03-11 07:35:24 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.resolve1
22-03-11 07:35:24 INFO (MainThread) [supervisor.host.info] Updating local host information
22-03-11 07:35:24 INFO (MainThread) [supervisor.host.services] Updating service information
22-03-11 07:35:24 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-03-11 07:35:25 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-03-11 07:35:25 INFO (MainThread) [supervisor.host.network] Updating local network information
22-03-11 07:35:26 INFO (MainThread) [supervisor.host.network] Updating local network information
22-03-11 07:35:27 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
22-03-11 07:35:27 WARNING (MainThread) [supervisor.utils.whoami] Whoami service failed with SSL verification: Cannot connect to host services.home-assistant.io:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)')]
22-03-11 04:35:27 WARNING (MainThread) [supervisor.core] System time/date shift over more as 7days found!
22-03-11 04:35:27 INFO (MainThread) [supervisor.host.control] Setting new host datetime: 2022-08-05T18:11:43+00:00
22-03-11 04:35:27 CRITICAL (MainThread) [supervisor.core] Fatal error happening on load Task <coroutine object Core._adjust_system_datetime at 0x7f8bc470c0>: DBus INT32 type "i" must be between -2147483648 and 2147483647
22-03-11 04:35:27 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-cli versions: [<AwesomeVersion CalVer '2022.06.0'>]
22-03-11 04:35:27 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-cli with version 2022.06.0
22-03-11 04:35:27 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
22-03-11 04:35:28 INFO (SyncWorker_0) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/aarch64-hassio-cli with version 2022.06.0 - 172.30.32.5
22-03-11 04:35:28 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-dns versions: [<AwesomeVersion CalVer '2022.04.1'>]
22-03-11 04:35:28 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2022.04.1
22-03-11 04:35:28 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
22-03-11 04:35:30 INFO (SyncWorker_0) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2022.04.1 - 172.30.32.3
22-03-11 04:35:30 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
22-03-11 04:35:30 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-audio versions: [<AwesomeVersion CalVer '2022.05.0'>]
22-03-11 04:35:30 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2022.05.0
22-03-11 04:35:30 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
22-03-11 04:35:32 INFO (SyncWorker_0) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/aarch64-hassio-audio with version 2022.05.0 - 172.30.32.4
22-03-11 04:35:32 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-observer versions: [<AwesomeVersion CalVer '2021.10.0'>]
22-03-11 04:35:32 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0
22-03-11 04:35:32 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
22-03-11 04:35:35 INFO (SyncWorker_0) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0 - 172.30.32.6
22-03-11 04:35:35 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-multicast versions: [<AwesomeVersion CalVer '2022.02.0'>]
22-03-11 04:35:35 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2022.02.0
22-03-11 04:35:35 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
22-03-11 04:35:36 INFO (SyncWorker_0) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/aarch64-hassio-multicast with version 2022.02.0 - Host
22-03-11 04:35:36 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
22-03-11 04:35:36 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
22-03-11 04:35:36 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
22-03-11 04:35:36 INFO (SyncWorker_0) [supervisor.docker.interface] No version found for ghcr.io/home-assistant/raspberrypi4-64-homeassistant
22-03-11 04:35:36 INFO (MainThread) [supervisor.homeassistant.core] No Home Assistant Docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant found.
22-03-11 04:35:37 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version landingpage
22-03-11 04:35:37 INFO (MainThread) [supervisor.homeassistant.core] Using preinstalled landingpage
22-03-11 04:35:37 INFO (MainThread) [supervisor.homeassistant.core] Starting HomeAssistant landingpage
22-03-11 04:35:37 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-03-11 04:35:39 INFO (SyncWorker_0) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version landingpage
22-03-11 04:35:40 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 8.4 / BootSlot A
22-03-11 04:35:40 INFO (MainThread) [supervisor.jobs] 'StoreManager.update_repositories' blocked from execution, no supervisor internet connection
22-03-11 04:35:40 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
22-03-11 04:35:40 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
22-03-11 04:35:40 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
22-03-11 04:35:40 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-11 04:35:40 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-11 04:35:40 INFO (MainThread) [__main__] Running Supervisor
22-03-11 04:35:40 CRITICAL (MainThread) [supervisor.core] System is running in an unhealthy state and needs manual intervention!
22-03-11 04:35:40 INFO (MainThread) [supervisor.os.manager] Rauc: A - marked slot kernel.0 as good
22-03-11 04:35:40 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
22-03-11 04:35:40 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 0 add-ons
22-03-11 04:35:40 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 0 add-ons
22-03-11 04:35:40 INFO (MainThread) [supervisor.core] Skiping start of Home Assistant
22-03-11 04:35:40 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 0 add-ons
22-03-11 04:35:40 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
22-03-11 04:35:40 INFO (MainThread) [supervisor.core] Supervisor is up and running
22-03-11 04:35:40 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant setup
22-03-11 04:35:40 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
22-03-11 04:35:40 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
22-03-11 04:35:40 INFO (MainThread) [supervisor.host.info] Updating local host information
22-03-11 04:35:40 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
22-03-11 04:35:40 INFO (MainThread) [supervisor.jobs] 'CheckDNSServerIPv6Errors.run_check' blocked from execution, no supervisor internet connection
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-03-11 04:35:40 INFO (MainThread) [supervisor.jobs] 'CheckAddonPwned.run_check' blocked from execution, no supervisor internet connection
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
22-03-11 04:35:40 INFO (MainThread) [supervisor.jobs] 'CheckDNSServerFailures.run_check' blocked from execution, no supervisor internet connection
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.CREATE_FULL_BACKUP - ContextType.SYSTEM / None
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-03-11 04:35:40 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-03-11 04:35:40 INFO (MainThread) [supervisor.host.services] Updating service information
22-03-11 04:35:40 INFO (MainThread) [supervisor.host.network] Updating local network information
22-03-11 04:35:40 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-03-11 04:35:40 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-03-11 04:35:43 WARNING (MainThread) [supervisor.utils.codenotary] rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: x509: certificate has expired or is not yet valid: current time 2022-03-11T07:35:42Z is before 2022-07-29T07:23:35Z"
22-03-11 04:35:43 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.TRUST - ContextType.SYSTEM / None
22-03-11 04:35:43 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_INTEGRITY - ContextType.SYSTEM / None
22-03-11 04:35:43 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-11 04:35:43 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy
22-03-11 04:36:10 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
22-03-11 04:36:10 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
22-03-11 04:36:40 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
22-03-11 04:36:40 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
I Looked into the error before the critical one,
22-03-11 04:35:27 INFO (MainThread) [supervisor.host.control] Setting new host datetime: 2022-08-05T18:11:43+00:00
22-03-11 04:35:27 CRITICAL (MainThread) [supervisor.core] Fatal error happening on load Task <coroutine object Core._adjust_system_datetime at 0x7f8bc470c0>: DBus INT32 type "i" must be between -2147483648 and 2147483647
Maybe it’s the 11:43+00:00 that is wrong? Cause i is usually minutes right? So it should be 11:43:00?
I can use timedatectl | grep Time
now, it says Time one: Etc/UTC (UTC,+0000)
For anyone with the same problem, I used the command date inside the SSH Acess and changed it to the current one and then the instllation went fine.
Excellent that you got it sorted out
So the culprit unable to succeed with the final installation steps was indeed a wrong system time/clock settings on your RPI but not a firewall issue.
Hey Alex, I’m not all that tech proficient so bear with me.
I’m getting the same errors and want to check if this solution works for me. I installed on an SD card through Raspberry Pi imager.
What do I type into the command line for my RPI? I tried typing
ha > timedatectl | grep Time now
but it says that it’s an unknown command.
Again, very novice here for any kind of coding so let me know what logs I can post to help troubleshooting.
type exit to go back to ha >
I have no way to get this command working…
I’ve also tried with (I think the command belongs to the ‘login’ environment)
But I get this:
If I try this:
I get:
I’m connected directly to my odroid via monitor+keyboard and the initial problem I have is about the certificate that afterwards throws the no-connection as you describe:
I’ve solved it by:
ha>login
#date -s "yyyy-mm-dd hh:mm:ss"
then supervisor could accept a certificate and proceed with the installation.
I’m having this issue (or a very similar one): Stuck on Preparing Home Assistant with a fresh installation and I just tried this solution (changing the date manually in the CLI) but when I try to restart the host to make it work the time date is changed back to a wrong one. I don’t know if I’m doing something wrong, but it is not working for me.
Pi has no RTC so it needs setting on each boot.
hi i have same problem im from iran and i dont kmow its becuse my country internet problem or not
how can i be sure i have acses to home assistant iestalation server
sorry for my bad typing
Can you explain the exact command to run I am stuck on this error too?
I did this change but it errored if I put " around the time format so I removed those and there was no response after typing in the command. Do I need to reboot the system or something to get it to finish installing now?
Hi there.
I had the same problem.
I have been able to fix this by just removing the port triggers / nat , in my router on the Raspbarry pi.
did i help someone with this tip?
B.r. The-Master
How did you change the date?
Hey there,
some time has passed since the OP opened this thread, but since I seemed to be stuck with this issue even today (with HAOS v11.4) and was unable to find some help on this issue, I created an account to help others that might face the same issues.
I was having the same problem when starting up HAOS for the first time, was landing here and could by no means change the timezone settings due to this goddamn read-only error.
What helped me out eventually, was searching for exactly this issue: “SD card read only”…
This led me to the good old Windows terminal with the following commands which removed the write protection on my SD card (… without buying a new one!).
Here they are (requires an elevated Command prompt):
- start DiskPart
diskpart
- find the correct volume (hint: check the size value that matches the card)
list disk
- select the correct volume (let’s assume it is number 1)
select disk 1
- remove the write protection
attributes disk clear readonly
- Done! Put the SD back into your RaspPi (or whatever) and (hopefully) see the Setup screen as it should be.
Hope this helps some of you guys!
Peace out
I had same error and setting date in HA console (script below) solved the issue temporarily. I say temporarily because as HA don’t get to syncronize date time by NTP (every time raspberry it is reset) and rapberry do not has RTC, if raspberry is disconnected several times or for a long time, this datetime is desfased and I have to run the command again.
date -s "yyyy-mm-dd hh:mm:ss"