#installation-archived

1 messages · Page 18 of 1

humble mirage
#

If you really want to use some low end platform, use a Pi and have fun with dead SD cards

#

Otherwise, do yourself a favour and stop trying to race to the bottom

left agate
#

Lol. That's an interesting comparison.

crude inlet
#

as you come up with undocumented ways to run this, imagine the support reaction when you come in with an issue

brazen herald
#

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 😉

low notch
#

you will have much more fun setting it up on a proper machine

#

try to get lower afterwards if you need to

brazen herald
#

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.

humble mirage
#

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

brazen herald
#

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

left agate
#

Thank you for explaining!

tacit widget
#

jesus, the rpi3 i run HAOS on for now is sitting at 81% memory usage and 100% swap

humble mirage
#

With only 1 GB of RAM, that's not terribly surprising

#

(unless that's the 3a, in which case...)

tacit widget
#

oh no, it's deffinitly 1gb of ram

#

i'm suprised it hasn't cought fire yet

humble mirage
#

The 4 is better at that

tacit widget
#

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

humble mirage
#

If it has a CPUMark of above 900 it's faster than a Pi4

#

2+ cores, 2+ GB of RAM, CPUMark of > 900

tacit widget
#

my laptop has a score suppsoedly of about 2500.

humble mirage
#

Then you're golden

tacit widget
#

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

fleet spruce
#

Anyone in here running HA on a MikroTik router?

#

It sounds more crazy than it is, I swear.

humble mirage
#

Nah... it's exactly as crazy as it sounds

fleet spruce
#

How so?

humble mirage
#

It's better than a tablet though, probably

#

None of those routers are exactly high performance, high spec, kit

fleet spruce
#

I think you underestimate some of their routers...

humble mirage
#

Also, they're pretty far removed from what's officially supported, so when something breaks you're going to be on your own

fleet spruce
#

It's more powerful than most raspberry pis.

humble mirage
#

Well, more powerful than a Pi3 is a pretty low benchmark

#

My toaster's probably faster

fleet spruce
#

It's a 16 core armcortex-a72, at 2ghz, with 16gb of ram...

#

The same CPU used for AWS EC2 instances.

humble mirage
#

If they're running Linux then a pure Core install may work

#

Docker would be better

fleet spruce
#

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.

humble mirage
#

I've not heard of anybody doing that

fleet spruce
#

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... 😅

low notch
#

that is one cool router

fleet spruce
humble mirage
#

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

low notch
#

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

hollow folio
#

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

fleet spruce
#

Have you tried to see if it can ping other devices on the network?

fleet spruce
hollow folio
fleet spruce
#

And you can ping the machine you tried to ping it from?

hollow folio
#

interesting, I can not

fleet spruce
#

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.

hollow folio
#

I just tried two different android devices, it cant ping them either, dont know if it matters

low notch
#

wifi client isolation ?

fleet spruce
#

^^ definately possible.

hollow folio
hollow folio
low notch
#

can you reach the octoprint wireless?

hollow folio
#

I dont have it anymore

fleet spruce
#

They're all on the same subnet?

#

Like, the subnet is configured correctly?

hollow folio
#

to be honest, I dont know, I have limited knowledge in this topic

odd marlin
#

If you don't know, then they're most likely on the same subnet

hollow folio
#

if I understand correctly, my network only has one subnet

fleet spruce
#

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.

hollow folio
#

should I run this while in ha, or not?

fleet spruce
#

How is HA running on your machine? is it running in a container?

hollow folio
#

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?

low notch
#

Did you set up a bridged interface for your vm?

#

Or is it running bare metal?

hollow folio
#

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

fleet spruce
#

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?

hollow folio
fleet spruce
#

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?

hollow folio
#

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

fleet spruce
#

Can you connect your laptop to the router via an ethernet cable?

hollow folio
#

yes, I will in a minute

fleet spruce
#

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...

hollow folio
#

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

fleet spruce
#

And both devices are plugged into the LAN ports on your router/modem?

#

Usually they're yellow

hollow folio
#

yes yes, the router's site also lists them as connected to lan1 and 2

#

I see their IP address

fleet spruce
#

What model of ZTE modem do you have?

hollow folio
#

zte zxhn f618

fleet spruce
#

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.

manic bane
fleet spruce
#

Ahhh.

hollow folio
#

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

fleet spruce
#

Good luck!

hollow folio
#

thank you, bye!

fleet spruce
#

and you're welcome!

#

Bye!

solar holly
#

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?

manic bane
fleet spruce
#

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

low notch
#

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

fleet spruce
fleet spruce
low notch
#

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

fleet spruce
#

Ahh, ok.

#

Out of curiosity, is there a reason restoring from a backup isn't possible on a container?

low notch
#

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

fleet spruce
#

do I have to worry about permissions or anything?

low notch
#

usually not, the container process runs as root

fleet spruce
#

alrighty... pray for me.

#

big ooof. permission denied on reading files...

fleet spruce
#

Yep, getting error "attempted to write to a read only database"

#

google here i come

fleet spruce
#

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?

low notch
#

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

fleet spruce
#

Inside the backup tar file, there is a backup.json file. One of the entries in that file reads "type": "partial",

low notch
#

oh, I think thats just the options you get while making a backup in haos

#

full: with all addons
partial: core with your selection

fleet spruce
#

Hmmm... never got any options when making the backup...

low notch
#

did you even use haos before?

#

no idea, shouldn't matter I believe

fleet spruce
#

Nope, I always ran it in a container.

#

on a pi that was also running pihole.

low notch
#

if you don't care about your database you can just remove the db file and let it record from scratch

fleet spruce
#

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.

low notch
#

permissions on the db file?

nimble sequoia
#

What is the server's ip address

low notch
#

Are you looking at a mobile app right now?

nimble sequoia
#

Yes

low notch
#

the app alone is not home assistant

#

you need a different device running home assistant

#

which is a "server"

nimble sequoia
#

Like a seperate computer

low notch
#

yes

nimble sequoia
#

Will my pc get job done

manic bane
nimble sequoia
#

@manic bane soo The pc should running at all times

manic bane
#

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

nimble sequoia
#

Um trying to integrate NFC tags

manic bane
#

What for

#

You need to be clearer

nimble sequoia
#

For automation in Google home like controlling samrt bulbs TV's etc

crude inlet
#

You wouldn't need Google home for that.

nimble sequoia
#

I know I can use thrid app like IFTT but it's complex for setup

#

Soo

crude inlet
#

No. I mean, HA is for automations

nimble sequoia
#

Okkk

#

Home automation r8t

crude inlet
#

That's what it is. A home automation server you run in your home. It's not an app.

true pawn
#

How do I add the "Supervisor" to the sidebar? (I'm running HA OS on Pi)

true pawn
#

Thanks 🙏

fleet spruce
#

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

humble mirage
#

Much as I hate to say it, that may be worth writing up on the forum

humble scaffoldBOT
humble mirage
#

There's a community guides section, plus one for showing off your project

outer hill
fleet spruce
#

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!

humble mirage
#

Retention is ages and ages

manic bane
#

Forever even

outer hill
#

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

manic bane
#

That's all

outer hill
#

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?

humble mirage
#

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

outer hill
#

ah. ok. thanks. bit more work in getting it moved over than i realised

humble mirage
#

Shouldn't be

#

Flash the image, boot, restore

outer hill
#

the nuc already has internal storage

#

so i need a live distribution first then write to it?

outer hill
#

i misunderstood what i was meant to do. RTFM lol

craggy oriole
#

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?

humble mirage
#

You're looking at outdated guides

#

The configuration menu was renamed settings ages ago

#

The Supervisor menu went away long before that

craggy oriole
#

oh ok

humble mirage
#

HA releases monthly, so any guide from before the current month risks being outdated. The older it is the more likely that is.

craggy oriole
#

Any good recent guides you can refer me to?

humble mirage
#

For ... what?

craggy oriole
#

Well I am just setting up. Havent even dwell ed into what I need.

#

Ok thanks

humble mirage
#

The problem is that there's about 42 billion things you can do with HA, there's not really "a" guide

craggy oriole
#

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?

humble mirage
#

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

craggy oriole
#

So if you wanna start where you powered it off that state is being backed up by HA already ?

humble mirage
#

Well, if you use HA to do a clean shutdown the state is saved

craggy oriole
#

At the moment waiting for the usb so only starting it when I wanna tinker with it more, then power off

#

cool

#

thanks

humble mirage
#

Powering it down from VBox is typically like yanking the power cord out of the back of the PC

#

Not A Good Idea

craggy oriole
#

Ok just fired it back up. Options are Save state, ACPI shutdown and Power off

humble mirage
#

Save state == hibernate
ACPI shutdown == tell OS to shut down
Power off == shotgun to the head

craggy oriole
#

Show , pause , reset also there

#

lol like the shotgun

humble mirage
#

You rarely want to use that option

craggy oriole
#

ok so ACPI shutdown it is

#

thanks

humble mirage
#

ACPI is great, when the OS is going to notice it

craggy oriole
#

meaning?

humble mirage
#

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

low notch
#

every hypervisor has its own way of implementing the acpi signal,
you need the proper tools installed on your guest

craggy oriole
#

These options are on the Vbox

low notch
#

they normally come included in haos

craggy oriole
#

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

humble mirage
#

c and search for shutdown

narrow silo
#

did the update just get pulled?

humble mirage
#

"The update"?

craggy oriole
#

yeah I got an update when I logged on today

craggy oriole
humble scaffoldBOT
#

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.

humble mirage
#

You may need that, I don't use HAOS so I don't know

craggy oriole
#

RPC Shutdown?

#

advanced mode is ticked

#

found log off in profile. yay

#

ok now for shutdown. Seems to be a addon. Is this right?

humble mirage
#

No

outer hill
craggy oriole
humble scaffoldBOT
#

@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).

humble mirage
#

I don't use HAOS so I don't know

#

It is there, somebody else will have to help you

craggy oriole
#

ok thanks man

odd marlin
#

Settings > System > Hardware > dotsvertical > Shutdown system

craggy oriole
#

@fringe steeples

#

thanks

#

any way I can add it as shortcut?

misty atlas
#

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.

odd marlin
#

Your first mistake was running Supervised

#

Save yourself the headache and either install HAOS or Container

misty atlas
#

or core you mean?

odd marlin
#

Nope, I said what I meant. Core and Supervised are both not recommended

misty atlas
#

oh, container is to me to then. I just assumed docker was container

low notch
#

3 of the 4 installation methods use docker

#

container is the install method where you pull the image for this container yourself

misty atlas
#

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

low notch
#

you don't need supervisor for hacs

misty atlas
#

For the add-ons?

odd marlin
#

If you want add-ons, run HAOS. Otherwise run Container. Add-ons are just Docker containers

low notch
#

Hacs has virtually nothing to do with Addons though

#

you can install hacs everywhere

misty atlas
#

i have hacs, i just liked having the "add-ons" store to navigate to

manic bane
#

Run HAOS in a VM if you don't want to run on bare metal

misty atlas
#

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.

pseudo crescent
#

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 ?

obsidian badger
#

Can I create and edit my compose file through windows terminal?

humble mirage
#

Well, you shouldn't be running Docker on Windows

tacit widget
#

windows terminal? you mean command prompt?

obsidian badger
#

I'm running docker on a pi4 to install HA but I'm SSH via Terminal in windows

humble mirage
#

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

obsidian badger
#

I'm quite new so not sure on the smartest way to go about it

humble mirage
#

nano is fairly user friendly, and likely available by default

obsidian badger
#

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

humble mirage
#

Your other option is to install Samba and use something like Visual Studio Code

obsidian badger
#

Thank you, I will read up on that

placid sage
#

How can I scroll through a log from the command line?

fallen lichen
#

I usually use ha core logs | more, you'll need to login first if you're at a ha > prompt

placid sage
fallen lichen
#

ha backup

placid sage
unreal quartz
#

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?

crude inlet
#

@unreal quartz better to delete everything including hidden directories within the config directory

unreal quartz
#

completely? everything? ok

crude inlet
#

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

unreal quartz
#

got it. I deleted everything (left a backup in separate dir), rebooted my rpi. homeassistant is loading

unreal quartz
#

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

fallen lichen
#

that'll have been reset when you wiped the config dir

hollow folio
#

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?

crude inlet
#

do you mean you can't reach the frontend from a browser?

#

what other devices

hollow folio
#

yes, also the ping doesnt work towards HA or from HA

#

windows 10 PC-s, android smartphones

crude inlet
#

what url are you using in a browser?

hollow folio
#

homeassistant.local:4357 or 8123, the same without local, the same with http://, every combination of these

odd marlin
#

Try the IP instead of homeassistant.local. That relies on mDNS which often times doesn't work

hollow folio
#

oh yeah, I also tried to IP, doesnt work either (192.168.1.9)

brazen herald
#

To ask the stupid question: you tried the IP with the ports?

hollow folio
#

no no, I tried both ports with IP as well

brazen herald
#

Good, just double checking! 🙂

hollow folio
#

yeah, I know

#

I just have really no idea where to look any further, I can not find any similar cases in forums

brazen herald
#

You don't have some kind of privacy thing on your router set? Are other devices on 192.168.0.X?

hollow folio
#

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

crude inlet
#

if you have access to the console, what is ha network info showing?

hollow folio
#

hopefolly this link will not fry your computer

foggy cloak
#

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

peak scroll
#

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?

humble mirage
#

Do you already use static DHCP leases?

humble mirage
hollow folio
#

I suppose the tumbleweed was for velocitycs 😄

peak scroll
#

Sorry, static IPs for my mix of Tasmota, ESPHome etc. My crummy ISPs router pretends to do static leases but it never works

humble mirage
#

Then... configure the new router with the same IP range, same SSID, same password

peak scroll
#

Prolly the simplest option tbf

hybrid knot
#

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

brazen herald
#

How did you create the docker container?

hybrid knot
#

followed the instruction on the HA install page, non-compose one

brazen herald
#

Any particular reason for the non-compose instructions?

#

Compose is a heck of a lot easier to debug 😉

hybrid knot
#

Because I have no idea what I'm doing so was following along from top to bottom 😬

brazen herald
#

Alright, I suspect you missed copying and pasting a bit of the command—the bit that maps the ports

hybrid knot
#

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

frigid crane
#

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?

brazen herald
hybrid knot
brazen herald
#

HA logs in the container

fleet spruce
brazen herald
#

docker-compose logs --follow

brazen herald
hybrid knot
#

nothing there, just saying it's started successfully

fleet spruce
brazen herald
#

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

fleet spruce
#

It was working like 4 hours ago too...

brazen herald
#

It worked for me just now

hybrid knot
#

404 here too for what it's worth

fleet spruce
#

Interesting... maybe it's geographical?

fleet spruce
hybrid knot
#

EU

fleet spruce
#

lol

#

so much for that theory, hahahaha

#

did you get your 404 with your browser or when trying to pull a container?

hybrid knot
#

browser

fleet spruce
#

hmm...

brazen herald
#

Well the browser would return a 404, that's not a website that you're supposed to go and poke around.

fleet spruce
#

bc v2 seems to work, but I can't use that in my setup.

brazen herald
#

It appeared to work just now 🤷‍♀️

fleet spruce
#

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?

brazen herald
#

Well you may be able to pull it from another source

hybrid knot
#

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

odd marlin
#

What about http://<ip>:4357 nevermind I think I was confusing you with the other person who was on HAOS and having connectivity problems

brazen herald
#

And what do the logs say?

hybrid knot
#

nothing relevant 🤷‍♂️ just that it started successfully

brazen herald
#

And when you try to connect to it?

hybrid knot
#

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)

hybrid knot
hybrid knot
#

both http and https

brazen herald
#

Are you using a previous config?

hybrid knot
#

nope, fresh install on fresh ubuntu, never used home assistant before

brazen herald
#

So you pointed the config folder at an empty directory?

hybrid knot
#

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

nimble pebble
#

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.

fair spindle
fleet spruce
#

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.

stark quail
#

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?

brittle sail
manic bane
tacit widget
fleet spruce
#

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.

hybrid knot
#

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

manic bane
#

Also what logs do docker logs share

hybrid knot
#

Docker logs dont say much other than services starting

manic bane
#

Try posting your docker-compose then for HA

hybrid knot
#

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

manic bane
#

Yeah that looks about right to me....

hybrid knot
#

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

manic bane
#

Privileged isn't needed, but also won't stop it starting

hybrid knot
#

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

full current
#

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. 😄

brazen herald
hybrid knot
#

(Not because i knew that, that';s just what the guide i was following said to do)

brazen herald
#

Is there a particular reason why you're doing a docker install on Ubuntu instead of just running HAOS?

hybrid knot
#

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

brazen herald
#

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.

hybrid knot
#

portainer works, ha does not. no log output, nothing

brazen herald
#

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?

manic bane
#

(Though also snaps are the reason why I ditched ubuntu as any further desktop OS)

hybrid knot
#

tried pulling ha from docker's source but no dice there either. I genuinely do not understand what it is that's going wrong

hybrid knot
#

'can't connect' could be a million different things, most of them irrelevant for me

brazen herald
humble scaffoldBOT
#

@manic bane I converted your message into a file since it's above 15 lines :+1:

manic bane
#

Stupid bot

manic bane
humble scaffoldBOT
#

@hybrid knot I converted your message into a file since it's above 15 lines :+1:

hybrid knot
manic bane
hybrid knot
#

no lol sorry

manic bane
#

Thought so, but was the first thing that stood out 😄

hybrid knot
#

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

manic bane
#

I'm spinning up basically exactly what you wrote to test

#

Yeah that works for me

hybrid knot
#

🥲

manic bane
#

And if its writing to the directory then it isn't permissions

#

How weird

hybrid knot
#

well that kind of implies the issue might be elsewhere, not with the ha install...

#

which doesn't exactly help

manic bane
#

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

hybrid knot
#

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

manic bane
#

Hmm, wait, how are you trying to make it work on localhost

hybrid knot
#

just going on browser and putting in localhost:8123

manic bane
#

That won't work, localhost is for the device its on only

low notch
#

do you run a firewall? might be worth a shot to just stop them

manic bane
#

So the IP for the server is what you're looking at

hybrid knot
#

ik ik

#

I'm doing it on the pc I'm running it

manic bane
#

You said you're on headless debian though

low notch
#

afaik ubuntu uses ufw

manic bane
#

*ubuntu

hybrid knot
#

no I'm on ubuntu desktop

#

the guide said to use server but I used desktop instead

manic bane
#

Ahh

#

I thought it went the other way around

#

Then maybe just try disabling ufw (the firewall)

hybrid knot
#

let me try that

manic bane
#

Because it certainly seems like some sort of networking

hybrid knot
#

sudo ufw disable right

manic bane
#

Also does it give you an error if you access it? Or just loads and says can't find page

hybrid knot
#

just tells me I'm unable to connect

#

no change after disabling ufw

low notch
#

could also be some ubuntu docker desktop shenanigans, how did you install docker?

hybrid knot
#

which part, engine or desktop?

crude inlet
#

Only try IP address:8123 from here on out

#

Forget the friendly name as you test further

hybrid knot
#

okay, unable to connect using that also

low notch
hybrid knot
# low notch could also be some ubuntu docker desktop shenanigans, how did you install docker...
    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

low notch
#

besides that docker-compose is at v2.15.1 looks ok to me.

👀 why did you install docker-desktop afterwards?

hybrid knot
#

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

low notch
#

so... portainer and docker and also docker-compose did not cut it?

manic bane
#

Terminal is still very easy to use

hybrid knot
manic bane
#

Thats what ssh is for

hybrid knot
#

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

tawdry kindle
#

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.

manic bane
#

You may have to set up the new HA install then upload the backup and restore

tawdry kindle
#

I've tried that and had the same result

odd marlin
#

Upload the backup via SSH or Samba or another method, then use ha backup restore on the command line

tawdry kindle
#

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

manic bane
#

Then you may need to restart the host as well afterwards (well restart the VM)

#

Also to be sure, you were using HAOS right

tawdry kindle
#

You mean start the VM, upload the file, reboot the VM and try to recover?

manic bane
#

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

hybrid knot
#

its strange that nothing is appearing in my home assistant logs, right? Could it be a permissions issue?

odd marlin
#

I think it's more likely that the web restore just can't handle such a large file

hybrid knot
#

Sorry referring to my own issue there

tawdry kindle
#

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?

manic bane
#

?

tawdry kindle
#

It uploaded, showed correct size and content

manic bane
#

Yeah sometimes the web interface can have issues though

tawdry kindle
#

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

manic bane
hybrid knot
#

Well wtf

#

I got it working it seems

manic bane
#

What

#

How

hybrid knot
#

made a new container using the 'run' button on docker desktop's images tab

manic bane
#

shudder
I still love docker compose and terminal

hybrid knot
#

works on localhost & other pc on network now

#

🥲

crude inlet
tawdry kindle
#

Just need a refresher

#

Will figure it out.

tawdry kindle
tawdry kindle
hybrid knot
#

Thank you @brazen herald @manic bane @low notch for the help

#

seems to be working fine now 🙂

tawdry kindle
#

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

odd marlin
#

ha backup restore -h

tawdry kindle
#

I've tried giving it the slug number as indicated in the examples

#

But it returns Processing...Done
Error: Unknown error, see supervisor

crude inlet
#

ha su logs

tawdry kindle
#

c36bc4ba is only a partial backup!

#

Sure it is, why is that an error worthy of stopping the process.

manic bane
#

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

tawdry kindle
#

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

odd marlin
#

What exact command did you run?

tawdry kindle
#

ha backup restore c36bc4ba

odd marlin
#

If your file is a partial, then that won't work. You have to specify what you want to restore from it

tawdry kindle
#

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

odd marlin
#

"all" would be a full backup. You can see what's in the backup with ha backup info [slug]

tawdry kindle
#

all that is available in this partcial backup

#

i do have the list of addons so should i list all of them then?

odd marlin
#

Yes, list all the ones you want to restore

tawdry kindle
#

this is including their respective prefix codes?

odd marlin
#

The slug of each addon

crude inlet
#

oops, didn't mean to reply to that

brisk willow
#

|| how embarrassing ||

crude inlet
#

so ha backup restore xxxxxxxx --addons core_configurator would restore the config for that add-on

tawdry kindle
#

Well that will be a long command then...

crude inlet
#

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>

tawdry kindle
#

Sure, but conversely, i was hoping for being able to just say all of the above add-ons, folders and configs.

hybrid knot
#

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

crude inlet
#

dammit again!

tawdry kindle
#

I have a working UI of a fresh HA and a seemingly working Partial backup

crude inlet
#

Just use the ui and restore

tawdry kindle
#

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

crude inlet
#

wat

tawdry kindle
#

For example, MariaDB give gibberish.

crude inlet
#

using the cli isn't going to fix that

tawdry kindle
#

As per this part of the conversation, the restore functionality is not reliable, and I should use the CLI

crude inlet
#

its' the same

#

it's the browser transfer of files vs a normal method that might help

tawdry kindle
#

I didn't want to question someone with a nicely colored name... smile

#

Well, in that case it doesn't.

crude inlet
#

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

tawdry kindle
#

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...

crude inlet
#

go to the ui, select the backup, choose partial restore, choose the mariadb add-on

tawdry kindle
#

Should I also restore it with the core config,since the DB will be without any entities having no config.

crude inlet
#

i don't see the config directory listed in that backup

#

ssl and share

tawdry kindle
#

Sorry, I meant the ha

crude inlet
#

ha will be the version of HA, that's not really needed

tawdry kindle
#

So just mariadb then?

crude inlet
#

/config must be included by default. I see it isn't listed anywhere

#

just mariadb

humble scaffoldBOT
#

@covert vessel I converted your message into a file since it's above 15 lines :+1:

tawdry kindle
#

Before it was always an issue as it was getting stuck

odd marlin
#

@covert vessel You're still in the wrong server for this, same as before

tawdry kindle
#

When I did the whole backup at once with all the addons

crude inlet
#

you can watch the supervisor logs to see when it completes

tawdry kindle
#

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.

twin nymph
#

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?

placid sage
tight canyon
#

Did you just installed HA?

viral marlin
#

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.

brittle sail
viral marlin
#

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

brittle sail
#

You turned off secure boot and turned on uefi in bios?

#

Ssd is first boot device?

viral marlin
#

Yes, yes, yes

#

As said, i followed all instructions on the site

#

Thats why i cannot figure it out xD

humble mirage
#

Hi

viral marlin
#

@brittle sail what should i do if these 3 criteria's are checked?

tight canyon
#

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)

humble mirage
#

Did you shut HA down first?

tight canyon
#

Nope, 😅

#

Messed up

humble mirage
#

Do you have a monitor and keyboard you can connect?

tight canyon
#

Already did

#

Is shows black screen, sometimes some code lines
Its keeps booting restarting or w.e

humble mirage
#

Ok, so probably a corrupt file system

#

Re-flash and restore from backup

tight canyon
#

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 -.-

humble mirage
#

Pulling the power on a running system is a Bad Idea ™️

tight canyon
#

Yea sometimes im too lazy..

#

Lol

#

Stupid, now i know i wont do that again

brittle sail
#

You can lie to us but not yourself smart

#

Haha jk

maiden mesa
#

not with that attitude

brittle sail
#

You can take this opportunity to buy a ups so power loss won’t cause this again

tight canyon
#

The battery thingy?

brittle sail
#

The battery thingy

tight canyon
#

😅🤣

brittle sail
#

If you buy a battery thingy and put it on a pi-ey then if you lose power thingys wont get all fucky wucky

maiden mesa
#

oh goodness

#

someone ban them

brittle sail
#

Too much?

tight canyon
#

Ive seen those yes

#

Never thaught i needed it

maiden mesa
#

get one for your whole network + pi

brittle sail
#

Highly recommend for any tech you care about

maiden mesa
#

🙂

brittle sail
#

Lmao

tight canyon
#

🤣

maiden mesa
#

I like how long it took me to process what you were doing

#

my brain hasn't been destroyed by y'all yet

brittle sail
#

You must’ve not spent enough time in helldesk

tight canyon
#

Make a fool out of me 🥲

brittle sail
#

Nah man we’re all friends here

turbid rampart
#

Are there good brands known here for ups ?

#

To avoid me googling « ups »

maiden mesa
#

APC

turbid rampart
#

🥶

brittle sail
#

Apc is popular but some avoid them due to apcupsd

#

Or just use nut with them

maiden mesa
#

what happened to the nut emote?

#

someone has it

brittle sail
#

If you need or want rackmount ones you can buy used ones and replace the battery

maiden mesa
#

I demand answers

tight canyon
#

Raspberry pi 4 shit with zigbee and zwave controller for sale

brittle sail
#

?

#

Why would you be selling your coordinator and controller too?

tight canyon
#

Evrything fckd up and then im done with eveything 😅

hardy maple
#

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

elfin ridge
#

Hello, i want to install HA on a raspberry pico w that is running mosquitto and nodered. Any tips beside the instalation guides ?

humble mirage
#

Yeah... don't

#

The Pico is terribly underpowered

elfin ridge
#

ok, i'll move my system on pi3

humble mirage
#

I'm pretty sure even a pure Core install will fail due to a lack of RAM

odd marlin
#

pi3 b+ is the bare minimum pi

humble mirage
#

And, honestly, almost anything is better than a Pi

brittle sail
#

Pico doesn’t even run an OS lol

humble mirage
#

Except a toaster, mostly

brittle sail
#

It’s a $4 microcontroller

#

Or $6 with Wi-Fi I guess

grand pivot
#

HA on ESP8266 or bust

brittle sail
#

haos we need our addons too

elfin ridge
humble mirage
#

Just about any PC from the last decade will do

#

2+ CPU cores, 2+ GB of RAM, CPUMark of 1K+

elfin ridge
#

damn i have a zero not a pico

#

my bad

viral marlin
#

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?

odd marlin
#

Is UEFI enabled?

humble mirage
viral marlin
safe raptor
#

I'm installing the dev environment, is this the correct room?

humble mirage
#

For ... developing?

safe raptor
#

Developing a HACS integration

elfin ridge
#

zero had my back for the last 2 year for mosquitto and nodered

humble mirage
#

It's not enough for HA

elfin ridge
#

yeah i understan that

humble mirage
elfin ridge
#

what is so demanding on HA, i need to read more about it

brittle sail
#

nothing is so demanding

#

a pi zero was introduced like 8 years ago and has 512mb of ram

placid sage
#

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

brittle sail
#

it's a slow device not good at much

humble mirage
#

Take your pick, either flash HAOS to replace the Pi OS, or use Docker (aka Container)

viral marlin
#

is there a way to controll if Ha os correctly installed on your boot media?

humble mirage
#

You just flash it following the docs

viral marlin
#

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

odd marlin
#

If UEFI is enabled and secure boot is disabled, then there's more likely something wrong with what you flashed to the drive

viral marlin
#

how can i check it?

#

cause from all i can tell even the bios detect its a boot media....

low notch
#

a "boot media" does not need to be bootable to be detected as such

#

its just another block device

viral marlin
#

either way it does not work if i follow the instructions on the site

#

so what should i do ?

low notch
#

did you write it to a ssd? how did you do it? and I don't want to hear "according to the docs"

viral marlin
tight canyon
#

According to the docs

viral marlin
low notch
#

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

viral marlin
#

"Attach the Home Assistant boot media (storage device) to your computer" is step 1 of the docs

low notch
#

where do you read that?
because I see

  1. 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.
viral marlin
low notch
#

yes, you succeeded this step

#

but thats not what I refer to

viral marlin
#

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

low notch
#

and I just explained to you that this is not how computers expect their internal storage to be, attached to some usb port

viral marlin
#

even if the bios is configured to receive them ?

low notch
viral marlin
low notch
#

attach it to sata

#

or nvme

viral marlin
#

the computer does not have such a working port

#

otherwise i would have

low notch
#

problem then, isn't it?

viral marlin
#

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

low notch
#

haos has apparently no support for your usb3 ports. at least not at boot time.
eh, I repeat myself

viral marlin
#

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

brittle sail
#

That’s not what he said

viral marlin
#

'no support for your usb 3, at least not at boot time'

#

the computer i am using has a standart usb 3 connection

novel valve
#

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...

humble mirage
#

Well... maybe

#

Home Assistant OS + an add-on for Octoprint yes

#

HA Container + any other software you want, yes

novel valve
#

yes... Docker and HA + Octoprint

humble mirage
#

Then yes, you can

novel valve
#

I will try and leave here a message later...

maiden mesa
#

you would want a pretty lightweight HA install. Any hitching with octoprint doing a print will result in some fun "zits" or blobs.

brittle sail
#

It will fail

low notch
#

well, the print will fail

#

but the installation is fine 🥰

maiden mesa
#

lots of examples of this online, haha. pretty pattern

#

not

brittle sail
#

That’s usually due to power loss recovery enabled with creality shipped butchered marlin firmware

maiden mesa
#

nah, you're looking at octoprint vs sd card

#

many examples online, like I said

novel valve
#

I thought that! 🤣 it will have some "lags" for printing...

#

its shame that there is not enough of pi's

brittle sail
#

Find something better to install home assistant on and reserve pi for printer

maiden mesa
#

I like that idea

brittle sail
#

I have 5 pi’s one for each printer

maiden mesa
#

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

novel valve
#

what's really minimum for HA? which pi to choose?

#

from your experiences

brittle sail
#

Not a pi

#

Used laptop or thin client on eBay work great

maiden mesa
#

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*

novel valve
#

ok 🤣

gleaming vault
#

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?

tawdry kindle
#

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

#

I've tried supervisor repair and VM reboot to no avail.

subtle marsh
#

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?

humble scaffoldBOT
#

Open your Home Assistant instance and show your Home Assistant logs

odd marlin
#

You can view supervisor logs there

subtle marsh
#

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

chrome niche
#

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)

subtle marsh
chrome niche
chrome niche
brittle sail
#

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)

subtle marsh
chrome niche
#

I don't have the 3 dots (i'm guessing this is the root issue)

#

( I have enabled Advance Mode)

brittle sail
#

Where did you download the haos image from?

chrome niche
#

can't recall, it was only a few weeks ago and it looks like this: hassos_rpi3-4.11.img

brittle sail
#

Download the latest stable release from home assistant website man

odd marlin
#

4.11? That's very old

chrome niche
#

OK i'll use the link option in Belena

brittle sail
#

During install you will be able to restore from backup

#

Guess it wasn’t added 2 years ago or whatever lol

chrome niche
#

Thanks guys. installing new image on the SD card now

brittle sail
#

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

manic glacier
#

Hello Everyone! Can i simply move my existing SSD from Rpi 4 to Yellow POE and expect it to work?

chrome niche
brittle sail
manic bane
chrome niche
naive cargo
#

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

brittle sail
#

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

tight canyon
placid sage
#

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?

placid sage
pearl vale
#

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?

brittle sail
pearl vale
#

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

brittle sail
#

so your router is giving out something like 1.1.1.1 via dhcp dns?

pearl vale
#

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

brittle sail
pearl vale
gusty ibex
#

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.

humble mirage
#

Oooh, somebody didn't read the Supervised requirements

#
  1. Raspbian isn't supported - as the error message tells you - only Debian is
#
  1. 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

gusty ibex
#

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.

humble mirage
#

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

gusty ibex
#

I'm glad I asked before I tried it then, I would have gotten frustrated and given up.

pearl vale
#

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

low notch
#

ha can run supported on anything that runs docker

#

as long as you chose a container install

pearl vale
#

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

humble mirage
#

Well, Container is Container

#

As long as it's Linux you'll be fine

low notch
#

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

humble mirage
#

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

brittle sail
pearl vale
brittle sail
#

I don’t think you could’ve gotten that far with them not setup correctly just wanted to confirm

pearl vale
#

apparently they tried on 3 lenovo machines and it failed, then worked on a HP laptop 🤷

brittle sail
#

Wonder if there’s actually a bug in most recent haos..

pearl vale
#

I was considering using an older version of the image, is there a preferred older version? 🙂

brittle sail
#

For fun you could try installing a couple versions older

pearl vale
#

like was 8.3 a great version

brittle sail
#

I’ve been using haos for a couple years they’ve all been great lol

pearl vale
#

I tried installed v9.3 and it was the same, so wondering if maybe its an issue with this major version

brittle sail
#

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

pearl vale
#

Oh, I did do the live install method and used etcher from the live install to write directly to the hard drive

brittle sail
#

Ah

#

I did the other way

pearl vale
#

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 🙂

odd marlin
#

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

pearl vale
#

bummer, looks like 8.5 might have the same issue

#

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?

brittle sail
pearl vale
#

@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

brittle sail
#

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

pearl vale
#

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)

odd marlin
#

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

pearl vale
#

@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

placid sage
#

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?

lucid palm
#

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.

humble mirage
#

If you can't reset the password just re-flash HAOS

#

Also, you need to delete .storage/

lucid palm
humble mirage
#

Yes

lucid palm
#

Okay, i will try

lucid palm
# humble mirage Yes

I'm just asking, does it take longer to install the installer on a flash drive for the second time? is this normal?

low notch
#

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

lucid palm
low notch
#

follow the official docs

#

it tells you to install it from a live linux in this case

cinder sail
#

hello, i am trying to install HA on my Fedora NUC pc through cli and i am having problems. Can i ask them here?

humble mirage
#

Yes

cinder sail
#

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

humble mirage
#

Well... then you should use Docker instead

cinder sail
#

is that the solution?

odd marlin
#

Core is an advanced installation method

#

If you don't know what that error means, you probably shouldn't be trying to install Core

humble mirage
#

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.

cinder sail
#

ok docker it is then lol

placid sage
#

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.

humble scaffoldBOT
#

@placid sage I converted your message into a file since it's above 15 lines :+1: