Comments (7)
Figured it out, on line #122 the script checks the storage type to see if it is local for some reason. I'm running NFS storage between 2 hosts which returns "nfs" instead of "dir" so the DISK_EXT never gets set. Work around is to comment out lines 122 and 126, example below
Change this
if [ "$STORAGE_TYPE" = "dir" ]; then
DISK_EXT=".qcow2"
DISK_REF="$VMID/"
IMPORT_OPT="-format qcow2"
fi
to this
#if [ "$STORAGE_TYPE" = "dir" ]; then
DISK_EXT=".qcow2"
DISK_REF="$VMID/"
IMPORT_OPT="-format qcow2"
#fi
from proxmox_hassos_install.
I'm getting the same issue, though the error line says "[ERROR] 2@138 Unknown failure occured." not sure if the 2@138 instead of 5@138 is relevant or not.
from proxmox_hassos_install.
I'm a noob to Github and Proxmox.
I had this error 0@116 Unable to handle file extension 'zip'. when I tried this script tonight:.
I jumped on discord to see if I could find whiskerz007 and stumbled across a post from tteckster and tried his script and it worked.
https://github.com/tteck/proxmox_haos_vm
from proxmox_hassos_install.
I'm a noob to Github and Proxmox.
I had this error 0@116 Unable to handle file extension 'zip'. when I tried this script tonight:.
I jumped on discord to see if I could find whiskerz007 and stumbled across a post from tteckster and tried his script and it worked.
The unzip part is a separate issue, here's the link to the fix
#113 (comment)
from proxmox_hassos_install.
Looks like this issue already has a pull request with your fix. #117
from proxmox_hassos_install.
Still not working:
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Aug 1 16:23:28 WEST 2021 on pts/0
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... Done
Reading state information... Done
unzip is already the newest version (6.0-26).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
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.2.vmdk.zip
inflating: haos_ova-6.2.vmdk
Creating VM...
[ERROR] 5@139 Unknown failure occured.
from proxmox_hassos_install.
works for me with Proxmox 7.0-11 and HA 6.4
root@pve:~# wget https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh
--2021-09-13 12:06:23-- https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/master/install.sh [following]
--2021-09-13 12:06:23-- https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/master/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.108.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’
install.sh 100%[===========================================================================================================================================>] 5.25K --.-KB/s in 0.001s
2021-09-13 12:06:24 (7.71 MB/s) - ‘install.sh’ saved [5378/5378]
root@pve:# sed '/*"gz") gunzip -f $FILE;;/a\ \ *"zip") unzip -o $FILE;;' install.sh > temp.sh# mv temp.sh install.sh
root@pve:
root@pve:# chmod 755 install.sh# ./install.sh
root@pve:
[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.4.vmdk.zip
inflating: haos_ova-6.4.vmdk
Creating VM...
Adding serial port and configuring console...
Installing 'kpartx'...
[INFO] Completed Successfully! New VM ID is 100.
from proxmox_hassos_install.
Related Issues (20)
- Error when installing `Unable to handle file extension 'zip'.` HOT 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
- 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.