Unable to update virtualbox from 17.0 to 18

HI Everyone,
I have a Virtualbox VM with a downloaded 17.0 virtualdisk, however i cannot get it to update from its current version of 17.0 to 18.0, 18.1, 18.2

I have restarted, rebooted, repaired supervisor, updated Core, run refresh updates, set the DNS to 1.1.1.1 and 8.8.8.8, have disabled the firewall as well as Unifi internet firewall / filtering.

HA network shows the right dns, ip etc etc and says Host_internet: True

When i manually force an update, it sits processing for a very long time (up to an hour) before saying:
"Can’t fetch OTA update from https://os-artifacts.home-assistant.io/18.0/haos_ova-18.0.raucb: Response payload is not completed: <ContentLengthErrir: 400, message=‘Not enough Data to satisfy content length header (received 157286400 of 24196533 bytes).’>

I’ve tried to use another version, such as 18.1 18.2, 17.9, 17.8 etc
However they fail with not something along the lines of Not there, or the same length different.

I’ve got a VM with the following settings:
4 processors
4GB ram
32GB drive - says there is loads of room
NIC - has tried several reading that there could be issues with some in the setup.

Anyone have any ideas such as if i can manually download the update and install from the downloaded file etc.

Thanks in advance.

Out of drive space or memory?

Hi Sir, Drive in HA says it has 20GB free, 32% used. 1GB of 4GB being used, and 2% processor

That is after 1 minute of starting an update via the terminal

Did you try like the docs says ?
You have to type this in the HAOS Shell Terminal, with the # prompt

# cd /mnt/data/
# curl -L -O https://os-artifacts.home-assistant.io/18.0/haos_ova-18.0.raucb
# rauc install haos_ova-18.0.raucb
# systemctl reboot

Just as sanity check I have a VM running HA on a NUC. it is set to use 4gb ram and 30gb disk. Both are approximately 50% used. Updated to 8.2 the other day no problem. I used to have loads of trouble updating using WiFi. Now using ethernet cable all works well.

Hi @Patrikg, thanks for the reply, I have been using the direct access to the HA Virtual machine, so those lines don’t work, do you know if there is another method, or do i need to terminal in instead?

Do you have access to the privileged Advanced SSH & Web Terminal app ?
You can follow my post that I was posting this morning, that will get access to the HAOS Shell Prompt.

Thanks for the reply. Ill try a cable instead of the wifi and see if that helps.

If all else fails, take a full backup (either male sure you have the decryption key, or save it un-encrypted) and download to usb (or whatever suits you).
Then start a fresh download VM machine and import the backup to restore your config.

And since you use a VM you can always recover by switching back to your old VM :wink:

I figure this is faster/easier then trying to ‘fix’ your old 17 image :blush:

I was a fairly long time user of VirtualBox, but since moving to proxmox about three years ago I haven’t looked back, and it wasn’t too bad a learning curve.