whiskerz007 / proxmox_hassos_install

MIT License
884 stars 191 forks source link

255@141 Unknown failure occured #106

Open iredus opened 3 years ago

iredus commented 3 years ago

Hi,

this is my problem:

[INFO] Using 'local-lvm' for storage location. [INFO] Container ID is 100. Getting URL for latest Home Assistant disk image... Downloading disk image... Extracting disk image... Creating VM... 400 Parameter verification failed. boot: value does not match the regex pattern qm set [OPTIONS] [ERROR] 255@141 Unknown failure occured. Logical volume "vm-100-disk-1" successfully removed Logical volume "vm-100-disk-0" successfully removed

Tried to install few times.

jrummy333 commented 3 years ago

This issue appears to be something tied to the last update. I was having the same issue but you can run the repo string prior to the update which is HASSIO ver 4.xx

bash -c "$(wget -qLO - https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/4410a191334b341eb5621c3a4aa9b91b39fd63a6/install.sh)"

This will run successfully, hope this helps.

YvesL77 commented 3 years ago

I had the same problem but the command with the old HASSIO version worked fine. Thanks

barbw1re commented 3 years ago

I think this error was introduced in commit 00352c8c which changed

qm set $VMID -bootdisk sata0 -efidisk0 ${DISK0_REF},size=128K \
  -sata0 ${DISK1_REF},size=6G > /dev/null

to

qm set $VMID \
  -efidisk0 ${DISK0_REF},size=128K \
  -sata0 ${DISK1_REF},size=6G > /dev/null
qm set $VMID \
  -boot order=sata0 > /dev/null

The new second command qm set $VMID -boot order=sata0 > /dev/null seems to be the problem. I'm not sure if a particular version of the proxmox qm command has changed to use -boot order=sata0 rather than the previous -bootdisk sata0 - but that seems to be the issue.