adamoutler / HassOSConfigurator

A set of Add-Ons to configure HassOS For various platforms and development purposes.
180 stars 43 forks source link

No config found in Rpi4 #15

Closed ElMontyerde closed 2 years ago

ElMontyerde commented 2 years ago

I have tried to run the addon in a raspberry pi 4 but the log shows that no config is found:

[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] done.
[services.d] starting services
[services.d] done.
no vda1 config found
no sda1 config found
no sdb1 config found
no mmcblk0p1 config found
no mmcblk1p1 config found
no nvme0n1p1 config found
This Configurator did it’s job. Perform a hard-power-off now. This configurator only works once and is no longer needed.

After a host reboot nothing seems to have been done.

adamoutler commented 2 years ago

Did you disable protection mode?

ElMontyerde commented 2 years ago

Uuuuups!!! Once disabled protection mode, this is the log:

[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] done.
[services.d] starting services
[services.d] done.
no vda1 config found
no sda1 config found
no sdb1 config found
creating authorized keys in mmcblk0p1 !
no mmcblk1p1 config found
no nvme0n1p1 config found
This Configurator did it's job. Perform a hard-power-off now. This configurator only works once and is no longer needed.

How can I check that the autorized_keys has been generated? I have rebooted the host twice from Supervisor->Reboot Host and then open a SSH with "SSH & Web Terminal" addon but there is nothing in /root/.ssh... Any ideas?

adamoutler commented 2 years ago

Make sure to double check the instructions