I thought I would document this here for others, and for when I forget next time.
I installed Ubuntu Debian* on a mini PC and wanted to run HA supervised in a Docker container. Everything went fine until:
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s
At that point I got an error:
invalid reference format
This was right after:
[info] Install supervisor Docker container
This is run immediately after it restarts the NetworkManager. My assumption was that my WifFi was coming up slower than the script was running when it was trying to grab the files.
To get a local copy, I did this:
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" > hainstall.sh
I made that file executable and added a sleep command right before it tries to pull the image:
# Pull supervisor image
sleep 30
Ran the local copy:
./hainstall.sh
All working. I think this was down to the Realtek network adapter on my PC as I had to install the drivers for this manually. So it might not affect many people but I figured better to document it than not.
- Ubuntu looked like it was working right up until I needed to install some addons. So I went back to the drawing board and installed Debian. The process was the same in terms of the network adapter not waking up fast enough.