Open MaroonBrian1928 opened 3 years ago
Extactly same problem here ... It worked yesterday as far as I can say ...
Same here cannot get it to work
Look like with HA 6.0, they have some files zipped up. If you want to install right now, download that install.sh script:
wget https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh
install the unzip program:
apt install unzip
edit the install file:
sed '/*"gz") gunzip -f $FILE;;/a\ \ *"zip") unzip -o $FILE;;' install.sh > temp.sh
mv temp.sh install.sh
chmod 755 install.sh
Now you can run install.sh:
./install.sh
./install.sh
Works like a charm, tnx
./install.sh
Lovely Thanks
@mochman Perfect! Thanks!
Saved me....thanks!
Thanks, great work
Thanks from me too
tyvm!
I tried the workaround and it isnt working for me.
IDK why some of that has a line through it.
`root@pve:~# wget https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh --2021-07-04 16:26:19-- https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh Resolving github.com (github.com)... 140.82.112.4 Connecting to github.com (github.com)|140.82.112.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/master/install.sh [following] --2021-07-04 16:26:19-- https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/master/install.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.111.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5378 (5.3K) [text/plain] Saving to: ‘install.sh.1’
install.sh.1 100%[======================================================================================>] 5.25K --.-KB/s in 0s
2021-07-04 16:26:20 (102 MB/s) - ‘install.sh.1’ saved [5378/5378]
root@pve:~# apt install unzip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
zip
The following NEW packages will be installed:
unzip
0 upgraded, 1 newly installed, 0 to remove and 121 not upgraded.
Need to get 172 kB of archives.
After this operation, 580 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian buster/main amd64 unzip amd64 6.0-23+deb10u2 [172 kB]
Fetched 172 kB in 0s (404 kB/s)
Selecting previously unselected package unzip.
(Reading database ... 43636 files and directories currently installed.)
Preparing to unpack .../unzip_6.0-23+deb10u2_amd64.deb ...
Unpacking unzip (6.0-23+deb10u2) ...
Setting up unzip (6.0-23+deb10u2) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for man-db (2.8.5-2) ...
root@pve:~# sed '/"gz") gunzip -f $FILE;;/a\ \ "zip") unzip -o $FILE;;' install.sh > temp.sh
root@pve:~# mv temp.sh install.sh
root@pve:~# chmod 755 install.sh
root@pve:~# ./install.sh
[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...
Archive: haos_ova-6.1.vmdk.zip
inflating: haos_ova-6.1.vmdk
Creating VM...
400 Parameter verification failed.
boot: value does not match the regex pattern
qm set
Im having the same issue as you jabe, since 6.1 just was released i assume they did something again? hopefully a fix comes soon
a little searching and i found this post by Mochman https://github.com/whiskerz007/proxmox_hassos_install/pull/114#issuecomment-860057088
run this command as a temp fix " Well, until this is merged, you can use the one from my forked repo. bash -c "$(wget -qLO - https://github.com/mochman/proxmox_hassos_install/raw/master/install.sh)" "
@jabeproductions, There is another pull request to fix the zip issue here https://github.com/whiskerz007/proxmox_hassos_install/pull/117 Maybe try using that script and see if it works for you.
I can confirm that the fix in https://github.com/whiskerz007/proxmox_hassos_install/issues/113#issuecomment-857586202 worked for me.
This is on Promox 7:
root@vm01:~# pveversion
pve-manager/7.0-10/d2f465d3 (running kernel: 5.11.22-1-pve)
Confirm @mochman script from #114 (https://github.com/whiskerz007/proxmox_hassos_install/pull/114#issuecomment-860057088) installed on Proxmox 7 (7.0-11) without issue just now.
Hi, I updated the script so it can handle the zip format as delivered by HA. It is working for me :) Just let you know that the previous scripts did not work for me.
First I downloaded the script, then did a download of the zipfile containing HA vmdk https://github.com/home-assistant/operating-system/releases/download/6.2/haos_ova-6.2.vmdk.zip And then gunzip to the resque: https://www.techwalla.com/articles/how-to-use-gunzip-to-unzip-zip-files
running on proxmox 7.0-8 Home assistant OS 6.2
Happy home automating!
PS this is my first wild attempt at a pull request here ;)
Version: pve-manager/7.0-13/7aa7e488
After the fix, I'm getting below error.
[INFO] Using 'local-zfs' for storage location.
[INFO] Container ID is 100.
Getting URL for latest Home Assistant disk image...
Downloading disk image...
Checking for unzip command
Extracting disk image...
Archive: haos_ova-6.5.vmdk.zip
inflating: haos_ova-6.5.vmdk
Creating VM...
[ERROR] 1@147 Unknown failure occured.
Version: pve-manager/7.0-13/7aa7e488
After the fix, I'm getting below error.
[INFO] Using 'local-zfs' for storage location. [INFO] Container ID is 100. Getting URL for latest Home Assistant disk image... Downloading disk image... Checking for unzip command Extracting disk image... Archive: haos_ova-6.5.vmdk.zip inflating: haos_ova-6.5.vmdk Creating VM... [ERROR] 1@147 Unknown failure occured.
Have you looked at this issue that has to do with ZFS and a similar error you are getting?
Look like with HA 6.0, they have some files zipped up. If you want to install right now, download that install.sh script:
wget https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh
install the unzip program:apt install unzip
edit the install file:sed '/*"gz") gunzip -f $FILE;;/a\ \ *"zip") unzip -o $FILE;;' install.sh > temp.sh
mv temp.sh install.sh
chmod 755 install.sh
Now you can run install.sh:./install.sh
Perfectly working for me. Don't forget to use it with elevated rights the install script.
Look like with HA 6.0, they have some files zipped up. If you want to install right now, download that install.sh script:
wget https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh
install the unzip program:apt install unzip
edit the install file:sed '/*"gz") gunzip -f $FILE;;/a\ \ *"zip") unzip -o $FILE;;' install.sh > temp.sh
mv temp.sh install.sh
chmod 755 install.sh
Now you can run install.sh:./install.sh
Perfectly working for me. Don't forget to use it with elevated rights the install script.
And you are getting the VM Running Success ?
My VM not Start...
kvm: device requires 67108864 bytes, block backend provides 131072 bytes
TASK ERROR: start failed: QEMU exited with code 1
Whenever I try and run the install script I recieve an error about that (full log at bottom)
[ERROR] 0@115 Unable to handle file extension 'zip'.
that seems to come from https://github.com/whiskerz007/proxmox_hassos_install/blob/f6816052bb50c06f81106d328d9f4ba884e5d343/install.sh#L116Did Home Assistant change the way their images are zipped or something?