whiskerz007 / proxmox_hassos_install

MIT License
881 stars 192 forks source link

Added unzip actions #114

Closed mochman closed 2 years ago

mochman commented 3 years ago

HA 6.0 has some images compressed using zip. Added a check to the install.sh file to unzip those files.

Issue: Error when installing Unable to handle file extension 'zip'. #113

AntaeusNar commented 3 years ago

@mochman would it also be a good idea to include a call to install unzip if required?

mochman commented 3 years ago

I added a section to check to see if unzip is needed, then install unzip if it's not on the system already.

Ajax-online commented 3 years ago

HA 6.0 has some images compressed using zip. Added a check to the install.sh file to unzip those files.

Issue: Error when installing Unable to handle file extension 'zip'. #113

Hi Thank you for the information . I am totally a newbie and really dont know how to add this, Is there a way you could upload the whole file with Whiskerrz one line code. Thank you

mochman commented 3 years ago

Hi Thank you for the information . I am totally a newbie and really dont know how to add this, Is there a way you could upload the whole file with Whiskerrz one line code. Thank you

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

Eschguy commented 3 years ago

Getting myself set up and ran into the issue. Thanks for making the changes!

RobertusIT commented 3 years ago

root@NUCi3:~# bash -c "$(wget -qLO - https://github.com/mochman/proxmox_hassos_install/raw/master/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... Checking for unzip command unzip not found, installing... Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package unzip [ERROR] 100@115 Unknown failure occured.

mochman commented 3 years ago

E: Unable to locate package unzip

Have you tried running apt update first? Do you need to sudo apt install unzip instead?

RobertusIT commented 3 years ago

E: Unable to locate package unzip

Have you tried running apt update first? Do you need to sudo apt install unzip instead?

yes of course, anyway i use a vm image in proxmox. I'll try with another hard disk, this one is little 32GB.

basnijholt commented 2 years ago

@whiskerz007 master is broken, this PR fixes it. Just merge it :)

Creat commented 2 years ago

I can confirm that this patch is (still) needed. Just ran in to the same issue. Of the proposed patches, this seems the easiest to accept into the repo, if you're so inclined. Some sort of ZIP support is obviously needed now though.

helenclarko commented 2 years ago

I hope @whiskerz007 or @basnijholt see's some of these requests, maybe we can get another administrator on this project to help review some of these.

fredrikscode commented 2 years ago

Unzip is not a part of Debian and is an unecessary package to install. Use gunzip to unzip instead since it comes with the OS. Clone my repo or: bash -c "$(wget -qLO - https://github.com/fredrikscode/proxmox_hassos_install/raw/master/install.sh)"