Open Soc007 opened 3 years ago
I had the same error. Looking online, I found this. It suggested I updated Proxmox using apt update && apt full-upgrade
and it worked. I did reboot after this command, just to be safe.
I did have to add
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
to my /etc/apt/source.list
file before using apt to update the system.
Thanks for the information. I had to cut my pve's from 6.2 to 6.3 on the weekend anyway. I would have done WUI, but I'm not sure what the upgrade is doing in the background. an apt-get upgrade or full upgrade. now I do it (after adapting the sources.list before) via the console.
After upgrade pve to 6.3-3 the problem is fixed. Thanks.
Hi there,
I have a problem installing hass in the Proxmox. The script aborts with the following messages:
root@pve3:~# bash -xc "$(wget -qLO - https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh)"
set -o errexit
set -o errtrace
set -o nounset
set -o pipefail
shopt -s expand_aliases
alias 'die=EXIT=$? LINE=$LINENO error_exit'
trap die ERR
trap cleanup EXIT ++ mktemp -d
TEMP_DIR=/tmp/tmp.G8re3M7e30
pushd /tmp/tmp.G8re3M7e30
read -r line ++ awk 'NR>1' ++ echo local-lvm lvmthin active 129871872 18454793 111417078 14.21% ++ awk '{print $1}'
TAG=local-lvm ++ echo local-lvm lvmthin active 129871872 18454793 111417078 14.21% ++ awk '{printf "%-10s", $2}'
TYPE='lvmthin ' ++ echo local-lvm lvmthin active 129871872 18454793 111417078 14.21% ++ numfmt --field 4-6 --from-unit=K --to=iec --format %.2f ++ awk '{printf( "%9sB", $6)}'
FREE=' 103.77GB'
ITEM=' Type: lvmthin Free: 103.77GB '
OFFSET=2
[[ 38 -gt '' ]]
MSG_MAX_LENGTH=38
STORAGE_MENU+=("$TAG" "$ITEM" "OFF")
read -r line ++ echo pveshare nfs active 8707022592 3131838336 5575065472 35.97% ++ awk '{print $1}'
TAG=pveshare ++ echo pveshare nfs active 8707022592 3131838336 5575065472 35.97% ++ awk '{printf "%-10s", $2}'
TYPE='nfs ' ++ echo pveshare nfs active 8707022592 3131838336 5575065472 35.97% ++ numfmt --field 4-6 --from-unit=K --to=iec --format %.2f ++ awk '{printf( "%9sB", $6)}'
FREE=' 5.08TB'
ITEM=' Type: nfs Free: 5.08TB '
OFFSET=2
[[ 38 -gt 38 ]]
STORAGE_MENU+=("$TAG" "$ITEM" "OFF")
read -r line
'[' 2 -eq 0 ']'
'[' 2 -eq 1 ']'
'[' -z '' ']' ++ whiptail --title 'Storage Pools' --radiolist 'Which storage pool you would like to use for the container?\n\n' 16 61 6 local-lvm ' Type: lvmthin Free: 103.77GB ' OFF pveshare ' Type: nfs Free: 5.08TB ' OFF
echo -en '\e[1A\e[0K'
STORAGE=local-lvm
'[' -z x ']'
info 'Using '\''local-lvm'\'' for storage location.'
local 'REASON=Using '\''local-lvm'\'' for storage location.'
local 'FLAG=\e[36m[INFO]\e[39m'
msg '\e[36m[INFO]\e[39m Using '\''local-lvm'\'' for storage location.'
local 'TEXT=\e[36m[INFO]\e[39m Using '\''local-lvm'\'' for storage location.'
echo -e '\e[36m[INFO]\e[39m Using '\''local-lvm'\'' for storage location.' [INFO] Using 'local-lvm' for storage location. ++ pvesh get /cluster/nextid
VMID=103
info 'Container ID is 103.'
local 'REASON=Container ID is 103.'
local 'FLAG=\e[36m[INFO]\e[39m'
msg '\e[36m[INFO]\e[39m Container ID is 103.'
local 'TEXT=\e[36m[INFO]\e[39m Container ID is 103.'
echo -e '\e[36m[INFO]\e[39m Container ID is 103.' [INFO] Container ID is 103.
msg 'Getting URL for latest Home Assistant disk image...'
local 'TEXT=Getting URL for latest Home Assistant disk image...'
echo -e 'Getting URL for latest Home Assistant disk image...' Getting URL for latest Home Assistant disk image...
RELEASE_TYPE=vmdk ++ cat ++ python3
URL=https://github.com/home-assistant/operating-system/releases/download/5.10/hassos_ova-5.10.vmdk.xz
'[' -z https://github.com/home-assistant/operating-system/releases/download/5.10/hassos_ova-5.10.vmdk.xz ']'
msg 'Downloading disk image...'
local 'TEXT=Downloading disk image...'
echo -e 'Downloading disk image...' Downloading disk image...
wget -q --show-progress https://github.com/home-assistant/operating-system/releases/download/5.10/hassos_ova-5.10.vmdk.xz hassos_ova-5.10.vmdk.xz 100%[=======================================================================================>] 231.82M 7.02MB/s in 37s ++ basename https://github.com/home-assistant/operating-system/releases/download/5.10/hassos_ova-5.10.vmdk.xz
FILE=hassos_ova-5.10.vmdk.xz
msg 'Extracting disk image...'
local 'TEXT=Extracting disk image...'
echo -e 'Extracting disk image...' Extracting disk image...
case $FILE in
xz -d hassos_ova-5.10.vmdk.xz ++ pvesm status -storage local-lvm ++ awk 'NR>1 {print $2}'
STORAGE_TYPE=lvmthin
'[' lvmthin = dir ']'
for i in {0,1}
disk=DISK0
eval DISK0=vm-103-disk-0 ++ DISK0=vm-103-disk-0
eval DISK0_REF=local-lvm:vm-103-disk-0 ++ DISK0_REF=local-lvm:vm-103-disk-0
for i in {0,1}
disk=DISK1
eval DISK1=vm-103-disk-1 ++ DISK1=vm-103-disk-1
eval DISK1_REF=local-lvm:vm-103-disk-1 ++ DISK1_REF=local-lvm:vm-103-disk-1
msg 'Creating VM...'
local 'TEXT=Creating VM...'
echo -e 'Creating VM...' Creating VM... ++ sed -e 's/_//g' -e 's/.vmdk.*$//'
VM_NAME=hassosova-5.10
qm create 103 -agent 1 -bios ovmf -name hassosova-5.10 -net0 virtio,bridge=vmbr0 -onboot 1 -ostype l26 -scsihw virtio-scsi-pci
pvesm alloc local-lvm 103 vm-103-disk-0 128
qm importdisk 103 hassos_ova-5.10.vmdk local-lvm
qm set 103 -efidisk0 local-lvm:vm-103-disk-0,size=128K -sata0 local-lvm:vm-103-disk-1,size=6G
qm set 103 -boot order=sata0 400 Parameter verification failed. boot: value does not match the regex pattern qm set [OPTIONS]
++ EXIT=255
++ LINE=141
++ error_exit
++ trap - ERR
++ local 'DEFAULT=Unknown failure occured.'
++ local 'REASON=\e[97mUnknown failure occured.\e[39m'
++ local 'FLAG=\e[91m[ERROR] \e[93m255@141'
++ msg '\e[91m[ERROR] \e[93m255@141 \e[97mUnknown failure occured.\e[39m'
++ local 'TEXT=\e[91m[ERROR] \e[93m255@141 \e[97mUnknown failure occured.\e[39m'
++ echo -e '\e[91m[ERROR] \e[93m255@141 \e[97mUnknown failure occured.\e[39m'
[ERROR] 255@141 Unknown failure occured.
++ '[' '!' -z 103 ']'
++ cleanup_vmid
+++ qm status 103
+++ qm status 103
+++ awk '{print $2}'
++ '[' stopped == running ']'
++ qm destroy 103
Logical volume "vm-103-disk-1" successfully removed
Logical volume "vm-103-disk-0" successfully removed
++ exit 255
cleanup
popd
rm -rf /tmp/tmp.G8re3M7e30 root@pve3:~#
any hints?