I currently have the latest HA running on Ubuntu. Besides apparently it’s not supported I’m having some issues since I installed a new network card in my main PC that the virtual is having issues communicating now. Can access it from certain computers but not others and when I putty in it seems to lock up. Anyway, is there any magic bullet for backing up and restoring the entire content of my HA instance? Also any recommendations on the “right” way to set this up in a virtual? As mentioned always getting messages that Ubuntu is not supported
Pretty good info here: Installation - Home Assistant
And lots of details on various options here: Community Guides - Home Assistant Community
Since it is ‘unsupported’, I can assume you run supervised. Create a backup (snapshot), move it somewhere safe, after re-installation you can restore your snapshot and have everything back.
If you are going to run in an VM, use HA OS.
Correct and thanks for the input. Thinking more and more now this may not be the answer. Here’s the deal and maybe I should create a new post around this. So I have HA running on VMWare Workstation on a computer with 1Gbe NIC plugged into a HP 1810 switch. All worked great. Could get to the IP or the external URL internally, externally, from space, even thru a wormhole I went thru one time.
Bought some Ubiquiti 10Gbe gear and added this to the top or bottom of my existing 1Gbe gear. So each HP switch was plugged into the 10Gbe switches to maintain connectivity or the legacy devices and all the Ubiquiti devices were connected thru the house to each other directly. So anyway and there is more to this story but will keep it simple I think:
- I turned off the NICs on the HP switch.
- I set the Mellanox ConnectX-3 NIC to the IP of the original NICs. This is connected to a Unifi Switch.
- Updated VMWare Workstation to point the bridged network to the new card.
OK so comes up, loads but kind of odd.
-
From a laptop on Wi-Fi connected thru the First Floor HP Switch can NOT get to internal IP of webserver:
-
From the same laptop almost looks like the site starts to load then stops. EdgeRouter Port Forwarding rule on Rack HP Switch:
-
From laptop it will lockup or disconnect when using putty. Can see it hanging on the ls command:
-
From HA I can ping my laptop but not the Denon receiver.
-
From Encoder PC, MediaCenter, and HomeServer I can get to internal addresses of the webserver running as a virtual on it.
-
With the Steve computer (on FlexXG 10Gbe) I can NOT get to the internal IP on port 8123.
Note across the board I can ping HA on 192.168.0.50.
So below is my home setup, I cut off the second floor to not over complicate, but essentially the Encoder Windows 10 PC is running VMWare Workstation 16 always was.
Everything works fine if I connect the Encoder PC with the built in NIC to the HP Switch, switching to the Mellanox on the Rack Switch Aggregation then things start acting weird. The Windows virtuals on the same system kept working or seem like they did.
Thoughts?
Or vanilla Debian with Supervised.
Sounds like a broken driver for the new Ethernet card. Why not use the one that works.
Yeah want something I can fully manage. Installed HA OS yesterday and spent more time trying to figure out how to use those basic commands when remoted in than I had the patience for. With that installed same issue but oddly I could pull up the static IP all day anywhere but same hang or looks like a 403 maybe error if I F12 the browser for the main site on 8123.
With the one that works as you say, that’s a 1Gbe network and replacing everything with 10Gbe that can support it. The 1Gbe card is disabled and just use it for WOL. Broken driver? Maybe. I’m ordering a 10GTek card and going to try that and see what happens. Got these Mellanox cards for cheap off eBay but not a fan. Can’t even set their negotiate speed on the network without editing the firmware and can’t find how to do it if at all in Windows.
I have a lot going on with my instance so not sure I can do this but is there a way to run HA thru Windows without a VM? Don’t want to introduce more hardware into the situation. Oddly seems like all the other virtuals work fine, just the Linux ones acting off.
The documentation does not list such a way. Of course you already knew that since this forum is not a replacement for reading the documentation.
Why not use both ethernet cards?
OK so that was annoying. Weeks of troubleshooting and having HA be down and it was the network card. Didn’t make a lot of sense as the host seemed to work fine, but all my VMWare Workstation virtuals were acting flaky. Always ping stuff but browser would fail to pull things up. Sometimes RDP would work on the windows hosts, sometimes fail to connect. I replaced the card with a new one from 10GTek and poof everything started working. Thought the Mellanox ConnectX-3 cards were good even though going for nothing on EBay but apparently not.
One person in the Ubiquiti forum that was helping me did suggest something that isn’t 100% relevant anymore, but they suggested turning off NAT loopback so my internal devices could still connect to HA and use separate vlans for my external devices. Anyone have any examples of configuring that? Right now I don’t really use vlans for my home network.
you are aware that you were ping:ing 192.186.0.20 right ?