#installation-archived

1 messages · Page 68 of 1

median shale
#

ipv4 is 4 octets, aaa.bbb.ccc.ddd, and they're called octets because there are 2^8th numbers in there 🙂

heavy whale
#

that's an octal based system

#

is it not?

humble mirage
#

Binary, really

#

Four bytes, aka octects

heavy whale
#

oh lol

#

my brain just jumped to thinking octets and octals are the same

heavy gorge
#

The CCNA basics class is in session

median shale
#

next you're going to be ordering the octopus

heavy whale
#

4 bytes, each of 0-256 in size

#

minus the multicast

#

or wait, the multicast counts too

#

it's just 0 through 255

#

which is 256 ion total

#
128, 64, 32, 16, 8, 4, 2, 1,
0    0   0   0   0  1  1  1 = 7
1    1   1   1   1  1  1  1 = max 255
0    0   0   0   0  0  0  0 = min 0
median shale
#

and 254 of them are usable

heavy whale
#

minus the multicast indeed

median shale
#

and the gateway

heavy whale
#

next we'll be playing around with ip fragmentation and mtu sizes

median shale
#

no we will not.

heavy whale
#

ok

#

sorry I'll stop

#

I gotta figure out the mac of my router to see if I can make a ARP poison attack rule in wireshark to figure out if anything is getting poisoned

#

thanks for the help everyone

shy flare
#

Hey im cofused to how to.

i have here a rasberry pi 4 with broken usb ports and a cb1 (less powerful rasberry clone)

I would like to use the rasberry as my main home assistant device which is already installed and running.)

What can i install / how do i install the cb1 as a local screen in my personal room and maiby as a file acces (i would like to add the external ssd to the cb1)

heavy whale
#

you could use some sort of network storage like NFS or SMB perhaps

#

and a screen shouldn't be hard, you just need a full screen web browser and the address of your home assistant. You could even run it in some kind of kiosk mode depending on the OS you install

#

a touch screen is even cooler

#

I think I'll be using some sort of tablet for mine

shy flare
#

it is a touch screen with the cb1 (not with the rasberry)
tft screen as far as i know

heavy whale
#

cool

shy flare
#

rn i have only found this precompiled in the guiithub page
i dont know how to really make screen display the webpage to be honest

#

CB1_Debian11_minimal_kernel5.16_20240319.img.xz

heavy whale
#

I'm not sure what the cb1 is exactly, but I figure if it runs linux, you could probably get an X session on it to display a window I guess?

#

X11 or wayland

#

xorg

#

there's loads of window managers and desktop environments to use in that case

shy flare
#

hmm okay thanks for the info so basecall for storage that i can connect to home assistant i can use;

  • NfS
  • SMB

For the screen i could try:

  • X11
  • Wayland
  • xorg

Thats gonna be fun to try

heavy whale
#

use what you fancy

#

it's not easy, I can tell you that

#

for linux you'll want to choose a desktop environment to install, which is easier then manually configuring xorg/X11 or wayland

#

there are tons of them out there

proven grove
#

@shy flare Just so I understand you correctly, you want to run HA on a rPi and have a screen attached to that as well displaying the dashboard, correct?

heavy whale
#

like Gnome, KDE, cinnamon, enlightenment, pantheon, mate, and a bunch of others

#

LXDE, XFCE the list goes on and on

#

no, he wants to have the screen attached to the cb1

#

which is running a debian linux distro if I'm not mistaken

shy flare
heavy whale
#

and the home assistant is on the raspberry pi

#

well, if you get a bit famillair with the TTY, it is definitly possible

#

if the cb1 has little resources, I suggest a lightweight desktop environment

#

LXDE or XFCE are probably good choices

#

you'll need a display manager as well, to start the desktop environment when you log in

proven grove
heavy whale
#

it's like a login manager

#

the thing is though, the raspberry is not the one with the screen, so it's not gonna be running raspbian

#

either way he'll have to set something up on the cb1

proven grove
#

The CB1 is a rPi clone. It should be able to run raspbian.

heavy whale
#

once he has a desktop environment and a login manager on his debian linux system that he was about to install on the cb1, then he'll be able to start a desktop and open up something like chromium (a open source fork of the chrome web browser)

heavy whale
#

get a distro with a pre-configured desktop environment like raspbian

#

and just open up chromium

#

and set it to kiosk mode

heavy whale
#

but I like raspbian, it's pretty lean for small resource devices

shy flare
#

Okay
basecally installing rasbian on sd card setup chromium and a kiosk up
much to learn but i get into that thank you guys very much

heavy whale
#

that should be the easiest route, you can also delve into a TTY with debian minimal, which is more hardcore 😛

#

we can make it a lot more complicated too if we put gentoo into the mix and having to compile your own linux kernel

#

or maybe linux from scratch, but I don't really recommend that unless you want to take weeks to get a project finished

#

but it is a nice learning experience if you go that route lol

shy flare
#

Like i could do that i did some other compiling in the past but linux kernel might be a few levels over my skill mindblown

heavy whale
#

I went through it a couple of times, there is a LOT to configure, I can tell you that

proven grove
heavy whale
#

it would basically mean having to configure which features you want your linux kernel to support for the specific hardware that you have, you'd have to be pretty well versed in the hardware that you are using to figure out which type of kernel level features the cb1 needs

#

so I think it's not a good idea

#

I'm just mentioning it because it could be a fun side project when you have a lot of spare time

shy flare
#

yayit works like a typical apple product.

Well as a small update i figured out that the cb1 only use their specific firmware
any other firmware dont work.

back to the hard way :)

quick surge
#

Hi all,
running HA on my Pi4 for quite a good time, the Installation is on an SSD attached via USB.

Today i would have liked to update HA OS from 12.3 to 12.4, but the Update fails with the MSG Popup:
Failed to call service update/install. Error updating Home Assistant Operating System: Unknown error, see supervisor
When looking through the Supervisor logs i found the following entry:
2024-06-20 16:08:54.014 ERROR (MainThread) [supervisor.os.manager] Home Assistant Operating System update failed with: Installation error: Failed updating slot boot.0: failed to run slot hook: Child process exited with code 1
any advise how to fix this? Searching with google ony ends me in topics without solutions (beside one that downloaded Backup and startet over with fresh install) but until now i would like to avoid this if possible

faint dust
#

Most likely you have two HAOS installations on different media on that Pi. Did you install HAOS on the SD card as well as on the USB SSD and have both connected? 🤔

dawn ice
#

Hey, does the companion app need any specific port setup?

ive put my HA behind a nginx proxy and the companion app refuses to make connection eventho the same domainlink nearly instantly loads the page in my phones browser

wise flume
#

Hello, I just picked up a RPi5 and 128GB SD card, used RPi Imager to flash Home Assistant. I put the SD card in and have it shown up on HDMI to watch it boot, it just stays at Bootloader and looks like it doesn't find the partition, and it just keeps looping trying everything. Also, the NIC isn't activating....hardware issue?

humble mirage
#

You did flash the image for the 5, and not the 4 or the 3?

wise flume
#

correct

#

i specifically chose Rpi5

#

odd that the NIC won't even activate, let me try a new cable real quick

#

known good cable on a known good switch port...nothing on rpi5

median shale
#

try reflashing the card

wise flume
#

did twice already

median shale
#

what brand is the card?

wise flume
#

Samsung EVO 128GB

#

Came with the Canakit

median shale
#

ah, ok. you didn't say canakit so I thought maybe it was a fake card

#

have you tried flashing a different OS to it?

wise flume
#

nope not yet....guess thhat is next step?

median shale
#

it would certainly be a step I'd take

wise flume
#

trying now, will report back

wise flume
#

yup, RPi OS works just fine and network works too

#

so its something with Home Assistant

#

i thought the latest release for Rpi5 was stable

#

I am trying the RPi5 Home Assistant OS flash one more time.....

#

Nope.....says stuff like this:

Trying Partition: 0
Trying Partition: 63
Failed to open partition 63
Trying Partitin: 1
Failed to open partition 1
Boot Mode: USB-MSD (04) order f

#

Any ideas?

humble mirage
#

Flash an older version of HAOS?

wise flume
#

I wish I could, but the Raspberry Pi Imager only lets me choose the most recent option

dawn ice
wise flume
wise flume
foggy warren
#

I'm 3-5 hours into importing a partial backup (75MB from a working python venv/core install--that's now been wiped) to a fresh haos install. Cli "jobs info" shows the backup saying "done: true" and "progress: 0" and "stage: docker_config" Is that typical? I know backup imports can take a long time, but I can't tell if its hung or not.

foggy warren
#

Reviewing the logs, the server starts the backup restore, and then immediately (within 15s) says its complete. The job remains listed in "jobs info" and I've also tried restoring the backup after starting onboarding to the same log results. My server isn't huge, such that manually rebuilding it wouldn't be impossible, and it's starting to take as longs as rebuilding would require. Am I better off calling it a loss and just manually rebuilding it?

quick surge
quick surge
#

ok, today i have again restarted the pi and booted ha in safe mode, after then restarting it once again it was working.

quick grove
#

Greetings! When I get "Home Assistant CLI not starting! Jump into emergency console..." is there a set of files I can review to figure out what went wrong?

proven grove
quick grove
#

running journalctl told me that it couldn't reach DNS

#

Thank you!

raven sail
#

i'm not sure where to put this. I have a intel mac mini from 2012, i have a 128 GB HD and 16gb of Ram. What would be the best way to install Home Assistant on it. I don't need mac os on it or anything, could run on ubuntu or something else on the SSD whatever is easiest

proven grove
raven sail
#

is the docker route no longer recomended ?

proven grove
#

Well, on that old of a Mac, you're gonna run into I/O contention. But, it won't be too bad.

#

Oh, yeah, you can go with Container, absolutely. But most people want addons, so first suggestion is always HAOS.

humble mirage
#

I recommend that people use Container if they know/love/want to know Docker, otherwise HAOS

#

Or, if they hate themselves, they go Supervised

proven grove
#

You spoke the name of that which we don't speak the name

raven sail
median shale
#

it's 12 years old, so that's not surprising

proven grove
raven sail
#

I don’t know docker well. I’m not even sure if I want add ons yet I have not done anything with home assistant before.

proven grove
median shale
#

but remember that it's a 12 year old computer and that those aren't very good.

raven sail
median shale
#

Apple dropped support for that system in 2020.

#

looks like a 3rd generation probably i5 cpu

proven grove
#

The 2012 Mac Mini has lots of issues with I/O contention (the onboard bus SUCKS). Plus, CPU contraints and such. You can throw a SSD in it and that will help. But, generally speaking, the chipset on a rpi4 will beat a 2012 Mac Mini computaionally.

median shale
#

ARM processors are RISC, and so things that are written for the platform are a bunch more efficient. also, though it doesn't matter much for HAOS, the pi4 has hardware encoding/decoding for various media types built in and intel didn't add that for 5 more cpu generations

raven sail
#

Ok I also have a m2 Mac mini that is always on. But I can’t run HA ont hat right?

proven grove
#

I don't think you'd want to dedicate a m2 Mac to HA. Kinda overkill.

raven sail
#

It’s my everyday one. Has scrypted on it and some other things.

Basically my late 2012 too crappy. M2 too nice

proven grove
raven sail
#

When you all say add ons what does that mean? Like. Adapters for zigbee z wave etc ?

dark scarab
#

for things like NUT that I think run in docker? newb here too lol

proven grove
dark scarab
#

You can run HA without assistant / containters (add-ons) tho, no?

#

Not assistant

proven grove
#

Basically (for both of you lol) addons do run in containers, but within HA itself. They have some special "magic" that enables them to communicate via the HA UI.

proven grove
dark scarab
#

Supervisor is the word I was reaching for

proven grove
#

We don't talk about Supervised here. 😉 It is the most difficult of the installation methods and the hardest to support.

dark scarab
#

LOL, I only know of it because I'm running RaspberryPi HAOS and had the dreaded "system not healthy thing" and while researching found the snipit that you can't run add-ons on Pi HAOS without Supervisor (whatever that is).

proven grove
#

(Not supervisor, that's different. Sorry for any confustion).

dark scarab
#

Thank goodness the full backup and recovery worked 100%. 5 stars, will implement again.

dark scarab
#

So afaik -> HAOS -> Superviser -> {docker} -> Add-on's

#

again, very newb lol

proven grove
#

Yup. That's it basically.

raven sail
#

I’m still confused 🫤

proven grove
#

lol ask questions and I'll try to resolve your confusion.

#

(Wow... that sounded way too AI-ish)

dark scarab
#

an add-on is a separate program that HA can run in a "VM" like thingy along side the HA program itself.

#

Like runing OBS to capture a game stream, kinda (but not really)

raven sail
#

I just wanted to play around with HA for automations from smart home stuff

proven grove
dark scarab
#

Add-ons are apps that give you extra functionality

proven grove
dark scarab
#

Zigbee / Zwave goes in devices, like Roomba or Roku etc...

proven grove
dark scarab
#

I used the newb auto detect so they are devices for me

proven grove
#

You don't HAVE to, but you can. I run those as separate docker containers on another machine.

#

But some people prefer to have everything in a single UI/single instance.

dark scarab
#

my only add-ons are Duck DNS / Glances / NUT / Node-RED / SSH

dark scarab
#

I'm stuck on getting my NAS to com to my NUT.

#

Anywhere else I'd be banned for saying that lol

proven grove
#

I saw the question, but I can't help with that 😦 My APS is connected to my NAS, but separated from HA.

dark scarab
#

I saw a comment about a wireshark alike for sniffing packets in HA?

#

Otherwise I'll have to mirror a port and see if there is anything obvious

#

The NUT guys don't have discord, just IRC and listserv lol! Any excuse to update my nicserv ID I guess...

#

And I guess I posted in wrong chan, that should have gone in add-ons I guess. I'll cross post. Better to ask for forgiveness later as they say.

lofty crescent
#

I cant find the configuration.yaml on my HA

raven sail
proven grove
proven grove
lofty crescent
#

currently running just HAOS i believe

proven grove
sour ledge
#

Hey guys, im running the latest HAOS on hyper-v. however, within the last month or so, i've been experiencing Zigbee issues. i've narrowed this down to weird inconsistent network issues. if i ping one of my network devices from the VM i will sometimes get a reply and sometimes for a short period it will timeout.
Anyone have any ideas? i've disabled VM Queues for the network adaptor, still getting inconsistent results

raven sail
lofty crescent
lofty crescent
#

where.... I couldnt find it

proven grove
edgy shadow
#

Is an online machine required?

grand pivot
#

if you're asking if you need Internet access to install HA, yes

edgy shadow
#

no I'm talking about having a PC that remains open all the time to leave the site open

proven grove
edgy shadow
#

not a other solution

#

??

grand pivot
#

?

#

if you want to use Home Assistant, it needs to be running

raven sail
proven grove
sour ledge
raven sail
proven grove
raven sail
proven grove
raven sail
#

My stuff is all backed up from the internal drive (old Mac Catalina stuff) and I moved it all to m2 and did backup there too

#

So by running that installer from Ubuntu onto a new SSD it should boot into it?

#

I guess worse case scenario if it all goes to crap just run docker on Ubuntu that currently boots haha

proven grove
#

Yeah, that should work. Or, if you have a thumbdrive, I think you can use that as well.

raven sail
lofty crescent
#

can someone help me with setting up lightwave for the first time on HA, this is what i have done so far lightwave:
host: 192.168.1.xxx
lights:
name: Archie Light
switches:
name: Archie's Blind

sour ledge
raven sail
raven sail
#

Or just not smart enough to figure it out haha

proven grove
raven sail
#

Nah not your job for that stuff. I just don’t think I’ll be able to use this machine which is frustrating

cunning torrent
#

hi y'all, I have migrated my long-time docker homeassistant installation to a new rapsberry pi, I have a backup of the whole /config including .storage, but when I start the docker image on the new pi with the same config folder mounted (same compose file), I'm greeted with onboarding screen. I have went through the onboarding and I can see all my devices are still there as well as my dashboards and also users, but I can't seem to log in using the old logins. how can I properly restore this docker setup?

#

from the container I've tried running hass --script auth --config /config list and it lists just the one user I've created during the onboarding, but when I navigate to People, I see all the previous users listed

raven forge
#

Please share your compose file and perhaps the output of running something like find /pathtoconfig/ ! -path '*www*' ! -path '*custom_components*' ! -path '*blueprints*'.

cunning torrent
#

ok so I figured it out, turns out not all the files from /config/.storage got copied, namely auth and core.config and some others were missing among the files I've moved over, turns out they weren't copied due to permissions, so I've readded them and it's back up and running. phew. learnt something new about backups.

raven forge
cunning torrent
#

ooh thanks, I'll look into that

olive ember
#

Hi all. I have been running HAOS inside a VM on proxmox for 2 years now. As I am reluctant to use sqlite for huge/critical DB, i created a VM with postgres one week later. It has been "rock solid"!!!. And in case i have a "glitch" with a new version, i can rollback the VM running HA without impacting the DB. Great!!! I am now realizing that i would like to tweek some stuffs here and there ( swapfile, memory, cron, ...). I guess the best choice is to migrate to "supervised" installation. Any recommendations ? Can I use the backup/restore of HA ? will it keep all my device id, add-ons, configurations ? thx.

raven forge
humble scaffoldBOT
#

Home Assistant Supervised is considered advanced and should only be used if you are an expert in managing a Linux operating system, Docker and networking. Maintaining a Debian installation to a very specific set of requirements is hard.
Insecure installations and Unsupported configurations will result if you dont know what you are doing.
You MAY regret using this method.

raven forge
#

If you want an appliance use HAOS, if you want control use the docker installation method.
Why do you feel you need to tweak things? Why do you want to change swap? What do you mean with tweaking memory? What do you want to run via cron?

river ether
#

i got an error installing home assistant

#

i can’t read the log file because i don’t know how to. anyone able to help?

raven forge
#

ha supervisor logs and ha core logs via CLI.

river ether
raven forge
#

You need to enter this via keyboard and monitor on the command line.

river ether
#

damn

#

i don’t have a cable that can connect those things as of now

raven forge
#

We can't really troubleshoot much then. Can you share what you saw at least?

river ether
#

will do.

#

would you like the log file?

raven forge
#

Sure.

river ether
#

it seems the file doesn’t want to attach

#

ill just paste a bit of it if that’s fine

#

it would appear i cannot attach any files here

#

allg if i send u a dm instead?

humble scaffoldBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

river ether
#

ill do what the bot said 😭

river ether
raven forge
#

This 500 error can have a few reasons. Often times it's DNS related.
Could not resolve host also hints towards that. I'd have you run ha host logs had you the possibility to.

river ether
#

is it possible to access the pi remotely

raven forge
#

Where are you installing HA on? How is it connected to the network and internet?

river ether
#

raspberry pi 4b

#

connected through an ethernet connection directly into my laptop, which is subsequently connected to the internet via a mobile hotspot

#

wait i restarted the pi and there's a new error log

raven forge
#

Always the weird network setups 😄

river ether
#

dont even question it 🙏 i got one mod already laughing their ass of at my setup

raven forge
#

I'm absolutely not familiar with that kind of setup but I'm not gonna laugh at it. Hmm, I just noticed that I contradict myself with the emoji but I was laughing at the situation.

river ether
#

'no supervisor internet connection' seemed to be a recurring theme here

raven forge
#

I'm not really sure how the laptop is supposed to give network via the ethernet port to other devices.

river ether
#

hmm

#

i was told it would work from another mod here

raven forge
river ether
#

would it be feasible if i were to edit the mciro sd

#

and enable ssh?

raven forge
#

Maybe but trying to debug the network via SSH isn't necessarily a good option in this case. I linked to the official docs how to enable SSH. What kind of hotspot is it?

river ether
#

its a uh

#

iphone hotspot?

#

i ytierd running a ssh pi@192.168.2.2

#

but it refused to connect

#

i manually configured the ipv4 btw

raven forge
#

Oh. So Iphone > Laptop > Ethernet > Pi > HA. So your HA relies on WiFi, mobile data, a laptop and WiFi to ethernet bridging 😬
There's so much that can go wrong, so many variables, so many dependencies and the complexity is quite high and the reliability low. What if you leave the home, have to update the laptop or want to take it somewhere else?

river ether
#

just wait till you hear about the $10 router that i will connect the pi to once im done onboarding

#

with no internet access btw

raven forge
#

If you only have mobile data I'd recommend a LTE/4G/5G router with ethernet and a switch.

raven forge
river ether
#

turns out there was no ssh file on the sd in the first place

#

so i did a quick sudo touch ssh somehting

#

its still refusing connection though

raven forge
#

Pretty sure HAOS has no sudo either. Unless you mean you ran this on the laptop, of course which makes more sense now that I think about it.

river ether
#

i ran thison my macbook yes

#

in terminal

raven forge
#

Unfortunately your setup is wildly unfamiliar to me. I don't own any apple products either. Do you only have mobile data? No "real" internet?

river ether
#

unfortunately yes

#

ill keep tinkering a bit

#

would ya fucking look at that

#

the create homeassistant button is here

#

all this fucking around managed to make it work somehow 😭

#

THE DASHBOARD

#

IT'S BEAUTIFUL

olive ember
#

FYI, I restored the "full backup" of HAOS into HA Supervised (I used Debian 12) ... everything is working! history, zigbee, tuya, esphome.... and a keyboard in FR, that's a game changer!!!! 😉 😉

#

native ssh with copy/paste....

raven forge
proven grove
#

Supervised, the thing that should not be 🤣

wheat wedge
#

Hi,

I need help setting up Home Assistant on my server.
Im currenty using VMware and i followed all the installation steps.
The last step is what i cant find in my folder:
"Right-click the .vmx file and select Open with > Notepad.
Under .encoding, add a line. Enter firmware = "efi"."

Hoping someone can help me with this, Thanks 🙂

This line was taking out of the logs,
2024-06-22T11:43:09.017Z In(05) vmx DictionaryLoad: Cannot open file "C:\Users\nadav\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

olive ember
#

HAOS is like iphone .... we need to jailbrake it to have full power 😉 😉

olive ember
#

Sorry, i'm using proxmox, but indeed, HAOS is difficult to install 😉 ... because of qcow/uefi !!!! ( i completly forgot that)

proven grove
raven forge
olive ember
#

my HAOS vm is stopped .... I don't see what could go wrong, as everything is docker.... 😄

lofty crescent
#

can someone help me with setting up lightwave for the first time on HA, this is what i have done so far lightwave:
host: 192.168.1.xxx
lights:
name: Archie Light
switches:
name: Archie's Blind

last glacier
median shale
#

did you do the part about secure boot and uefi?

last glacier
#

yeah. Bios is config'd as instructed

median shale
#

do you have anything plugged in to usb?

last glacier
#

a Kb & Mouse..

median shale
#

not really necessary but I guess not a problem either

last glacier
#

& had the USB mem stick when trying the install from Ubuntu of course

median shale
#

sorry to say that I don't have other ideas, except maybe verify the bios settings and maybe toggle them and reboot and toggle back and reboot

#

but that's just from searching your error

last glacier
#

I'll give that a shot.. thanks.

gilded pewter
#

Hi, Im setting up an haos system for a girlfriend of mine. I got a pi4 4gig. im migrating from docker to kvm. but i get this error.
[supervisor.plugins.dns] Detected a DNS loop in local Network!

#

it runs on bridge mode.

#

oh. I have the bridge network br0 used and not the kvm bridged network

nimble jay
#

Hi,
I am trying to reinstall HAOS on odroid N2+. The server starts and I am able to ping it. But it gets stuck at the setup page and gives errors that it cannot clone the add-ons repository. Anybody facing this issue?

proven grove
stuck stirrup
#

I installed home assistant via docker but when I want to connect to HA, I can only from the PC which serves as a server but not from other PCs on the network

raven forge
#

Please share your compose file and address you use to connect to it.

stuck stirrup
fierce umbra
raven forge
stuck stirrup
fierce umbra
#

if you see there there's no port mapping, you're missing -p 8123:8123

raven forge
#

MY_TIME_ZONE and PATH_TO_YOUR_CONFIG are place holders.
HA uses host networking instead of port mappings so using -p would be wrong.

fierce umbra
#

first time I hear about making containers use the host's networking in my life. The issue is somehow the networking config in the host, the 172...1 ip is normally a router/gateway, not a normal dhcp given ip address. Can you give more details about the host?

proven grove
raven forge
stuck stirrup
#

my bad i used the bad ip 🥲 sry

raven forge
#

🤷

nimble jay
celest yew
#

I posted in General but I think this might be a better place.... I am trying to change the radius of my home zone from 100 to 200 but not sure where to do it at.

celest yew
#

@grand pivot Thanks. So I have read that before but allowed myself to get bogged down. Just read it slowly and tried adding to the configuration.yaml file and I see it worked.

sand sorrel
#

Hi. I'm getting low disk space warning on my 64GB HAOS VM. Deleted some backups and I'm at 82% usage. I have run this, but can't find what's taking the space. For example, DB file is not listed here:
du -h / | sort -rh | head -n 20

olive ember
#

may be you could try : find / -mount -size +20000k

sand sorrel
#

thanks. homeassistant folder is 14GB, backup is 10GB. Everything else is 1GB. So I'm at 25GB out of 64GB. This does not add up :\

raven forge
#

Which option did you follow? You have to use the system level way to see all.

sand sorrel
#

first one

#

same with ncdu

olive ember
#

which size is your DB ?

#

and the output of df -h ?

sand sorrel
#

DB is 14GB

#

uploaded df-h on imgur as well. This says 56G used

olive ember
#

Well, I don't know. On my HAOS system, i could not find my GB also....

sand sorrel
#

weird.

olive ember
#

yes... and trying to find/solve using the wrong keyboard got me crazy

#

for sure your /des/sda8 is full ( nearly ) ..

#

If u are using esphome, you could try to "clean build file" on each device.... It can't hurt.

vast sapphire
#

Having trouble installing HAOS as a VM on my unraid server. Added the qcow image and booted, setup is having issues:

2024-06-24 04:26:46.592 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/qemux86-64-homeassistant:landingpage to ghcr.io/home-assistant/qemux86-64-homeassistant:2024.6.4
2024-06-24 04:26:46.592 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2024.6.4.
2024-06-24 04:32:21.992 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemux86-64-homeassistant:2024.6.4: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.6.4&fromImage=ghcr.io%2Fhome-assistant%2Fqemux86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": context deadline exceeded")
2024-06-24 04:32:21.992 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec
sand sorrel
olive ember
#

have you found your swapfile ? ( mine was using 5GB )

#

command: free - h

vast sapphire
humble mirage
#

Just to check, the VM has working internet access?

vast sapphire
#

VM has the same network settings as my other VMs which have internet

#

Not sure whats up with the IP in the network info, as that's not actually it

proven grove
vast sapphire
#

But how can I view the network settings for my actual connection?

proven grove
#

Yeah, basically. HAOS is a light Linux OS and then everything inside of it runs as containers.

#

What are you using for your VM controller?

vast sapphire
vast sapphire
proven grove
raven forge
proven grove
vast sapphire
#

And not use the OS?

humble mirage
#

Well, sort of

vast sapphire
humble mirage
#

Add-ons mostly only work with HAOS, but add-ons are almost always based on existing containers, or there's a container option from somebody else

vast sapphire
#

Deleted the vm/qcow file and restarted, I think it might be working now

#

Ah no, just took longer than I thought to get to the error

#

2024-06-24 06:38:32.236 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
This is indicative of it connecting to the net, isnt it? Or does it just not have a log for failing that

#

Also error 500 on the pull for the container indicates server issue doesnt it?

atomic umbra
#

@vast sapphire generalizing to all HTTP requests, 5xx is supposed to indicated a server issue, but some will incorrectly return that if an invalid request causes an error, for example

#

What's the image tag and repo you're trying to pull?

#

Oh, it's a HAOS update

vast sapphire
#

Just initial install

vast sapphire
# atomic umbra Oh, it's a HAOS update

I havent modified anything, just loaded up the image in a vm, and it started installing. Then gives error:

2024-06-24 06:44:56.965 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemux86-64-homeassistant:2024.6.4: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.6.4&fromImage=ghcr.io%2Fhome-assistant%2Fqemux86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")

atomic umbra
#

Network issue on your end based on that last bit

vast sapphire
#

How is it able to fetch update data earlier in the install though? DNS maybe?

atomic umbra
#

Could be any number of things (including DNS). It could also be a transient issue, but I assume you've retried it a few times already?

vast sapphire
#

Yeah

#

this is the full log. Lots of stuff to indicate its connecting out

#

But I could be wrong

atomic umbra
#

Does the issue occur consistently? Or is this your first attempt?

vast sapphire
maiden mauve
#

OK people, I need a solution for my setup as I'm rethinking the structure

I have a mini pc (elitedesk 800 g2) running proxmox, within that I have 2 vms.

  • windows running torrent and htpc (storing attached usb drives)
  • hassos

Now I'm incorporating a Frigate setup and would like to install it completely off hassos, an independent installation.

So I'm thinking to install it in a docker on proxmox. Problem is, the USB drives that are attached to windows would also need to be attached to the frigate docker which isn't possible. Any ideas?

On the other hand, I was thinking of completely redoing the setup...

Put Ubuntu on the mini pc (no proxmox). Then running everything I need on seperate docker containers - windows, hassos, and frigate within that Ubuntu host

Possible? What are your thoughts?

atomic umbra
versed vapor
#

The GitHub returning 500 error codes for artifacts is a pretty common issue with them

#

Try again in a couple of hours

vast sapphire
#

Vnc just gives me access to the ha "terminal"

#

Oh i think i misread what you meant my mistake

atomic umbra
#

As I understand it, HAOS runs HA and add-ons as docker containers internally. I definitely could be wrong about that though--haven't read much into that section of the docs. It's also a bit odd that it's trying to pull images if it's not implemented in that way.

If so, you can use docker exec from inside the qemu guest to run the necessary commands to install/start sshd/dropbear and add your public key.

humble mirage
#

Well, yes, but no, and that's terrible advice

#

Spinning up containers with the docker command can, and will, break stuff

atomic umbra
#

docker exec runs commands on existing containers, by the way

humble mirage
#

There's no need, or point, in installing sshd inside a container

#

Everything you need to do can be done via the console

vast sapphire
humble mirage
#

login to get past the ha prompt

vast sapphire
#

Whats the login?

humble mirage
#

No, type

login
#

That's all

vast sapphire
#

ah

humble mirage
#

(well, hit enterr)

vast sapphire
#

That was the answer I was initially looking for lol

#

yeah it definitely can reach the web

#

so the issue is likely githubs end

humble mirage
#

It used to tell you that on the console, but they changed it

vast sapphire
#

Will HAOS ever have a simple offline iso installer?

humble mirage
#

Check that IPv6 works too, odd problems can sometimes be down to broken IPv6

#

The image is the install, why would you need an installer?

#

Then it has to download the containers, and those then have to download their dependencies

#

There's no way to do this 100% offline

#

Not without shipping outdated installs

vast sapphire
#

Why not do that?

#

So it can at least get up and running, update later

proven grove
#

Because at the pace that HA is growing, that could lead to tons of issues. People being stuck at some old version, etc and not matching current docs and such.

#

HA is meant to be a private smart home controller, not nessecarily an offline smart home controller.

humble mirage
#

There's an update every couple of weeks, if not more

vast sapphire
#

Yeah its just frustrating being stuck on the "no" version

proven grove
#

What do you mean the "no" version?

vast sapphire
#

As in its currently not possible for me to install

proven grove
#

Ah, but that's really outside of HA's control. I mean, if github sucks (and then often do in this area), there's really nothing that can be done about that. TBF, every smart home platform runs into this same thing. When you plug in a Smartthings hub for instance, first thing it does is reach out to the net to get stuff. If smartthings is having problems with their platform (which they often do), it's the same problem.

vast sapphire
#

I think we made a lap here, that's why I was wishing for the ability to have an 'offline' install, because currently it can become uninstallable outside your control

#

but I understand

humble mirage
#

If unraid supports Docker you could try a pure Docker install, and see if that works

vast sapphire
#

I had a docker install already, just deleted it to move to VM version because passing USB devices was being a pain, and is much easier with VMs on unraid. Also figured might as well do it to have the addons as well

#

All of this just so HA can know the humidity in my room 😅

brave thorn
#

Got a pi5 today, used pi imager like described in https://www.home-assistant.io/installation/raspberrypi
pi does not boot HAOS, then i used etcher and used the url for PI5 from here https://www.home-assistant.io/installation/raspberrypi#writing-the-image-with-balena-etcher.
Then i tried PI OS this is booting, did bootloader update and Boot order to SDCard.
Tried 2 different SD Cards.
Tried both ways PI Imager and ETcher with both SDCards.
Pi says everytime
Boot Mode: USB-MSD (04) order F4
USB2 ...connected
USB2 ...connected enabled
USB2 root HUB port 2 init
USB MSD stopped. Timeout: 25 seconds
Boot Mode: restart (0f) order 0
Boot Mode: SD (01) order f4
trying Partition: 0
trying Partition: 0
trying Partition: 0
trying Partition: 0

and then he retries in a loop

raven forge
#

What does it display?

humble mirage
#

Etcher appears to be having problems of late, in general and not just with HA

brave thorn
humble scaffoldBOT
#

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

brave thorn
humble mirage
brave thorn
humble mirage
#

I wasn't replying to you

brave thorn
humble scaffoldBOT
#

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

brave thorn
#

downloaded a old verions 12.2, wrote it to sd card with balina etcher and the pi5 was booting perfectly

subtle sun
#

If Home Assistant boots from an M.2 NVME drive on say an RPi5, does it automatically detect that and enable a longer history retention or does that still have to be set up manually?

proven grove
late yew
# last glacier I'm (attempting to be) a new HA user. I'm trying to install HAOS on an ASUS NUC ...

I too am finding problems putting this on a BeeLink NUC. I'm suspecting the image! I have downloaded it twice. I get a GNU GRUB Version 2.12 screen, and then 2 primary and 2 secondary choices of boot image. Nothing happens on any of them. When I flashed the image to the 256GB SSD, BalenaEtcher flagged an error at the end of the verify image phase. I downloaded a second copy of the image, and tried flashing it to a Samsun 1TB drive that I have used before. B.E. then gave this error "Something went wrong while opening "C:\Downloads\haos_generic-x85-64-12.4(1)img.zx"" I also tried to go the Ubantu route, but ran into the problem of boot choice. The BeeLink won't allow me to put the Sandisk drive into the top boot order position. (The drive is good as I tried it in a

raven forge
#

Try extracting the .xz yourself and give it that instead or try the pi flasher.
You could also virtualize HAOS which can make a lot of sense on such a PC.

x85
😄

late yew
# last glacier I'm (attempting to be) a new HA user. I'm trying to install HAOS on an ASUS NUC ...

I too am finding it difficult to install the HAOS image on my BeeLink NUC. I tried the Ubantu method, only to find that I couldn't put the Sandisk stick high enough in the boot order to be found. I tried the same stick on a GM1Ktec NUC and had no trouble booting into Ubantu (at a very high resolution of more than 3K x 2K that I wasn't aware it supported) Back to the image being fashed to a 256Gb SSD. It always give an error at the end of the verify phase in BalenaEtcher. I downloaded a second image and it gave me this error: "Something went wrong while opening C:\Downloads\haos_generic-x86-64=1.4(1).img.zx" I tried the operation from the URL, and it said the image was corrupt. Someone please tell the image is good, that I am a fool, and all I have to do is???????????????

raven forge
#

I told you above. Etcher seems to have a moment. Older versions supposedly work.

#

Can you provide a picture of the boot menu in the UEFI of the BeeLink?

subtle sun
raven forge
#

M.2 cases or docks can be had for 10-20.

subtle sun
#

Yeah but usually they're for SATA M.2 which works fine on USB

#

PCIe M.2 really needs Thunderbolt

#

Which I have in my laptop but I don't really want another M.2 dock 🙃

raven forge
#

Look for one that can do both.

ripe saffron
#

question, installed a new HA on proxmox. But i cant update the supervisor version to the current vers.
Command completed successfully.
➜ ~ supervisor update
zsh: command not found: supervisor
➜ ~ ha supervisor update
Processing... Done.

Error: No supervisor update available - 2024.06.0

tender wren
humble scaffoldBOT
#
Core stable

2024.6.4

Core beta

2024.6.4

OS stable

12.4

OS beta

12.4

Supervisor stable

2024.06.0

Supervisor beta

2024.06.2

ripe saffron
tender wren
#

It updates to the latest stable version

#

Which is 2024.06.0

ripe saffron
tender wren
#

You were on the beta branch?

#

You can try ha supervisor update --version 2024.06.2

ripe saffron
#

Error: No supervisor update available - 2024.06.0
➜ ~ ha supervisor update --version 2024.06.2
Processing... Done.

Error: No supervisor update available - 2024.06.0
➜ ~

tender wren
#

Then you have to switch to the beta branch

#

Settings - System - Updates - dotsvertical menu - Join beta (or sth. like that)

ripe saffron
wheat walrus
#

So I had to do a server reset on HA, and when it came back, my zigbee topology is a bit broken. I have one device that isn't linking into the mesh, and took one other device with it. How would I re-pair that device to the mesh without breaking all the tracking that I have on it?

vast sapphire
vast sapphire
dense gate
#

Hey all! I was told to post here. I'm running the official VM image on a debian bookworm host with qemu-kvm / libvert. It has been running fine for a year with the exception of it clinging to a very old DHCP lease (for months!) and not renewing it. It finally dropped the lease today, and now the interface down; in auto config, but no lease - all the octet fields are blank. I'm baffled because everything else had been working fine (accessing it from a .local address, esphome which uses mdns), everything works on the host, including ~2 dozen docker containers.

Previously trying to troubleshoot this I'd toggled the interface between manual config and DHCP both in the web UI and via CLI using ha network.

Where can I find logs relevant to the dhcp client, and what other troubleshooting steps do people suggest? Google hasn't helped much

dense gate
#

Additional note: ran nmcli to edit the Supervisor entry, did save and activate, printed something about waiting for DHCP, finished in barely a second or two...interface still wasn't configured

#

Set a manual IP address and still no network access - except I'm able to access the web UI. But updates fail, esphome isn't working, weather and smartplug stuff is also broken, etc.

vast sapphire
#

Should I make a post on forums?

olive ember
#

can you ping the servers ? i saw ghcr.io, it pings fine for me.

olive ember
#

U are not bocking https ?

#

If ping is ok then it should be https...
Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")

#

no proxi, firewall, pi-hole... ?

olive ember
#

U can access the webui without network ? (hum) ...i missed something....

dense gate
# olive ember manual IP also requires DNS entry

I was speaking in shorthand - I gave a router, netmask, and DNS server. I can access the web UI, but home assistant is unable to reach anything on the network. It was a day ago, though DHCP was the only thing that didn't work.

olive ember
#

HA is able to ping your dns ?

#

( may be restart your DNS server ? )

#

other VM are fine ?

vast sapphire
#

@olive ember It eventually worked, no clue why

olive ember
#

@vast sapphire Ah !!! NICE! .....:-) what have you done? restarted everything ( wifi, router, ...) ??????

vast sapphire
#

I dont get it at all

dense gate
#

DNS works fine on my network. It's not host connectivity (as I said in my first message, the host and 20 containers on it work fine) and it's not my network. I don't see an iptables rules that would be causing this. And no, I can't ping my DNS server - which is also my router - from the HA container. But that's the whole problem - homeassistant can't make any outgoing connections.

I can see the interface is configured correctly and there's a (correct) default route...still nothing. I can get into the web ui, nothing else.

median shale
#

it's the HAOS vm?

#

this is just me, but I would download the backup file from it, turn off the VM and set it aside, and then install a fresh VM and restore the backup to it

#

vms and containers are pretty disposable, everything that makes it special should be included in the backups

raven forge
#

Please share a network diagram and/or description about your network and the output of ha network info.

humble scaffoldBOT
#

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

#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

dense gate
#

I'm good, thanks.

#

that's perfectly readable.

humble mirage
#

Well, for some value of readable - not at all accessible on mobile

raven forge
#

How are you running the VM and where?

dense gate
#

so, repeating the core question:

Where can I find logs relevant to the dhcp client, and what other troubleshooting steps do people suggest?

empty bloom
#

any of that would only be available via the CLI, through SSH or with a monitor & keyboard plugged in

empty bloom
#

i'd start with ha network info

#

doesn't matter, you need to get to the CLI

#

that's step 1

#

step 2 is running commands

raven forge
#

You use a static ip. The connectivity problem is thus not really related to DHCP, no? Do other VMs work fine?
The logs can be checked via journalctl: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/introduction-to-networkmanager-debugging_configuring-and-managing-networking#debugging-levels-and-domains_introduction-to-networkmanager-debugging
You have to run this at the system level, not via addon. Enter login first. I recommend you set up developer SSH for copy paste support and such.

dense gate
# empty bloom doesn't matter, you need to get to the CLI

I'm able to access the console of the VM just fine, because it's a VM...I can access the HA docker container because I have the web UI terminal add-on installed. And in both my first message (linked to a few comments above) and in a follow up I mention using the CLI.

empty bloom
#

that's great, but that still doesn't tell me anything new

raven forge
#

Note that you cannot run commands like journalctl in the addon since it's a docker container.

empty bloom
#

but they can run ha network info to see if HA can get out

median shale
#

but you can run shell from the console, that's fine

median shale
#

so do it

#

or stop wasting time and replace the VM

dense gate
# median shale so do it

I only just got told to look in journalctl and have been answering you all. I have been using the console to run ha, nmcli, etc...without success.

empty bloom
#

you're saying ha ... commands don't work?

median shale
#

and so you're wasting time again by replying instead of doing the thing.

#

we'll wait

raven forge
#

I'm curious how the VM's networking config looks like.

empty bloom
#

I'm curious about this

I have been using the console to run ha, nmcli, etc...without success.

median shale
#

he means without success in resolving the problem

empty bloom
#

well they aren't to resolve the problem, they're to start identifying where the problem lies

dense gate
dense gate
median shale
#

Seven Minutes of following instructions

raven forge
dense gate
dense gate
# raven forge I'm curious how the VM's networking config looks like.

Back, was checking some stuff, referencing this against HA KVM setup guides etc.

here's the VM's network interface config.
<interface type='bridge'> <mac address='52:54:00:ef:c6:ff'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x02' function='0x0'/> </interface>

raven forge
#

Bridge is fine. I think it uses some weird NATing by default.

dense gate
#

yeah, and this was all working fine for a year-ish, with the exception of DHCP never working beyond the first lease pull.

raven forge
#

Do other VMs work fine? What does ip a ln the host say?

dense gate
#

journalctl shows:
homeassistant NetworkManager[322]: <info> dhcp4 (enp1s2): activation: beginning transaction (timeout in 45 seconds)
homeassistant NetworkManager[322]: <info> dhcp4 (enp1s2): canceled DHCP transaction
homeassistant NetworkManager[322]: <info> dhcp4 (enp1s2): activation: beginning transaction (timeout in 45 seconds)
homeassistant NetworkManager[322]: <info> dhcp4 (enp1s2): state changed no lease

(removed timestamps for readability)

It's the only VM. 20 docker containers work fine. host has one bridge; physical interface is in the bridge, bridge has a static IP on the local network.

#

oh, correction: docker has its own bridge, sorry

raven forge
#

I always use dhclient -v or tcpdump to debug DHCP but that doesn't work on HAOS. You can technically install and run tcpdump in the SSH addon but you need internet for that.
I'd either increase verbosity of NetworkManager if possible or clone the VM and use another OS to test. I'm not convinced it's a HAOS issue at this point.
Or even just make a snapshot and install debian over the current VM without modifications.
I'd still like to see ip a of the host.

jolly charm
#

HA URL not accessible

tender wren
hybrid zodiac
#

i am getting a access denied to the vdi

#

like

#

in the vm

#

everything else is fine

subtle sun
#

So in February 2021 a Home Assistant forum moderator said that recorder was a bad choice for recording long term data because it corrupts easily and eventually takes up a huge amount of space.

They then recommended influxdb instead.

Is this no longer the case?

proven grove
subtle sun
#

I mean I don't think I need more than a year of data, but the more stable & less file size the database is (and ease of recall obviously) then the more chance of longer data retention.

proven grove
raven forge
proven grove
#

lmao you're good... I'm not Tinkerer 😉

subtle sun
#

So if you're using say Prometheus, how does that tie in with the "Show More" buttons showing you the regular sort of history from Home Assistant's recorder?

#

Presumably you have to just use Prometheus to browse that data?

raven forge
#

Prometheus' database is not good for storing long term data either. I assume you meant Influx? The recorder does not tie in with it. It runs in parallel. I believe the docs mention that as well.

proven grove
#

Prometheus is ok for long term storage, but not nearly as efficient as InfluxDB is.

proven grove
subtle sun
#

So basically, unless you use the native recorder you have to poll another database to get historical data

proven grove
#

Well, you use both. Recorder for recent history and then InfluxDB for longer or more specialized readings.

raven forge
proven grove
subtle sun
raven forge
#

Note that the long term statistics are a thing so even if you use a retention of 10 days you might still have history: #general-archived message

#

In my opinion the HA graphs and tools are not really good to inspect long term data though. Especially not granular data.
With Influx and grafana you can do proper calculations and dynamic dashboards so your data can actually be used for something useful.

proven grove
#

Sure. That's possible. But, you run the risk of corruption and a huge DB and performance impacts to HA. It really depends on what you want to actually do with the data. The question I typically ask users if why they need to know what the temperature was on a sensor back in 2022.

raven forge
#

I have a dashboard for my contact sensors. I can choose a time range and it tells me the times it was triggered in total, average per minute/hour and so on. Is it useful? Probably not. But that's the kind of flexibility you have.

subtle sun
raven forge
proven grove
solid garden
#

Hi all,

I have a super strange problem: I have HA installed via HA-OS on a custom server. I need two WiFi interfaces (TLDR point to point connection to two solar inverters) . I have two identical USB-WiFI sticks.

If I connect either one it works.
If I connect both I see both in the hardware section but I only see one in the network section.

Any idea why?

raven forge
solid garden
#

I’m not sure how, you mean via the terminal add on?

If I check in the settings—>Hardware I see

WiFi 1 as /dev/bus/usb/001/006
WiFi 2 as /dev/bus/usb/001/012

#

And the strangest part: If I swap one of the identical USB-WiFi sticks for another different model that I borrowed of another device everything just works

#

It seems as if HA misbehaves with two USB WiFi Sticks of identical model

raven forge
#

Yes via the CLI.

solid garden
#

That is interesting: for one stick I get Driver=one and for the anther Driver=rtl8xxxu

placid sage
#

I updated Supervisor from 06.0 to 06.2 and now HA can't start. I have access to the system but ha is down and I'm getting homeassistant hassio_supervisor[590]: s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error and homeassistant hassio_supervisor[590]: s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error. Can't find any useful info on what could be the cause.

humble mirage
#

Exec format error usually means you've pulled a container for the wrong CPU arch

placid sage
#

That told me exactly nothing - sorry 😄 It's not docker installation if that's what you're suggesting.

humble mirage
#

Well, you said you pudated the Supervisor, so you've got Docker 😉

#

How did you update?

placid sage
#

Through the UI. There was monit that there's an update: Home Assistant Supervisor Update

raven forge
placid sage
solid garden
#

actually Im trying to copy the output to paste it somewhere but I somehow cannot ☺️

humble scaffoldBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

raven forge
humble mirage
raven forge
#

Seems like their supervisor is broken through.

placid sage
#

Well...ha doesn't work.

#

Running ha gives: Error response from daemon: container 4965af3ea267fc62f6884b702fba1033ed1430c0a78397efb3ff6921eac397da is not running

humble mirage
#

Reboot and pray?

raven forge
#

The fastest way if that doesn't work is to re-install and restore. I walked someone through re-installing just supervisor here so it's possible: #1228804362231349409 message
You need to do this via keyboard and monitor through and it might not work in your case.

solid garden
placid sage
solid garden
#

from HA-->Settings-->Hardware I can see that the two USB Wifi Adapters are on Port 4 Device 006 and 012

raven forge
solid garden
#

yep currenly for testing I have three WiFi Adapters on it,

Two identical ones 006 and 012 and another one of another brand 009.

I see all in the HA Settings but ontly two show up as NIC in the Settings-->Network

raven forge
#

So what did ha host logs -vf say when you re-plugged 009?

placid sage
raven forge
#

I should mention that the aarch64 has to be changed to what your device uses.

#

docker ps -a should show the arches for the other (or existing supervisor) container(s). Or just uname -m.

placid sage
#

Well...I should mention what HW I'm using, which is Pi4...And I hope I didn't broke anything more than it already was. 😄

raven forge
#

Then that should be okay.

#

Does it work now after a reboot?

placid sage
#

I didn't do any reboot on my own. It simply restarted processes from what I've manage to get from journal. I can try to do the full system reboot, if that's what your advise is.

raven forge
#

If everything works fine right now I'd run a ha supervisor repair, reboot and see if everything is fine.
If you don't have backups take some. I guess you can also just leave it as is.

solid garden
#

so I did the following:

  1. Attached two DIFFERENT WiFi Sticks
  2. Fresh boot of HA --> everything works as expected
  3. ha host logs -vf
  4. Attached the third stick which is identical Hardware as one of the first two

https://dpaste.org/XMWZ0

#

WOW NOW it works!

#

strange, seems something is colliding with the HA boots up with two identical sticks....

placid sage
nimble jay
#

Got this message while installing HAOS on odroid N2+. The installation does not go beyond setup page. Any pointer to what could be the problem.

raven forge
#

Likely network/DNS issues.

high scaffold
#

Where does one find assistance with Nabucasa ... trying ot figure out how to use a custom domain name with cloudflare. I can validate the host - but the acme_challenge won't validate...

carmine plinth
#

i just installed my ha on a vm and imported my profile that was running in a docker container it also had hacs and so on anything i need to be aware of or that i shuld reinstall or check ?

waxen wolf
#

So seem to be stuck trying to install 12.3 on a rasp pi 5 because 12.4 is broken. Also seems to get stuck trying to update the supervisor so it wont finish startup....any clues where to start or look for help?

serene remnant
#

I'm helping a friend setup a sff i5-6500 system to run virtual machines and home assistant.
What is the recommend os to run HA OS and docker?

raven forge
#

You aware aware that HAOS is a OS and does not support running random docker containers? For virtualizing I recommend Proxmox VE which is debian based.
I recommend debian as OS for your VM running docker as well.

serene remnant
raven forge
#

I don't know what most people use but PVE is pretty popular from what I can tell and it's what I use myself.

neat forge
#

For some odd reason after last ha core update my HA is really slow & sometimes unresponsive.. I restored a backup but after updating HA Core its really slow & unresponsive again

In running haos on a Nuc

empty bloom
#

You might want to do some more debugging. You've provided us with 0 information aside from hardware. Are there errors in your logs? What's slow and unresponsive? Automations? UI? APIs? Addons?

torpid cloud
#

Hi guys,
I plan to install home assistant on my synology nas. I read on official website that container was preferred in that case but I have a Z-wave stick and read that everytime the nas reboots, the sticks becomes unaccessible and we have to replug it

#

I also have virtual machine manager on my nas, is it not better to use the ova image given ?

humble mirage
#

As long as it supports USB passthrough then VM makes more sense in that case

proven grove
#

IIRC, there are issues with USB passthrough with the Synology and VMs.

humble mirage
#

IIRC, there are issues with USB passthrough with the Synology
FTFY

proven grove
#

lmao that too

torpid cloud
#

what do you mean by USB Passthrough ? Currently I have a jeedom vm installed and everything is ok

#

even if the nas reboots it gets back access to usb stick

proven grove
torpid cloud
#

mmm ok .. in my dsm it's ok

#

as long as it's configured in the vm

#

and it's resilient

#

when my nas reboots jeedom reboots and still has access to the stick

proven grove
#

Ok, that's good. Ideally, running HA on a Synology should be considered a temporary solution, imho.

torpid cloud
#

I just wanna test for now

#

and see if I don't lose anything and switch

#

I mainly use z-wave and alexa vocal assistant

#

I saw there was a skill on alexa for HA

proven grove
#

There is a skill for HA, but it leverages Nabu Casa.

#

But yeah, trying it out is good. 🙂

torpid cloud
#

i saw there was another solution without nabu casa

proven grove
torpid cloud
#

i'm a hard player lol

proven grove
#

lmao well, there ya go!

torpid cloud
proven grove
#

Yup. That's a good integration. Pairs nicely with the Alexa Media Player integration as well.

torpid cloud
#

it's starting up

#

thanks for your help

neat forge
humble scaffoldBOT
#

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

neat forge
#

i think this might be something

proven grove
#

Please report it to the author of the 'roborock' custom integration.

dreamy berry
#

So ive been running an overly powerful mini pc with Windows for a few years now and its only really used for HAOS running in a VM on it. It's nice because im highly fluent with the Windows OS and performing full Image backups, individual VM backups, snapshots before monthly updates etc. My plan has always been if any HA related HA upgrade goes wrong, a simple snapshot restoration immediately resolves. If a full host hardware situation happens i can offload the full VM backup to a temporary second machine with VMWare workstation and literally boot up my HAOS VM instance again. And even in a full host hardware failire i can universally restore the entire hosts Windows OS image to totally different hardware to be fully up and running.

At some point i want to proceed with a proxmox high availability concept with a 3 node HA system but i have work to do there and stuff to replan out. I was playing with the idea of taking Windows out of the equation and installing the HAOS directly on the mini pc hardware. Is it safe to say if i perform a fresh installation of HAOS on said mini pc directly, i can simply take a full HAOS backup that i would of took before hand and restore that directly and everything would mesh like it exactly was when HAOS was running in my VM?

proven grove
#

(Sorry, that was a bit succint, but yeah, you can restore a full backup to a new instance and it'll restore everything).

dreamy berry
#

great, thanks!

lime shell
#

Hello, i've a small question :
I just lost all my backup from a old HA installation (HAOS 5 i think).
I will begin a fresh new installation, is it easy to link again all my sensor already placed in my house ? It's zigbee aqara sensor.
I use a raspberry 3b+ and conbee usb

dreamy berry
#

You mean because the device associations are present on your coordinator, but you no longer have the entities in HA directly?

lime shell
proven grove
lime shell
#

for the other temp sensor they are not fixed so it's easy

#

in my memory it was needed to put the sensor close to the conbee to pair it

dreamy berry
#

What do people do in regards to coordinator backups? Like i believe either the Zigbee or ZWave addon i know you can do "radio" backups, but one of them i didnt see a backup function, just forget which. And im assuming the file backup\restore concept is exactly that easy. So if your coordinator burns up, dies, whatever and you get a new one, you clone it over and the devices know no different. But if thats not the case, then what is the process of basically getting all your devices synced again in this disasterous scenario? Is that all a brand new\start fresh effort with all your devices?

dreamy berry
#

So maybe depends on your signal saturation?

lime shell
#

i will test now, just finished the fresh install

lime shell
olive ember
humble mirage
real escarp
#

I tried setting up https using lets encrpyt and it seems to work, but after about a month now I am having the issue that on my PC I can only acsess it using its IP (not homeassistant.local) and I cannot seem to acess it from other devices on my network

#

I am also getting this error in the network tab Invalid local network URL You have configured an HTTPS certificate in Home Assistant. This means that your internal URL needs to be set to a domain covered by the certficate. I have tried restarting and had a quick google to try and figure out what is wrong but I can't seem to get it

#

I have a suspicion that it is to do with some mistake that I made setting up the HTTPS but I honsetly have no clue

humble mirage
#

So... you have to use https:// all the time now

#

If you don't use the hostname in the cert then you'll get errors, and many things will refuse to connect

#

Have you:

  1. Done what the error above told you to do?
  2. Tried connecting only using the hostname in the cert?
real escarp
#

Okay, I think I am beginning to understand. I initally did all this so that I could use homeassistant with google assistant but I don't know if it is worth the hassle

#
  1. I don't think I completely understand what it is saying. If I update the interal URLs to be within the domain of the domain in the cert does that mean that I would no longer have a true interal url as all traffic would be going through the external domain?
humble mirage
#
  1. Sort of, but it's just going to your router and back
  2. Because you have to use https://
#

https://homeassistant.example.com

#

Assuming you forwarded 443 on the router to 8123 on HA

#

If you want internal access without https:// then you need to use a reverse proxy (eg the NPM add-on, or Traefik if you use Docker) to handle SSL and remote access

real escarp
#

This isn't really an issue now that that is sorted but it still puzzles me why I am able to access it using it's IP directly but only from my PC and from no other devices

#

Thanks again for your help

rose quest
#

I try use Nginx Proxy Manager
When add host then error Internal Error

humble mirage
#

As always, check HA's log, check the proxy's log

frigid vigil
#

I'm having issues with getting HA running on Proxmox, are those questions allowed here?

drowsy hornet
#

I had my install working with https/letsencrypt where it was getting a public address and was able to http-01 validate. I lost that address and need to proxy to this instance locally... can I easily restore just using http with the instance? This is a rasberrypi install, I can ping and presumably ssh into the instance... but it doesn't seem to be allowing me to do http to it via the browser.

gentle cedar
frigid vigil
trail mica
#

Hey guys i wanted to ask if there is a good tutorial where it is explained how to install HS on debian 12 lite and use it in kiosk mode? i have done some tuts now but none i found works. On pi3 its for development for a psb board

reef summit
#

Hello everyone, an update went wrong on my HA, and I can no longer boot my server. My backup was old so I can't even say to recreate an image.. Could you help me? I'm blocked in sheel.. I had spent weeks configuring my server.. Thx you in advance

gentle cedar
reef summit
humble mirage
#

Hey guys i wanted to ask if there is a

dense gate
#

A couple of days ago I posted about problems with the haos qemu container that had been running OK for ~1y, with the exception of the DHCP client not working. In the process of setting up a new VM to restore a backup into, I came across the community instructions again, and there was this little note under the "disable firewalling on the bridge" section:

NOTE There is another alternative suggested by @brady in this post where you instead tell Docker that the bridge exists.

https://community.home-assistant.io/t/install-home-assistant-os-with-kvm-on-ubuntu-headless-cli-only/254941/89

...and that fixed my networking problem. I think the setup had been partially working because I had some iptables overrides in a sysctl file, but for some odd reason they didn't match the ones I see suggested in the above thread. I didn't realize what was going on becaus apparently I can't read an iptables output - it looked OK. Time to refresh that memory, I guess.

Why this broke days after a docker update, I'm not certain. System wasn't rebooted or anything else obvious.

So for future reference, if someone says their QEMU guest has no network access and they mention they're using docker, it's likely something happened to whatever was set up around stopping docker from firewalling their bridge.

gleaming pond
#

I have HA running in proxmox on a computer with a built in bluetooth adapter. how do I pass through that adapter so that HA recognizes it?

#

oh. since it's probably connected via usb, I add a usb device?

#

yup. k, thx

toxic maple
#

Ok, this is going to be a bit confusing to explain for me given im new to everything networking and home assistant so bear with me here. I have two separate locations i want to monitor with home assistant, one is my home and the other is a hangar. there arnt many devices at the hangar, mainly light switches, motion sensors, cameras, and ac/heating. i use ubiquitis unifi system and both locations have ubiquiti routers and they are connected using a thing called site magic. which apparently makes them like share a network, paking devices accessable from one location to another. should i enable this feature and not add another home assistant instance for the other network or should i just let the devices be visible to my current home assistant instance. i already am adding a server at the hangar anyways because i want multile location backups for my nas. thoughts?

olive ember
#

Hi @toxic maple . if your network is rock solid, then use only one instance of HomeAssistant... what about zigbee network? extended by ubiquity site magic ?

toxic maple
#

I can use a second signed coordinator. I found one that is Poe

#

Thank your for the help @olive ember

dreamy berry
#

So on a direct baremetal installation of HAOS, how does one recover if a HAOS updates goes wrong? With a Core update, you can use the backup\restore. But if you did a full HAOS update and the system cant fully boot back up. Whats the recovery\rollback look like?

proven grove
tender wren
#

Re-installing HAOS and recovering from a full backup (which you have hopefully downloaded or stored on another machine)

proven grove
#

@tender wren agooglehearts

#

lol

tender wren
dreamy berry
#

Makes sense. Is there a faster process for that other then booting a live linux flash drive..restoring a HAOS disk image...going through setup\restore again...

Outside of doing all this in a virtualized environment of couse...

proven grove
#

VM is best, obvs. But no, there’s no faster process.

dreamy berry
#

Ok. I basically been running an overpowered full pc with Windows, running VMWare and my HAOS VM for aobut 2 years. THat PCs starting to give me issues. I loved the flexibility of SNapshots\vm backups everytime i would update anything to do with HA. Been jumpin around with what to try next. I ended up getting one of those N100 minipc's to use as a dedicated HA box. Was going to go bare metal HAOS install on it, letting it be its own dedicated HA system. But then i was thinking how id be losing out on my whole easy backup\snapshot strategy and stuff like i had with VMware Workstation. So now im thinking Proxmox on the minipc and HAOS as a VM on that to gain that snapshot\backup\restore resilency back...but then im back to basically doing what i was before lol

proven grove
#

lol you are, but honestly, for resiliency and ease, it’s the right choice.

timber lagoon
#

I dunno man, I think the backup that HA provides is really good stuff. WHy would you need anymore?

#

Reinstall HAOS and click on the backup....so easy....

dreamy berry
proven grove
#

VM gives you better backup options plus snapshotting and such.

timber lagoon
#

OR save time increments....it's really well done.

timber lagoon
proven grove
dreamy berry
# timber lagoon I dunno man, I think the backup that HA provides is really good stuff. WHy would...

I would LOVE to install HAOS bare metal right on the minipc and let that be all it does. It runs 24\7 never gives any problems. Doing periodic HA Core updates and creating backups and being able to restore them as a failsafe isnt my concern. Its when a HAOS update happens like this latest 12.4, and then your minipc fails to boot in a catastrophic way...now you cant even get to the HA instance to do anything. Youd find yourself with much longer downtime needing to restore a whole HAOS disk image from a linix live boot scenario, etc etc.

proven grove
#

I mean, I don’t run HAOS, so I don’t use backups at all, if I did, it would be using a VM.

timber lagoon
#

You dont need samba, even an attached drive would do. I think they nailed it with the back ups.

timber lagoon
proven grove
#

Yeah, but I don’t want attached drives that can fail. I have a NAS server with RAID plus offsite backup. Yes, all of that can be done in HAOS, but that’s a single point of failure that I wouldn’t want.

#

Plus, with a VM, I can spin up multiple instances easily to do things like test #beta builds. 😉

dreamy berry
timber lagoon
proven grove
timber lagoon
dreamy berry
proven grove
#

@timber lagoon I’m not saying you’re wrong (you’re not), just preferences.

proven grove
timber lagoon
dreamy berry
timber lagoon
dreamy berry
#

Then what boot medium are you using to perform disk image restorations?

timber lagoon
#

HA install will use it during set up

raven forge
timber lagoon
#

you can literally plug in the HA usb image, say use this backup image and it boots up like nothing happened

proven grove
#

That’s the point though, you still need to keep that boot medium somewhere. With a VM, you can spin up a new instance from a snapshot in a few seconds and then restore to that.

timber lagoon
#

it's part of the default HAOS install

#

LIke I said, they really did a good job

proven grove
#

Fair enough. Anyhow, moving on. Both methods work. How you choose to approach it is up to you @dreamy berry

dreamy berry
#

YEa, thats all fair. I think i might still be missing something that youre saying @timber lagoon and i want to understand. Im gonna type up a big scenario to see where im probabably inaccurately describing something. But it sounds like youre saying something is a bit more resilient there that im unaware of. Please gimmie some time while i type something up easily digestable and if you wouldnt mind, can hlep me fill the missing gap.

#

In the mean time, my next topic for the day. PRobably better in ZigBee or Hardware perhaps. But maybe you fine gents would know regardless. I know theres interference problems with USB3.0 ports\devices when it comes to ZigBee communication. I know the easy answer is use USB2.0 ports for your coordinator. Along with use a USB extension cable if you need to use a USB3.0 port. Does USB3.1 or 3.2 ports share the same problem? Or did they change the encoding\RF stuff there after it was acknowledged with USB3.0?

proven grove
#

Same issue. USB3.x is a leading cause of cancer… erm, interference, for Zigbee. 😊

wary widget
#

Anyone install Home Assistant, Mosquitto, and NodeRed on Docker-Compose, but Mosquitto container gets stuck in the starting phase?

#

I'm stumped

raven forge
#

Share your compose file and log. Doesn't sound related to HA though.

humble scaffoldBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

dreamy berry
raven forge
#

I'm not sure if going through a USB 2 HUB helps anything. It's not like it would filter anything, right?

dreamy berry
# raven forge I'm not sure if going through a USB 2 HUB helps anything. It's not like it would...

Not based on these comments.

Issue: USB 3.0 ports/computers/peripherals are known culprits of RFI/EMI/EMF disruption. (See Ref. 1 23 and 2 9)

Action: Make sure to only connect the Zigbee USB adapter to a USB 2.0 port (and not to a USB 3.x port)

Tips:

If your computer only has a USB 3.x port then buy and connect the adapter via a powered USB 2.0 hub
Using via USB 2.0 hub will in practice convert USB 3.0 to a USB 2.0 port and thus avoid USB 3.0 EMF
A USB 2.0 hub that uses an external power supply will ensure power requirements are fulfilled

raven forge
wary widget
#

That's my docker-compose.yml

mosquitto gets stuck starting, waited 1200sec, and I have nodered as a dependency on mosquitto, so that isn't starting without mosquitto

raven forge
#

Please share the full mosquitto docker log.

raven forge
#

I need a better source to believe with certainty that passing through a USB 2 hub helps anything.

wary widget
raven forge
#

Try docker copose down. Then run docker compose up mosquitto and see what happens.

dreamy berry
wary widget
#
Error response from daemon: driver failed programming external connectivity on endpoint mosquitto (69e49818fee1ed64479f23e32c77c61d97dac736dacd10b30f554d4c525d50b5): Error starting userland proxy: listen tcp4 0.0.0.0:1883: bind: address already in use```
#

I'm using 1883 for something else?

#

I'll try swapping

raven forge
# dreamy berry So your understanding then is the extension cable in the means of its just getti...

I recently switched to a SLZB-06 but before that I used this janky setup with a Sonoff P on a USB 3 port which worked fine: #zigbee-archived message
Intel says the interference goes through the wire but how much and how far it travels I don't know. Does it travel through the data pins? The power pins? All of them? I can't imagine a USB 2 switch would filter this. At the end of the day I do not have enough information to tell anything for certain. I did not do any tests myself. I can only tell you that I had no problem with my setup.

wary widget
#

I checked 1883, and nothing is assigned to it (at least that I can connect to), I changed to 1884, and when I compose up, it gets stuck on attaching to mosquitto

raven forge
#

Can you try without the user:?

dreamy berry
wary widget
#

Think I got it!

#

I think the dependencies were stopping it from running alone

#

So I ran the full compose up and it appears to be working (from initial looks)

#

Appreciate the help, @raven forge

raven forge
#

mosquitto itself has no dependencies though so docker compose up mosquitto should work 🤷

wary widget
#

We'll see if I run into any issues while I do the setup

#

I'm in the HA UI and doing the nodered stuff rn

fluid sequoia
#

Hi everyone. I hope this is the right place to ask for help. For some reason a few months ago my HA stopped updating and I now can't update the core or OS because something seems to have gone wrong with the supervisor update. I get the following error. Could anyone shed some light on this or maybe point me to how I might diagnose this?

Error: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.06.2: 404 Client Error for http+docker://localhost/vl.44/images/ghcr.io/home-assistant/amd64-hassio-supervisor:2024.06.2/json: Not Found ("No such image:ghcr.io/home-assistant/amd64-hassio-supervisor:2024.06.2")

magic patio
#

im trying to setup mqtt on a raspberry pi 5 and i am getting told that i can only run it on a raspberry pi (despite me being on one) anyone know how to fix?

humble mirage
#

im trying to setup mqtt on a raspberry

serene maple
#

is home assistant still working on the Raspberry pi 3B?

tender wren
#

Yes

serene maple
#

ok when i go to boot it up i get this

#

well it wont let me load the pic

humble scaffoldBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

serene maple
#

Net: No Ethernet Found

#

but when i put in the other micro SD card its boots fine and picks up the ethernet

tender wren
#

Did you choose the correct RPi model when flashing the SD card?

serene maple
#

yeah

tender wren
#

The one for RPi3, not RPi4 or 5

serene maple
#

yes

tender wren
#

Strange. Any DNS stuff like an ad-blocker running on your network? Or other restrictions in your router?

serene maple
#

this is what comes up took a few to get back im my imgur

tender wren
#

404 not found

serene maple
#

see if that one works

tender wren
#

Nope

serene maple
#

ok theres lik 6 links what one doe i need to use lol its been forever since ive used imgur

serene maple
#

whats wierd is when i put the micro sd card in that has the Raspberry pi os on it, it picks up the ethernet

tender wren
#

Have you tried another SD card yet?

#

With HAOS

serene maple
#

yeah

#

i have a 32 GB the 64GB that i bought specifically for the HAOS and the 16 GB one that had the RPi3 OS on it and they all say that same thing I've searched the NET: NO ETHERNET FOUND and it seems that others have had the same issue but i haven't found a work around or a fix that's why i came here to see if anyone knew of a way to fix it or knew what the problem was

tender wren
#

Yeah. Maybe one of the RPi 3 users knows

high gate
#

Can someone help? I am installing HAOS on my old lenovo g780 and i am getting an error. There is a lot of red on the logs

#

Nvm resolved itself

arctic trail
#

If I install HAOS on my new Mini-pc does it run some sort of normal Linux I can also install other stuff on?
Or would I need to install something like Debian and go the docker route if I want to use it for multiple things?

proven grove
raven forge
#

I would recommend the VM way too. Even if you don't use HAOS. Here's a quick start guide for HA on Proxmox VE and some benefits of using VMs: #hardware-archived message

obsidian spear
#

Hi there i got a mini pc i would like to sacrifice to the HA gods how can i do that

obsidian spear
proven grove
#

Yes, there’s Core (difficult), Container (easier) and Supervised (extremely difficult).

obsidian spear
proven grove
obsidian spear
#

Thanks for the help @proven grove i will work on it first thing in the morning

proven grove
#

Sounds good! Come back if you run into issues or need more help.

obsidian spear
#

I'm just sad i wasted my money on that linknlink gateway that was my stupidest purchase ever

#

I just got it and its buggy slow and very limited

proven grove
obsidian spear
#

While installing home assistant using the ubunto flash drive i reached home assistant CLI to be ready

CLI not starting jump into emergency console

#

Nevermind it just worked

#

Now i got to a page with some links my phone is searching for it for a while now but couldn't find it. Also i tried the provided links and didn't work

little swift
#

because of some unaxplained files in my /config directory (apparently remnants from times gone by, I also notice this strange difference on my .db file (SQLite default)

#

this is finder, and the seecond is in VScode

#

so, the VScode does not see any of the regular db files, but has a corrupt db, which I dont have in finder.... what the heck is happening here?

humble mirage
#

If you search you'll see that discussed for VSCode

little swift
#

great, thanks!

#

and about the corrupt db? any reason I can not see that in regular finder (it isnt hidden after all with the .

humble mirage
#

Don't know how Finder works, but maybe the Samba add-on hides files too?

little swift
#

hmm, I can see all storage files etc, but yes, there were odd single files I couldnt see in the finder app either, so it's a bit of a guess , but Ill check Samba settings. anyways, should be safe to delete the corrupt db shouldnt it.....

humble mirage
#

It may be hidden in the code shrug

balmy otter
#

Hi.
I recently installed home assistant in docker on my ubuntu server.
I then started costumizing it but have reached the conclusion that every time my server goes down, home assistant is completely reset and i have to create a home and costumize it again.
Any idea why this is happening?
is it supposed to happen (do i have to save it manually) ?
Thanks in advance

tender wren
#

Did you forget to mount the persistant HA config directory to the HA container?

docker run -d
--name homeassistant
--privileged
--restart=unless-stopped
-e TZ=MY_TIME_ZONE
-v /PATH_TO_YOUR_CONFIG:/config
-v /run/dbus:/run/dbus:ro
--network=host
ghcr.io/home-assistant/home-assistant:stable
The part -v /PATH_TO_YOUR_CONFIG:/config \ , which has to be adjusted to your setup

#

A Docker Compose file would be similar

#

Both are not simply copy&paste from the website

balmy otter
#

yeahhh i dont really know about docker or docker compose

#

i will research more about this

balmy otter
humble mirage
#

docker inspect is your friend, well, compose files are your real friend

#
docker inspect -f '{{ .Mounts }}' homeassistant
#

I'd bet on you having messed up the mount/volume

brazen basin
#

hi there... use HA Container... it worked flawless for months, now I updated something

#

and HA doesn't boot anymore

#

HA starts in recovery mode with this error:

#

2024-07-01 17:53:19.137 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.20.0.5

#

I have this in my configuration.yaml

#
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
  server_port: 8123
  use_x_forwarded_for: true        # How to extract client IP address
  trusted_proxies:                 # Permit connections from reverse proxy
    - 172.16.0.0/12
    - 192.168.0.0/16

it always worked well before...
I tried adding 172.0.0.0/24 but it doesn't work neither... 😦

brazen basin
#

tried 0.0.0.0/0 but it doesn't work...
I use HA since years and I destroyed it can't access anymore... any idea?

brazen basin
#

it was a fucking yaml...

#

damn yaml

halcyon root
#

What the heck am I doing wrong? This worked for about 4 months until decided to redeploy HA, using the same version, 2024.3. HA behind Traefik.

  use_x_forwarded_for: true
  trusted_proxies:
    - 10.0.0.0/8```

```←[31m2024-07-01 18:12:11.848 ERROR (MainThread) [homeassistant.components.http.forwarded] A request from a reverse proxy was received from 10.42.1.86, but your HTTP integration is not set-up for reverse proxies←[0m```
next maple
#

[supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemuarm-64-homeassistant:2024.6.4: 404 Client Error for http+docker://localhost/v1.46/images/ghcr.io/home-assistant/qemuarm-64-homeassistant:2024.6.4/json: Not Found ("No such image: ghcr.io/home-assistant/qemuarm-64-homeassistant:2024.6.4")

#

i m inside a incus vm on a orange pi 5 plus

humble mirage
#

What the heck am I doing wrong? This

fallen imp
balmy otter
#

Thanks for the responses @fallen imp , @tender wren
i reinstalled docker and compose and configured it again just to be sure and it all works perfectly now

humble mirage
#

Images of text ... nauseated

#

However, check why your system is unhealthy

warped nimbus
humble mirage
#

Also check that you're not out of disk space

#

Text ... easy to read for everybody

#

Images ... maybe not easy

warped nimbus
#

ok

#

wait a second

#

i have already 0.5gb of space

humble mirage
#

However, check why your system is unhealthy

warped nimbus
#

how?

humble mirage
#

Should be somewhere in the system health page?

humble scaffoldBOT
#

Open your Home Assistant instance and show information about your system

humble mirage
#

Maybe there? I don't use HAOS myself

warped nimbus
#

i check

humble mirage
#

(and hopefully that's HAOS and not Supervised)

warped nimbus
#

unhealthy

#

do you know how to fix it?

humble mirage
#

Click it, it'll tell you why

warped nimbus
#

no

#

i cant click it

humble mirage
#

Somewhere it tells you why

humble scaffoldBOT
#

Open your Home Assistant instance and show your repairs

humble mirage
#

Maybe there?

warped nimbus
#

oh yes i clicked it

#

it says: The installation is not intact
Performing a broken installation will cause problems. Below is a list of problems you are having with your installation, click the links to find out how to fix the problems.
-supervisor

humble mirage
#

HAOS or Supervised?

#

(and yes, click those links too)

warped nimbus
#

oh wait, i was cheching the official ha post of this post, and it says to update it manually

#

i cant update it manually because if i try to download the terminal ewxtension it says: Impossible to install the extension: AddonManager.install' blocked from execution, system is not healthy - supervisor

#

@humble mirage

humble scaffoldBOT
#

@warped nimbus Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
When using Discord's Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.

humble mirage
#

Also... have a bit of patience dude... You're not paying me for dedicated support

warped nimbus
#

ok excuse me

humble mirage
#

So, try ha supervisor repair

warped nimbus
#

where

humble mirage
#

SSH or on the console (keyboard + monitor)

warped nimbus
#

and how can i use the console

humble mirage
#

keyboard + monitor

warped nimbus
#

in what sense

humble mirage
#

You plug a keyboard and a monitor into the computer running HAOS

warped nimbus
#

no

#

i cant

humble mirage
#

Why?

warped nimbus
#

it doesent have a hdmi or display port

humble mirage
#

What is it?

warped nimbus
#

dusun dsgw-210

humble mirage
#

And it runs HAOS?

warped nimbus
#

yes i bought the version with haos preinstalled

humble mirage
#

Time to do a fresh install and restore a backup

warped nimbus
#

i did it

#

i did it before contacting you

#

i try this

warped nimbus
# humble mirage Time to do a fresh install and restore a backup

now i am trying to do the command with "putty", a ssh im my pc with the ip of the haos, and it gives me this: Got permission denied while trying to connect to the Docker daemon socket at uni x:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/container s/hassio_cli/json": dial unix /var/run/docker.sock: connect: permission denied

humble mirage
#

You can't run Docker commands on the standard SSH add-on

#

What are you trying to do?

warped nimbus
warped nimbus
humble mirage
#

And a fresh install of HAOS is already unhealthy?

warped nimbus
#

yes

humble mirage
#

Try an older HAOS version? 12.4 has had issues on some hardware

warped nimbus
#

how can i check my version of haos

#

supervisor version: Supervisor 2023.01.1
Home assistant: Home Assistant 2023.2.3

#

thats it

humble mirage
#

What does it say for the OS?

warped nimbus
#

where is?

humble scaffoldBOT
#

Open your Home Assistant instance and show information about your system

humble mirage
#

That also shows the Installation type

warped nimbus
#

Home Assistant Supervised

humble mirage
#

FFS

#

Well... that's the worst method

warped nimbus
#

what?

humble mirage
#

Supervised

#

It's a clusterfuck

#

A trainwreck of epic proportions

warped nimbus
#

so what can i fix it?

humble mirage
#

The best fix is to not use Supervised

warped nimbus
#

i have docker CE 20.10.12, and i need 20.10.17, i read it in the github you sent me

humble mirage
#

Great, so update

#

If you don't know how then this is not a method you should be using

warped nimbus
#

i installed homeassistant with an official link

humble mirage
#

The Supervised method has been recommended against for years

warped nimbus
#

i dont used it i think

humble mirage
#

You do use that

#

Home Assistant Supervised

warped nimbus
#

ok

#

i try

#

i need to update the core and the supervisor

humble mirage
#

First fix the OS

warped nimbus
#

how

humble mirage
#

i have docker CE 20.10.12, and i need 20.10.17, i read it in the github you sent me

warped nimbus
#

how can i update the docker

humble mirage
#

Upgrade Docker

#

apt update && apt upgrade

warped nimbus
#

where i need to paste it?

humble mirage
#

I'll say this again:

If you don't know how then this is not a method you should be using

#

That has to be done on the console/over SSH

warped nimbus
humble mirage
#

You'll need to be root/use sudo

warped nimbus
#

yes i know

warped nimbus
humble mirage
#

One