Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waiting for home assistant cli to be ready (every power loss and most upgrades) #3572

Open
CrAzYDr1veR opened this issue Sep 1, 2024 · 3 comments
Labels
board/raspberrypi Raspberry Pi Boards bug

Comments

@CrAzYDr1veR
Copy link

Describe the issue you are experiencing

Hi, so every time i have a power loss (even ups switching from grid to battery) or most of the times the system updates
my home assistant pi 3 becomes a brick.
Is there a way to make this more resilient to power losses and less corruption of the file system?

I had a mini powerbank as a ups but it takes too long to switch from charging to discharging and powers off anyway.
This takes quite a while to reinstall everything even from imager and the backup of my slowpi3.

Any information you need i can provide if you want.

What operating system image do you use?

rpi3-64 (Raspberry Pi 3 64-bit OS)

What version of Home Assistant Operating System is installed?

13

Did the problem occur after upgrading the Operating System?

Yes

Hardware details

pi3b+

Steps to reproduce the issue

1.upgrade or pull the power cable
2.
3.
...

Anything in the Supervisor logs that might be useful for us?

no access

Anything in the Host logs that might be useful for us?

no access

System information

No response

Additional information

No response

@CrAzYDr1veR CrAzYDr1veR added the bug label Sep 1, 2024
@sairon
Copy link
Member

sairon commented Sep 23, 2024

There's really not much to be done OS-side to be ready for unexpected power losses. Proper reboot during the upgrade should not trigger such behavior, if it leads to FS corruptions too, then there's likely something wrong with the storage you're using (you didn't specify what is the media the OS is running from).

@sairon sairon added the board/raspberrypi Raspberry Pi Boards label Sep 23, 2024
@CrAzYDr1veR
Copy link
Author

sorry just a normal 32gb kingston sdcard

@Impact123
Copy link

Impact123 commented Sep 23, 2024

Seeing Waiting for the Home Assistant CLI to be ready... is not a bug as that happens every boot.
The orange message is from the OS and the blue one from the CLI once it's started
image
The messages originate here:

From what I can tell it's normal to see the orange message.
I recommend getting an UPS if your power is unstable. SD Cards are known to corrupt easily even without brownouts or power losses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/raspberrypi Raspberry Pi Boards bug
Projects
None yet
Development

No branches or pull requests

3 participants