Home Assistant OS vm "proxmox version check" needs to be updated to support Proxmox 9 #1547

Closed
opened 2026-02-05 01:31:42 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @Botched1 on GitHub (Aug 29, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Home Assistant OS vm

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/haos-vm.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

📝 Provide a clear and concise description of the issue.

When trying to insatll a Home Assistant OS vm with the script on Proxmox 9 it fails at the Proxmox version check.

This function needs to be updated:

function pve_check() {
  if ! pveversion | grep -Eq "pve-manager/8.[1-3]"; then
    msg_error "This version of Proxmox Virtual Environment is not supported"
    echo -e "Requires Proxmox Virtual Environment Version 8.1 or later."
    echo -e "Exiting..."
    sleep 2
    exit
fi
}

🔄 Steps to reproduce the issue.

Just run the script on Proxmox 9

Paste the full error output (if available).

 ✗ This version of Proxmox Virtual Environment is not supported
Requires Proxmox Virtual Environment Version 8.1 or later.
Exiting...

🖼️ Additional context (optional).

No response

Originally created by @Botched1 on GitHub (Aug 29, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Home Assistant OS vm ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/haos-vm.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 📝 Provide a clear and concise description of the issue. When trying to insatll a Home Assistant OS vm with the script on Proxmox 9 it fails at the Proxmox version check. This function needs to be updated: ``` function pve_check() { if ! pveversion | grep -Eq "pve-manager/8.[1-3]"; then msg_error "This version of Proxmox Virtual Environment is not supported" echo -e "Requires Proxmox Virtual Environment Version 8.1 or later." echo -e "Exiting..." sleep 2 exit fi } ``` ### 🔄 Steps to reproduce the issue. Just run the script on Proxmox 9 ### ❌ Paste the full error output (if available). ``` ✗ This version of Proxmox Virtual Environment is not supported Requires Proxmox Virtual Environment Version 8.1 or later. Exiting... ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 01:31:42 +03:00
Author
Owner

@MickLesk commented on GitHub (Aug 29, 2025):

You Post the correct Shell Script but the wrong Output? .
All Scripts are checked for pve9

@MickLesk commented on GitHub (Aug 29, 2025): You Post the correct Shell Script but the wrong Output? . All Scripts are checked for pve9
Author
Owner

@tremor021 commented on GitHub (Aug 29, 2025):

pve_check() {
  local PVE_VER
  PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')"

  # Check for Proxmox VE 8.x: allow 8.0–8.9
  if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then
    local MINOR="${BASH_REMATCH[1]}"
    if ((MINOR < 0 || MINOR > 9)); then
      msg_error "This version of Proxmox VE is not supported."
      msg_error "Supported: Proxmox VE version 8.0 – 8.9"
      exit 1
    fi
    return 0
  fi

  # Check for Proxmox VE 9.x: allow ONLY 9.0
  if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then
    local MINOR="${BASH_REMATCH[1]}"
    if ((MINOR != 0)); then
      msg_error "This version of Proxmox VE is not yet supported."
      msg_error "Supported: Proxmox VE version 9.0"
      exit 1
    fi
    return 0
  fi

  # All other unsupported versions
  msg_error "This version of Proxmox VE is not supported."
  msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0"
  exit 1
}

this is literaly the check from the script you posted. not sure where you got your snippet, but its definitely not from out script

@tremor021 commented on GitHub (Aug 29, 2025): ```bash pve_check() { local PVE_VER PVE_VER="$(pveversion | awk -F'/' '{print $2}' | awk -F'-' '{print $1}')" # Check for Proxmox VE 8.x: allow 8.0–8.9 if [[ "$PVE_VER" =~ ^8\.([0-9]+) ]]; then local MINOR="${BASH_REMATCH[1]}" if ((MINOR < 0 || MINOR > 9)); then msg_error "This version of Proxmox VE is not supported." msg_error "Supported: Proxmox VE version 8.0 – 8.9" exit 1 fi return 0 fi # Check for Proxmox VE 9.x: allow ONLY 9.0 if [[ "$PVE_VER" =~ ^9\.([0-9]+) ]]; then local MINOR="${BASH_REMATCH[1]}" if ((MINOR != 0)); then msg_error "This version of Proxmox VE is not yet supported." msg_error "Supported: Proxmox VE version 9.0" exit 1 fi return 0 fi # All other unsupported versions msg_error "This version of Proxmox VE is not supported." msg_error "Supported versions: Proxmox VE 8.0 – 8.x or 9.0" exit 1 } ``` this is literaly the check from the script you posted. not sure where you got your snippet, but its definitely not from out script
Author
Owner

@Botched1 commented on GitHub (Aug 29, 2025):

MY APOLOGIES, you are correct!

It looks like the command I used was this:

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/haos-vm.sh)"

Clearly a different script. SORRY.

@Botched1 commented on GitHub (Aug 29, 2025): MY APOLOGIES, you are correct! It looks like the command I used was this: ``` bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/haos-vm.sh)" ``` Clearly a different script. SORRY.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1547