Problem with installing Home Assistant on my Pi

Hi folks,

I’ve been trying to install Home Assistant on my Pi (Model 3 B+) to no avail following the “getting started” guide and some youtube videos. Here’s what I think I’ve done so far:

  • I flashed the 32bit version to my SD card (Sandisk 64GB) using the latest version of Etcher
  • I formatted my USB for ExFAT (using Mac Disk Utility)
  • I created a file (network) and document (my network) and copied the text from this link:
    Network examples
  • I changed wireless SSID and PSK with my Wifi router name and password

I power up the pi with the USB/SD stick, and I get the code on my monitor in the attached image.

I haven’t found anything online yet that has specifically addressed the error “serverip” not set, missing environment variable: bootfile

Full disclosure, I am very new and inexperienced, with this. Please let me know where I am going wrong!

1 Like

Did you get any solution to this? I am getting the same error… :frowning:

Last week I tried changing the dns server my HA/Pi uses & it just wouldn’t change using the network/my network with a usb stick.

I tried using the nmcli method & it worked first time.

Hope this helps

@galv83, when you say nmcli method, do you mean you configured with a static IP instead of wireless? Do you have a link or source describing this method in more detail?

You are the first person to offer any potential solutions to this problem that I’ve seen so far, any help is greatly appreciated!

Try my guide HERE.

Full instructions on installing Hass.io on a RPi running Raspbian.

I up this topic as I have the exact same problem.
Maybe some context to try to cross information with you @sirkina93

I had HA up and running for weeks. I’ve done a change in my device tracker setting and HA stopped working.

My config:

  • Rasp Pi 3B+
  • SSD Kingston 120Go plugged in USB

I’ve redone all the classic installation steps and I have the same error.

If anyone can guide us, that would be great

@sirkina93 : on my side, sometimes when I start the raspberry, nothing displays at all. And some other times, I have the same screen as you. Do you experience the same thing?

You shouldn’t reinstall from a bad config just fix the config.

Not sure to understand your point. The thing is that, at the time, HA was not launching anymore. So I couldn’t edit anything.

The current situation is that I have the ssd with a fresh image flashed just like if I was installing Hassio for the first time.

But when starting the pi, I have the screen shown in the topic.

What do you suggest?

That’s what happens when you reboot and have a bad config.

Pretty easy to fix actually. Pull the sdcard, put in a machine with a real OS and edit it.

SSD?

Are you sure it’s supported by the version of HassOS you’re flashing?

Ohhh you might be right, I remember last time I took the version on GitHub and not the official website. Don’t know if the IMG on the officials page is the one that support usb booting.

I’ll try this when I’m home. Thanks for the reminder :crossed_fingers:

Regarding editing the configuration, this is what I tried but couldn’t find the configuration.yaml when I was browsing the ssd plugged in usb on my computer. Can you tell me how to proceed for the next time? Thanks!

You need an application on Mac or Windows that can read Linux partitions or you need to run a real OS like Linux to edit.

Love you man. That was indeed the issue. The version available in https://www.home-assistant.io/hassio/installation/ is an “old” one. I took a pre-release on that include the USB management and that made the trick! :heart:

Hello everyone,

I’ve run into a new issue, but I think I was able to figure this one out.

I started from scratch again and, I think I was accidentally reformmating my SD card after flashing the image (a popup appeared after flashing the image suggesting that I reformat, which you need to ignore)

Hope this helps someone down the road.

I have a Raspberry Pi 3 Model B and rasp os runs well in SSD and a I have the same problem as you with home assistant. What version did you use? Can you share?