Problems with configuration on raspberry pi, fresh install

Hi. I’m all new to Home Assistant.

I’ve successfully setup Home Assistant with the raspberry pi image. However when i try to configure it, and then restart it i lose it, and have to flash it again. It is kinda annoying. Not sure what i do wrong.

Also i would much rather run home assistant in a virtual machine, but I’ve been unable to make home assistant run on anything besides a raspberry pi.

Are there anyone out there that might be able to help me? I’m really lost, and not sure what to do :frowning:

Also if someone could say how i should categorize and tag this post, I would be happy to do so.

This time it died after i copied in the example script from there: https://www.home-assistant.io/getting-started/configuration/

This is certainly possible. I do it for running my test configuration, but there is no reason why it couldn’t run permanently. The instructions for creating and running in a virtual environment should work fine, no matter what linux distribution you use.

There are some more specific instructions for other distros, if you are interested

1 Like

Okay thanks. I’ll look into that. But as for now i have this error when i try to restart home assistant in the console

Any idea what it means?

Sorry, I don’t know anything about hassio.

Okay. Then I think I’ll just give up on running it on a raspberry pi… I did Google the error, many have the problem. Properly some config file. But the command line is odd in hass.io

Can’t make any sense of it

So odd. Anyways, thanks a lot. I’ll try to make it run on something else.

The command is hassio ha restart

You are already in the hassio shell. See the prompt? hassio>

If you want a normal shell, type login just like it tells you to.

Thanks. It worked, but still didn’t help much. Not sure where the files I need are even located.

Anyways. I’ve given up on Hassio. It prevents me from doing what i want, or makes it harder/guides to another approach at the problem that I would like to do.

The guides @gpbenton linked to worked great. I’m up and running now, making automations and having fun.

Thanks for your help!. It turned out hassio wasn’t suited for me :slight_smile:

1 Like

Me too. Prefer hassbian.

1 Like