Comments (20)
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
from proxmox_hassos_install.
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.
from proxmox_hassos_install.
Extactly same problem here ... It worked yesterday as far as I can say ...
from proxmox_hassos_install.
Same here cannot get it to work
from proxmox_hassos_install.
./install.sh
Works like a charm, tnx
from proxmox_hassos_install.
./install.sh
Lovely Thanks
from proxmox_hassos_install.
@mochman Perfect! Thanks!
from proxmox_hassos_install.
Saved me....thanks!
from proxmox_hassos_install.
Thanks, great work
from proxmox_hassos_install.
Thanks from me too
from proxmox_hassos_install.
tyvm!
from proxmox_hassos_install.
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# sed '/*"gz") gunzip -f $FILE;;/a\ \ *"zip") unzip -o $FILE;;' install.sh > temp.sh
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:
root@pve:# mv temp.sh install.sh# chmod 755 install.sh
root@pve:
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 [OPTIONS]
[ERROR] 255@144 Unknown failure occured.
Logical volume "vm-100-disk-1" successfully removed
Logical volume "vm-100-disk-0" successfully removed
root@pve:
from proxmox_hassos_install.
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
#114 (comment)
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)"
"
from proxmox_hassos_install.
@jabeproductions,
There is another pull request to fix the zip issue here
#117
Maybe try using that script and see if it works for you.
from proxmox_hassos_install.
I can confirm that the fix in #113 (comment) worked for me.
This is on Promox 7:
root@vm01:~# pveversion
pve-manager/7.0-10/d2f465d3 (running kernel: 5.11.22-1-pve)
from proxmox_hassos_install.
Confirm @mochman script from #114 (#114 (comment)) installed on Proxmox 7 (7.0-11) without issue just now.
from proxmox_hassos_install.
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 ;)
from proxmox_hassos_install.
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.
from proxmox_hassos_install.
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?
from proxmox_hassos_install.
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
from proxmox_hassos_install.
Related Issues (20)
- No Add on store with latest build in Supervisor. 2021.06
- Can't start Hassio container after pve-kernel-5.11
- LXD create VM for Hassio HOT 2
- Proxmox 7.0-9 cant use the script. HOT 7
- local-lvm grow up out of control
- Issue running script a second time- exits with 5@147 or 5@148, Unknown failure occured.
- Failed Command: WRITE FDMA QUEUED HOT 2
- "Can't handle zip extension" HOT 3
- Mount warning and VM not Start HOT 2
- The script does nothing, any hint HOT 1
- Can't access HA at given IP?
- Fixed: Unable to handle file extension 'zip' - No unnecessary package HOT 4
- BTRFS issue????
- "[ERROR] 5@147 Unknown failure occured." keeps haunting me. HOT 1
- **Proxmox Helpers** Scripts For Home Automation
- Script Not Running: STORAGE_MENU: unbound variable HOT 1
- hassos script HOT 1
- Install fails on Proxmox 7.2-1 HOT 3
- Downloading zip, but in script we have only "gz" "xz" extractors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxmox_hassos_install.