#installation-archived
1 messages ยท Page 30 of 1
Try the ha backups command via SSH or through keyboard & monitor
I found this error in core logs. anybody familiar with it?
https://dpaste.org/v3hqy
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Hi. Have an old mediacenter running a container environment as well, so I thought it was easiest to just use that. It's running Ubuntu, but I have never played with KVM. Have used some VM managers in Windows over the time, but never Linux. And I can't seem to make it work.
I get the below when I click Begin installation in the guide
Unable to complete install: 'internal error: qemu unexpectedly closed the monitor: 2023-05-06T07:32:05.888779Z qemu-system-x86_64: -device {"driver":"virtserialport","bus":"virtio-serial0.0","nr":3,"chardev":"charchannel2","id":"channel2","name":"org.qemu.guest_agent.0"}: virtio-serial-bus: A port already exists by name org.qemu.guest_agent.0'
I can see that it complains about the qemu port allready being used, but.. don't run any other VM's ect.. not sure what that port does
(in this context)
trying VMvare dont help. the guide don't fit
I dob't get the option to use excisting vmdk
I guess that needs VMware Pro
No further change on this, hoping for some more help - HA no internet connection despite LAN
My pi 3b just dead I order a mini pc to install hassos so should I install a proxmox then hassos and windows or install windows and using hassos in virtualbox
If those are the options, use Proxmox not Windows as the base
What else have you tried and where are you at? Your images are unavailable now, so not sure what's up
No internet connection meaning no routes out to the internet, but LAN networking is fine? Or DNS is busted but the internet works?
Well I was thinking DNS is busted, yeah - Supervisor/Core have no network but Docker has IPs, only they appear to be wrong
They're 172.0.0.X addresses which I think is either LAN IPs or something public that it can no longer reach
Hold on, I'll upload a new screenie
172 will be docker network IPs, most likely
You're running HA OS?
Do you have any firewalls blocking outbound DNS requests?
Correct, used to be on a VirtualBox VM but had all kinds of CPU hand/reschedg errors that would hang up HA, so I've moved to a NUC and imported a full backup
Nope, just a standard router, all it's doing that isn't stock is blocking some IPs from internet access, but HA is set to one outside that range
(I'm blocking 150-159 but HA is on .110)
I do have a static IP set for HA, but, if that wasn't working then it wouldn't even have LAN, right?
Static IP set via a DHCP reservation... or... directly via HA?
DHCP reservation in the router (which is a DHCP server in this case) but I did also try telling HA what IP and DNS to use directly
Yeah
176 tx/0 rx
I can't ping external
so... not just dns
Well, yeah - I thought the same, but I was told that those docker addresses were fine before
Directly on the NUC - i'm connected to it from my PC, no local screen
It is going through a switch, but that's just a dumb switch
That's it
What does route -n show
Two destinations
Gateway for the first row
0.0.0.0 - gateway 172.30.32.1 -genmask 0.0.0.0
And
172.30.32.0 - gateway 0.0.0.0 - genmask 255.255.254.0
Anything interesting in docker logs hassio_dns
Oh this is also via terminal right?
Me starting to navigate to HA logs
It might not let you run that command
Grab the advanced add-on, disable protection mode
Can I do that while "offline" like this?
Ah, true
I'm using "Terminal & SSH" at the moment - is the one we want SSH & Web Terminal?
I'm pretty sure I've already got protected disabled
Yeah, it's now called Advanced SSH & Web Terminal
Siiiiick one sec
If you've got console access you can run
login
docker logs hassio_dns
Yep, can't grab it because no host internet connection
core-ssh login, now what would that be - my user?
Only other thing i've set up is a samba password
I mean on the actual device itself, w/ a kb/monitor
Another thing.... which may be as much or morework, you can expose the OS's shell: https://developers.home-assistant.io/docs/operating-system/debugging/#home-assistant-operating-system
Thank you for the help so far, I'll let you know once it's in hand if you like
Ooh
Let me squizz
Then you can use your own SSH client and connect via port 22222
If you familiar w/ SSH keys, it's pretty straightforward... if not, kb/monitor route is probably your easier option
I'm slightly familiar with them, so it's probably a 50/50
Let me see about maybe pulling it down
I was so happy when it all worked after migrating to the NUC that I put it up on the shelf in it's home clearly a bit too early
One other thing I'll just throw out there... is I'm not sure what gen NUC you've got, but having a dedicated NUC just for HA is usually overkill. You could install Proxmox and have a HA OS VM with the opportunity to install other VMs/containers beside it. It makes troubleshooting easier as well, since you've got web access to your VM consoles instead of needing a kb/mouse.
Probably something you don't want to deal with now... but worth a mention since you're still getting set up
(It might also make this issue disappear ๐ , but that'd be wishful thinking)
You know what, the more I go, the more I'm thinking that... I thought the NUC would SOLVE all the VM problems I was having, running a VBox vm on windows - the other thing was that I wanted to keep that Windows box alive for other things. Now i'm starting to think of a VM host on the one NUC for BOTH devices instead, but that does mean bringing down the windows device too
It definitely is overkill but it's something I had available and I figured I know NUCs better than Pis
Is proxmox free to use?
I was looking at VBox or VMWare but ah they don't make knowing exactly what you can do for free easy
VMWare? VSphere? V this? V that? You guess! HA!
Yeah, it was just a "ooh, I have this box here, I'll play with HA like i've always wanted to!"
I might look into migrating to that then
Thank you a bunch for all the help, I'll let you know when the next steps happen
If you want to read up more, here's an article that's been posted here a few times: https://www.derekseaman.com/2023/04/installing-home-assistant-on-proxmox-quick-start-guide.html
There's a lot of scripting that was done by community members that makes installing it and configuring HA on it easy... if that route sounds like one you want to take
HA OS on its own should work fine on the NUC though, so if you'd rather not, I'm sure you'll be able to get it working
I'm hoping so! I don't really like the current setup though, it's just the 'necessary minimum' for getting all the connected things I want running, so - if it ends up being best, then i'd almost prefer being able to eliminate one machine up there
So far everything that 'should be easy' hasn't been so hopefully proxmox is, haha
Thank you a ton!
You bet, good luck
Hi, there. I'm currently running 2022.11.3 and want to upgrade to 2023.5.2. Is there a pathway, or do I have to completely reinstall from scratch? I checked in System--> Updates and it shows "No updates available". Thanks.
I should add that I'm in the beta channel also (at least there's a line in the Updates section that says "Leave Beta Channel".
You could force it but you should make a full backup and download that first. In fact maybe make the backup and reinstall fresh, then restore backup
I'm trying to move my existing HAOS installation to a new box. I've got it installed and I'm setting up the new account. I clicked on "Alternatively, you can restore from a previous backup" and I selected the full backup (copy_to_pve.tar) that I made of my existing haos installation. It fails and says Please choose a Home Assistant backup file (.tar). So.... what did I do wrong?
The tar file has a single folder . with all the backups and the backup.json files in it.
https://github.com/home-assistant/frontend/blob/b81668fbce6ac9025125e184fbbb8777bcf41b41/hassio/src/components/hassio-upload-backup.ts#L43
You sure it's actually a tar file and not only named like one and ends in .tar?
It's the backup file that haos made. 7-zip was able to open it.
I would like to think that ha can restore its own backups but the more I use it.... ๐
Because of the weird file structure (folders named .) I can't unzip it in a windows machine and rebuilt it to test.
On the same machine I downloaded the backup then tried to upload it and it was rejected, not a tar file.
7zip opens anything. I opened it up in a hex editor and I don't see any file header. ๐
at least not one I recognize.
I wonder if it isn't a .tar.xz or something like that.
You can simply visit that . folder and should be able to open/extract the .tar.gzs within. You can check File > Properties or press Alt + Enter to see what it is
Not sure why the frontend rejects the upload. Maybe the mime type gets lost on the way there ๐คท. Not really a web dev. I don't expect this to work but I'd try in another browser or incognito mode anyway.
I just made, from scratch, a .tar file and tried to upload it. HA frontend rejected it, too.
MIME Type: application/x-tar;```
Other websites correctly identify the mime type. Dunno what HA is doing.
Is there any other way to restore this backup?
(also, this is the strangest string compare I think I've ever seen: if (!["application/x-tar"].includes(file.type)) {
I ended up scp-ing the file into haos ~/backup/ folder and am attempting to Restore. ๐ค
Even doing small partial restores cause HA to fail miserably and I have to restore from a snapshot after most of them. Is this an experimental feature?
No
I tried just a few addons and the UI crashed dialog-hassio-backup.ts:218 and the HA addons page returns a 500. ๐
I'll restore a snapshot and try them one at a time, I guess.
The actual core and supervisor logs will be a better spot to investigate issues
Yeah, there are errors there. homeassistant.components.hassio problem. homeassistant.components.hassio.handler problem. ๐ I can't fix it though.
If I can identify which things HA can't restore, I'll restore the rest and re-setup everything else manually.
Full logs would be more useful for the devs here
Okay. I restored the snapshot already but when it fails again, which log files exactly should I pull?
I filed a bug w/ repro for the UI failure on that weird string compare, so at least that is logged.
it chokes and dies restoring MariaDB. So there's one. Want a log file?
Hi, I'm using Qt emu UI on Windows to run ha OS. Anyone know how to set its IP? It only has a drop-down
Yeah for some reason this thing won't start when I press play in qtemu
I selected the CDROM with the unpacked ha image
And modified the boot order so that it's first in the list
If I want to configure a new install from scratch, is there any way to bring only energy usage data over from a backup and nothing else?
Tried via the import machine route too, but it asks for a JSON which I don't have
haos is not a iso to install from but a ready to spin up disk image
i have no idea about qt emu but this sounds like you are trying a traditional os install
Any reason you're not using Hyper-V which is officially supported and documented?
We've talked about it yesterday, I mentioned how my machine runs out of resources currently (using VirtualBox so HyperV correct me if Im mistaken)
virtualbox != hyperv afaik
yeh
with regard to the UI, I know you recommended KVM but Im on windows so had to go with Qt
which is a bummer cos I couldn't find a guide for it on YT to install HA on it
Ah, I see. My memory isn't that good. I'm not sure if QEMU on windows supports KVM as that's a linux thing afaik. I have had good experiences with both VirtualBox and Hyper-V.
On Windows I prefer VirtualBox but Hyper-V is faster and Docker Desktop and WSL use it so...
yeah
HyperV has the problem that it doesn't support USB pass-through AFAIK
that leaves you with kvm inside wsl. lol
put proxmox on it, run windows inside it and haos besides
I would really go with linux at this point, but I have all my music daw and stuff on win
They recommend usbipd for that: https://learn.microsoft.com/en-us/windows/wsl/connect-usb
Says WSL but "should"/could work for Hyper-V
yeah thought of that but ... latency, so would make my music setup obsolete
audio cards have latency when passed through? ๐ค
well, there's latency even added from different stages of the os (like going from kernel to above) so I would presume so. Can't tell for sure
I can only tell for sure the stuff I've experienced. Sometimes not even those :))
hm, vfio should pass the kernel but I have no idea about audio stuff. I just consume music
usb stuff is very likely passing through the kernel yes
I'm curios why the Hyper-V VM would freeze if you restrict it to, say, one core and 1G (Not dynamic) of RAM due to lack of resources.
Reference for others: #installation-archived message
depends on the driver. That's why I have reticence regarding linux. I once moved all my setup to Ubuntu and the drivers were lacking. Dunno the exact path the signal took with regard to the OS but I measured the latency and it was higher than Windows
and back then I didn't use virtualization at all, it was straight up.
They likely meant it passes through the kernel to the windows VM. I'm not familiar with the internals of that.
You can measure it inside the windows VM with LatencyMon or whatever you used to use
took note
Any option to upgrade that ram? DDR2 (I assume) isn't that expensive. You can also (depends on location) get (U)SFF PCs on eBay for not much more which might be a better idea
the HA server looks like it's running smooth (it has like 2,8 gb ram allocated, and a full 2,5ghz core)
but the windows part freezes
takes ages to do the simplest action, like select a different window :p
You might be swapping
like
not actually using hyperv?
(cos I was looking around today and found that in the windows features from control panel it says hyperv isn't enabled - even though I knew for a fact I had enabled it in bios)
didn't even consider I'd have to also enable it in the OS too
You can enable it via Turn Windows features on or off. In The bios you want to enable VT-x
Gotta go soon but can you show me a picture of that control panel?
Gotta tag me and I'll check it later then
#integrations-archived hi there, new user trying to set it up for outdoor lights to go with the music from our Alexa and no idea how to do it as app on my phone doesn't allow me to select any music and Alexa doesn't do anything music wise, any ideas?
You're in the wrong channel, but ... are you using Home Assistant?
It just says Magic home?
That's Home Assistant
Are you using it?
If not, this server isn't going to be able to help you - try r/homeautomation on Reddit
Is it possible to use my old android phone as a home assistant server
hm
what do u mean by technically yes
In terms of performance it should be somewhat on the level of the raspberry pi 3 or 4 right
It's not supported
yea
But people have written guides for hacking it
However, you're on your own when things don't work, and many things won't work
It's the kind of approach you take if you're happy to put in lots of extra effort
Rather than just using something that'll work
I reflashed my sd card with the HA os to reset it, but now when it starts up it gets stuck on the "preparing home assistant" page. Yesterday i waited for several hours but it didn't leave the screen. Anyone know a fix?
I installed HA on a Raspberry Pi 3B, but it's starting to buckle at the knees after I've now added lots of integrations (I think that Adguard is one of the chief suspects). I've got a spare Pi 4 that's not in use and am considering swapping over. Would it be just a matter of swapping the memory card?
there are seperate builds for 3 and 4
Thanks for the reply 'Jc2k'.
One message removed from a suspended account.
One message removed from a suspended account.
Can you connect to it via browser/SSH?
One message removed from a suspended account.
Can you show a picture of this? You might have to re-install and restore though
One message removed from a suspended account.
One message removed from a suspended account.
Yes, and yes... if you can extract the backup from the SD card
One message removed from a suspended account.
I don't, but somebody else who uses HAOS will
I always recommend that you don't leave the backup on the computer, otherwise you don't really have a backup
One message removed from a suspended account.
One message removed from a suspended account.
I reflashed my sd card with the HA os to reset it, but now when it starts up it gets stuck on the "preparing home assistant" page. Yesterday i waited for several hours but it didn't leave the screen. Anyone know a fix?
Share the file
I feel like I'm stuck on a crippled install because I don't want to lose my energy data from the last couple of years :/
after MASSIVE pruning my influxdb is 77GB and my MariaDB is 2.9GB plus it has become so complicated that it's unmaintainable and I am sure there are hundreds of things installed that do not need to be or have long since been superceded
I started with a 250GB influxdb
If you're storing that much then a docker install not a HAOS install is probably best
Do you have a gazillion high-frequency sensors, and a very long retention?
I think the retention on the recorder is supposed to be 7 days
the influxdb though I have no idea.
point being, I don't want to lose energy data.. and I'd have to dedicate a year of my life to cleaning up the current install or about a week to do a fresh install
Or just get the files off the SD card (either through a backup or directly reading) then set it up using docker and docker compose
Won't have issues there
I don't see the point of docker when I have a dedicated pc running haos
and how do I seperate the energy data from the rest of the data?
You change it to have a dedicated PC running debian with all the containers you want
It'll be something in the mariadb database
I don't care that a door opened 2 years ago but I do care how much solar/grid was used
If it's being stored in influx then I'm not sure
But if it's only 7 days then it should be automatically removed from mariadb too
i don't see how debian would be better.. in every way possible such an installation would use more resources on the same hardware
well we all know that you can look at energy data from years ago even if you have 1 day data retention.. so that must work somehow
You realise HAOS uses docker anyway right?
It's negligible amount extra
But far more stable
Given you're wanting to remove everything and start again
Yes energy data isn't subject to the same retain setting
It's still stored in mariadb if that's where you're storing stuff
yes but HAOS is much slimmer than even the slimmest Debian install
plus it supports everything required, while Debian may or may not requiring extra work
With negligible extra resource usage
If you're storing over 100gb of data then you should move to something better than an appliance
increased resource usage and complexity.. I don't see what I would gain except more work
It won't require extra work
Just install docker
Write a docker compose
Pull it up
More reliability?
You're the one who wants to start again because it's broke
I think you're missing the forrest through the trees. I'm trying to not store a lot of data..
77gb of influxdb says otherwise
so why don't you go back 3 years and change something? Because I can't
all I can do is start again
I STARTED with docker
I don't want to go back
HAOS is WAY easier to maintain
in fact HAOS didn't even exist when I started
so it's probably more than 3 years
It is? News to me
Docker I don't have to touch
Except to do 3 lines to update all of my containers
But you have your answer anyway
Extract the energy data from the mariadb SQL database
the question is whether it's even possible to reinject it
I'm not a database guru. I don't know how the schema for the data works. if I start a new one will it still be able to see dates before the creation date?
because it's like trying to renovate an asbestos building. It would be easier to just start from scratch since there are better materials available now.
I even want to redo my entire zigbee network because I am sick of things dropping off it
too many migrations
I'm attempting to update home assistant and just realized there appears to be a requirement on python3.10 now? but raspberry pi os is still on 3.9 - is there any simple way to update my python? the best i've found is i have to compile it
Run home assistant in docker instead?
Or HAOS
Installed HAOS on an intel nuc, the issue is, it looks like it installed it on the disk drive I used to boot with, not the internal hard drive, if I pull that drive out it boots right back into window
is there a way to specify which drive to install it on? I didn't see anything like that
There's no boot media that installs HAOS, the image you download is intended to be written directly to the drive that you want to run HAOS on.
so I can't actually run it on the hard drive of the NUC, I have to run it on the usb drive I wrote it to? ๐ฆ
No
https://www.home-assistant.io/installation/generic-x86-64#configure-the-bios-on-your-x86-64-hardware
Check out the section that starts with "To write the HAOS image to the boot medium on your x86-64 hardware, there are 2 different methods:"
thank you
You're welcome
ah I see, you need to setup a live install of another OS that can run balena etcher and write directly to it
okay that makes sense, thanks again!
Having some trouble installing Home Assistant Supervised on Debian 11 on a really old laptop that has bios no uefi. Im getting this error: dpkg.deb: error: Unexpected end of file in archive magic version number in homeassistant-supervised.deb
dkpg: error processing archive homeassistant-supervised.deb (--install):
dkpg.deb -- control subprocess returned error exit status 2
Error were encountered while processing: homeassistant-supervised.deb
How do i fix this?
Sounds like a corrupted download
hmm so i gotta dowload it again
I just realized I got this error today when using a get request on the API
140269868262032] Error handling message: Entity ID . is an invalid entity ID for dictionary value @ data['entity_id']. Got '.' (invalid_format) jack5mikemotown from 192.168.1.12
And I've also been having this weird thing happen where if I click close pop up on the browser mod card, I get a more info dialogue for a '.' entity. This makes me think they're related somehow since they both reference the same supposed '.' entity but I have no idea why
I really need some help guys. I've tried upgrading to 2023.5 for a couple of days, but it keeps failing and I cant find the reason. First I suspected the new workday sensor, because that was created in the UI, but not removed from my yaml. But I cleared all that and it still fails. All I can find in the logs is this: https://pastebin.com/v60rSAXe
This also popped up in the log while trying to upgrade just now:
https://pastebin.com/FyA667V3
Also see this in console:
cant paste picture, but here's the short version: Out of memory: Killed process 10376 (python3)
Dont know why it would run out of memory, the VM has 8GB and Summary in Proxmox shows it uses 6.73GB.
It won't even be using that, it'll mostly be buffers/cache
is that ha core? or one of your addons?
that second error looks like one of your integrations is having a problem, and isn't shutting down cleanly
the second pastebin is from core log.
The out of memory warning is from the VM's console. Im running HAOS in a Proxmox VM.
I've continued to disable all my custom integrations, including HACS. Also remove some old stuff from HACS before disabling. Still no go.
I do see these as well, but surely that wouldn't block an update?:
23-05-08 10:17:00.964 ERROR (MainThread) [homeassistant.components.switch] The mqtt platform for the switch integration does not support platform setup. Please remove it from your config
I do have that error for "sensor" too, but I've went thru my files and cant find that I've defined anything like that. Moved everything to a mqtt.yaml a couple of months ago.
Hello everyone, I need your help as I'm slowly getting desperate. Last week, my HA on the Pi4B encountered an error after updating and refused to start properly. Afterwards, I reloaded HA with the Raspi Imager and attempted to restore the system with an HA backup. The backup is 3 weeks old and has been successfully used in the past when I switched from an SD card to an SSD.
However, as soon as I perform a restore, HA starts but I can no longer access it via port 8123. Through HDMI, I see CLI and I can see that it has started successfully.
I have also installed the backup on a VM, but the behavior is identical. I'm afraid that something is not quite right with the duckdns and settings.
Are there any possible solutions I can try via CLI to salvage the situation?
How are you accessing Home Assistant when you say "I can no longer access it"? What does ha core info show
ive been bashing my head in trying to get ESPHome Flasher to work at all or get any ESP device flashed with ESPHome. Regular code seems to work fine
ESPHome is a system to control your ESP8266/ESP32, with a native integration for Home Assistant.
You can find their documentation here, and get help with ESPHome itself here in the #diy-archived channel (#integrations-archived for the Home Assistant side integration with it). They also have their own Discord server too.
Might be better there
thank you
I guess I'll start removing all my integrations one-by-one and have a go. Cant see any other way to find out what the errors are about. ๐ฆ
Disable all custom component, and also any RAM hungry add-ons
sorry, accesing was maybe the wrong word. it is possible to ping the raspi and i can access via hdmi and keyboard the CLI and can see, that the it should be reachable over http://homeassistant.local:8123 but nothing to see. Over :4357 in the observe is everything green and ok.
ha core info shows that
boot: true
image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant
ip_adress: 172.30.32.1
machine: raspberrypi4-64
port: 8123
ssl: true
updat_available: fals
versioN: 2023.5.2
version_latest: 2023.5.2
watchdog: true
i never used the CLI before. Maybe i can bring some network settings back to default?
omg ๐ Thank you! im now on it again
Once you've configured SSL in HA you always have to use https://
yeah I've done that. Now I have moved on to actually deleting all custom integrations.
this is what it looks like in supervisor log: https://imgur.com/a/idPWbLE
Looks like I might have a custom card that uses Polymer. Could that brick the upgrade?
thank you.
I have now a better understanding of my problem. For some reason, the addons are not being restored with the backup, which is why accessing the system through the duckdns address did not work.
Is there any reason why the addons cannot be restored?
Well this time I got closer, but something is refusing to shut down. Took long to get the memory error in console this time as well.
Wall of text: https://pastebin.com/JUSY2hAk
One message removed from a suspended account.
Hi, does anyone here have any experience with QtEmu on windows? what am I doing wrong?
https://imgur.com/a/ZqMx0EE
this is my CPU just for the record
https://ark.intel.com/content/www/us/en/ark/products/43544/intel-core-i5540m-processor-3m-cache-2-53-ghz.html
wiki says westmere if that counts
Holy shit I did it!!!
Still dont know what made the memory run out and kill python3. But I removed alot of old shit, and 7 of my custom integrations. What finally seemed to have fixed it, was cleaning up docker images. ๐คทโโ๏ธ
I have been asking here if a mobo that doesnt support UEFI can have HA OS generic x86-64 installed on it
now looking in the readme I found this
to me this suggests that it can work with non UEFI. Is this correct?
No, not directly: https://github.com/home-assistant/operating-system/blob/dev/Documentation/boards/README.md
Generic x86-64 (UEFI, not suited for virtualization)
One message removed from a suspended account.
I would browse into that specific folder then copy it
do u have samba set up?
One message removed from a suspended account.
if so, you just need input the ip adress of the machine into a file browser
on a machine from your network
presumably you could use the terminal in HA to copy the image if you don't have access in the way I mentioned
One message removed from a suspended account.
I don't know that system but the ways are mentioned will be the same in principle
find a way to browse your system storage
you might not have access to it if it doesnt boot, not too sure
One message removed from a suspended account.
One message removed from a suspended account.
You would need to access the SD using a linux os to navigate to /data/supervisor/backups on the hassos-data partition
One message removed from a suspended account.
presumably
One message removed from a suspended account.
One message removed from a suspended account.
thank you
what am I doing wrong?
https://imgur.com/a/ZqMx0EE
You want to explain the problem, not just post a sea of pictures
sorry
I am trying to install HA via QtEmu on Win
I downloaded an archlinux image
Selected the specs as shown
and when I press play it won't run
Why are you using QtEmu rather than one of the known to work platforms?
we've conversed about this. I mentioned how my system kept freezing running virtualbox
Ah... ok
I talk with so many people on here, I don't remember why people make the decisions they do, unless they stand out as being unusually bad decisions
I figured. I don't mind mentioning it again
What happens? You should get some form of error/message/log output
if I did a fresh install sitll using VirtBox it might not freeze, but I wanna run qemu cos I heard it would be a performance increase ๐
yeah I looked around for it but couldn't find any in QtEmu
Your hardware choices look ... odd. I assume you followed some guide when making them?
to which bit are you referring specifically? pic number
CPU type
Machine type
(I fiddled around with em trying different things, I can't remember which one I settled on when doing the snapshot)
Is qtemu on windows even able to run vms? I thought its just a universal gui for kvm, and windows doesnโt have a proper kernel which leaves you in trouble.
I could be wrong though
I'd even wonder if you've mis-converted the disk image
yes I was thinking about that too. It's an extracted image
with 7zip
from qcow2.xz
I tried using the unextracted one too
tried using a .vdi too
You did install QEMU too?
this is the part Im not too sure about. I did try out different things before asking though
machine type: tried q35
all of the specs listed there seem really low to my mind, q35 seemed the highest
also, for the CPU: I have a dual core i5 m540 on that machine
I wanna have a core with 2 threads dedicated to the VM so thats why I chose those specs. What would have been your pick in these conditions?
I don't know what the CPU type options are
I don't know what the machine type options are, beyond what's in that image
none seems an obvious bad choice though
ah okay, thats what you meant.
can do a snapshot
the nearest cpu type to what I have there is a Westmere model
but a guy in a guide on youtube said to pick base or Max (nondescript)
which I also tried to no avail
(the guide was for a manjaro distro)
Maybe it's time to accept that you're not going to run HA in a VM on your Windows machine
gah, just gonna have to stick with virtualbox then
it ran fine at first and then it broke after awhile
got that systemd problem
timer thing
anyway thank you for your time
hey Guys,
after my upgrade from homeassistant 2023.4.6 to 2023.5.2 I get this error:
May 08 18:19:04 SERFER python3.10[1542732]: raise DependencyError(failed_deps)
May 08 18:19:04 SERFER python3.10[1542732]: homeassistant.exceptions.DependencyError: (DependencyError(...), 'Could not setup dependencies: assist_pipeline')
and esphome and some other integrations failed to load
is this a bug? I use the Python installation with python3.10 on ubuntu 22.04
pkg_resources.DistributionNotFound: The 'webrtcvad' distribution was not found and is required by the application
seems to be the issue
python3 -m pip install webrtcvad seems to have fixed it, thanks guys
Anyone feel like helping out around local unencrypted access? I've had DuckDns and encrypted access for years, but yesterday I got a couple of cameras that require unencrypted access to the local adress. So I installed Nginx hoping that would give me access to http://homeassistant.local:8123, but I do not get any response from that port, only on 443 (encrypted). In my router I only forward 443 to 8123. What should I try next?
"required unencrypted access"? That's interesting. If you want Nginx in the middle, you'll want to remove the certificate attributes from your HA configuration and set up your cert on Nginx.
Hi all... I've been running HA for about 2 months now, and I've run into an issue that I cannot seem to fix. I'm trying to upgrade from 2023.5.0 to 2023.5.2 - but the upgrade process continually fails, and now I've got some weirdness happening on my HA installation. Logs will not display, and when I try to enter a new automation, it shows up in my automations.yaml file, but the UI never sees them.
When I try to do the upgrade, I can see on the CLI for the VM that errors are being thrown. I've let the process run for almost 30 minutes, and it still will not complete.
I end up having to shut down and restart in order to get anything back to a usable state again.
I'm willing to collect whatever logs might be helpful in getting this resolved.
Connect a monitor to your system and check the logs: https://developers.home-assistant.io/docs/operating-system/debugging/#checking-the-logs
Hi guys. I have not a very fast workstation and decided to use it for HA server. Installed Xubuntu OS, and use docker compose container installation. I use default docker compose config yml file with /home/my_user/homeassistant/config/ as a mount for /config with 777 permissions. Docker is running with overwritten sudo permissions. All steps are done but i cannot access the start page of HA. I get next logs in container after docker compose up -d.
s6-rc: info: service s6rc-oneshot-runner: starting
56-rc: info: service s6rc-oneshot-runner successfully started
56-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
56-rc: info: service legacy-cont-init: starting
56-rc: info: service legacy-cont-init successfully started
services-up: info: copying legacy longrun home-assistant (no readiness notification)
56-rc: info: service legacy-services: starting
56-rc: info: service legacy-services successfully started
And that's all. curl localhost:8123 within container returns nothing. Please, can someone help me with this problem. I have a feeling, that container is not starting properly.
What does your compose file look like?
heres my home assistant forum post if anyone could take a look, after initial startup appears Error: System is not ready with state: Setup
here is my logs when i click on the HA preparing icon, I believe its a network issue
May try setting your HAs DNS to 8.8.8.8 or 1.1.1.1, iirc that can point to a DNS issue
If you're open to trying, maybe take a look here
I like this, thank you
im using wireshark and it appears there are some link-local multicast name resolution errors
sadly getting same error system is not ready with state : Setup
may have to consider going another route, when I previously had it running on debian docker containers I was able to get it working. dont seem to have as much luck with hyper v atm
Hello i am new to home assitant trying to install it on Esxi 8. Could some one help me with the documentation. all the documents that i find online shows a different menus and screens from what i have here
https://www.home-assistant.io/installation/alternative and select VMWare
its incomplete doesnt say what os should i select in vm what guest os and other things.
Guest OS will be generic Linux, 64 bit
thanks let me try
not able to choose the ova file from the browser it s greyed out
Figured thanks a lot . first menu has to choose install from the OVA file or VMDK in vmware
but this error message is displayed on my vm "The configured guest OS (Other (64-bit)) for this virtual machine does not match the guest that is currently running (Other 5.x Linux (64-bit)). You should specify the correct guest OS to allow for guest-specific optimizations."
guys, i am trying to install a docker for wyze but I have no idea how to do this on an scapds installation
What is "a docker for wyze"? What is "scapds installation"?
Oh ... god ... fucking Snaps
I am very new to this haha
- Install Docker
- See (1)
I don't know how to...hence the question here
great!! let me take a look!
HAOS is linux based so that shouldn't be a problem
All I did was Google install Docker on Ubuntu and it was the first hit
I am not using Ubuntu but thanks, many thanks
Well, pick your OS
I reckon you know a lot more than I do, but I guess you learned step by step, similarly like I am trying to do. Rather than helping, you are just showing signs of arrogance
Thanks !
We're sadly not mind readers
we are sadly not geniuses... this is supposed to be a community to help
Wind your neck in, or nobody will help you/you'll get banned
If you need more help, explain why...
Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
I am trying to get wyze on HA. I don't know how to start.
What OS?
linux mint. Installed latest version of HA via snapd
Then the Ubuntu docs should work
I got few deveices already integrated, working fine, reading i found some workarounds for wyze.
That you installed HA via snapd doesn't matter to installing Docker, or running the Wyze Docker image
ok, I don;t understand much but I will try
You can set your VM type to Other 5.x Linux (64-bit) and the error will go away
Hey, perhaps someone could help, because the whole day will pass without any results. I changed my wifi router and set the same SSID with the same password, but ESPHome devices do not connect to that SSID anymore.. I tried everything: I updated FW OTA; cleaned build files; connected to another wifi and reinstalled FW, but still no luck. However, if ESPHome devices connect to another router (that works just as AP through the main router I changed), they work fine. It seems that it has to do something with SSID and I do not know what.
Yep.... I found out. It seems that ESP8266 (or ESPHome) does not work with WPA3.... WPA2 solved the problem.
is it possible to get access to the supervisor logs from the previous instance, how you can with core logs?
Possibly... depends how busy the system is. If you've got host access you can run journalctl "CONTAINER_NAME=hassio_supervisor" to start from the beginning of all of the supervisor logs on your system
I'm not aware of a separate log file or command directly within HA to do so though
If you know the timeframe and don't like scrolling ๐ , you can use the since and/or until args as well, like journalctl --since "2023-05-08" "CONTAINER_NAME=hassio_supervisor"
That works for add-ons and whatnot too, for future reference
duly noted, ty
ok so,i belive the coincides with some of the issues im experiencing. sometimes my ha instances acts erratictly. usually its restarting doesnt work or behaves odlyand just other random seemingly unrelated stuff isnt working as expect, (note that the observer shows no issues) i keep seeing the following every few hours
[supervisor.resolution.evaluations.contrainer] Corrupt docker overlay's detect: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=900) typically followed by Starting system checks with state Corestate.RUNNING
is this cause for concern?
Hi guys. Fresh install of HAOS, restored a backup and HA want's to reach DNS 1.0.0.1 @ 853. I don't use that one, and command 'ha dns info' shows the one I want. Where should I look for 1.0.0.1 config to correct it please?
'ha dns logs' shows this ~ # ha dns logs [INFO] 127.0.0.1:41617 - 33017 "NS IN . udp 17 false 512" NOERROR - 0 30.000420598s [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout [INFO] 127.0.0.1:38916 - 34317 "NS IN . udp 17 false 512" NOERROR - 0 30.000311275s [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout [INFO] 127.0.0.1:34946 - 60777 "NS IN . udp 17 false 512" NOERROR - 0 30.00044429s [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout [INFO] 127.0.0.1:54919 - 42296 "NS IN . udp 17 false 512" NOERROR - 0 30.000443363s [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout [INFO] 127.0.0.1:33893 - 24443 "NS IN . udp 17 false 512" NOERROR - 0 30.000411683s [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout [INFO] 127.0.0.1:37910 - 2238 "NS IN . udp 17 false 512" NOERROR - 0 30.000415487s [ERROR] plugin/errors: 2 . NS: dial tcp 1.1.1.1:853: i/o timeout [INFO] 127.0.0.1:42018 - 7938 "NS IN . udp 17 false 512" NOERROR - 0 30.000211825s [ERROR] plugin/errors: 2 . NS: dial tcp 1.0.0.1:853: i/o timeout [INFO] 127.0.0.1:57327 - 10879 "NS IN . udp 17 false 512" NOERROR - 0 30.000414357s
so something is not as I would like it... Please help me find where this comes from
these look like DNS over TLS calls to cloudflare
Exactly. Which I don't use, so would like to correct to the one I need
'ha dns options' does nothing? It just returns "Command completed successfully", but should "(Allow to set options for the internal Home Assistant DNS server)"
I suppose that is what I would need, but seems broken?
@quasi light I converted your message into a file since it's above 15 lines :+1:
oops, sorry
found a link that said to use this command... 'ha dns options --fallback=false' One second lated DNS started working and I'm happy again! ๐
It's odd it couldn't reach the dns you have configured first tho
Agreed. It seems to have hung on not having access to Cloudflare...
Well that's the fallback tho
So it couldn't reach the primary or the fallback
So something triggered the 'failover' to begin with
But it can reach the primary, but failed due to not having Cloudflare...
I do agree there probably is something here but without fallback it works as I would expect
Ok so I stuck with virtual box, but the systemd-time-wait-sync issue is still present even though it's a new virtual machine
Anyone know how to fix this?
@hoary nimbus I converted your message into a file since it's above 15 lines :+1:
You were supposed to replace PATH_TO_YOUR_CONFIG
Still, look in /PATH_TO_YOUR_CONFIG for a log file
This is replaced. Sorry. Let me edit the file
version: '3' services: homeassistant: container_name: homeassistant image: "ghcr.io/home-assistant/home-assistant:stable" volumes: - /home/my_user/homeassistant/config/:/config - /etc/localtime:/etc/localtime:ro restart: unless-stopped privileged: true network_mode: host
Now up it again, and check to see if files are created there
yes, files are created
Then it's running
Wait 5 to 20 minutes and try connecting to port 8123
http://192.168.0.42:8123/ (with your actual IP)
ok, let me check
What's err code -6
In my new installation I kept the old one's mac and ip
But it has duckdns, the old one did
Now the new one doesn't but still has the same IP so how do I access it
Should just disable port forwarding?
Until you get it set up, yes
Nope, no connection. Tried to connect from the container using curl - same result
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
Stop the container, edit configuration.yaml to set logger to info and start it again
Probably going to be DNS
ok.
Hi all. I'm updating from 2023.4.4 to 2023.5.2, but it's seems stuck for at least 1h
I'm on rpi3b
...reboot, or not reboot?
yes
Then what's the worst that can happen
anyway, the normal time needed for the update i guess is always less than 20-30 mins, right?
On a Pi3 running HAOS... yeah, normally
ok, let's reboot ๐
I see no errors, only info logs. There are too many logs. You can check them here https://justpaste.it/cjoxy
2023-05-09 20:58:47.905 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 3.44s
It's alive
2023-05-09 20:58:45.904 INFO (MainThread) [homeassistant.components.http] Now listening on port 8123
``` see ๐
If you can't access it then you've got problems with a software firewall/not using the right IP
thnka you!
Hello. I am getting such an error on my computer. I couldn't solve the problem. what is the solution to this?
again alive after the second reboot ๐
Thanx
Hello, why are there no ip adresses showing up after installation of home assistant iOS. I can not acces it through ip ore protocol :8123 ?
I installed it on I nuc
You had to choose the sketchiest most add filled website to post ur picture?
Use Imgur,
Also try the top one
Broken install... hopefully you have a backup that's not still on that computer
You should look at my chats from earlier today and let me know if it seems like a dns /networking error or what idk man I need the wizard
I didn't take any backup and I can't backup is there any other way to recover?
If neither of the slots boot... that's going to be fun
it opens, does it on loading, but keeps coming back to this screen
Well, the standard recovery is to do a fresh install and restore a backup...
Clearly not a good option for you
DNS updates didn't make any change in the error?
I guess I'll have to reinstall everything. This is so annoying.
i got this error after the latest update
now i already installed it on raspberry pi. I did not install on the computer
also i can't install homeassistant on this device. Tuya does not appear in local, but it appears on the site
following that one guide u recommended me to i really thought it would work with that. but after rebooting it is still saying that the supervisor cannot start in the setup state ):
What about the logs... same Client.Timeout stuff?
https://imgur.com/a/YJbG1Y9 does anything look weird about this? on wireshark
and tbh i cant even get home assistant webpage open now to view logs that way
i can check supervisor logs soon since i kinda know its related with that
You'd need to post the pcap somewhere if you wanted that dug into
pcap? ill look into it
Just the saved result of the packet capture
Might be interesting to just try a docker pull of the failed image on the host directly
Just to see what the error is, so it's not hidden
how would i be able to add that file in here if i cant post that stuff
i saved them tho
I'd first try a manual pull to see how that fails
Direct error messages are easier to troubleshoot
I didn't notice before... but I see this in your logs from earlier... definitely DNS, so kinda surprised the nmcli changes didn't make any difference
fatal: unable to access 'https://github.com/hassio-addons/repository/': Could not resolve host: github.com
Yes, I went into the nmcli and just did 1.1.1.1, I can also try 8.8.8.8 but we will see
it doesnโt seem to stick, nor is there a great way to see it
You typed save after the changes?
Going to dinner with the fam and will tinker with it more. I think it must be a dns issue as my main computer is having the same error. Will look into it more tonight, Iโve spent like 7 hours troubleshooting lol I need this to work
And yes
I believe so, Iโll try again with 8.8.8.8 when I get home and triple make sure I do the guide right
yooooooo im the last message im here guys
would changing my dns on my virtual switch do anything?
Doubtful, are you sure you've got networking configured correctly in HyperV to allow internet access
I'd try doing what I mentioned earlier, also with a side of ping 8.8.8.8 just to make sure
On your HA instance
just did the steps completely
made sure i saved (:
i can ping 8.8.8.8 and 1.1.1.1
or it says its alive
so i believe lol
i did the exact same steps at work and for some reason it worked no problem! i couldnt re create it
my Vethernet dns server is set to 1.1.1.1 and 8.8.8.8 on my PC
someone on the forums said to try to update my bios lol
I could tho
running down the list trying to update my drivers
if only I saved my network config on my debian installation before I restarted ):
do i put the Ip the same as the virtual switch?
i ran a nmcli
tommy bro id let u scam me if u could only solve my problem
nsx help me thru this ill paypal u
No need for paypal, but I'd try nmcli connection modify "Supervisor eth0" ipv4.dns 8.8.8.8
followed by save
i shut down for the night, saw ur message and rebooted the vm
dude i cant see my text now
but i can type
<setting>.<property> argument is missing
Correct
nmcli connection show "Supervisor eth0" should show 8.8.8.8 in ipv4.dns
yes
๐ Can try issuing reboot
server and address
192.168.1.1
for server^
for address 192.168.1.1:53
non authoritative answer: name google.com address 172.217.2.46
and an ipv6 version
I'd try a docker pull ghcr.io/home-assistant/qemux86-64-homeassistant:2023.5.2 and see what you get
I like that, Iโm on my phone rn, sadly wonโt be able to do much until tmrw morning, will send more logs
doing it but have to step away, its just processing for a while
I am trying to instal using raspberry pi download for a mac. I downloaded the installer and when I open it, the only OS available is Raspberry Pi - I do not see the Home-Assistant OS as an option. What am I missing...?
Hi, how are everyone handling daylight savings in HA? Different parts show different times... Is there a way to align all date-times within HA to use whatever the host has set?
That already happens unless something is using UTC
Ok. Must be me then. I'll have to look it over, thx
I am not able to access HA via local IP. I set up HA OS a while ago and I remember when configuring duckDNS there was some change I did resulting in HA only be available vie https and duckDNS url. Recently I switched to HA Cloud, so duckDNS is no longer needed. But I can't remember how to enable access via local ip, can someone help me on this?
My pi 3b just dead I order a mini pc to install hassos so should I install a proxmox then hassos and windows or install windows and using hassos in virtualbox . What is pros and cons
I am not able to access HA via local IP
There are no advantages to using Windows
My HA installation config directory got polluted by a addon installing all files in the config folder instead of a subfolder. Can someone tell me which files I can safely delete, of which ones I really need?
(there are no plugins)
Share a listing (text, not image) of the files and somebody can help
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Hi, to install HA to Odroid XU4 what version i do prefere?
Only image available is N2 - N2+ - C2 - C4 - M1 version.
Thanks
I installed HA with docker and it's running but i cant connect to 192.168.0.157:8123 (it's the ip of the machine)
It's even already trying to get info about our sonos system in the log
how did you install it?
I'm running HA inside Docker, and I just noticed that the HA container is using almost all of my disk space. (It's been almost a year since I've set it up).
Within the container, there is a file d21e34603...f92b425-json.log that has all the data in it.
Can I clear this log data by purging the history? Can I delete the file?
Any suggestions?
Ah ha. I'm not a Docker power user, so I'm not quite sure how to rebuild the container. I guess I could kill/delete it and restart it from the image. But I'm worried I might lose some data.
You won't lose data if you mapped /config
If you didn't then you failed to RTFM
How you rebuild the container depends on whether you're a neanderthal and using docker run or enlightened with docker compose
Why would supervisor try to login when I'm already logged in? Login attempt or request with invalid authentication from supervisor (172.30.32.2). Requested URL: '/api/config'. (HomeAssistantSupervisor/2023.04.1 aiohttp/3.8.4 Python/3.10)
@fallen lichen i ran the docker pull and it gives me the error "error response from daemon : Get "https://ghcr. io/ v2/" :net / http: request canceled while waiting for connection (client.timeout excheeded while awaiting headers"
is there something like pterodactyl to manage vms so i can easily install HA
Proxmox
The only other thing that comes to mind is you may have a broken IPv6 configuration and that's how it's trying to get out
hey guys, if i wanted to get a small used pc to reinstall HA on (it's currently running through a VM on my main windows laptop) what specs should i be looking for?
and also if i do get a small used pc, what's the best way to install HA? i've never used linux before, but would using that instead of windows be better?
Check #hardware-archived. It's commonly discussed there. I would suggest installing it as a VM on proxmox. Proxmox allows you to do simple backups, snapshots and makes troubleshooting, testing and installing easier. You can also run other things on the hardware. You should choose something with >=2 Cores (>= 1000 Passmark score), and >= 4G of RAM. Yes. Depending on if you just install HAOS and what addons you want to run 2 cores and 2G of RAM can be enough. I'd suggest at least 4 cores And 8G of RAM for virtualization and "future proofing".
ah, i was tossing up in the hardware channel or this channel and chose wrong ๐
thanks for the advice though, i'll check out the hardware channel too!
hey guys, i've had HA running off my laptop on windows through a VM for a while, and for a while it was on wifi just fine but i recently moved over to ethernet
today i was having ethernet issues while working from home but wifi was working fine, so i decided to unplug my ethernet cable, and as soon as i did, my HA went down and i couldn't connect locally through the ip address (192.168...:8123)
my ethernet is still not working for whatever reason so i'm still on wifi, but HA starts up and everything but still can't be connected to
i'm new to HA so i have no idea what i'm really doing - is there a way to find out why it's not working while connected to wifi or to get it back up and running again? all i have access to is this screen https://i.imgur.com/AlkBnIe.png
I listened to someoneโs suggestion on GitHub because of an issue I opened. The new AI voice assistants were supposed to be compatible with Raspberry Pi4 but I moved my config from a Pi3 and was still on 32-but HA OS. Backed up my config and installed 64-bit OS and it becomes unresponsive regardless of if I choose partial restore or not. I made sure not to restore stuff like DuckDNS for obvious reasons and only the simplest of add-ons and It continues to fail. I should have backed up my yaml files separately but didnโt. Canโt install the 32bit version again either cause it never loads in the browser. Any suggestions?
Did you setup the Wi-Fi first? It doesnโt just work on its own. I believe itโs disabled by default
so it was originally set up for wifi and was running like that for a while, but i don't know if i changed any settings when i changed over to ethernet? is there a way to check from the screen i was on?
Settings > System > Network > WLAN0
Ahhh a VM. Canโt help ya then man. I run on raspberry pi.
This seems like configuration problem with your VM-host, You may need to change settings for which network device your VM can see/use
It looks like your HA VM failed to get an IP address (from your LAN DHCP server).
you're a genius! i was so focused on HA i forgot to check that i changed the VM settings to use the ethernet adapter! thank you so much!
yup, thanks so much!
๐
Would you be able to hop in the vc with me here soon and check it out? Iโm sure we could brainstorm and get er done? Not today just soon
Recently finished installing HA Container on Docker and when calling for a system upgrade through a script, got this message in the summary, although everything still works fine: "ERROR: for homeassistant Cannot create container for service homeassistant: Conflict. The container name "/homeassistant" is already in use by container "7f831774bbcfb3f29eaf3d649e1280f68cce22f7e784c99f03b84e6b8cd28af2". You have to remove (or rename) that container to be able to reuse that name." Any thoughts on what's going on and what I should do about this? Note that I cannot see this conflicting container.
Share your script. This has little to with #installation-archived, btw
Good morning! Is it normal that I cannot restore backup on Raspberry Pi 3 performed on another Raspberry Pi 4? Raspberry Pi 3 is freshly installed, both are on the same latest version with everything updated. When I press restore button, web portal stops responding immediately, and it is not responding anymore till I reboot. After rebooting nothing is in Log, as if restore never happened. I tried it twice, waiting long time
Im trying to install HAOS onto an Udoo x86. 1) I boot from an ubuntu live USB 3 stick. 2) I install balena etcher .deb. 3) I download the HAOS 10.1 ISO. 4) I flash to the built in 32gb SSD on the Intel NUC. 5) twice now flashing has crashed ubuntu completely at 28%. Ah after a long while Ubuntu 23.04 reports a problem. a crash in APPORT. Maybe the issue is that im using too new a copy of Ubuntu? 6) But HAOS has installed enough to boot to the banner screen. But it wont receive USB keyboard input on the HAOS command line... I can ping the NUC, its on the LAN. The www page does NOT load at 8123. What am I doing wrong?
How big a backup? Beyond a certain size (1 GB) uploading in the UI isn't recommended
160 MB below 200 MB
Since it a mini pc it still strong for using only HAOS
There are no advantages to using Windows
Use Proxmox
Or don't, and then regret it later
is proxmox better than virtualbox
since I plan to usint windows most of the time
I've said twice... actually three times already to use Proxmox over Windows+VBox
You however at no point said that you wanted to use Windows
It run my shop POS device. But exactly about what
So... with that in mind... why the ever living fuck did you ask about Proxmox?
Cause proxmox still windows right

No
That's like asking if your chocolate bar still counts as fruit and vegetables
I just find with google that proxmox will help me run widows and HaOS same time
Right... but you run Proxmox on the host, and then Wiinidows and HAOS in virtual machines on Proxmox
If you run Proxmox, to run Windows, to run VBox, to run HAOS then.... you failed
Oh like 2 virtualbox
I understand now
So in my case I should using Windows+VBox right ?
Do you want/need to run Windows directly on that hardware?
Or is it going to be good enough to run it in a VM?
This is CPU
8GB
I think will good enough If not I will try buying another computer
If your "POS" doesn't need the monitor attached to the PC then use Proxmox
If it does need the monitor then use Windows
But is my hardware good enough to run HaOS and Windows ?
Cause Windows just run like 2 - 3 tabs website
That could be overkill for both combined, or not enough to run either
And not the POS software?
HaOS will for camera , plug , remote , ...
Yes it webbase
Ok... so you don't need Windows
I think 2 - 3 screen
You just need a web browser
At this point, given how little you know about what you're doing... just install Windows and be done with it
You asked Proxmox or Windows+VBox, and have spent most of your time since basically saying but I really have to use Windows
Cause previously I don't really Proxmox working like
But now seem it not my choice
It could be, but I don't think you're really ready for it
I will try research more
but 1st will try a pair win+HA then proxmox + Ha
Thank for advice and knowledge
Can proxmox run on ubuntu
I have stuck at preparing screen for 30 min is there any idea why
Hi!
I had HAOS some days ago... But experiments with cloning it to the SSD went wrong and I decided to wipe all and just get a fresh instance.
Imagine my surprise when, after formatting the old disk, I could not install HAOS on the new one!
Considering, my SSD has an mSATA interface, the only way to install HAOS is to use an live OS. I launched OpenSUSE, downloaded Etcher, set it up, and launched flashing. Tried it around five times and every time it stuck at 28%... Together with OS...
When I do it year ago all was good!
<@&330946878646517761> ^
Ahhh, the pleasure of having literally no errors in logs that comes with a fresh install...
Alright
I would be happy to have Etcher error logs...
I ran it, using cli, to see errors, but the only error I found is that Etcher can't turn off the screensaver
Or... It is really a critical error, that stops it from flashing?!
By the way, remembered one more detail. It doesn't want to flash the image from URL, only starts if I select an already downloaded file.
With a URL, it cancels flashing even not started. With a file - cancels at 28%
You could try another flashing tool: https://alternativeto.net/software/etcher/?platform=linux
You can probably also just use dd. And yeah, etcher was kinda unreliable for me too when I used a URL
Ough...
HAOS is just the raw image?
Lemme try something before I tell you bull
@raven forge I converted your message into a file since it's above 15 lines :+1:
Hmm. I wanted to keep editing that ๐ Bad bot. Anyway, there's the pure cli instructions
Thanks!
By the way I found the reason of crushes... There is nearly no space on usb stick with os.
I am not so good in linux, so...
Is the second variant creates a stream with the data, or also unarchive it on the drive and after that runs the dd?
Pretty sure sure it creates a stream
@limber skiff I converted your message into a file since it's above 15 lines :+1:
Ok I will try
@limber skiff That shouldn't happen. compose will take care of it. Maybe you have a remnant from earlier that you might want to remove. Check with docker ps -a. apt has --auto-remove, btw. Can you also share the compose.yaml?
Yes!
It works perfectly!
Guy, looks like you just create new CLI adept.
@limber skiff I converted your message into a file since it's above 15 lines :+1:
What does
docker ps -a
``` show?
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
eb57b02a66c5 lscr.io/linuxserver/duplicati:latest "/init" 13 hours ago Up 13 hours 0.0.0.0:8200->8200/tcp, :::8200->8200/tcp duplicati
7f831774bbcf ghcr.io/home-assistant/home-assistant:stable "/init" 20 hours ago Up 19 hours homeassistant
ddf3f4c6b9b0 portainer/portainer-ce "/portainer" 20 hours ago Up 20 hours 8000/tcp, 9443/tcp, 0.0.0.0:9000->9000/tcp, :::9000->9000/tcp portainer
Yup... so it's already running
Stop it, remove it, start it from compose
docker stop homeassistant
docker rm homeassistant
docker-compose up -d homeassistant
New output of ps -a:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
603ac5c528db ghcr.io/home-assistant/home-assistant:stable "/init" 28 seconds ago Up 26 seconds homeassistant
eb57b02a66c5 lscr.io/linuxserver/duplicati:latest "/init" 13 hours ago Up 13 hours 0.0.0.0:8200->8200/tcp, :::8200->8200/tcp duplicati
ddf3f4c6b9b0 portainer/portainer-ce "/portainer" 20 hours ago Up 20 hours 8000/tcp, 9443/tcp, 0.0.0.0:9000->9000/tcp, :::9000->9000/tcp portainer
Ok, you now have a nice new running container
Hopefully this solves the problem you were having
Ok, I will try my script again. Thanks for the help.
Is there a way or addon to make HA reconnect to the network when it's interrupted, automatically? My internet goes out every few days (some router problem) and when it does, I have to pull the power to my HA and reboot it to make it working again. I don't know if the internet going out is making the HA crash, or if it's simply not reconnecting to the network, because I can't connect to it at all after an internet restart until I power cycle the HA/RPI. It's a wired LAN connection not WiFi.
It's a RPI4 installation on a SSD drive. Used the installer image originally. It's a recent problem (last 3 months), I've had the HA set up and working for almost 2 years now
Try running a shell script to restart the network adapter, it might allow it to reset it's connection without power cycling
How i do that ๐
Not super sure, but I would probably look at: https://www.home-assistant.io/integrations/shell_command/
and maybe this thread: https://forums.raspberrypi.com/viewtopic.php?t=75137
Hello everyone!
I have a jeedom Atlas, and I would like to recycle it by installing HA on it.
Is there a tutorial on this type of installation?
Forum hit for that
It's not an officially supported platform, but you can run HA via docker on just about any platform that supports docker
Yes I saw it, but this user is running HA through docker. And I would like to use an OS version of HA.
I found this GITHUB: https://github.com/citruz/haos-rockpi but I would like to know if this is an official version, and if someone has already done it on this discord
Hello Team!
I would like to ask, there is any advantage to install Home Assistant to an Intel NUC instead of a Synology NAS?
Please I should decide for long-term, what do you think? Thank you!
As I understand it, Synology DSM v7 makes it a pain in the neck to pass USB devices into a VM
Or maybe even a container. No such issues with a separate box
That is right.
Also NUC will be way more powerful
Thank you @humble mirage. I've managed to connect to my ha instance. For unknown reason with network_mode=host on Xubuntu there were no connection. Same problem appear on other containers, so I just created my own network and mapped ports directly.
That's going to mean many integrations that rely on uPNP/mDNS/broadcast/multicast don't work
I had to restore my HA supervised from a 700MB backup file to a fresh install on Debian 11.7 bullseye. Somehow I in between the restore I closed the browser window as it did not refresh.
How one can detect whether the restore was successful or still ongoing?
Going to get HA working today I know it, before I get too over my head, should I use prox mox instead of hyper v?
By checking the supervisor logs usually
impact u support prox mox over hyper v?
I use both but for different things. For hosting production services I use and recommend proxmox
@humble mirage as I understand this is not good. Please, could you help me to find the root cause of the problem? I understand, this is not ha related. I'll be grateful for any hints.
Show your compose file
Can someone link me the kvm install guide?
I got this as last line in the supervisor log:
INFO (MainThread) [supervisor.store] Loading add-ons from store: 87 all - 0 new - 0 remove
Does this qualify for a successful restore? The complete log is available at https://pastebin.com/ZcUPv45Y
Not sure if it's the end but as long as there's activity it's not done
Tinkerer 0042 as I understand this is
There was no activity for some 12 minutes then a message "Updated Home Assistant API token" was written to the log.
only Ls for me
Elaborate
impact
i have reached enlightenment
I was blind but now I see
Got it working withโ set ipv4.ignore-auto-dns yes โ
Rebooting the server, letโs see if it works still
I would like a static ip so my ip address doesnโt change on boot, but that is another days work
It shouldn't unless your DHCP server is configured strangely. I personally prefer DHCP for organization and automatic name resolution. You can give it a static reservation
what's HAOS based on?
Buildroot
Here's more information about it and its components: https://developers.home-assistant.io/docs/operating-system/
You think I could just change my ip address to a static one? Keep dns to dhcp?
I don't think it works like that
on your dhcp server, you should be able to find the current assignment and "set it as static" - depending on your server - I use a UDM pro which makes it super easy, if you're using an off the shelf linksys router for dhcp, not sure if it's that easy.
If you set it as static on the machine but not on the server, you could end up with the dhcp server handing out the IP to another machine while your machine tries to claim it as well
As long as I put a dhcp ip address range in my router I could assign the port the static ip I think maybe?
That was messing me up for a while. Thank you v much allโฆ.. moving on from the installation section for now
Static ip assignment
Hi guyยดs, new to HA and having issues with how to install/migrate from Pi3 to Pi4, anyone offering online help as a paid service?
Whatโs not working? Should just be a backup, install on the new machine, restore. Right?
If the backup file is too large, the recommendation is that you install HA on the new machine, do the setup and install the SMB #add-ons-archived, then you can use that to transfer the file and restore it afterwards
and cockpit web ui
Hi again guys, have a few issues, 1) the Pi3 wont let me do a backup says "unknown error see supervisor" have no clue to what to do, second when installed on the pi4 ( already built a image on card ) so its ready to start, i would like to have mariadb installed and the db if possible stored on another windows computer to save space
You'd do the switch to MariaDB after you restore your backup
yes, but i would like to migrate
There's no official migration path between database platforms
There are unofficial guides on the forum
No, you missundarstand me 1) migrate pi3->pi4, then add on the mariaDB to the new pi4
Sure, you can do that, and that's what I said
- Restore backup on Pi4
- Configure
recorderto use MariaDB
yes but since the pi3 doesent let me do a backup.....
You did check the supervisor logs?
nope, not sure where to find them, 100% new to this had HA for a week
Open your Home Assistant instance and show your Supervisor system logs
yes , but where please
ok
testt
hi it wont let me send tha file
how can i load up a .txt file on discord
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
Bluetooth adapter hci0 [B8:27:EB:05:D4:56] could not be reset due to timeout after 5 seconds
10:38:12 AM โ (WARNING) components/bluetooth/util.py - message first occurred at 8:47:54 AM and shows up 104 times
Failed to to call /backups/new/full - Unknown error, see supervisor
10:30:11 AM โ (ERROR) Home Assistant Supervisor - message first occurred at 8:57:32 AM and shows up 2 times
Error fetching shellypro1pm-083af2bec5cc data: Device disconnected: DeviceConnectionError(DeviceConnectionError(TimeoutError()))
9:46:30 AM โ (ERROR) Shelly - message first occurred at 9:27:16 AM and shows up 2 times
192.168.100.67: Pong not received, device is likely unresponsive; disconnecting
9:46:27 AM โ (ERROR) runner.py - message first occurred at 9:27:05 AM and shows up 2 times
Config entry 'B8:27:EB:05:D4:56' for bluetooth integration not ready yet: hci0 (B8:27:EB:05:D4:56): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress; Retrying in background
8:58:21 AM โ (WARNING) config_entries.py - message first occurred at 8:50:20 AM and shows up 7 times
Debouncer call ignored as shutdown has been requested.
8:48:35 AM โ (WARNING) Shelly - message first occurred at 8:48:34 AM and shows up 2 times
Error rendering trigger variables: UndefinedError: No first item, sequence was empty.
8:48:31 AM โ (ERROR) Automation
Or ... yeah... just ignore me
That's also not the Supervisor log
I'll just talk to myself... it'll be quicker
Oh... you DMd me
Why the fuck did you do that?
I'm not the only person who can help you
I said it a few times already, but use a code share site
Share the link in the channel, and then people can help you
not enough free space (0.4GB) left on the device
Also check here https://my.home-assistant.io/redirect/storage/
How do i make more room, how to delete shit
Depends what the "shit" is. Maybe it's addons, maybe backups
no backups, no addons, just a lot of sent data, i cannot find how to purge the DB
How much storage do you have?
actually no idea, just an old pi3 that i found
Bets on a sub-32 GB SD card?
32 GB is the minimum... and it's called out in the docs
i cannot find how to purge the DB
https://my.home-assistant.io/redirect/developer_services/
Typepurge
no idea
Go here and see whatStoragesays: https://my.home-assistant.io/redirect/system_dashboard/
Shrinking the database requires enough free space to create the new database...
Excellent
The only way to do that when you're already out of space is to stop HA and delete the files
Which files do i delete after stopping HA in the Pi?
For the database, home-assistant_v2.db
Went around the problem with BalenaEtcher and made a image copy to a 32GB SD
Thanks for all help anyway
I installed HA in a Proxmox VM in an environment behind a proxy, so it's been stuck for an hour in "preparing" trying to get to the internet. If I click on the circle I see it scrolling 'Updater.fetch_data' blocked from execution, no supervisor internet connection. Is there a way to tell HA all http/https requests have to go through a proxy?
creation of home assistant vm failed: ERROR File contains no section headers. file: '<string>', line: 1 '<!DOCTYPE HTML>\n'
Looks like you screwed up the download of the VM image
There isn't, no
crap ok
Does home assistant os run well as a vm in proxmox?
It does
Cool I might wipe this nuc with ha and put proxmox on it first
๐ That's what I've got and works well
Thanks!
is the extension .xz or .qcow2 ?
Yes?
However, you appear to have downloaded an HTML page
You also will need to uncompress the .xz file so you can use it
been there, done that ๐
Most of us have
Not sure what happened but my previously working setup (HassOS on VMware) now won't load. It looks like it loads up but with the error "dependency failed for qemu guest agent". After that, it appears that HA runs on the VM, however, I have no network connection and I can't get into the front end. Anybody run into this?
Can you share a screenshot of that error and check the logs (type login into the ha > prompt)? https://developers.home-assistant.io/docs/operating-system/debugging/#checking-the-logs
Run
systemctl list-units --failed
Then check the services like this
systemctl status qemu-guest.service
journalctl -u qemu-guest.service
Also check with the same commands the other services it tells you about.
Probably best to start from the first one of your boot log. You can check the boot log with
journalctl -b
Seems to be NetworkManager in your case
For systemctl list-units --failed i get 'Unkwon command verb lists-units.'
Where/how did you type this? Can you show me a screenshot again?
How is networking for your VM configured? I'm not familiar with VMware myself but you're surely not the only one here using it
I typed it after ha > login then after the hashtag
Under network adapter, I have device status connected and connect at power on. I also have Bridged and Replicate physical network connection state enabled
Under configure adapters, I only have the one wifi adapter enabled
It seems like it's just a networking thing. But I'm not sure why it decided to stop working. It's using the network card on my laptop and that connection was passing through to the VM with no issues previously
That command definitely works, at least on HAOS 10.x, you might've mistyped it.
Also check ip a | less and see if your NIC is there and check ha network info
Yeah qemu's unit file has
[Unit]
Description=QEMU Guest Agent
After=syslog.target network.target
So if networking fails, it fails. NTP (networking time protocol) will likely be the same
for 'journalctl -f qemu-guest.service' I got the error 'Failed to add match 'qemu-guest.service' : Invalid argument
My bad, the argument is -u for unit. I wrote it as -fu at first to follow but decided that it's better without and removed the wrong arg in the process.
It's not really important though as it's unlikely there's anything else. It fails to load because networking is unavailable so let's concentrate on the networking.
A lot of message boards with the same issue say to disable all the network adapters except the one you are using. Unfortunately, that didn't help me
Try the commands from here: <#installation-archived message>
And the other command? Are you sure the Hypervisor has the correct host NIC given to the VM?
Please talk to me like I'm a 5 year old with a learning disability
NIC > Network adapter
Host > Your PC where VMware is running on
Hypervisor > VMware
I know Host. 1/3 ain't bad
I'll screenshot the network adapters. I don't know what else it would be
According to the screenshot of ha network info HAOS should grab a ip via DHCP/DHCPv6 but I have no experience with bridging WIFi adapters.
Maybe you updated to a driver that doesn't support it. I know that WiFi adapters can have issues with AP mode but not sure if the same applies to this
I have also read about some people having the wrong IP address associated with it so their router doesn't pick it up
or however you say that so it makes sense
The auto method used gets the ip assigned by the router's DHCP server. If they can talk to each other, that is
I previously had it with a static IP. Could that be causing a conflict?
I don't want to rule it out but according to ha network info it's currently set to use dhcp/auto. You can try to change/update the settings via ha network update.
My guess it's a hypervisor thing. You could test by running another VM debian/windows/whatever with the same VM settings and see if it gets network connectivity.
I'd suggest a live linux distro for this as it's quick to do and you have a gui
Like I said, not familiar with VMware. There's probably an option to clone the VM. Do that, make sure the Network adapter doesn't have the same MAC address and then set it up to boot from CD. You can also just create a fresh VM and set it up like you did HAOS. It doesn't need a disk.
I'd use use linux mint as iso for the CD if you're used to windows: https://www.linuxmint.com/edition.php?id=302
THanks for your help
It's late and I think I'm going to try to attack this more in the morning. I'll do what you suggested. I may just recreate the same VM for the sake of keeping it the same, though. And because I've done it that way before
Yup. Let me know if you find out anything
thanks again
Is it possible to use ingress without a supervised HA install? (e.g. docker/containerized)
perhaps through a reverse proxy?
Just deployed HAOS via the .ovf image for vsphere. Is it possible to install an ssl certificate in HAOS?
no, ingress is only possible with supervised installs
however a reverse proxy does the same
ok, thank you
Hello everyone I just get my new bmax 2 pro small pc 8gb ram and intel j4105 cpu with is look better that i5
My question what is best to install to be ready for voice assistant futures , pure hassio or Debian and go with container , to can have separate container for voice needed apps. I am open for all other installations.
I'd suggest virtualizing HAOS with proxmox. You can still run containers on another VM/(LXC) container.
I currently run HA and "addons" in their own docker containers on a debian VM. Lots of choice
I didnโt see reason to keep the window on this small pc. Will use resources for nothing , for that I was plan to instal Debian and go with container. But in YouTube Home assistant team always recommend to be installed them OS , becouse that way they can care of everything. But from what I see for assist voice control , will need separate container and didnโt know how to do that if instal HAOS.
i'm not used to linux errors
ERROR Cannot access storage file '/home/feyaerts/haos_ova-10.1.qcow2' (as uid:64055, gid:108): Permission denied Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start home_assistant otherwise, please restart your installation.
There are addons for piper and whisper for Home Assistant OS
my os is booted in kvm and installed with virt install but i can't acces the browser page
i disabled firewall to test as well
-sh: can't create core: Read-only file system```
where do i put the disk? it's currently /var/www/haos_ova-10.1.qcow2
in /tmp/ it also didn't work and in home/user it didn't even start
Looks like you already have HA installed
sure it is running and i am in the console but i can't acces it from anywhere even with the firewall disabled
this page can't be reached
192.168.0.157 refused to connect
So what are you trying to do in the ha prompt? How is your VM's networking configured? What does network info say? How do you know the ip?
Quick question... I'm just installing HA on my new TinyPC but once it's downloaded I'll need to unplug it and move it to somewhere else replugging everything back in. Will it all still work ok?
If you shut it down properly first. Probably
i'm just trying stuff i found on the forums, idk how it's configured the problem probably lies here, # ha network info docker: address: 172.30.32.0/23 dns: 172.30.32.3 gateway: 172.30.32.1 interface: hassio host_internet: false interfaces: [] supervisor_internet: false
i know the ip cuz i use it to ssh
@vapid sigil I converted your message into a file since it's above 15 lines :+1:
those are internal ips no pc on our network is allowed something else than 192.168.0.xxx
also doesn't work btw
You can use network update to give it another gateway/ip but it had to get that current ip from somewhere. Also check ip a. Type login first to get a shell
@vapid sigil I converted your message into a file since it's above 15 lines :+1:
@vapid sigil I converted your message into a file since it's above 15 lines :+1:
output of ip a ^
Can't see 192.168.0.157 there but hard to read on a phone. Please use a paste site
i'm connected to my console via cockpit on the same ip(192.168.0.157) with port 9090
it might not be there since it's a vm
You didn't tell me how the VM's networking is configured but as far as the VM is concerned that's not its ip
i told you i didn't know and the problem probably lies there
i didn't configure any networking
using kvm btw
I gotta go now but google how to check for listening ports on linux
i can acces it remotely using a playit tunnel on the pc
still have to fix it since this makes it unable to find anything
hello
how do i redirect anything from local:8123 to internal ip: 192.XXX.XXX.XXX: 8123
I'm trying to setup the voice assistant on homeassistant, i've installed pipeline, whisper and openai conversation but when i type or talk it says I couldn't understand that. I just tried to type "What time is it?" And that was its reaction
I am not getting any errors in Piper or Whisper
You wanted #voice-assistants-archived
@raven forge So creating a new VM resulted in the same thing. I decided to reinstall VMware and I noticed that the installation file was a different version as what I had installed. Apparently it had updated. I reinstalled the lower version, it picked up my VM, and booted up just fine. I definitely unchecked "automatic update". Such a dumb problem that took 6 hours of my life last night. Thanks for all your help, though!
whats does cifs: vfs: bad security option: ntlm mean
Did you try google?
yes
that says its not fixable it was removed
It looks like that option isn't supported in Samba any more
how do i install haos to a ubuntu server virtualbox instance
Strange that a newer version breaks it but glad youfigurd it out. Thanks for the update and any time
I've got two HA instances running right now: one on 192.168.1.222, configured with HTTPS, SSL and DuckDNS to be available from the outside, and one on 192.168.1.128 with HTTP and not available from the outside.
I'd like to swap the two. I've assigned the IP statically via the router, so I should be able to switch it there.
What's the best way to proceed? I'm thinking step 1 is switch their IPs and change the router's port forwarding to go to .128?
Or is it better to first disable outside access and get it back to http, then switcheroo, then re-enable? It doesn't need to be accessible from the outside right now.
I'd simply update the port forwarding, having configured SSL and DuckDNS on the "new" host