Location of HASS in docker please? for the new Authentication

Hello

I am trying to setup the new authentication but it states I need to locate hass to run this
hass --script auth --config /home/mark/HomeAssistant

Any idea please?

Cheers
Mark

Depends which docker container you use, for me it’s in:
/usr/local/lib/python3.6/site-packages/homeassistant

To find where is the executable, you might be able to use: which hass
which give me: /usr/local/bin/hass

1 Like

You should access inside the container. Instead, you should execute the command from outside the container

$ docker exec ha python -m homeassistant --script auth --config /config add test test
User created

where ha is the container name and test is the username and password.

Thanks, this worked and says user created but when I try and logon it doesn’t work… even after a reboot… odd

1 Like

Where is location on raspian stretch lite with virtualenv ?