Installing Home Assistant OS using Proxmox 8

Hi, now that Proxmox 8.1 is out, what’s the best way to update: directly via proxmox, or re-applying this script (https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh) to get the extra benefits (like disabling subscription nag)?

thank you

1 Like

Hi everybody!

Tried to migrate my HA instance from a Blue to a Proxmox 8.1 VM today. Everytime I try to restore a backup I did from the Blue to the VM I get this error:

The only thing in the logs is this:

2023-11-26 12:06:23.166 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /backups/0eb295eb/info - Backup does not exist

Backup and restore directly on the VM is working properly as well as on the Blue. I tried to transfer the backups via browser upload as well as via Samba share.

The VM was created with the helper script.
Both instances are on 2023.11.3

Any suggestions?

My HAOS is looping through “Connection lost. Reconnecting…” about every 30 seconds. When it reconnects, it doesn’t display any startup messages, so HA isn’t actually restarting in these instances, it simply loses connection.

Everything works normally after I install the HA VM and restore from a backup that was made on a different machine. However, once I try to set the static IP–either through HAOS Settings > System > Network, or by assigning the IP through my OPNSense router–then the Connection loop begins. If I try to revert the static IP changes, the connection loop persists. The only solution I’ve found is deleting the VM and starting over.

I am running Proxmox v8.1.3 on a Topton n100. OPNSense is running in a VM on the same machine. HAOS Supervisor 2023.11.6 with CORE OS 2023.11.2. I did run the Post PVE Install and microcode Scripts to update the Proxmox server. I also updated the interntal_url property in the HA config.

Can anyone think of what could be going wrong here and where I should look to troubleshoot? Technically HA is working, but reconnecting every 30 seconds is really annoying.

Edit: I changed the static IP and everything appears to be working now. There must have been a conflict with the IP I was using.

I’m new to Proxmox, and working on switching my old install of Home Assistant over to a new-to-me (old Dell R710) rack server. When I run the HA install script, it fails to create the VM, but I’m unsure how to troubleshoot the error in the Proxmox Shell.

Any ideas on how to address the error in the screenshot?

[ERROW] in line 426: exit code 5: while executing command pvesm alloc $storage $vmid $disk0 4M >&/dev/null

Here’s an older post that may help.

Edit: or, Home Assistant OS fail · Issue #885 · tteck/Proxmox · GitHub

Hello @tteck ,

I have a Proxmox node with the latest PVE-Version running. I use a lot of your LXC-Container but only the Hass-Installation makes me wonder.

From time to time (sometimes once per day or once per week/month) I cannot connect to my HASS-Instance:

If I check the Proxmox-WebUi everything seems fine:
image

The VM makes a Backup every 24h firstly I used the stop method. After some time I switched to snapshot this helped a little bit. I am now quite lost and I don’t know which things are the problem on this VM. The VM has 6GB of ram and 2 cores assigned which is more than enough (Hass is really snappy).

Please let me know which things could cause such a behaviour.

The error with the domain “NSURLErrorDomain” and error code -1004 is associated with networking in Apple’s platforms, such as iOS and macOS.

2 Likes

Yeah I use iOS. I changed now the ip in the router and set it to a fixed ip. Let’s see if this fixes something. Do you have any other suggestions?

Edit: see here this is a possible solution: NSURLErrorDomain - 1004 - #29 by MrNickIE

But for me this is not clear I use a Wireguard vpn for accessing my instance. The issue is the same if I use my local WiFi. I have to figure it out.

EDIT 2: Also Mobile Data has this feature, so it might be a good try to disable it.

Hello @tteck ,

today my Instance is again offline the error is the same. But now the console seems weird / like a crash. Do you have an idea what caused that?

The Proxmox node runs totally fine…

This falls outside the purview of this thread, as it is unrelated to the installation of Home Assistant on Proxmox. I recommend initiating a new topic for this discussion.

1 Like

Where can i find this guide?

You are posting in the guide thread

Yes i know, and this thread is huge, so i thought to look into the guide first before reading the whole thread of which i basically don’t understand most of it…

Its the first post :slight_smile:

Hi there, so I am trying to make a VM in Proxmox with the script but…
I usually delete local-lvm storage…

So while running the script it says “Unable to detect a valid storage location”
How to modify the script to point to local instead of local-lvm?

Thanks in advance

Ask NetworkChuck. Seriously, it’s not the script that needs modified, it’s your storage needs to define where to store Disk image and Container.
BTW, deleting local-lvm is NOT a smart move.

2 Likes

hi
first of all, thanks for the scrips they worked fine for me and I was successfully able to move home assistant to proxmox, all works great but remote access is not working for me, when I try to use Duckdns it warns connection is not secured, I have to press “proceed anyway” and I also am not able to access my mobile app I think bcz of the same reasion. duckdns was working well on pi. am i missing anything hear, please i appreciate your help. thanks in advance

Hi, you know (or not) that duckdns is just a tool to help you to be able to use the same hostname to connect to your system, instead of a WAN-IP that also might change regularly.
Your problem has nothing to do with Proxmox, even though it appeared when moving HA to it, so you’re not in the right thread for this.

What happens when you presss ‘proceed anyway’?
Did the IP address of your HA stay the same as before on the RPi?
If not: is your port configuration in your router correct?

Hi, I’m using proxmox 8.1.4 and as i wanted to try out pcie passthrough so I’m trying to create the vm as an q35 instance through the advance option. I’m getting guest has not initialized the display(yet) when doing so, I’ve tried to create with i440fx instance aligning the other option and it works. wondering if there’s other people having the same issue as me.

No issue here.