Skip to content

HomeAssistant VM fails to installΒ #4565

@Frigyes06

Description

@Frigyes06

βœ… 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions