Update | Problem

Hi, i have been trying to update hassio to the last version but, the update button stay at red and I have got the next error ant the log:
19-03-07 16:32:25 INFO (SyncWorker_10) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.89.0. 19-03-07 16:32:27 ERROR (SyncWorker_10) [hassio.docker.interface] Can’t install homeassistant/raspberrypi3-homeassistant:0.89.0 -> 500 Server Error: Internal Server Error (“readlink /mnt/data/docker/overlay2/l: invalid argument”). 19-03-07 16:32:27 WARNING (MainThread) [hassio.homeassistant] Home Assistant is already running! 19-03-07 16:32:27 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.89.0

Need help please

I attempted an update earlier today with results similar to yours. Have you recently tried to update again?

I’m seeing the same.

19-03-07 19:28:06 ERROR (SyncWorker_13) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.89.0 -> 500 Server Error: Internal Server Error ("readlink /var/lib/docker/overlay2/l: invalid argument").
19-03-07 19:28:06 WARNING (MainThread) [hassio.homeassistant] Home Assistant is already running!
19-03-07 19:28:06 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.89.0

I’m running 0.89.0b1, fwiw…

Yes, but it didnt work

I have the same problem. I‘m running Hass.io 0.88.2 and can’t update to 0.89.1 due to the error “19-03-10 06:06:23 ERROR (SyncWorker_12) [hassio.docker.interface] Can’t install homeassistant/raspberrypi3-homeassistant:0.89.1 -> 500 Server Error: Internal Server Error (“readlink /mnt/data/docker/overlay2/l: invalid argument”).”

I have been trying for two days but get the same message every time.

19-03-12 12:27:39 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.89.1
19-03-12 12:27:39 INFO (SyncWorker_4) [hassio.docker.interface] Update Docker homeassistant/raspberrypi3-homeassistant:0.89.0b1 to homeassistant/raspberrypi3-homeassistant:0.89.1
19-03-12 12:27:39 INFO (SyncWorker_4) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.89.1.
19-03-12 12:27:40 ERROR (SyncWorker_4) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.89.1 -> 500 Server Error: Internal Server Error ("readlink /var/lib/docker/overlay2/l: invalid argument").
19-03-12 12:27:40 WARNING (MainThread) [hassio.homeassistant] Home Assistant is already running!
19-03-12 12:27:40 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.89.1

I have the same issue, anyone found a solution ?

I have exactly the same problem
9-03-12 22:48:32 ERROR (SyncWorker_6) [hassio.docker.interface] Can’t install homeassistant/raspberrypi3-homeassistant:0.89.1 -> 500 Server Error: Internal Server Error (“readlink /mnt/data/docker/overlay2/l: invalid argument”).
19-03-12 22:48:32 WARNING (MainThread) [hassio.homeassistant] Home Assistant is already running!
Not sure if it is relevant, but also tried to upgrade ssh server, mosquito, configurator and samba services ( showing as orange) but they don’t get updater either

Besides this, Home assistant seems to be working OK
Thanks

is the disk full?

1 Like

I dont think so
I vhecked with df -k and got more than 20gb free

Same error here!

19-03-13 08:40:46 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.89.1
19-03-13 08:40:46 INFO (SyncWorker_2) [hassio.docker.interface] Update Docker homeassistant/raspberrypi3-homeassistant:0.88.2 to homeassistant/raspberrypi3-homeassistant:0.89.1
19-03-13 08:40:46 INFO (SyncWorker_2) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.89.1.
19-03-13 08:40:48 ERROR (SyncWorker_2) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.89.1 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
19-03-13 08:40:48 WARNING (MainThread) [hassio.homeassistant] Home Assistant is already running!
19-03-13 08:40:48 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.89.1

Also, if i try to update an addon, like Configurator or DuckDNS, I get the same error

19-03-13 08:59:33 INFO (SyncWorker_8) [hassio.docker.interface] Update Docker homeassistant/armhf-addon-duckdns:1.5 to homeassistant/armv7-addon-duckdns:1.6
19-03-13 08:59:33 INFO (SyncWorker_8) [hassio.docker.interface] Pull image homeassistant/armv7-addon-duckdns tag 1.6.
19-03-13 08:59:35 ERROR (SyncWorker_8) [hassio.docker.interface] Can't install homeassistant/armv7-addon-duckdns:1.6 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").

Exactly the same here, cant update adons either.
Has something todo with Docker DB.

same error here. what to do?

There’s a similar issue for Docker for Mac here. It looks like the solution was to unmount overlay2 and remove the /var/lib/docker folder. However, I haven’t been able to even try that on hassio since trying to stop docker first causes me to lose my console access (I can see it but can’t type anything). I have no idea what’s in that folder after unmounting, so I wouldn’t do it without checking first.

Edit: Sounds like that will lose all data. Might as well try to take a snapshot/backup configs and do a clean install if that’s the only option.

Same issue with 0.90.0b0. I noticed that the first attempt takes a while before failing, presumably to download the update. Subsequent attempts fail very quickly.

19-03-14 17:18:25 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.90.0b0
19-03-14 17:18:25 INFO (SyncWorker_3) [hassio.docker.interface] Update Docker homeassistant/raspberrypi3-homeassistant:0.89.0b1 to homeassistant/raspberrypi3-homeassistant:0.90.0b0
19-03-14 17:18:25 INFO (SyncWorker_3) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.90.0b0.
19-03-14 17:23:45 ERROR (SyncWorker_3) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.90.0b0 -> 500 Server Error: Internal Server Error ("readlink /var/lib/docker/overlay2/l: invalid argument").
19-03-14 17:23:45 WARNING (MainThread) [hassio.homeassistant] Home Assistant is already running!
19-03-14 17:23:45 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.90.0b0

Same problem here and yes the disk was full. It is on a VM and I had extended the size of the disk but then not reconfigured the host to use it. Doh!

It would be nice if there was a more informative feedback that simply failing quietly! Not really tricky to do a space check.

Although I do not have exactly the same error, I think the actual issue is the same:
19-03-16 10:54:20 INFO (MainThread) [hassio.core] Hass.io is up and running 19-03-16 10:57:46 INFO (SyncWorker_7) [hassio.docker.interface] Pull image hassioaddons/node-red-armhf tag 1.4.0. 19-03-16 10:57:48 ERROR (SyncWorker_7) [hassio.docker.interface] Can't install hassioaddons/node-red-armhf:1.4.0 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument"). 19-03-16 10:59:20 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token 19-03-16 11:00:29 INFO (SyncWorker_1) [hassio.docker.interface] Pull image hassioaddons/node-red-armhf tag 1.4.0. 19-03-16 11:00:30 ERROR (SyncWorker_1) [hassio.docker.interface] Can't install hassioaddons/node-red-armhf:1.4.0 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").

If you see “image not found” errors, those are usually a matter of not having the available space. You can check quickly with df -h in a console. Often users are adding space to a VM and not realizing that they also need to configure HassOS to use that additional space. This is better handled when installing Hassio the first time as it expands into the available space at setup.

These 500 error/internal server errors which mention the overlay fs are not the same and are unfortunately best addressed by restoring a snapshot to a newly flashed install as far as I can tell.

EDIT:

500 Server Error: Internal Server Error (“readlink /mnt/data/docker/overlay2/l: invalid argument”)

Since I wrote this a new command has been added which can repair the above situation. Running ha su repair in the custom cli console should resolve it.

19-03-17 14:37:29 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.90.0b3
19-03-17 14:37:29 INFO (SyncWorker_1) [hassio.docker.interface] Update Docker homeassistant/raspberrypi3-homeassistant:0.89.0b1 to homeassistant/raspberrypi3-homeassistant:0.90.0b3
19-03-17 14:37:29 INFO (SyncWorker_1) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.90.0b3.
19-03-17 14:37:30 ERROR (SyncWorker_1) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.90.0b3 -> 500 Server Error: Internal Server Error ("readlink /var/lib/docker/overlay2/l: invalid argument").
19-03-17 14:37:31 WARNING (MainThread) [hassio.homeassistant] Home Assistant is already running!
19-03-17 14:37:31 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.90.0b3