Cant get ESPhome to install please help

Hi all,

I’m trying to install ESPhome from Hass.io add-on store but it wont install for some reason…

I’m running a Raspi 3+ b with Hass.io I have Home Assistant 0.103.6 installed internet is via Ethernet cable and power is a 5v 3a supply

I have followed the instructions to the letter (as far as I know) and get as far as clicking “install” then the button fades, I get a progress circle for about 2 seconds and it all reverts back to normal… the instructions said it could take a while, so I left everything alone (thinking its working in the background) walked away from the computer and left it, watched some tv, came back about 2 hours later (plenty of time I thought) but still not installed… can anyone help me please?

thank you in advance

Robin

edit: I dont have ssh on the is pi as I dont need it so my config for ESPhome is empty… is that the problem? if so, what should I put in here?

Check supervisor logs.
In hassio system

Sounds like you are confusing ssh with ssl. I strongly recommend installing ssh even if you don’t need it as one day you will need it.

thank you for your responce :smile:

the log shows an error but I have no idea what it means…

here is the log

20-01-13 21:50:40 INFO (MainThread) [hassio.addons] Create Home Assistant add-on data folder /data/addons/data/15ef4d2f_esphome
20-01-13 21:50:40 INFO (SyncWorker_9) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 21:54:17 INFO (SyncWorker_6) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 21:55:17 ERROR (SyncWorker_9) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
20-01-13 21:55:17 ERROR (SyncWorker_6) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
20-01-13 21:55:41 INFO (SyncWorker_15) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 21:55:43 ERROR (SyncWorker_15) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
20-01-13 21:55:54 INFO (SyncWorker_3) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 21:55:56 ERROR (SyncWorker_3) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
20-01-13 21:56:23 INFO (SyncWorker_4) [hassio.docker.interface] Restart homeassistant/raspberrypi3-homeassistant
20-01-13 21:57:28 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
20-01-13 22:02:23 INFO (SyncWorker_9) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 22:02:24 ERROR (SyncWorker_9) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
20-01-13 22:08:55 INFO (SyncWorker_3) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 22:08:56 ERROR (SyncWorker_3) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
20-01-13 22:09:46 INFO (SyncWorker_14) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 22:09:47 ERROR (SyncWorker_14) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
20-01-13 22:41:31 INFO (SyncWorker_15) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 22:41:33 ERROR (SyncWorker_15) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
20-01-13 22:44:55 INFO (SyncWorker_6) [hassio.docker.interface] Restart homeassistant/raspberrypi3-homeassistant
20-01-13 22:45:58 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
20-01-13 22:52:07 INFO (SyncWorker_10) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 22:52:09 ERROR (SyncWorker_10) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
20-01-13 22:57:00 INFO (SyncWorker_5) [hassio.docker.interface] Pull image esphome/esphome-hassio-armv7 tag 1.13.6.
20-01-13 22:57:01 ERROR (SyncWorker_5) [hassio.docker.interface] Can't install esphome/esphome-hassio-armv7:1.13.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").

i did click "install a few more times recently and have done a restart and pulled the power to see if that helped… but it didn’t

thank you for your reply,

I’ll give it some thought and consider installing it.

thank you

Can you install portainer
Then you can check if there is a esphome image thats causing the issue, delete it, check the containers as well, then try again

portainer wont run just keep getting a 502 error, I’ve not got a lot of automatons and stuff set up yet so I’m thinking I’ll just do a fresh install of Hass.io and go from there, but thank you all for your help thus far I greatly appreciate it.

Yep snapshot copy and start again

1 Like

Not sure how old your install is/was, but 2 days ago hassos 3.8 came out. It’s much more stable from my experience compared to 3.7 (faster reboots, compiling esphome doesn’t crash, db sensors not failing after reboots, etc). Just wanted to mention in case you were reusing an older image. You shouldn’t have any issues installing esphome… maybe misconfiguring something the server fails to start, but not installing the addon sounds like something is corrupt.

edit: I 2nd that recommendation to install ssh. Just use the addon it’s easy, and 9/10 times when the webui fails after a config change, you can recover it through ssh. Also, sd card or usb ssd? I recommend investing in the latter now vs after the sd fails. You can still play/config while an ssd is in the mail, then just snap/download/restore on the ssd when it arrives.

Hi @Rdoull, from the look of that error, it seems like you’re trying to install esphome version 1.13.6. This is very wise, it’s a stable version.

However, installing an older version of esphome requires you to create a config in a little text box before you install, and I can’t help but think that maybe you’ve got a type or something there. Can you please post your esphome config here, even if its just one line, so we can take a look?

But on the other hand it perhaps indicates that something is wrong, given that the default is 1.14.3. see GitHub - esphome/home-assistant-addon: ESPHome Home Assistant Add-on

Agreed! but surely it would only try to install 1.13.6 if @Rdoull had specified that version manually?

But you’re right, if no config was specified, something is very wrong.

I don’t actually have hassio installed at present. Can you choose the version?

Yes, if you specify esphome_version in the config box.

1 Like

Same issue here! my log file:
20-02-01 07:55:11 ERROR (SyncWorker_18) [hassio.docker.interface] Can’t install esphome/esphome-hassio-armv7:1.14.3 -> 404 Client Error: Not Found (“no such image: esphome/esphome-hassio-armv7:1.14.3: No such image: esphome/esphome-hassio-armv7:1.14.3”).

I formated my sd card and started again from scratch. I didn’t have much set up though and took a copy of my yaml files and such before formatting.

No idea what went wrong but it sorted it all out for me.

1 Like

Did you ever get this figured out? I’m having the same issue on my system all of a sudden.

Hi Pat! My post is almost a year old!
I have since moved to a HA containerised install and ESP Home is on a separate docker container - works a charm!

Cheers