whiskerz007 / proxmox_hassos_install Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I love what you've done to make this easy for us. Thank you.
I am trying to add Samba Addon- It can't find the eth0 interface, or any of the other variants I tried (net0, net1). What is the correct setting and method to use Samba addon?
Secondly, how can I rename the host as my production samba shares "Hassio" and I would like the dev to share " Hasiso-dev" or similar.
Thank you !
To allow redoing the complete reinstall without deleting the VM.
Do you know how to make it so you can deploy this as many times as needed to one proxmox environment? I want to be able to have a development environment that I work with, so that I'm not messing around with the one running the house, but be able to commit my code and then pull from production for any code I want brought over.
The device wo n’t work as long as I have dual network cards installed
Is there a new way?
I can see in some of the other issues that people can see their disk usage. I am getting an error when I tried using the system_monitor component and I thought (based on a bit of googlefu) that it might be due to the "containerized" nature of the proxmon install. How can I monitor in the front end the disk and memory usage of proxmox hassio. I see there is a way in the command line to enlarge your disk in the readme so I will review that.
just tried installing on a fresh new proxmox, just updated (it's installed via its repository on top of a debian stretch install, as i don't want any lvm and only local fs, and i've a working windows 10 vm with id 100 already working...), and there's plenty of space available:
root@pve:~# TMP=`mktemp -d`;pushd $TMP > /dev/null;wget -qO - https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/master/install.sh | bash -s local;popd > /dev/null;rm -rf $TMP;unset TMP
********************************
* Getting latest HassOS Info *
********************************
********************************
* Downloading HassOS *
********************************
********************************
* Extracting HassOS *
********************************
********************************
* Creating new VM *
********************************
unable to parse directory volume name 'vm-101-disk-1'
root@pve:~# df -h
File system Dim. Usati Dispon. Uso% Montato su
udev 3,9G 0 3,9G 0% /dev
tmpfs 793M 8,7M 785M 2% /run
/dev/sda1 212G 23G 179G 12% /
tmpfs 3,9G 43M 3,9G 2% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
/dev/sdb1 916G 14G 856G 2% /1TB
/dev/fuse 30M 16K 30M 1% /etc/pve
tmpfs 793M 0 793M 0% /run/user/0
root@pve:~# pvesm status -content images
Name Type Status Total Used Available %
local dir active 221559680 23368884 186866484 10.55%
As per subject, thanks
Hi,
In Shell copied the command
After 3 sec it returns to prompt without installing anything.
I have a "dummy" VM installed.
I'm stucked.
What could go wrong?
Thank you
Hi,
Thank you for a great script.
I have managed to get this up and running and migrated my hass.io to it and everything is working, except for bluetooth.
Any idea about how to activate Bluetooth? I have checked that it is activated in the bios on the NUYC.
Instead of only installing the VDI image on Proxmox, would be interesting to auto detect the Intel NUC hardware and provide instead the proper image for this one kind of.
This might solve the issues about missing drivers for that specific platform in case of direct passthrough on specific hardware components, as the bluetooth, wifi modules, etc.
After clicking "Start" the script runs for a while then it stalls with no error message. It stops at:
[ ok ] Started Docker Application Container Engine.
I've tried to restarting a few times but it continually stalls at this point.
ProxMox 6.0-4
I was able to change the IP address, but when I try and change the hostname I get the error.
Thanks,
Rob
How do you assign static ip address to the VM.
I copied VM MAC address to my DHCP server, assigning ip address to MAC address, then restarted the VM but VM's ip address is not what is assigned by DHCP
Trying to install newest update - but some problem...
19-12-16 18:24:17 INFO (SyncWorker_0) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.103.0. 19-12-16 18:24:33 ERROR (SyncWorker_0) [hassio.docker.interface] Can't install homeassistant/qemux86-64-homeassistant:0.103.0 -> 404 Client Error: Not Found ("no such image: homeassistant/qemux86-64-homeassistant:0.103.0: No such image: homeassistant/qemux86-64-homeassistant:0.103.0"). 19-12-16 18:24:33 WARNING (MainThread) [hassio.homeassistant] Update Home Assistant image fails
There seems to be an issue using this script on Proxmox 6.0
Fails to boot UEFI
I have troubles with the Audio within HomeAssistant. I am using the Spotify connect add-on to play music on some speakers.
The problem is that the supervisor does not recognize any audio hardware. I have tried almost all of the Proxmox settings but nothing seems to work.
I'm not 100% sure if it's a problem with my NUC / Proxmox or this repo. So has anyone got audio working?
Hi all. Congrats on the great work!
I've tried to install this on proxmox and got this error:
root@proxmox:# TMP=#mktemp -d
;pushd $TMP > /dev/null;wget -qO - https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/master/install.sh | bash;popd > /dev/null;rm -rf $TMP;unset TMP
Traceback (most recent call last):
File "", line 4, in
KeyError: 'ids'
root@proxmox:
What am I doing wrong ? Please advise.
Thanks in advance.
Proxmox version: 6.1-7
Hass OS Downloaded: 3.12
What happened: After booting for the first time, the homeassistant login appears. When I type in "root", it sends me to the "ha >" prompt. Typing in "login" sends me right back to the homeassistant login.
What's expected to happen: Root access to the VM's CLI.
Troubleshooting steps: Tried the script again, no dice.
latest proxmox server, copy/pasted script and thing happens, immediatly finishes and left at prompt.
Hello, looks like a great install process, however I received the error:
ERROR: 255@27: 'local-lvm' is not a valid storage ID.
root@proxmox:~# wget -qO - https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/master/install.sh | bash -s local-lvm ERROR: 255@27: 'local-lvm' is not a valid storage ID.
My Proxmox Virtual Environment 4.4-1/eb2d6f1e (hypervisor) has 9 VMs at the moment, however I don't think that's an issue to creating another VM?
Also, I was considering installing onto a Container rather than Virtual Machine to reduce resources. Not sure if there's a script where I can adjust that, or if Hass will allow install to a container (I will research this a bit further).
System:
NUC P7JYH with new Proxmox 6.1-1 install.
CPU: Pentium Silver J5005 quad-core, memory: 16GB.
(There is sufficient CPU, memory and disk space in the host for the VM to start.)
Problem:
After the script has created the hassosova-3.10
VM and the VM is started and the console is opened, then everything appears to start normal but then the console hangs (and nothing further happens).
This is the point where it hangs. This is where the Login prompt should appear next, but it does not. It just hangs and still hangs after many hours.
I have tried this several times and also have re-installed the VM several times but the behavior is very consistent.
Strange enough hassio itself does start and I am able to access it via the hassio web ui.
But something goes wrong during the boot process. I don't know what and why and what the results of the hanging console/boot process are.
(Enabling or disabling the QEMU Guest Agent as described in #46 makes no difference.)
I have installed the SSH & Web Terminal add-on (with protection off to get full access to the system) and opened the Web Terminal in hope to find any useful information in boot.log but there are no logfiles at all in /var/log.
Any ideas for how to fix or how to debug this are welcome.
Thanks so much for all your work.
When I plug an FTDI adapter into the USB port, Proxmox identifies it and allows me to assign the device and assign it to my Hassos VM. It doesn't do this for the D1 mini. To allow my standalone Windows PC to identify the D1 mini I had to install CH340G drivers. Is there a way to add these drivers to Proxmox?
Since update 100.3 it won't update any further (to 102.2).
19-11-28 21:12:45 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup! 19-11-28 21:12:45 CRITICAL (MainThread) [hassio.homeassistant] HomeAssistant update fails -> rollback! 19-11-28 21:12:45 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.100.3 19-11-28 21:12:45 INFO (SyncWorker_16) [hassio.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.102.2 to homeassistant/qemux86-64-homeassistant:0.100.3 19-11-28 21:12:45 INFO (SyncWorker_16) [hassio.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.100.3. 19-11-28 21:12:47 INFO (SyncWorker_16) [hassio.docker.interface] Stop homeassistant application 19-11-28 21:12:52 INFO (SyncWorker_16) [hassio.docker.interface] Clean homeassistant application 19-11-28 21:12:52 INFO (SyncWorker_17) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.100.3 19-11-28 21:13:02 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance 19-11-28 21:13:02 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.100.3 19-11-28 21:13:02 INFO (SyncWorker_8) [hassio.docker.interface] Cleanup images: ['homeassistant/qemux86-64-homeassistant:0.102.2']
Not sure if problem with qemu image or hassio itself.
System:
NUC P7JYH with new Proxmox 6.1-1 install.
Problem:
After script has created hassosova-3.10 VM and the VM is started the following QEMU error message appears on the console:
After the VM was created, in Options QEMU Guest Agent was disabled.
I then enabled QEMU Guest Agent:
And rebooted the VM. The error message is not shown during boot when option QEMU Guest Agent is enabled:
I tried this several times and even re-installed the VM and above behavior is consistent.
The README contains no information about whether the QEMU Guest Agent must be enabled for the VM or not.
Does QEMU Guest Agent need to be enabled and why?
When running the command in Proxmox Shell or in a SSH session
Nothing happens at all, no errors no nothing
Running a fresh Proxmox 5.4-3 install on a BareMetal Dell machine
wget -qO - https://raw.githubusercontent.com/whiskerz007/proxmox_hassos_install/master/install.sh | bash -s local-lvm
Thanks for this excellent guide. Installing hass.io has never been so easy 👍
I have a question on how to update HassOS. Version 2.9 is installed and now version 2.10 is available.
When I press the update button in the Hassio - System tab I get the following errors.
19-02-23 22:00:48 INFO (MainThread) [hassio.hassos] Fetch OTA update from https://github.com/home-assistant/hassos/releases/download/2.10/hassos_ova-2.10.raucb
19-02-23 22:05:49 WARNING (MainThread) [hassio.hassos] Can't fetch versions from https://github.com/home-assistant/hassos/releases/download/2.10/hassos_ova-2.10.raucb:
19-02-23 22:05:49 ERROR (MainThread) [asyncio] SSL error errno:1 reason: KRB5_S_INIT
protocol: <uvloop.loop.SSLProtocol object at 0x7fe5f93209b0>
transport: <TCPTransport closed=False reading=False 0x55a0f3759538>
Traceback (most recent call last):
File "uvloop/sslproto.pyx", line 504, in uvloop.loop.SSLProtocol.data_received
File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
File "uvloop/sslproto.pyx", line 189, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.7/ssl.py", line 767, in unwrap
return self._sslobj.shutdown()
ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify (_ssl.c:2605)
And in the Host System tile (Hass.io - System tab) it shows Error: 502: Bad Gateway
just below the hardware button.
I can not pair my Apple Home Kit.
Hi Whiskerz007
I don't know if you're still taking questions on this but can you tell me why I get a certificate error whenever I open Proxmox in my browser?
I can of course click through the warnings but I'd rather it didn't happen.
Thanks...
Hello, everything works fine, but the Home App from Apple cannot be integrated, is there a workaraound?
Firewall is not configured on proxmox and HassOS gets its IP through DHCP
I like to share logs or useful stuff, But I don't know what is useful for this error analysis.
greeting
hi, just run your script, changed ram to 2gb and hd resized via proxmox web gui to 16gb (from original 6gb)... how to enlarge internal filesystem, now? i see /dev/sda8 of 5.3gb... thanks
Whiskerz007 I followed your setup of Proxmox on a NUC from DrZZz videos to the letter and all went great. I did the same thing for loading HASSIO on to Proxmox using your script and it beautifully added the container and all was good. I had to make a hardware change to add a USB but when I restarted the container it loads then shows a "HASSOS Boot Menu" which it just sits there. I tried autoboot and nothing. I chose option 2 and it reboots but goes right back to that menu again. Any idea on this? I deleted the container four times now and rebuilt HA from backups but each time I reboot the container in Proxmox it kills Hassio.
The UEFI image installed by this script does not initialize a display on my Proxmox server. BIOS works fine on all my other VMs.
Is it possible to get a BIOS version of the script?
Thanks Whiskerz, you're a star.
The problem reported by script ('ids') occurs when there are no existing VMs in place. An easy workaround to make the script work without alteration is to create a dummy VM with no resources so the script doesn't encounter a null value.
I have no Internet on the Proxmox host.
Therefore, I need to download the Hass.iso file and transfer via local ssh network to the Proxmox host.
Please advise which Hass file needs to be downloaded.
What's here already is fantastic and works perfectly for me. So this isn't an issue, it's a feature request:
Is it possible to bind proxmox to both ethernet and WIFI NICs?
My reason for wanting to do this is as a manky workaround allowing me to get mdns (unroutable) coverage across two subnets for esphome putting my 50+ ESP devices on an 'IOT' subnet and everything else on another.
I hoped to be able to do this by just assigning the WIFI nic to the existing Proxmox instance but haven't found a way to do this.
I get this message
Left it for an hour!!!
Worked about 3 weeks ago, not working now
Hello,
Thank you for a great script, helps a lot!
I had hassio working well for a couple of weeks on an Intel NUC, but after a power loss Hassio does not restart again!
Unfortunately I had not baxkup to be able to restore ;)
Is there any way to bring Hassio to life?
Is there any way to access the Hassio files to copy them?
Creating new VM *
storage 'local-lvm' does not exists
First of all, this script runs great! I have been able to get it up running and runs perfect. My question is I have run out of space. I got an error saying such when trying to upgrade. I was wondering how the script defines how much memory to use? Or if there is a way to define it? I tried resizing disk but my guess is I need to increase the partition as well but as a noob haven't been able to figure out how to do it. Any help or insight is greatly appreciated.
After running the script and the VM gets created, when I turn on the VM the console never shows anything except: Guest has not initialized the display yet. The CPU runs at 100 percent (I've given it over 40 minuets) Running Proxmox Virtual Environment 6.0-11
Is it possible to change the keyboard layout for HassOS ?
It's set to qwerty, and the usual commands are not present to change the layout.
First thanks a bunch! for this. I was just wondering if I should have access to xterm. I thought it was mentioned on DR ZZ's video but I could not get access once your virtual machine started. I needed to set the ip address and I couldnt copy and paste to novnc or spice so I typed it out and got it wrong once or twice lol.
Before giving up I tried to install hass.io on docker nested in an ubuntu 18.04 container. I had several containers in docker running nicely. Portainer, home assistant, and watch tower all ran fine in docker that way but I could not install hass.io . The install method Alternative: install on generic Linux server only created a hypervisor and not fully functional hass.io. Wondered if you knew why? or would consider making a container running a similiar setup as the overhead for lxc containers is better than a virtual machine.
If you do get back to reading this than big thanks for the proxmox virtual machine
After using the script and changing the ip to static ip as instructed, hassio started fine (awesome job). But CPU is running high (constant 80-90) even now after one hour. I am running this on a 32 Gig memory, I3 256G ssd. My hassio install on a debian vm runs at 1-3% cpu. Efter testing some stuff i removed the discovery component and the CPU issue was gone! Anyone seeing this?
Hi,
Thank you for your work.
Do you think this can also be used for LXC instead of a VM?
Best regards,
Hi, is there an easy way to download a specific version using your script rather than the latest, reason i ask is to try out a development build, as it has Bluetooth supposedly working (version 4.2)
Ta
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.