Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error HA installation with fresh install on Server 16
#1
short disclaimer....I am new to this and trying to setup HA for automation as a DIYer [so I am not get all the terms correctly]

I recently recieved K868-server 16...following the instructions for installing HA image as suggested via youtube video https://www.youtube.com/watch?v=oEjIZg6C_-Y&t=486s

The problem is that I am not able to launch HA after installing the software on the SD card...the error I am getting is as follows [image attached]:

             [supervisor.jobs] ‘Updater.fetch_data’ blocked from execution, no supervisor internet connection 
             [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec


I think i found the issue after reading through mulitple threads and I think the problem is the RPI local time not synchronizing with my local internet time hence it is not booting 

How to change the local time on the RPI…The problem is that i cannot type any command with my keyboard on this HA screen [2images attached]

Thank you for your help in advance


Attached Files Image(s)
           
Reply
#2
To address the "failed to start wait until kernel time synchronized" error when installing Home Assistant on the Raspberry Pi CM4 module, you can try the following solutions:

1. Ensure Internet Connectivity
The Raspberry Pi needs an active internet connection to synchronize system time. Check your network connection, especially during the first boot, as time synchronization relies on accessing an NTP server.

2. Update Firmware and Software
Compatibility issues may arise with older firmware versions. To ensure everything is up to date, run:

sudo apt update
sudo apt full-upgrade
After updating, reboot the Raspberry Pi:

sudo reboot
3. Set Time Manually
If time synchronization issues persist, you can set the system time manually to resolve the issue temporarily:

sudo date -s "YYYY-MM-DD HH:MM:SS"
For example, to set the date to September 28, 2024, at 14:00:

sudo date -s "2024-09-28 14:00:00"

4. Check NTP Service
Ensure that the time synchronization service (such as systemd-timesyncd) is running properly:

sudo systemctl status systemd-timesyncd
If the service is not running or has errors, restart it:

sudo systemctl restart systemd-timesyncd
Reply
#3
(09-28-2024, 01:40 PM)admin Wrote: To address the "failed to start wait until kernel time synchronized" error when installing Home Assistant on the Raspberry Pi CM4 module, you can try the following solutions:

1. Ensure Internet Connectivity
The Raspberry Pi needs an active internet connection to synchronize system time. Check your network connection, especially during the first boot, as time synchronization relies on accessing an NTP server.

2. Update Firmware and Software
Compatibility issues may arise with older firmware versions. To ensure everything is up to date, run:

sudo apt update
sudo apt full-upgrade
After updating, reboot the Raspberry Pi:

sudo reboot
3. Set Time Manually
If time synchronization issues persist, you can set the system time manually to resolve the issue temporarily:

sudo date -s "YYYY-MM-DD HH:MM:SS"
For example, to set the date to September 28, 2024, at 14:00:

sudo date -s "2024-09-28 14:00:00"

4. Check NTP Service
Ensure that the time synchronization service (such as systemd-timesyncd) is running properly:

sudo systemctl status systemd-timesyncd
If the service is not running or has errors, restart it:

sudo systemctl restart systemd-timesyncd
thank you admin for replying promptly,

For 1: I have ensured internet connectivity to the RPI... I have flashed RPI OS and it worked with internet connection. However whenever I reformat the micro DC to have the HA OS I run into the same issue.

for 2+3+4. Can you please provide me with the steps to do this.... I am NOT able to type any command in the console output on the RPI after I provide power to the server 16 with HAOS on the micro SD.
Do I need to keep the "jumper" tp the left or do I need to move it to the right to boot the rpi while the HAOS is still on the micro SD?

sorry for any inconvenience and thank you in advance for your patience
Reply
#4
i think now you can't connect with NTP server. if you are using VPN, can you change another line. usually without any command , just download home assistant OS, all steps just need wait , it's easy.
another way, can you use one 4G router, just change another internet service suppiler, maybe it will conenct to NTP server.
Reply
#5
(09-28-2024, 11:51 PM)admin Wrote: i think now you can't connect with NTP server. if you are using VPN, can you change another line. usually without any command , just download home assistant OS, all steps just need wait , it's easy.
another way, can you use one 4G router, just change another internet service suppiler, maybe it will conenct to NTP server.

ok thank you for reply.

I will try what you suggested with regards to trying a 4G router or different internet provider....but to be honest this is frustrating as I was not expecting this software glitch to happen.

Will let you know how this goes.

Have a good week
Reply
#6
I FIXED IT...If you want to share the solution to the above issue if this arises with other members.

So I plugged the microSD with the HAOS image on it into my other computer with linux ubuntu on it.

I manually changed the timesync file after accessing it on /etc/systemd/timesyncd.conf
I placed the below code and saved it.
Code:
[Time]
NTP=time.cloudflare.com
FallbackNTP=0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org

After that I placed the microSD back into the server16 RPI and it booted normally as showed on the video  Big Grin
Reply
#7
OK, good, thanks share your result.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)