I’ve been trying all day to get a backup Hassio server (NUC image on a PC) provisioned for the worst case scenario while I am away next year. The problem seems to be that Hassio wants to use an IPv6 address but this is disabled in my router.
First I tried the USB method to set the IPv4 address as outlined in the getting started docs. I used a USB stick with the volume called CONFIG and a root folder: /network.
I give up. No matter what I do I can not get Hassio to register an IPv4 address with my router. No other device on my network has this problem. The NIC in the PC is was working fine this morning before I removed windows and flashed the NUC Hassio Image to the M.2 drive. The NIC lights flash but no one is home.
The only error I see in start up is this zram failure. No idea if it is important:
If you have a spare SD card/SSD/boot device around I would give VENV install on your Linux Distro of choice, your HassIO addons won’t work but it may be handy for debugging/test
I had a similar problem running portainer. Something to do with the copy and pasted line from @kanga_who’s howto. Try typing it by hand (tedious though that is).
Portainer isn’t starting automatically after a reboot. I might try nick’s suggestion and type out your install instructions. But I guess I have to work out how to uninstall it first, which is not proving easy to find.
I have a bigger problem though. The PC refuses to start without a monitor connected. It’s a gaming motherboard with integrated graphics. It throws a GPU BIOS error and does not start without a monitor connected. No way to disable the GPU in BIOS. Same as this issue: https://ubuntuforums.org/showthread.php?t=2331323
So I have to look for a BIOS update. Which means opening up the machine to find the MB details (not easy - it’s a fanless heatsink case) as I can’t find the original receipt. Ugh.
I’m actually thinking of junking the whole PC and getting another Chinese mini PC that just worked with the NUC image. I’ve spent the whole weekend on this.
I haven’t installed portainer as the backup I will (hopefully never) be restoring from has it as an addon.
I got SAMBA installed however I think the path in your recommended settings could be better. It’s is fine for the config directory but the backup directory is above it and so can’t be accessed.
path = /usr/share/hassio/homeassistant
Should it not be just:
path = /usr/share/hassio
EDIT: with the second path I can copy a snapshot.
I was trying with winSCP but did not have the required privileges (no way to sudo). I tried editing the session shell to use sudo su - but that still did not allow me to copy snapshots to the backup directory.
You’re confusing me with 123. I run Home Assistant only.
Im going overseas for a year next year and will only have remote access to my home (via Anydesk to another always on PC). My house sitter is a reasonably competent “remote finger”. So the plan is this if my Hassio PC dies while I’m away:
Make sure my main Hassio PC is off and network unplugged (via house sitter remote finger).
Remotely set the backup Hassio PC IP address in my router’s DHCP server to my main Hassio IP.
Switch on backup hassio PC. I can do this via a web interface on an ESPhome flashed smart plug.
Copy my last nightly snapshot to the backup hassio instance and restart.
All will then be well again.
I will have to switch on the backup PC (via home assistant) and upgrade the home assistant version every now and then. But it will stay a bog standard local only install until required. So there is little to no chance of a breaking change affecting it.
Apologies for the mistake.
See I’m learning even more.
When my pi becomes overwhelmed I may go same route but wife already complains about the amount of kit I have, “why do you need ANOTHER computer ?”
But I’d like to ensure the pi4 usb ports are fixed, then try that first (I have yet another project in mind for my Pi3 (have about 7 (and 5 pi zero’s (3 of the w’s used for time lapse))) (so I suppose she does have a point with my other 4 pc’s and ‘only’ 1 laptop. )