Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running script a second time- exits with 5@147 or 5@148, Unknown failure occured. #121

Open
BScatterplot opened this issue Aug 16, 2021 · 0 comments

Comments

@BScatterplot
Copy link

I used this successfully to create a HA VM on a brand new Proxmox install. Unfortunately I installed it on the wrong disk- I deleted it, then installed it on the correct disk, but brain farted and expanded the disk to be larger than I meant to.

I deleted it again and tried to rerun the script, but now I get this error message that I can't decipher.

$ sudo bash -c "$(wget -qLO - https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/hassos_install.sh)"
[INFO] Using 'VMs1' 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.2.vmdk.zip
inflating: haos_ova-6.2.vmdk
Creating VM...
[ERROR] 5@147 Unknown failure occured.

Watching my Proxmox web gui, I see a VM get created, then immediately deleted. I can't find anything in a log anywhere, but then again I'm not sure where to look.

I then tried installing it to local again, which worked fine, so I again deleted the new VM. Then, I fully formatted my second disk again, then removed it and readded it to Proxmox. Then I ran the script again, targeting my second drive, and this time it worked fine. It seems there's something that can get screwed up if you run the script twice on a second drive.

It would be nice to get some info on how to decipher these error codes too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant