GithubHelp home page GithubHelp logo

Comments (7)

lygris avatar lygris commented on July 19, 2024 1

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.

lygris avatar lygris commented on July 19, 2024

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.

natmac21007 avatar natmac21007 commented on July 19, 2024

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.

lygris avatar lygris commented on July 19, 2024

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

The unzip part is a separate issue, here's the link to the fix
#113 (comment)

from proxmox_hassos_install.

mochman avatar mochman commented on July 19, 2024

Looks like this issue already has a pull request with your fix. #117

from proxmox_hassos_install.

arierom70 avatar arierom70 commented on July 19, 2024

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
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:
# 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.2.vmdk.zip
inflating: haos_ova-6.2.vmdk
Creating VM...
[ERROR] 5@139 Unknown failure occured.

from proxmox_hassos_install.

Tublick avatar Tublick commented on July 19, 2024

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
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.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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.