#installation-archived
1 messages · Page 18 of 1
Lol. That's an interesting comparison.
as you come up with undocumented ways to run this, imagine the support reaction when you come in with an issue
I would buy a pi if I could
Just buy a second hand small form factor PC
Or anything that is vaguely a computer, vs a tablet.
You are welcome to install HA on whatever you like however you like. But if it's not in the docs you don't get support 😉
you will have much more fun setting it up on a proper machine
try to get lower afterwards if you need to
And support means for anything: Zigbee device not pairing? Unsupported install.
DNS issues? Unsupported install.
Update won't install? When they stop laughing at your install method: unsupported install.
I've been running on a 9 year old i5 laptop for years now, works like a charm
Shortly I'll be moving that ||to a nice little Ryzen box||
For me the answer to "why wouldn't you do this?" Is "why would I voluntarily make things considerably harder than it needs to be for zero good reason!"
Thank you for explaining!
jesus, the rpi3 i run HAOS on for now is sitting at 81% memory usage and 100% swap
With only 1 GB of RAM, that's not terribly surprising
(unless that's the 3a, in which case...)
The 4 is better at that
but i'm arguing with my dad if we install it on a old laptop i have which can work as it's own UPS for at least an hour, or an old SFF pc he has that needs a new hard drive, but that's on a 2nd gen i3 i thgink. or maybe even worse a 2ng gen celeron
If it has a CPUMark of above 900 it's faster than a Pi4
2+ cores, 2+ GB of RAM, CPUMark of > 900
my laptop has a score suppsoedly of about 2500.
Then you're golden
eh, the celeron in his new (to him) pc that he got after his previous one broke has a score of 1700. and that's a 2019 celeron
no clue what the old one has
Anyone in here running HA on a MikroTik router?
It sounds more crazy than it is, I swear.
Nah... it's exactly as crazy as it sounds
How so?
It's better than a tablet though, probably
None of those routers are exactly high performance, high spec, kit
I think you underestimate some of their routers...
Also, they're pretty far removed from what's officially supported, so when something breaks you're going to be on your own
It's more powerful than most raspberry pis.
Well, more powerful than a Pi3 is a pretty low benchmark
My toaster's probably faster
It's a 16 core armcortex-a72, at 2ghz, with 16gb of ram...
The same CPU used for AWS EC2 instances.
yeah, that's how I'm trying to go about it. But I'm going in blind, so I was wondering if anyone else had done it before.
I've not heard of anybody doing that
Well then... 😅😅😅
Maybe it IS as crazy as it sounds, hahaha
People running pihole on them seems common...
I thought HA would be similarly common... 😅
that is one cool router
😅 I thought so. 😁
This is the CPU if anyone's interested: https://en.wikichip.org/wiki/annapurna_labs/alpine/al73400
And the router: https://mikrotik.com/product/ccr2116_12g_4splus
That's "slightly" higher up the range than most people who ask about running HA on their router have...
Most people here who ask that kind of question have something from the dark ages of dialup
and its probably still not a good idea to run ha on it unless you want to have your 100gbit influenced by it pretty obvious
Hello everyone, I would like to ask for some help.
I have a new installation of HA, HOAS x86 generic, on a dell optiplex micro pc. In theory, the installation is succesful, I have connected a monitor to the PC, and see its ipv4 IP address, 192.168.1.8/24. I can see 192.168.1.8 in my rooters device list. However, I can not connect to either homeassistant.local:8123, the same without local, directly to the IP, etc, and I cant even ping it from my personal pc. I have checked all the related forum post, but I couldnt find a solution.
One more thing to add, circa a year ago I installed a rpi3 based octoprint server on the same local network, and that worked without any issue. Can someone help me, in which direction should I take the next step?
Thank you, Péter
Have you tried to see if it can ping other devices on the network?
Because it sounds like it simply doesn't have an internet connection if you can't ping it.
I can ping google.com, or my rooter from HA
(typed login, and ping google.com, it replied google.com is alive)
And you can ping the machine you tried to ping it from?
interesting, I can not
Sometimes replies to ping are inhibited by security policies on the device. Windows, for example, by default doesn't seem to respond to pings.
So, ping isn't always a reliable indicator that everything is good/bad.
I haven't tried on a recent linux distro, but I'd imagine it's much the same.
Anyways, all that to say, check from the device if you can use your local loopback to see if the server is up. http://localhost:8123
Also, you should be able to see if there is a service running on that port, or check logs to see if HA is actually starting and running.
I just tried two different android devices, it cant ping them either, dont know if it matters
wifi client isolation ?
^^ definately possible.
if that is what you mean, I could pint the said address from the HA
I suppose that can be turned off in the router, I will search for it
can you reach the octoprint wireless?
I dont have it anymore
to be honest, I dont know, I have limited knowledge in this topic
If you don't know, then they're most likely on the same subnet
https://superuser.com/questions/1516067/how-to-disable-wlan-isolation-on-router-zte-f609
I checked this, I also have a zte router, the enable isolation checkbox is not ticked, I guess its turned off
if I understand correctly, my network only has one subnet
Are you comfortable looking at linux logs?
You could try running sudo netstat -tunlp which, if HA is running, you should see a process using port 8123, and the process name for it.
Because if there is nothing using port 8123, then HA isn't up, and if there is, and it's NOT HA, then it's because something else on that machine is using port 8123.
should I run this while in ha, or not?
How is HA running on your machine? is it running in a container?
I followed the "home assistant operating system" guide, if I type network info in the consol it says that docker is running on certain address, dns, gateway, with hassio interface?
I have also just succesfully pinged my smartphone from my windows pc, so ip separation should be no problem
it is running on bare metal, I wanted to keep it as simple as possible
Hmm, then that's super strange.
I've always done HA in a container, and TBH, It didn't click that this wasn't the case for you until now.
Still, I believe HAOS is just linux, and I'd imagine if you can get logged into terminal, you should be able to check the things we mentioned.
can you ping from your HA computer to the internet or the router?
/bin/ash: sudo: not found is the response
I can ping the router, any external site from HA, but not devices on the internal network
yikes... sudo not found... big ooof on that...
Where is your computer plugged into your router?
Is it plugged in through something, or directly to the router?
my own laptop is connected with wifi, the ha is connected through ethernet into the same router
I runned ha supervisor logs, this is the response:
cant I send pictures here?
oh god
Can you connect your laptop to the router via an ethernet cable?
yes, I will in a minute
because if both, wired, works, then we know it's likely a client isolation issue. if still not, then we know it's likely an issue with how your router is managing traffic.
Also, double check to be sure you're not connected to your guest wifi, or something like that...
I could finally find another ethernet cable, the result is the same, homeassistant.local:8123 is unreachable, own PC and HA can not ping each other
And both devices are plugged into the LAN ports on your router/modem?
Usually they're yellow
yes yes, the router's site also lists them as connected to lan1 and 2
I see their IP address
What model of ZTE modem do you have?
zte zxhn f618
At this point, I'd connect the two directly to one another, using an ethernet cable, set static IPs on both, turn off the wifi on your laptop, and see if you can get them to talk to each other direct. Because if it's not HAOS that's the problem, it's gotta be your router at this point.
To be clear: I'm not saying it's NOT HAOS... it still could be...
But if we can rule out the physical connection and the modem/router, then we have a bit more direction on where to go next.
It's an appliance. Which runs as root by default. You don't need Sudo
Ahhh.
this didnt work, I could not set an IP address for the HAOS yet
however, it is half past midnight here, I should sleep now
I am very thankful for your help, I will try again tomorrow with the direct connection, and I will call my isp if the know anything about the topic
Good luck!
thank you, bye!
Hi I just changed my WiFi and now my neon signs won’t reconnect. I accidentally deleted them from the app and I don’t know how to make the sign reset. I can’t get the WiFi thing back to reconnect. What do I do?
We're not mind readers, by neon signs you could be talking about dumb signs that won't connect to a power plug..... We need more info
It would most likely be a #integrations-archived if it actually integrates into HA
Alright, for all the fellow crazies wondering: I got HA running on my router.
I did come across this issue though: https://github.com/home-assistant/core/issues/86267
But it has a very straightforward workaround.
So here in lies my question:
If I want to import the MOST ACCURATE replica of all my data, logs, history, etc, into my new docker container... Should I use the backup-restore function, or should I hand copy the files from one container to the other?
Also, HOLY CRAP I can't wait to be off this Pi... It's taking like 20 minutes to pull a backup. 😭
PiHole gravity updates were literally like 10x faster (if not more).
You know, pihole gravity update is usually just downloading txts
And updating a docker image is a bit more work than that
Both ways are possible to restore
Just not both at the same time
Well, getting done in 13 seconds for 381,475 entries, vs at least about 2 minutes is a huge difference.
So, the restore link that is supposed to be on the onboarding page... isn't there.
Is this guide still accurate? https://community.home-assistant.io/t/how-to-restore-a-backup/227688
you cannot restore haos backups on container
you need to extract the homeassistant.tar.gz from it and place the contents of the old config where your new container expects it
Ahh, ok.
Out of curiosity, is there a reason restoring from a backup isn't possible on a container?
it doesn't have addons, other than that yea it would be possible but who cares you are going to dive into the system anyway when you set the container up
do I have to worry about permissions or anything?
usually not, the container process runs as root
lord help me, I've broken out ext2explore. I need a dedicated linux box. 😅😭
From reading, it seems that sometimes an un-clean shutdown can corrupt the DB, is that correct?
I also noticed that in the JSON file of the backup archive, it says it's a partial backup... could this be my problem?
none of the ext tools on other oses than linux did anything ever for me I believe
you will need to give us concrete log lines, I have no idea what you mean by partial backup
Inside the backup tar file, there is a backup.json file. One of the entries in that file reads "type": "partial",
oh, I think thats just the options you get while making a backup in haos
full: with all addons
partial: core with your selection
Hmmm... never got any options when making the backup...
if you don't care about your database you can just remove the db file and let it record from scratch
Nah, that's kinda the issue... I want the DB, I've been logging info for a while using HA.
Otherwise I'd just set it all up over again.
permissions on the db file?
What is the server's ip address
Are you looking at a mobile app right now?
Yes
the app alone is not home assistant
you need a different device running home assistant
which is a "server"
Like a seperate computer
yes
Will my pc get job done
If its on all the time and can either be dedicated to HA, or can run VMs
We don't know what your PC is so we don't know about specs
@manic bane soo The pc should running at all times
Given that's what runs your smart home, yes. The mobile app does nothing. The server running on whatever hardware you use needs to be on to do anything
The app is a glorified web browser with a few extra features
Um trying to integrate NFC tags
For automation in Google home like controlling samrt bulbs TV's etc
You wouldn't need Google home for that.
No. I mean, HA is for automations
That's what it is. A home automation server you run in your home. It's not an app.
How do I add the "Supervisor" to the sidebar? (I'm running HA OS on Pi)
Thanks 🙏
To anyone following my HA on my MikroTik router, it's finally working!
Importing the data proved to be the hardest part. I had to compress the /config folder, scp it over to the router in a directory the container can access, use the terminal to get shell access into the container, expand the files and move them into the correct directory.
Turns out MikroTik makes files touched by SCP/FTP/SFTP or the user in any-way, read only inside of containers. Probably to avoid exploits. So you have to extract the files from an archive of sorts, because then it's the container "created" the files and will have full access permissions to them.
For anyone wanting to replicate, I just used the standard docker image with a venv for the time zone and set a mount point for /config to be somewhere outside of the container. (probably not needed).
I also have to run python3 -m homeassistant --config /config in the container at start, to disable jemalloc because it has issues with the kind of processors MikroTik routers (or at least mine) used. Similar to what people have seen on Synology NASs and the like.
Also, performance is amazing. Way faster than any Pi, and only topping out at about 16% cpu usage when you're REALLY loading a lot of data. (I have a graph that shows 6 months worth of data from a dozen sensors at 5 minute intervals, and it loads it pretty quick).
Much as I hate to say it, that may be worth writing up on the forum
You can find the community forum here
There's a community guides section, plus one for showing off your project
its going to the be new "it also runs doom"
Oh man.... that might be a tomorrow thing for me. 😅😅😅
it's 3am. 😭
In the meanwhile, if anyone is looking to do something similar, feel free to DM me, and I'll help in the morning, hahaha. Not sure what Discord retention is like, but hopefully the history will be helpful too.
Night all!
Retention is ages and ages
Forever even
i'm moving from a haos vm on a mac to haos on a nuc tonight, is there anything that is going to trip me up? or do i just download and restore back ups
That's all
i think i've already found a way to screw it up
when flashing the image to a usb drive its creating 6 separate partitions?
is that correct?
It creates partitions, yes
You can boot the new install and poke around instead of restoring - just to check you're happy - and then restore
ah. ok. thanks. bit more work in getting it moved over than i realised
the nuc already has internal storage
so i need a live distribution first then write to it?
i misunderstood what i was meant to do. RTFM lol
Hi guys new to HASS. I have ordered my Home Assistant SkyConnect USB Stick which is on backorder so just thought I start researching etc. I have installed Home assistant on virtualBox and can get to Home assistant but missing stuff on the left like configuration, supervisor etc. Does this only show up once I add the Home Assistant SkyConnect USB Stick or am I missing something?
You're looking at outdated guides
The configuration menu was renamed settings ages ago
The Supervisor menu went away long before that
oh ok
HA releases monthly, so any guide from before the current month risks being outdated. The older it is the more likely that is.
Any good recent guides you can refer me to?
The problem is that there's about 42 billion things you can do with HA, there's not really "a" guide
right
Ok a quick question. I go to stop the virtualbox and it seems to have three options. Save state, something and Power off. Choosing power off it warns me all unsaved configuration will be lost. Is that from VirtualBox perspective or HA? Do I save current state or is that separately done by HA already?
Treat the VBox as an actual machine
If you power it off you turn off the power to the "PC", so anything you were doing will be lost
If you save the state you're "hibernating" the "PC" and can carry on from where you were
So if you wanna start where you powered it off that state is being backed up by HA already ?
Well, if you use HA to do a clean shutdown the state is saved
At the moment waiting for the usb so only starting it when I wanna tinker with it more, then power off
cool
thanks
Powering it down from VBox is typically like yanking the power cord out of the back of the PC
Not A Good Idea
Ok just fired it back up. Options are Save state, ACPI shutdown and Power off
Save state == hibernate
ACPI shutdown == tell OS to shut down
Power off == shotgun to the head
You rarely want to use that option
ACPI is great, when the OS is going to notice it
meaning?
Well, when it works, great, when it doesn't ... not so great
Just use the tools inside the VM to shut it down, don't use VBox
You can shut HA down from inside HA, that's the sane option here
every hypervisor has its own way of implementing the acpi signal,
you need the proper tools installed on your guest
These options are on the Vbox
they normally come included in haos
Ok where is the shutdown in HA?
Also I chose the keep me logged on and cant seem to log out. I am hopless
lol
c and search for shutdown
did the update just get pulled?
"The update"?
yeah I got an update when I logged on today
c and search no shutdown....
Various settings are hidden unless your user profile has Advanced mode enabled. These include some add-ons, the Lovelace Resources menu, server control options, and more.
You may need that, I don't use HAOS so I don't know
RPC Shutdown?
advanced mode is ticked
found log off in profile. yay
ok now for shutdown. Seems to be a addon. Is this right?
No
successfully transplanted! woohoo!
hmm then where is it?
@craggy oriole When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
ok thanks man
Settings > System > Hardware >
> Shutdown system
Migrating my docker install over to another machine and when installing supervisor i get this error
homeassistant-supervised depends on os-agent:armhf. Not sure why though, my architecture isn't arm, it's a 64 bit intel processor. i installed the _x86_64 os-agent.
Your first mistake was running Supervised
Save yourself the headache and either install HAOS or Container
or core you mean?
Nope, I said what I meant. Core and Supervised are both not recommended
oh, container is to me to then. I just assumed docker was container
3 of the 4 installation methods use docker
container is the install method where you pull the image for this container yourself
yea i did that, i was just trying to add supervised in order to get the HACs store, i know not recommended or supported but it was a nice easy way to just add things in like esphome
you don't need supervisor for hacs
For the add-ons?
If you want add-ons, run HAOS. Otherwise run Container. Add-ons are just Docker containers
i have hacs, i just liked having the "add-ons" store to navigate to
Run HAOS in a VM if you don't want to run on bare metal
ah, i'm daft. I thought add-ons was related to hacs. I must have borked something because i don't see the add-ons store in my HA and even though i've copied everything over including backups they don't show in in HA.
Hi, I installed HAOS on an old pi3 board while waiting for a pi4 to come in stock. I plugged a SSD on the pi3 to save the sdcard.
Today I received my pi4, burned a new SD, restored my backup and pluggued my USB devices. Everything works like a charm but... the SSD is not recognized. I pluggued it on my computer, it works and I can see HA files (about 1.5Gb when the backup I restored was 150Mb).
Should I format the SSD ? In that case, what data will I loose ? Is there another way to migrate ?
Can I create and edit my compose file through windows terminal?
Well, you shouldn't be running Docker on Windows
windows terminal? you mean command prompt?
I'm running docker on a pi4 to install HA but I'm SSH via Terminal in windows
Then sure ... use nano or vi or whatever command line editor you want
Hell, if you really want to you could even install emacs
It's just a text file... any text editor will work, though it's on you to get the YAML right
I'm quite new so not sure on the smartest way to go about it
nano is fairly user friendly, and likely available by default
I have a keyboard and mouse plugged in to the pi so I could create it directly on there but it doesnt feel like the correct way to do it
Your other option is to install Samba and use something like Visual Studio Code
Thank you, I will read up on that
How can I scroll through a log from the command line?
I usually use ha core logs | more, you'll need to login first if you're at a ha > prompt
After <login> the prompt changes to #. There the command <backup> does not work.
ha backup
thanks. ha was missing.
Hello there. I freshly upgraded my homeassistant (after over a year of not touching it) and now it doesn't work - UI loads, but all entities are dead. The check config command complains about mqtt - looks like there were some major changes
My question - what is the base/minimal configuration.yaml? I moved to new home and most of my hardware is gone, so I'd rather start from scratch.
do I delete it completely?
@unreal quartz better to delete everything including hidden directories within the config directory
completely? everything? ok
yes, then you will need to reboot the host as HA will complain if you try to restart
and after that you would start with the onboarding again, so create a user, etc
got it. I deleted everything (left a backup in separate dir), rebooted my rpi. homeassistant is loading
okay, so it looks like it doesn't like when I try to connecti via https://
the onboarding loaded first when I changed to http, so not secure connection
that'll have been reset when you wiped the config dir
Hello guys, I have a problem after my fresh installation of my home assistant operating system on a small pc. I had talked with a few helpful guys here, but we could not solve the problem.
The HAOS pc is connected to my network via an ethernet cable, and it can reach the outer web, I can ping google.com from it for example. It also shows in the list of devices in my routers control center. However, the home assistant is not seen at all by other devices on the same network, which can actually see each other. Home Assistant is the only thing that can not interact with other devices in my network.
What I have tried:
Using ethernet cable both for my computer and the ha
Trying a different cable for the HA
Reading the log, checking for connection error
Restarting everything
Checking if my router has IP separation
Giving ha a static local IP
I am running out of ideas, can someone help me out?
yes, also the ping doesnt work towards HA or from HA
windows 10 PC-s, android smartphones
what url are you using in a browser?
homeassistant.local:4357 or 8123, the same without local, the same with http://, every combination of these
Try the IP instead of homeassistant.local. That relies on mDNS which often times doesn't work
oh yeah, I also tried to IP, doesnt work either (192.168.1.9)
To ask the stupid question: you tried the IP with the ports?
no no, I tried both ports with IP as well
Good, just double checking! 🙂
yeah, I know
I just have really no idea where to look any further, I can not find any similar cases in forums
You don't have some kind of privacy thing on your router set? Are other devices on 192.168.0.X?
My router is working with default settings, so I suppose not, also other devices see each other, ha is the only outlier
others are all on 192.168.1.x, home assistants ipv4 is 192.168.1.9/24, so by my understanding, the subnet settings are correct
if you have access to the console, what is ha network info showing?
hopefolly this link will not fry your computer
https://imgbb.com/ its from here, if you want to check first
For whatever is worth. I had the same issue connecting to home assistant.local:8123 for two days and after two days of trying different things it sorted itself out after rebooting the mini PC it was loaded on. HAOS on Proxmox. Disclaimer...learning as I go
Folks, I'm changing router this weekend - same ISP but new contract, new router etc. Is it simply a case of reset every device, re-add it to the new SSID, give it back it's IP, or will I need to delete the devices and fully re-add them?
Do you already use static DHCP leases?

I suppose the tumbleweed was for velocitycs 😄
Sorry, static IPs for my mix of Tasmota, ESPHome etc. My crummy ISPs router pretends to do static leases but it never works
Then... configure the new router with the same IP range, same SSID, same password
Prolly the simplest option tbf
Kind of struggling with my HA install on docker, I'm trying to follow along with the guide but knowing very little/nothing about linux it's very hard to really tell whats going on I feel. Seem to be unable to connect to my instance even though docker claims it's definitely running. Just nothing on port :8123. It was working fine when I tried booting hassos off a usb drive.
Should it automatically map the port? I didn't see anything about this when creating the container but it doesnt seem to have one assigned
How did you create the docker container?
followed the instruction on the HA install page, non-compose one
Any particular reason for the non-compose instructions?
Compose is a heck of a lot easier to debug 😉
Because I have no idea what I'm doing so was following along from top to bottom 😬
Alright, I suspect you missed copying and pasting a bit of the command—the bit that maps the ports
I don't think it specifies anything specifically and the compose one doesn't seem to either
it made all the config files so it definitely launched correctly as well which is why I'm confused as to why it's not accessible
ok remade using docker compose
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /opt/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
network_mode: host```
But still no dice, just getting 'can't connect' even on localhost
Not sure if this is an obvious question, if I am running HA OS on a Intel NUC, can I simply add additional ram or do I need to do something else?
Did you check the logs?
which ones? Sorry as I said I genuinely have no idea what I'm doing, just following along until I can go back to using HA's GUI
HA logs in the container
Is https://registry-1.docker.io down for anyone else? I can't seem to pull HA...
docker-compose logs --follow
It seems to be working for me
nothing there, just saying it's started successfully
You're not getting a 404?
docker.io things which go through their registry are working fine.
The base URL isn't intended to return a webpage from what I remember
yeah, i get that, but even when I try to pull an image, it gives me a 404 on https://registry-1.docker.io.
It was working like 4 hours ago too...
It worked for me just now
404 here too for what it's worth
Interesting... maybe it's geographical?
what part of the world are you in? east coast NA by any chance?
EU
lol
so much for that theory, hahahaha
did you get your 404 with your browser or when trying to pull a container?
browser
hmm...
Well the browser would return a 404, that's not a website that you're supposed to go and poke around.
@brazen herald are you sure you're using https://registry-1.docker.io ? and not something like https://registry-1.docker.io/v2/ to pull containers?
bc v2 seems to work, but I can't use that in my setup.
It appeared to work just now 🤷♀️
weird...
well then...
Is there a way I can pull the container image without using docker pull?
like manually and then install it that way?
Well you may be able to pull it from another source
Ok so I can ping the IP so I know that that works. tried http and https, nbeither work. wtf am I doing wrong lol
none of these work
What about http://<ip>:4357 nevermind I think I was confusing you with the other person who was on HAOS and having connectivity problems
And what do the logs say?
nothing relevant 🤷♂️ just that it started successfully
And when you try to connect to it?
the only thing i see that isn't just a straight up 'x started successfully' is
services-up: info: copying legacy longrun home-assistant (no readiness notification)
doesn't seem to log anything
same thing
both http and https
Are you using a previous config?
nope, fresh install on fresh ubuntu, never used home assistant before
So you pointed the config folder at an empty directory?
yes AFAIK
I guess I can nuke the container, make sure and start it up again
but either way if there was any config file there (from the last time i tried and failed last night) I certainly hadn't changed anything in it
ok, did that. no change
Very newbee here. I've just received my HA Yellow POE rev.1.3. Installed my 256GB NVMe. Now I need a CM4. As I think the Yellow has wireless already on it, do I need a CM4 with or without wireless? Not sure which one I should get, can someone help? Thanks.
You might look into docker save and docker load if you'd like to get images onto a machine that can't pull them directly from the Internet
Yeah, that's what I did...
It's working again now though...
well, all except pihole... which is weird.
Ubuntu, HA and Pihole dockers all stopped working, and now all are back except pihole.
(which excludes pihole as being the issue, since that's the only one that doesn't work, and the others work fine with or without it... and it's not set as my dns server anyways... and I was getting 404s not domain not found errors)
idk
🤷♀️
anyways, pihole is running using docker save.
ha is going back on now too, so all seems mostly good.
Now I'm starting to doubt my sanity, because apparently there is an issue with buildx and I doubt ha, ubuntu and pihole all pushed an update within a couple hours of one another today.
my hass has gone entirely down
using home assistant os
i think its from an update, is there a backup i can rollback to or anything?
you're responsible for setting up backups :/
If you're running it on a Pi off an SD card then theres also a chance the card corrupted. As the other reply said, you're responsible for backups
If you connect a display to the device you can see what the output says if there are any errors
can't restore from backup if you can't get to your backups. also yeah as calmelb said you card might be corrupt
Alright, my guide is up!
If anyone else wants to run Home Assistant on their MikroTik routers, here's how you do it!
https://community.home-assistant.io/t/installing-home-assistant-on-your-mikrotik-router-with-containers/522428
Please let me know if you find any mistakes or anything that needs to be corrected, and I'll update it right away.
I'm also just over 24 hours into actually knowing more than copy-pasting commands when it comes to docker, so please feel free to check my work or point out mistakes.
Okay this is really starting to drive me insane. day 3 trying to just be able to install home assistant and it's just not fin working. Docker container on Ubuntu 22.04. Fresh install. Made the container with compose. I can't even reach it on localhost port 8123, while I can reach my other container perfectly fine.
I remade it something like 4 or 5 times by now. It's booting since logs in docker don't show anything weird and it's creating all the config files it uses every time I run it (I delete them when i delete the container).
But I'm getting absolutely 0 sign of life from the thing other than docker telling me it definitely works
home-assistant.log completely empty
What networking did you configure?
Also what logs do docker logs share
nothing in particular since HA handles it itself afaik. I tried to specify ports in one of my remakes but it discarded them cause I use host network.
Docker logs dont say much other than services starting
Yeah host is what you want
Try posting your docker-compose then for HA
didn't use anything particularly interesting to be honest, just following along with https://www.homeautomationguy.io/home-assistant-tips/installing-docker-home-assistant-and-portainer-on-ubuntu-linux/
so homeassistant: container_name: homeassistant image: "ghcr.io/home-assistant/home-assistant:stable" volumes: - /opt/homeassistant/config:/config - /etc/localtime:/etc/localtime:ro restart: unless-stopped privileged: true network_mode: host
Yeah that looks about right to me....
actually on one remake just now it did put something in the ha logs for the first time which was
the system could not validate that the sqlite3 database was shut down cleanly
Privileged isn't needed, but also won't stop it starting
Also to be sure, you're doing
http://localhost:8123 ?
yep. I also have portainer running which works on localhost
since it's a fresh OS install I've just nuked everything (didn't have anything worth keeping anyway) and am just going to start from scratch... see if I did something wrong along the way
My HA just crashed, but it seems in the logs I only see everything AFTER the restart. Where do I look to find the reason for the crash?
Oh wait... the log.1 file of course. 😄
silly question, but when you start the container are you doing docker-compose up -d? Thé -d is important so it's in detached mode, meaning exiting watching the current logs will not stop the container
Yes, I did
(Not because i knew that, that';s just what the guide i was following said to do)
Is there a particular reason why you're doing a docker install on Ubuntu instead of just running HAOS?
have an sff box and it's a waste to just run HAOS on it
so I'm doing this now for future scalability
or rather uh
so that I don't have to redo everything if I wanna run something else, too
Fair, I'd pick Debian as the base OS personally.
I have plenty of experience with Debian, and the last time I tried Ubuntu it just seemed like it offered zero advantages and a whole bunch of rubbish like The snap store which has things like a horrible unsupported HA in.
I've just redone absolutely everything down to the letter as specified in https://www.homeautomationguy.io/home-assistant-tips/installing-docker-home-assistant-and-portainer-on-ubuntu-linux/ (apart from running ubuntu desktop instead of server) and I've got the exact same result
portainer works, ha does not. no log output, nothing
Something weird is up. I'm sorry I have no idea what!
Have you tried searching the subreddit/forums/this chat to see if anyone else has had this same issue?
Oh god did someone actually put that on the snap store
(Though also snaps are the reason why I ditched ubuntu as any further desktop OS)
tried pulling ha from docker's source but no dice there either. I genuinely do not understand what it is that's going wrong
I have a bit but since I have absolutely no direction it's hard to find relevant answers
'can't connect' could be a million different things, most of them irrelevant for me
Unsupervised is on the snap store.
@manic bane I converted your message into a file since it's above 15 lines :+1:
Stupid bot
Better than supervised but still....
@hybrid knot I converted your message into a file since it's above 15 lines :+1:
@manic bane thats mine, so nothing weird there i dont think
Do you have that gap actually there
no lol sorry
Thought so, but was the first thing that stood out 😄
it builds the image as normal, says it's running on docker
but just doesn't seem to do anything? It doesn't output any logs in config even
🥲
well that kind of implies the issue might be elsewhere, not with the ha install...
which doesn't exactly help
Yep... since I copied your compose all except the portainer stuff (as it shouldn't be affecting it) so it seems something else is causing issues
I don't have a static ip set but i don't think it should matter when i can't even get it to work on localhost
Hmm, wait, how are you trying to make it work on localhost
just going on browser and putting in localhost:8123
That won't work, localhost is for the device its on only
do you run a firewall? might be worth a shot to just stop them
So the IP for the server is what you're looking at
You said you're on headless debian though
afaik ubuntu uses ufw
*ubuntu
Ahh
I thought it went the other way around
Then maybe just try disabling ufw (the firewall)
let me try that
Because it certainly seems like some sort of networking
sudo ufw disable right
Also does it give you an error if you access it? Or just loads and says can't find page
just tells me I'm unable to connect
http://homeassistant:8123 and http:homeassistant.local:8123 both tell me server not found
no change after disabling ufw
could also be some ubuntu docker desktop shenanigans, how did you install docker?
which part, engine or desktop?
Only try IP address:8123 from here on out
Forget the friendly name as you test further
okay, unable to connect using that also
sus
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
(^I don't know if this worked, I think it didn't give me any response when I did it...)
sudo apt-get install docker-ce docker-ce-cli containerd.io```
then
sudo chmod +x /usr/local/bin/docker-compose```
which also worked
I installed desktop with the .deb from the docker website and then used ubuntu's software installer since
sudo apt-get install ./docker-desktop-<version>-<arch>.deb
told me the file was unsupported
of course i changed the filename to the actual file
besides that docker-compose is at v2.15.1 looks ok to me.
👀 why did you install docker-desktop afterwards?
because I'm shit with terminal and felt like it would be helpful to have some visual representation of whether what i'm doing works
so... portainer and docker and also docker-compose did not cut it?
Terminal is still very easy to use
portainer is mostly to do this from a different machine when I'm done setting it all up
Thats what ssh is for
As I said I really have very little idea what im doing, last time I used linux was like 10 years ago and I've never used docker or anything lol. I just wanted to set it up right the first time but didn't realise what an insane pain it's turning out to be
I know I am doing something wrong here, but hear me out.
I am trying to record a severely corrupted HA instance.
It's a Virtualbox Linux and I have only access to the VM Cli window
is there a way to perform installation operations such as pip3 etc. from this position in the cli terminal?
I have a backup of this system, which was created before the issues started, but for some reason I cannot recover it in a brand new VM
It's almost 7gb with all DBs and InfluxDB databases
I am not sure if this is too much for the HA backup to handle or what.
You may have to set up the new HA install then upload the backup and restore
I've tried that and had the same result
https://i.imgur.com/jZguwDR.png It's doing this for 40-50 min
Upload the backup via SSH or Samba or another method, then use ha backup restore on the command line
When I once tried to log into the instance, it was a mess with half of the addons in, no DB (Maria was missing), etc.
But the upload seems successful.
It goes in and presents the list of things in it to select
Then you may need to restart the host as well afterwards (well restart the VM)
Also to be sure, you were using HAOS right
You mean start the VM, upload the file, reboot the VM and try to recover?
Start the VM, set up HA as new, Samba/ SSH add on and upload the backup file, ha backup restore on the VM CLI, then restart the VM
its strange that nothing is appearing in my home assistant logs, right? Could it be a permissions issue?
I think it's more likely that the web restore just can't handle such a large file
Sorry referring to my own issue there
I just logged into the instance and the dashboards are in, some devices work but as was before the MariaDB, influx, etc are all a mess or non existent
@manic bane just to clarify, you mean I shouldn't us the upload feature of the backup section at all to get the file in to HA?
?
It uploaded the file seemingly without an issue by going to the right top corner and calling an upload then browsing for a file
It uploaded, showed correct size and content
Yeah sometimes the web interface can have issues though
Just need to figure out how to upload it through Samba, never used it before.
Maybe WinSSCP will be quicker through SSH
While I have you though how can I look at the logs from the VM CLI
And second how can I run any command related to the OS, like pip install, etc.
I had a glimpse into the crashed HA yesterday for a moment, and it seems to have had the python corrupted.
The VM loads up but the :8123 gives a 404 error
There is no pip, everything except a pure core install uses docker
made a new container using the 'run' button on docker desktop's images tab
shudder
I still love docker compose and terminal
If you have ever browsed a shared directory from another PC using a file browser you know how 😛
Sure did....15 years ago...
Just need a refresher
Will figure it out.
Elected to use SSH and WinSCP, since that was quicker.
Understood, in that case is there a way to rebuild the OS and HA underneath the existing corrupted instance from CLI?
Thank you @brazen herald @manic bane @low notch for the help
seems to be working fine now 🙂
I've followed your instructions but the ha backup restore expects additional arguments
My backup is a partial with a lot of things in it. Any ideas what the expected argument would be.
Error while executing: accepts 1 arg, received 0
ha backup restore -h
I've tried giving it the slug number as indicated in the examples
But it returns Processing...Done
Error: Unknown error, see supervisor
ha su logs
c36bc4ba is only a partial backup!
Sure it is, why is that an error worthy of stopping the process.
Partial backups don't restore any add ons btw if thats what you're intending
I don't think they really do much at all
Why would they have a list of selected addons?
They do recover the majority of things actually - the only reason i went for a partcial is not to put massive video files in the backups
What exact command did you run?
ha backup restore c36bc4ba
If your file is a partial, then that won't work. You have to specify what you want to restore from it
Sure, hence my question above if there is an option to run 'all'
I wouldn't want to list them since i can miss things
"all" would be a full backup. You can see what's in the backup with ha backup info [slug]
all that is available in this partcial backup
i do have the list of addons so should i list all of them then?
Yes, list all the ones you want to restore
this is including their respective prefix codes?
The slug of each addon
it's the name of each add-on
oops, didn't mean to reply to that
|| how embarrassing ||
so ha backup restore xxxxxxxx --addons core_configurator would restore the config for that add-on
Well that will be a long command then...
a partial backup could contain 5 add-ons, and you might only want to restore one
and then if it's a folder, you would use --folders <name of directory>
Sure, but conversely, i was hoping for being able to just say all of the above add-ons, folders and configs.
Ok not out of the woods yet lol. Found something else bizarre... I exited the docker container but HA seems to keep running? Then when I tell it from the web interface to restart, it says "Failed to call service homeassistant/restart. The system cannot restart because the configuration is not valid: File configuration.yaml not found."
thing is I now have no idea where my config folder is
@tawdry kindle are you trying to get to a working UI?
dammit again!
I have a working UI of a fresh HA and a seemingly working Partial backup
Just use the ui and restore
My electricity provider killed my instance yesterday and I've been instructed to use the CLI becuase when I try to use the UI some addons are corrupted
wat
For example, MariaDB give gibberish.
using the cli isn't going to fix that
Here
As per this part of the conversation, the restore functionality is not reliable, and I should use the CLI
I didn't want to question someone with a nicely colored name... 
Well, in that case it doesn't.
you've already transferred the files, using the ui would to restore it would be the next step
if your db is corrupt, it's corrupt
Did try to move it using SSH before and restoring it from the UI.
The DB wasn't corrupted when I made the backup last night, so why would it be now, is the next question...
go to the ui, select the backup, choose partial restore, choose the mariadb add-on
Should I also restore it with the core config,since the DB will be without any entities having no config.
ha will be the version of HA, that's not really needed
So just mariadb then?
@covert vessel I converted your message into a file since it's above 15 lines :+1:
Work in progress. Should it reboot on it's own?
Before it was always an issue as it was getting stuck
@covert vessel You're still in the wrong server for this, same as before
When I did the whole backup at once with all the addons
you can watch the supervisor logs to see when it completes
OK, done!!
Something is definitely wrong with this MariaDB .db
2023-01-21 15:42:46 0 [Note] InnoDB: Uncompressed page, stored checksum in field1 604463110, calculated checksums for field1: crc32 2108187058, innodb 957667765, page type 39246, stored checksum in field2 0, innodb checksum for field2: 2264829682, page LSN 67190784 1667201451, low 4 bytes of LSN at page end 1879631880, page number (if stored to page already) 2617628677, space id (if created with >= MySQL-4.1.1 and stored already) 78860800
2023-01-21 15:42:46 0 [Note] InnoDB: You can use CHECK TABLE to scan your table for corruption. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2023-01-21 15:42:46 0 [ERROR] InnoDB: Failed to read page 308050 from file './homeassistant/states.ibd': Page read from tablespace is corrupted.
2023-01-21 15:42:46 0 [ERROR] Plugin 'InnoDB' init function returned error.
2023-01-21 15:42:46 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2023-01-21 15:42:46 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-01-21 15:42:46 0 [ERROR] Could not open mysql.plugin table: "Table 'mysql.plugin' doesn't exist". Some plugins may be not loaded
2023-01-21 15:42:46 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2023-01-21 15:42:46 0 [ERROR] Aborting
230121 15:42:46 mysqld_safe mysqld from pid file /data/databases/core-mariadb.pid ended
I was never able to recover/repair it successfully before, and I have no idea why it gets corrupted while backing up.
The reference in the link is not very helpful either, since it's a generic mariaDB documentation beyond my understanding of the matter.
@crude inlet if you would be able to offer any assistance how to proceed, beyond losing all my long term stats, that would be appreciated.
In the meantime i'll try downloading an older backup from the day before.
i've hit a problem with my home-assistant installation and im not sure how to solve it, I've got home-assistant supervisor installed as a docker container on arch linux, HA does run, i can access it and all.. only problem I'm having is with DNS resolving, it seems to be tied to running a mullvad vpn instance outside of docker on the same machine, whenever i disconnect the vpn dns resolving works, but with the vpn connected it doesn't work, normal pings directly to IP's does work however.. I have other services running outside of docker of which traffic needs to keep going through the vpn so I would rather not move the vpn to a docker container, could anyone give me some pointers on how to solve this?
Hi
I can t connect home assistant
I tried http://<@IP>:8123 or https://hassio.local:8123 1…
My raspberry pi is connected to an SSD.
Could you help
Hey, i have the dead simple problem that my boot ssd is not recognized for... No apparent reason. Its on an ssd wich i etched following the instruction, and is plugged in a pc configured as the site said.
With a pi? 3 or 4? Is it using an approved ssd adapter?
A computer, a medion small one
It detects the ssd in bios..its connected with a usb 3 to sata adapter connected to the ssd
Yes, yes, yes
As said, i followed all instructions on the site
Thats why i cannot figure it out xD
Hi
@brittle sail what should i do if these 3 criteria's are checked?
Hi, my turned my power off today and now my pi4 with HA on an ssd wont start anymore. Is there a way to fix this? 😮💨
I can see all the files on the ssd (hassos-boot)
Did you shut HA down first?
Do you have a monitor and keyboard you can connect?
Already did
Is shows black screen, sometimes some code lines
Its keeps booting restarting or w.e
Yea i have an backup on phone luckly but i just made some changes in some automations 🤣
Dont want to do itt all over again. But i think its the only way lol
I did pull the plug alot when i was on sd card and now once power off its corrupt.. like wtf
With ssd its corrupt -.-
Pulling the power on a running system is a Bad Idea ™️
not with that attitude
You can take this opportunity to buy a ups so power loss won’t cause this again
The battery thingy?
The battery thingy
😅🤣
If you buy a battery thingy and put it on a pi-ey then if you lose power thingys wont get all fucky wucky
Too much?
get one for your whole network + pi
Highly recommend for any tech you care about
🙂
🤣
I like how long it took me to process what you were doing
my brain hasn't been destroyed by y'all yet
You must’ve not spent enough time in helldesk
Make a fool out of me 🥲
Nah man we’re all friends here
APC
🥶
If you need or want rackmount ones you can buy used ones and replace the battery
I demand answers
U should go with dpd
Raspberry pi 4 shit with zigbee and zwave controller for sale
Evrything fckd up and then im done with eveything 😅
Hey, i've been using docker as OS for a little while on my RPI, but wanted to migrate to the container installation.
Ive successfully installed the homeassistant and nginxreverseproxy images on my docker installation, but im getting some 'Login attempt or request with invalid authentication from [xxx]' errors, even when websockets are enabled in my nginx config.
I have added the http integration to allow the trusted proxies, and made sure they are using the same docker network but am still getting this error. Any ideas?
Homeassistant log file entry:
2023-01-21 19:26:35.409 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.178.28 (192.168.178.28). Requested URL: '/api/websocket'. (Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.3.1 Chrome/94.0.4606.126 Safari/537.36)
I have cleared my browser data before logging in again, so it cannot be an invalid token
^ This all is on a clean install of raspbian lite using the latest version of docker, docker compose, homeassistant and nginxreverseproxy
Hello, i want to install HA on a raspberry pico w that is running mosquitto and nodered. Any tips beside the instalation guides ?
ok, i'll move my system on pi3
I'm pretty sure even a pure Core install will fail due to a lack of RAM
pi3 b+ is the bare minimum pi
And, honestly, almost anything is better than a Pi
Pico doesn’t even run an OS lol
Except a toaster, mostly
HA on ESP8266 or bust
haos we need our addons too
what do you recommend hardware wise beside Pi ?
Just about any PC from the last decade will do
2+ CPU cores, 2+ GB of RAM, CPUMark of 1K+
hey, anyone knows what to do if you follow all the steps of the guide to install HA on a x86-64 computer, but that it cannot find the boot media?
Is UEFI enabled?
The zero is still terrible
yes, the tutorial said so
I'm installing the dev environment, is this the correct room?
Developing a HACS integration
zero had my back for the last 2 year for mosquitto and nodered
It's not enough for HA
yeah i understan that
Then #developers if you're having issues with the development environment
what is so demanding on HA, i need to read more about it
nothing is so demanding
a pi zero was introduced like 8 years ago and has 512mb of ram
hi can anyone help me i installed home assistant on my rasbarry pi 4 via rasbarry pi os but when searching on the net i can't find it only find it from the app
it's a slow device not good at much
Take your pick, either flash HAOS to replace the Pi OS, or use Docker (aka Container)
is there a way to controll if Ha os correctly installed on your boot media?
You just flash it following the docs
well something is not working cause i cant get HA to install itself
every single video or doc... well they plug it in, configure the bios and it boots
If UEFI is enabled and secure boot is disabled, then there's more likely something wrong with what you flashed to the drive
well that is why i asked xD
how can i check it?
cause from all i can tell even the bios detect its a boot media....
a "boot media" does not need to be bootable to be detected as such
its just another block device
either way it does not work if i follow the instructions on the site
so what should i do ?
did you write it to a ssd? how did you do it? and I don't want to hear "according to the docs"
balena etcher, from url, copy pasted the url, selected my ssd, selected yes, waited till it said 'done'
According to the docs
its a new 240GB kingston ssd connected via an usb 3 to sata. usb 3 ports are used to connect to my computer or the HA machine
using usb is just "attaching" a drive to your computer
not installing it
you failed following the docs
usb3 might prevent you from booting haos because your usb3 pci card is not supported or whatever
"Attach the Home Assistant boot media (storage device) to your computer" is step 1 of the docs
where do you read that?
because I see
- If you used your desktop system to write the HAOS your boot media, install the boot media (storage device) in the generic-x86-64 system.
https://www.home-assistant.io/installation/generic-x86-64 i found it here as the first step of 'write the image to your boot media'
oh then i did not understand what you refered to correctly
my bad
oh at start up your generic
yes step 1, i use the usb3 directly connected to the motherboard
and I just explained to you that this is not how computers expect their internal storage to be, attached to some usb port
even if the bios is configured to receive them ?
i do not use a pcie usb card, its the usb directly attached to the motherboard
problem then, isn't it?
it is yes, but it would be logiccal.... if i hadnt already run HA on that machine
HA has already ran on it, its just that im doing a reinstall
with a fresh ssd
yeah im not getting it either....
ubuntu already booted of that port too so i am confusion
haos has apparently no support for your usb3 ports. at least not at boot time.
eh, I repeat myself
oh, haos does not support usb 3 at boot?
oh thats new
well thank you for that!, i wish they wrote down to not use that method xD
That’s not what he said
'no support for your usb 3, at least not at boot time'
the computer i am using has a standart usb 3 connection
hi, is possible to install on one sd card homeassistant and octoprint? will it work together? I have pi 4 - 8gb ram version so hardware should be ok...
Well... maybe
Home Assistant OS + an add-on for Octoprint yes
HA Container + any other software you want, yes
yes... Docker and HA + Octoprint
I will try and leave here a message later...
you would want a pretty lightweight HA install. Any hitching with octoprint doing a print will result in some fun "zits" or blobs.
It will fail
That’s usually due to power loss recovery enabled with creality shipped butchered marlin firmware
I thought that! 🤣 it will have some "lags" for printing...
its shame that there is not enough of pi's
Find something better to install home assistant on and reserve pi for printer
I like that idea
I have 5 pi’s one for each printer
I'm about to consolidate my two printers onto 1 pi so I can have another pi 😛
I already yoinked it actually
using fluidd though
you mentioned sd card too, if you did use a pi, an sd card is asking for trouble
for HA*
Since you immediately started to try to install things alongside your HA install, I would not get a pi.
use*
ok 🤣
I am a complete newb to HA. I am running a docker with HA and it doesn't seem to be updating properly. It will not update past 2022.12.8, any ideas of how to fix?
Has anyone experienced the following error when booting into HA OS in VM
https://i.imgur.com/PSwDHLy.png
The VM was shutdown ungracefully once and now it fails to boot into the interface and produces a 404 Error code when trying to load the interface
And then runs these in a loop https://i.imgur.com/JGaDqKC.png
I've tried supervisor repair and VM reboot to no avail.
Installed on RP4 via the OS image.
I'm in a situation where I can't install the SSH addon because the Supervisor failed, but I can't diagnose the Supervisor because SSH isn't enabled. Any suggestions?
You can view supervisor logs there
Oh, I can't upload screenshot here.
23-01-21 17:20:46 WARNING (MainThread) [supervisor.jobs] 'AddonManager.install' blocked from execution, system is not healthy - setup
The only warning in the supervisor log tab, no errors
23-01-21 17:43:27 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - setup
I hope that's on purpose 🤔
Anyway, the logs aren't looking like they'll help us fix this 😕
I could do a full backup, reinstall, and restore it. But I'd rather not, if it can be helped
Hi guys. I'm trying to recover a backup onto a new instance with new SD card. There was no option to restore from initial login and I can't find any options in Sytem>Backup. What am I missing here? (brand new build with the latest versions)
Use the dropdown on the top right
This is using haos?
Yes it is
From where/which page?
You need to upload a backup
Then click on the backup and restore option is there
3 dots shows me upload backup option (from the backups page)
in System>Backup
I don't have the 3 dots (i'm guessing this is the root issue)
( I have enabled Advance Mode)
Where did you download the haos image from?
can't recall, it was only a few weeks ago and it looks like this: hassos_rpi3-4.11.img
Download the latest stable release from home assistant website man
4.11? That's very old
OK i'll use the link option in Belena
During install you will be able to restore from backup
Guess it wasn’t added 2 years ago or whatever lol
Thanks guys. installing new image on the SD card now
Just a heads up- pi isn’t the best option for home assistant. Definitely not a pi3. If you have an old laptop that’s a great option
Hello Everyone! Can i simply move my existing SSD from Rpi 4 to Yellow POE and expect it to work?
Looks like it going to work. Restoring now........
lots of changes since that old home assistant install so maybe some of your automations are broken now
Should be able to, #yellow-archived will have people who know best though!
ITS WORKING. Thanks for help guys.
Thanks! will check in #yellow-archived
will I see a big performance boost from my current virtual machine install by going to repurposing an old PC as a stand alone .. mainly having some issues with video streams taking long time to load thinking it might speed it up
I don't believe I can take advantage of hardware acceleration currently, thinking it might help
not necessarily it depends on hardware and workload of your server and such
when i moved from a pi4 ssd boot to an old laptop (much faster device) i noticed my webuis with camera streams load WAY faster
added benefit if server is down my hass doesnt go with it
I have an old laptop'y' here maybe going try it.. What are your old laptop specs?
Hi all, I'm new to HA coming from domoticz. I have the DSMR integration with P1 to USB device. It's working fine only the 3 fases show round current numbers. Resulting in most of the time 0.0A I have checked log option and the log shows telegram also three time 0.0A.
I have switched back to test on domoticz and the telegram there shows decimals. What can I do to change? Is this te correct platform to ask this?
you want to ask that in #energy-archived
Thx, will do that
Hi, I have been trying unsuccessfully to get HAOS running on a 6th gen Intel NUC and am hoping somebody here has some guidance for me. After flashing the device with v9.4 using Balena Etcher, the boot process hangs indefinitely trying to setup the hassos-data partition. I'm tracking the issue on this GitHub issue if you're interested: https://github.com/home-assistant/operating-system/issues/2272. There appear to be a few other users running into the same option.
at this point I'm considering alternatives to bare metal installation, if the hardware doesn't seem to be supported what is the next-best recommended install method? Running a container on some linux distro?
last comment on your issue points to dns issue due to firewall rules + vlan. You've ruled that out right?
Yes, I think it was actually a red herring. There are two systemd tasks which are stuck at the same time during boot up, one is related to setting the system time and the other is setting up the hassos-data partition
so your router is giving out something like 1.1.1.1 via dhcp dns?
the last comment on the GitHub issue is also referring to an install that worked at one point, I don't have any prompt to type "login" at. It just says "Waiting for the Home Assistant CLI to be ready..." forever
idk 11th gen intel i think. bonus points for laptopy
Yes, and the address is in a DMZ just to rule out any firewall issues. Also, without doing any of that Balena Etcher was able to resolve addresses, so it would seem to indicate networking issues are not the problem
Hello! I'm having trouble installing Home Assistant Supervised to my Pi, with an integrated touchscreen. If this is not the right place for this, I would be happy to move it.
I was following along to this video and have encountered numerous issues along the way. https://www.youtube.com/watch?v=G6n0CdZnwSs&t=5s
I'm at the part where I am installing Home Assistant Supervised (and I'm not 100% certain Docker is correct, though it downloaded the Hello World image.) I am in the terminal as the superuser, and receive: "Errors were encountered while processing: home assistant-supervised.deb"
It also gave an error that Raspian/Linux 11 (Bullseye) is not supported. I am running the 32 bit Raspberry Pi OS, which appears to be Bullseye-based. Should I install a different OS instead?
My goal is to run a Home Assistant kiosk on the 7" touchscreen I got with the Pi (not the tablet he is using in the video). I have limited experience with programming, and this is my first "real" project.
Oooh, somebody didn't read the Supervised requirements
- Raspbian isn't supported - as the error message tells you - only Debian is
- You don't install any other software. None. Zero. Nada.
If you want to run HA and use the touchscreen then the only sensible install method is Container - without add-ons or the Supervisor
I'm so new I feel like I need to atone for my sins on this install, lol.
Ok, cool. This gives me a better place to start.
Supervised is a trap for the unwary
It looks so nice on the outside, but once you're inside you discovery it's all sharp corners and unstable explosives
I'm glad I asked before I tried it then, I would have gotten frustrated and given up.
Is it recommended, for instance, to run HomeAssistant on CoreOS? I'm wondering if some other OS image will work on this hardware, so I can run HA as a service there
ha can run supported on anything that runs docker
as long as you chose a container install
that's my understanding as well, but I'm wondering if there is a preferred solution in the space of running HA as a container. I'd like to improve my chances of getting random help online by using what most people use
oh yeah, the linux part is important with docker. sometimes people think they can run it on docker for windows but that isn't going to happen
More people here know Debian based distros, but if you need help with CoreOS there's going to be plenty of places to get help
Just to ask the dumb questions- you turned off secure boot and turned on uefi in bios right?
Yeah I did, not a dumb question I realized I hadn't read that part of the install until a few failed install attempts. Unfortunately, when I did check, I confirmed they were both set correctly
I don’t think you could’ve gotten that far with them not setup correctly just wanted to confirm
new comment a few min ago from another user experiencing this issue: https://github.com/home-assistant/operating-system/issues/2272#issuecomment-1399532836
apparently they tried on 3 lenovo machines and it failed, then worked on a HP laptop 🤷
Wonder if there’s actually a bug in most recent haos..
I was considering using an older version of the image, is there a preferred older version? 🙂
For fun you could try installing a couple versions older
like was 8.3 a great version
I’ve been using haos for a couple years they’ve all been great lol
I tried installed v9.3 and it was the same, so wondering if maybe its an issue with this major version
Fwiw my setup is on an hp laptop too
But there’s no hardware requirements specifying anything regarding manufacturers
What about trying the live Linux install method
Instead of taking ssd out and using etcher
Oh, I did do the live install method and used etcher from the live install to write directly to the hard drive
I'm going to try installing v8.5, one moment
I don't have a mouse for this system, using mousekeys in ubuntu is very funny 🙂
You can just dd the image to the disk
dd if=whatever.img of=/dev/sdX bs=1M status=progress, just triple check the device path so you don't nuke something important
bummer, looks like 8.5 might have the same issue
I wonder if its one of these issues: https://bbs.archlinux.org/viewtopic.php?id=213548, https://unix.stackexchange.com/questions/544104/kubuntu-not-starting-up-after-cloning-hdd-to-ssd-dual-boot
maybe the UUID for the partition is corrupted in the fstab
not sure how to confirm that because the HAOS install does not leave me with a useable shell..
anybody know if its possible to force entry into some sort of single user shell at boot? Maybe through boot cmd line options?
there is but idk the commands.. i'd look in the documentation if someone doesnt jump in here
@odd marlin do you think this has gotten into #devs_os-archived territory? I'm looking either to boot into a rescue mode, or try somehow mount the HAOS partition into my live boot session to confirm that the fstab entry is correct for this partition
the easy solution is just take the ssd or nvme out and flash it with etcher or w/e (assuming the dd option above is too complicated)
devs is for developing not talking to the devs for help
I'm not sure how removing the nvme from the device to flash it would resolve this issue?
I think the advice to use dd was an alternative to downloading balena etcher
and the issue I've run into (timing out waiting for the device on boot) I think is likely more related to the system not being correctly configured to access the disk. The disk otherwise works (I can install other linux distros on it, or mount it in my live USB session and write to it)
I only mentioned dd because you said you didn't have a mouse and were trying to navigate a GUI with the keyboard which seems tedious compared to typing a dd command. As long as etcher isn't doing something bizarre, there's likely no difference
@odd marlin thanks, yes I agree
it looks like I can append systemd.unit=emergency.target to my grub command line to get into an emergency shell
i.e. I'm trying to install home assistant on rasbarry pi 4 I can't understand after inserting the image on the sd via rasbarry os searching on the net it can't find it via the app it finds it but it still gives an error trying to make a virtual box from a pc could it be a network problem?
Hi, I have an urgent matter for me. I wanted to reset homeassistant and deleted the config folder. But after turning it on, I can't log in to homeassistant, I tried using the command ``auth reset --username "" --password "" but it doesn't work either. My question is how can I reinstall the whole system? I want to install Generic x86-64.
If you can't reset the password just re-flash HAOS
Also, you need to delete .storage/
So, install the installer a second time on the same flash drive, right?
Yes
Okay, i will try
I'm just asking, does it take longer to install the installer on a flash drive for the second time? is this normal?
https://imgur.com/amd34ZJ I've been waiting 15 minutes with this
it can happen that a write fails at times
abort it, start it again
if it fails more often you may have a bad drive
Bad disk in what sense? That it's broken?
Can I somehow install it directly on the hard drive that is in the computer? I don't have much of a way to pull it out so...
hello, i am trying to install HA on my Fedora NUC pc through cli and i am having problems. Can i ask them here?
Yes
when i use the pip3 install homeassistant command it errors out
with this error:
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects
Well... then you should use Docker instead
is that the solution?
Core is an advanced installation method
If you don't know what that error means, you probably shouldn't be trying to install Core
Core is fine, but if you can't troubleshoot build issues like that then it's not for you
For most software Docker is the way to go. Trivial to use, trivial to upgrade.
ok docker it is then lol
Hi, just setting up a repo in my /config for the first time. I'm using the HA default .gitignore file, plus added some folders. However, it responds that a lot more files are ignored than what I specified (for example zigbee.db). How come? I don't have any other .gitignore files, as far as I know.
@placid sage I converted your message into a file since it's above 15 lines :+1:
