HomeAssistant VM fails to install #979

Closed
opened 2026-02-04 22:23:28 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Frigyes06 on GitHub (May 18, 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?

No response

📝 Provide a clear and concise description of the issue.

Running the script fails like so:

Using Default Settings
environment: line 74: lvs: command not found
Using HAOS Version: 15.2
Using Virtual Machine ID: 100
Using Machine Type: i440fx
Using Disk Cache: Write Through
Using Hostname: haos15.2
Using CPU Model: Host
Allocated Cores: 2
Allocated RAM: 4096
Using Bridge: vmbr0
Using MAC Address: 02:AC:63:54:3C:1B
Using VLAN: Default
Using Interface MTU Size: Default
Start VM when completed: yes
Creating a HAOS VM using the above default settings
 /bash: line 424: pvesm: command not found
numfmt: invalid number: ‘\033[01;31m424\033[m:’
curl: (22) The requested URL returned error: 400
curl: (22) The requested URL returned error: 400

[ERROR] in line 417: exit code 0: while executing command FREE=$(echo $line | numfmt --field 4-6 --from-unit=K --to=iec --format %.2f | awk '{printf( "%9sB", $6)}')

I believe this is because pvesm is no longer part of PVE 8.4.1

🔄 Steps to reproduce the issue.

Run the script on PVE 8.4.1
Observe

Paste the full error output (if available).

    __  __                        ___              _      __              __     ____  _____
   / / / /___  ____ ___  ___     /   |  __________(_)____/ /_____ _____  / /_   / __ \/ ___/
  / /_/ / __ \/ __ `__ \/ _ \   / /| | / ___/ ___/ / ___/ __/ __ `/ __ \/ __/  / / / /\__ \
 / __  / /_/ / / / / / /  __/  / ___ |(__  |__  ) (__  ) /_/ /_/ / / / / /_   / /_/ /___/ /
/_/ /_/\____/_/ /_/ /_/\___/  /_/  |_/____/____/_/____/\__/\__,_/_/ /_/\__/   \____//____/

Using Default Settings
environment: line 74: lvs: command not found
Using HAOS Version: 15.2
Using Virtual Machine ID: 100
Using Machine Type: i440fx
Using Disk Cache: Write Through
Using Hostname: haos15.2
Using CPU Model: Host
Allocated Cores: 2
Allocated RAM: 4096
Using Bridge: vmbr0
Using MAC Address: 02:AC:63:54:3C:1B
Using VLAN: Default
Using Interface MTU Size: Default
Start VM when completed: yes
Creating a HAOS VM using the above default settings
 /bash: line 424: pvesm: command not found
numfmt: invalid number: ‘\033[01;31m424\033[m:’
curl: (22) The requested URL returned error: 400
curl: (22) The requested URL returned error: 400

[ERROR] in line 417: exit code 0: while executing command FREE=$(echo $line | numfmt --field 4-6 --from-unit=K --to=iec --format %.2f | awk '{printf( "%9sB", $6)}')

🖼️ Additional context (optional).

No response

Originally created by @Frigyes06 on GitHub (May 18, 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? _No response_ ### 📝 Provide a clear and concise description of the issue. Running the script fails like so: ``` Using Default Settings environment: line 74: lvs: command not found Using HAOS Version: 15.2 Using Virtual Machine ID: 100 Using Machine Type: i440fx Using Disk Cache: Write Through Using Hostname: haos15.2 Using CPU Model: Host Allocated Cores: 2 Allocated RAM: 4096 Using Bridge: vmbr0 Using MAC Address: 02:AC:63:54:3C:1B Using VLAN: Default Using Interface MTU Size: Default Start VM when completed: yes Creating a HAOS VM using the above default settings /bash: line 424: pvesm: command not found numfmt: invalid number: ‘\033[01;31m424\033[m:’ curl: (22) The requested URL returned error: 400 curl: (22) The requested URL returned error: 400 [ERROR] in line 417: exit code 0: while executing command FREE=$(echo $line | numfmt --field 4-6 --from-unit=K --to=iec --format %.2f | awk '{printf( "%9sB", $6)}') ``` I believe this is because pvesm is no longer part of PVE 8.4.1 ### 🔄 Steps to reproduce the issue. Run the script on PVE 8.4.1 Observe ### ❌ Paste the full error output (if available). ``` __ __ ___ _ __ __ ____ _____ / / / /___ ____ ___ ___ / | __________(_)____/ /_____ _____ / /_ / __ \/ ___/ / /_/ / __ \/ __ `__ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ `/ __ \/ __/ / / / /\__ \ / __ / /_/ / / / / / / __/ / ___ |(__ |__ ) (__ ) /_/ /_/ / / / / /_ / /_/ /___/ / /_/ /_/\____/_/ /_/ /_/\___/ /_/ |_/____/____/_/____/\__/\__,_/_/ /_/\__/ \____//____/ Using Default Settings environment: line 74: lvs: command not found Using HAOS Version: 15.2 Using Virtual Machine ID: 100 Using Machine Type: i440fx Using Disk Cache: Write Through Using Hostname: haos15.2 Using CPU Model: Host Allocated Cores: 2 Allocated RAM: 4096 Using Bridge: vmbr0 Using MAC Address: 02:AC:63:54:3C:1B Using VLAN: Default Using Interface MTU Size: Default Start VM when completed: yes Creating a HAOS VM using the above default settings /bash: line 424: pvesm: command not found numfmt: invalid number: ‘\033[01;31m424\033[m:’ curl: (22) The requested URL returned error: 400 curl: (22) The requested URL returned error: 400 [ERROR] in line 417: exit code 0: while executing command FREE=$(echo $line | numfmt --field 4-6 --from-unit=K --to=iec --format %.2f | awk '{printf( "%9sB", $6)}') ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 22:23:28 +03:00
Author
Owner

@Frigyes06 commented on GitHub (May 18, 2025):

My bad, ran su without the dash.

@Frigyes06 commented on GitHub (May 18, 2025): My bad, ran su without the dash.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#979