New to HA on Raspberry pi 4 - can't seem to log in

Thanks.
I did follow the above guidance. I think I used the same steps to install the imager on to the SSD previously too. I did have to make a boot loader via USB on to an SD card as I understood the RPi won’t start with an SSD unless I did that. I’ve now got the following appearing on the Fing app.


It appears that HA is offline. Not sure how to go from here. I’ll wait a bit more and see. I’ve got to go for work, so will look in to this after I come back home.

If you have any suggestions as to what to do, I would really appreciate it. I will try to buy a micro HDMI to HDMI cable and an additional keyboard too. I’m a bit disappointed that this didn’t work although I feel I followed all steps correctly.

Thanks again to all of you guys for the advices.

Ok so you created the bootloader sd card from the pi imager software? You need to then boot with just this card till the screen goes green. Tricky to see with no monitor :slight_smile: But I guess booting the pi from this bootloader card (without the ssd connected) and leaving it for a few minutes will do the job. Turn off the pi, remove SD card, plug in SSD flashed with new image and turn on PI. Watch for green flashing LED, go have a coffee or 3. After 30 minutes or so try to login to home assistant from your mac.

This may have been exactly what you were doing but always worth going back to basics in case anything was done differently, easy to make mistakes if you are not used to RPi’s

1 Like

Thank you. I will try this when I’m back. Really appreciate it.

Hi Arh,
I followed the exact steps you mentioned, but still, it says ‘failed to open page’ when I go to http://homeassistant.local:8123. It however does show up as Homeassistant on my Fing devices list and it seems the device is online.
Every video on the net showed that the loading page does load after a few minutes, but mine doesn’t ever reach that and it’s always “failed to open page”. :worried:

Stop watching videos. HA is not documented on youtube.

Plug in a monitor/tv. Plug in a keyboard. Tell us what you see.

I have ordered a cable and keyboard for this purpose. Should arrive by tomorrow. Will post here afterward.
Youtube videos are what made me go for HA as I wanted better control of my home automation stuff, but it’s quite demoralizing and frustrating when I can’t even get through the simplest of steps after following steps on the official HA page too.

You meant to say micro-HDMI to HDMI cable, isn’t it? I have a micro HDMI port in the NESPi case and HDMI in the TV, so I bought a micro-HDMI to HDMI cable (hopefully I’ll get it by tomorrow). May I ask what should I do after connecting the RPi to the TV along with a keyboard? I’m not familiar with RPi boot-up.

what you need to look for. It will be very obvious. It’s a typical Linux boot screen that should end with a statement about status of the box and the supervisor. If not you’ll have error messages staring at you. Either way let us know what it says.

Id HA says it’s up and you can’t reach it you have some flavor of a network configuration issue. If it is not up you will have an error to chase.

1 Like

Thank you very much

I have posted a typical output after bootup here Installation problem on X-86, can't get commnication using homeassistant.local:8123 or IP address:8123 - #12 by nickrout

As an aside, I must say ‘fing’ appears to be getting less useful over the years. It now seems to be mainly nagware for their hardware product, and to show less rather than more info. Annoying. I usually go back to more traditional networking tools like ping, arp and nmap. However they are better run on linux :slight_smile:

2 Likes

Hi,
This is what the screen shows. A whole lot of Ext4-FD errors and SQUASHFS errors. I think I may have a hardware issue like the SSD is corrupted or something?

Can you kindly let me know how to proceed?

1 Like

That’s exactly how I read it. Something undetermined is wrong with that disk. Could be electronic or logical, but definitely can’t read the disk.

I’d verify that disk you’re trying to run from or (if me) I’d get another to try.

Thank you. I removed the SSD, and then used an SD card to run HA (although I’ve heard it may not be a good decision). I just want to make sure that I can setup HA.
This is what I got now.

And finally saw this page on my computer! :pray:

I’m just wondering if I should try back with the SSD later as my SSD does seem to work when I connect it to the Mac to install HA on it again.

Would value your thoughts.

Thanks.

Hers the reality of the situation. An SD card (even long life cards) WILL eventually fail deployed as the main drive for HA. It simply wasn’t designed for the type of I/O you see. That said you’re probably looking at some point after six months and before 18 months.

If you’re all ready to start you can ABSOLUTELY start on an SD and then backup/restore to an install on an SSD later. Really depends on your priorities. Do you want to do it on your expected hardware now or get started now and move later. Ones just more work.

Id see if you can run repair tools on the ssd and fix it before trying the SD myself…

1 Like

Thank you very much. I will try with the SD for now. I will then move over to the SSD soon. I really want to setup HA now, and then hopefully I’ll learn how to back it up and then go ahead with the SSD afterwards.

Really appreciate your advices.

May I ask, if I were to unplug my RPi from the current place and set it up in a different area of the house, would that corrupt the whole thing all over again? I’m not sure how to safely shut down the RPi, which I feel may have been the reason why my SSD got corrupted. As you can see, I’m totally new to RPi and HA.

When the PI is UP with HA, under settings, then system, look at the upper right of screen your have a power button, click on it, it will have 2 choices along with Advanced options which you need to click on, Shutdown will be the last choice. That is it.

2 Likes

Brilliant! Thanks very much.

Glad to see its working, just get a new SSD when you are ready as they are cheap enough and not worth risking that one.

Set this up as soon as possible it will then backup every day if you set it to do that.

also backup is under setting / system / backups and easy to do manually, but watch out as if you have too many backups it can fill up a small sd card.

Good luck

1 Like

Yup. Me again. I’m that guy who always pops up to be the contrarian in the ongoing SD card debate.

It’s been over four years now on my first SD card running HA. I followed the directions, got a good quality card which matched all the recommendations. I don’t try to stream audio or video through it, and I exclude everything I don’t need from the Recorder database.

OK, I’m just some guy on the internet. Maybe I just got lucky (although that’s never happened before!)

My only point is that there’s no guarantee your SD card will fail after some number of months, or even years, unless you’re hammering it with I/O well beyond what I would consider “normal” HA use. Of course we all use HA for different things, so take that into consideration.

What’s an SSD anyway? A tiny memory chip, just like an SD card. And like an SD card, there can be different technology and quality in SSD devices. There are recent posts on this forum from people who have had multiple SSD failures.

Will my SD card die some day? Probably. If after four years I have to spend a few minutes to swap out my SD card with the backup card I always keep handy, I’d say that’s pretty trivial compared to all the updates, breaking changes, bugs, incompatibilities, hardware failures and general tinkering needed to keep HA running. Oh, and running off SD means one less hardware interface and one less device to mount and find a power source for. Just plug it into the slot already on your RPi.

2 Likes