#installation-archived

1 messages · Page 54 of 1

tacit field
#

I'd freaking LOVE to be able to set it up as an additional device on my network, but sadly no, right now it is using the libvirt subnet (192.168.122.0/24) instead of my home network subnet (192.168.1.0/24).
Setting up a bridged connection is gonna be my next step, but it has given me a few issues with NetworkManager

feral drift
#

just a tip, when setting up a bridge, likely what you'll get caught up on is the fact that your server will identify as a new device to your network after doing so
as such, it'll receive a new IP from your DHCP server, as it re-establishes the link with a new MAC address unique to the bridge - so if you're SSHing in, you'll lose connection & have to reconnect after figuring out what the new IP is. unless your router/modem has a DHCP reservation feature, in which case, you may want to delete the old reservation for your server's IP, then reserve it again with the new MAC address given for the bridge connection

cerulean badger
#

I have home asssistant in the app of true charts (like true nas scale app)

#

can I have hacs with add-ons?

#

i cant see the store but I already installed HACs

tacit field
feral drift
#

Would stick around to assist more - however it’s far too late for me to remain up, so uh if no one else ends up helping you further with that in the morning, I’ll reply when I’m awake

tacit field
storm sluice
#

does the slave device still have one? that might be the issue

tacit field
storm sluice
#

make sure the slave device has no ip configuration and that you set it on the bridge instead

manic bane
tacit field
storm sluice
#

if you use dhcp, then disable dhcp on the actual ethernet/slave device and instead enable it on the bridge

tacit field
storm sluice
#

disabled id think

tender wren
storm sluice
#

its container, truenas scale runs apps as containers in a kubernetes cluster

#

but it can run vms i think, never tried that

tender wren
#

I should have read all. Time for a coffee 😆

manic bane
cerulean badger
#

i dont know

#

im guessin its a container

cerulean badger
tender wren
#

As Cal said, there are no add-ons with a container install

storm sluice
#

it can run vms.. so you could just try that instead if you really need to run ha on your nas

tender wren
#

On a container install you have to set other containers up yourself

cerulean badger
manic bane
cerulean badger
#

yeah, now i get it

#

so i can create them and integrate them

pastel thorn
#

Howdy - Running haos in proxmox. Today it has decided not to boot, it gets stuck in rescue mode. The error I see is sulogin: tcgetattr failed: Input/output error tried to find what causes this and I can't find anything - any ideas?

storm sluice
#

do you see any failed systemd units during bootup?

pastel thorn
#

I guess it was out of space?

storm sluice
#

maybe

brittle sail
pastel thorn
next maple
#

so i pulled home assistant on docker on first try i got the onboarding screena and all went well untill i needed to restart the container and now it does not recognize my credentials. after deleting the data folder and recreating/restarting it does not give me the onboarding screen anymore and now i m stuck here

storm sluice
#

it creates a hidden directory .storage in the config directory in that it will place files that save the user data

#

make sure you also delete that, or just delete the whole config directory and recreate it

next maple
#

rm -rf does not seem to remove . dirs then mhmm

autumn gorge
#

Hi, Homeassistant does nog respond when i try to connect using its IP. I am able to ping the adress. Im also able to connect to HA using my domain and the cloudflare addon

Does anyone know how i can fix this? Thank you! :)

My network discovery app says that the raspberry is on the right ip

grand pivot
thin wing
#

i have two glass button, zwave that i consuming throw zwave-js-ui
one is glass 3 gang and the other one is glass 9
in glass 3 i can see the show as field
but i don't see it on glass 9
how can i fix it, even manually

tender wren
humble scaffoldBOT
#

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

storm sluice
#

nice

hot pumice
#

is a rasberry 3 to slow for HA?

#

i want to move HA from micro SD Card to normal SSD what size should i buy 120-256-512 GB

rare hill
#

often it is too slow, yes. depends on integrations & automation amount and your tolerance for pokey UI.
anything > 50G will work well. i'd grab the 256 of those listed.

feral drift
hot pumice
#

what power-saving hardware do you recommend?

feral drift
rare hill
hot pumice
#

i3/i5 6th - 7th generation should be fine ?

tacit field
#

Thanks a lot for your help!

feral drift
#

(previously elaborated on that back up here, while trying to help someone else)

tacit field
timber lark
#

is it possible to create a .well-known file, so external hosts can check it without login

humble mirage
#

No

#

HA is not a general purpose web server

#

DNS validation is likely what you want

timber lark
#

yes, I know, but the problem is, that I have lost my 2FA/backup codes to cloudflare, which handling the dns :/ And I need to place a .well-known file or change in html (meta tag) to show that I am the owner of the account

humble mirage
#

Spin up a web server

#

Also, that's impressive to lose both the 2FA app and the backup codes. Cloudflare also support WebAuthN for MFA.

timber lark
#

I saved in 1Password, but somehow when I changed to cloud version, it was lost in sync :/

#

i think its easier to transfer the domain to an new account

brittle sail
#

sounds like it

humble mirage
#

Easier would be running Apache/Lighttpd/some other web server to host that file

timber lark
#

actually I might not need cloadflare as proxy anymore, because i want to test cosmos - which also have that security function

humble mirage
#

in the last 10 minutes you could have spun up Apache and have it serve that file already, probably 5 times over

timber lark
#

nopes, because the dns is not created for the ha-domain, its a tunnel/proxy handled by cloadflare

humble mirage
#

You can stop HA and have the web server run on the same address and port that HA's on

timber lark
#

but its a HA add-on which makes the cloudflare proxy

#

there is no firewall rules - its a tunnel

humble mirage
timber lark
#

I have already moved the domain to a new account at cloudflare, it was easy, As long I can manage the nameserver at the domain registry 🙂

next narwhal
#

so i finally moved frigate away from HA to a proxmox LXC container with GPU decoding. Now im left with a oversized Virtual HA for Home assistant. Any way to shrink this down again?

#

i once expanded it in proxmox, then let HA grow to fit

earnest laurel
#

My RasPi with HassOS is stuck in a bootloop and I FINALLY got the serial console working, but sadly I have no idea, what's the problem. Can anybody help please? https://pastebin.com/CZCpviCb

humble mirage
#

is that running from an SSD?

earnest laurel
#

It is. Migrated it about a year ago.

humble mirage
#

And are you using a powered USB hub for it?

earnest laurel
#

I'm using an "original" Raspberry Pi power source, I think it's 3A. I'll check it.

humble mirage
#

Do you have other USB devices connected?

#

Because a lack of power can cause all sorts of weird stability problems

earnest laurel
#

Nope. The power adapter (5.1V 3.0A) is connected directly and only to the RPi.

humble mirage
#

Yeah... so I'd be looking to add a powered USB hub

earnest laurel
#

Where? Why? It was working for year(s) without a problem.

humble mirage
#

Between the Pi and the SSD

#

I've seen a lot of stability issues without one, because the Pi just can't provide enough power when it's run nearer the limits

earnest laurel
#

and what's the "No valid slot found"?

#

I don't believe it's a power issue - RPi takes 6.5W peak, SSD takes 0.5W peak and that's still below 50% of the power supply I use. There's plenty of room for any overhead and no way the Pi and the SSD would consume 15W - it would burn within seconds if it draw that much.

manic bane
manic bane
bright void
#

Hey so I installed HACS through the command line and tried to open it and it wouldn't let me then it went away and now I can't do it through bash anymore. Would HA have something in place that doesn't let me install it that I need to turn off or something?

humble mirage
#

No

#

The only command line thing you do with HACS is download it, everything after that is done in HA's UI

bright void
#

Yeah, I've watched the videos it looks easy but something popped up and shut down the process now I can't download it again and I can't get it from the UI I didn't take a picture of what it said but it looked like Ha watcher shut it down. I figured I would do it later but I can't.

humble mirage
#

You restarted HA?

#

On HAOS I've never heard of anything doing what you described

final socket
#

Were you using some video guide or just following the installation instructions on the hacs website?

deft condor
#

ive got an aqara g3 camera which is homekit, but i lost the pairing code. any way to get it?

manic bane
placid sage
#

Do I have to HAVE ethernet

#

When installing it virtually on windows

#

Or is fast WiFi ok

manic bane
stiff wolf
#

ok trying out HAOS and set up a VM on UnRAID (working)
restored from a HA docker core backup (some stuff is working!)
However, minor issue - network auto-logs in as a wall panel [user], which doesnt have admin rights. Any thoughts on how to change the config.yaml in the VM?

#

(if I log out it just auto-logs back in again - is there a direct user based URL to force the user change?)

#

ok updated NGINX to the VM IP to allow external access - so i could log in as the admin

placid sage
#

why whenever you update the internal core, supervisor, os, etc via gui, it doesn't refresh the page so you think the update failed

empty bloom
#

it does?

#

the only time it may not happen is when the OS updates

#

but all others have feedback because the supervisor or core is up during that time.

placid sage
#

supervisor had update...... it spun when i hit install..... after a few minutes it stopped spinning still showing there's an update and the popup still there

#

had to refresh a few times before it vanished

empty bloom
#

because you weren't patient

#

you don't actually need to ever install supervisor updates, that will happen on it's own. And the message will go away after the next version check.

hot pumice
#

can you also use a m2. ssd in the external housing instead of a 2.5 inch ssd in the external housing to install HA on the rasberry ?

versed vapor
#

That would likely depend on the housing I suppose. In the end it's a USB connection either way

hot pumice
#

then a normal ssd would be enough , is it really problematic to run HA on a micro sd card ?

humble mirage
#

Depends on how good you are at automating your backups

hot pumice
#

they say a micro sd card is not suitable for continuous operation of HA

versed vapor
#

Yes the msd isn't really suitable for anything beyond light use

humble mirage
#

And "they" are right

#

But if you have automated backups you can at least recover easily when it fails

versed vapor
#

You should do that either way, it's important to keep backups of important things 'somewhere else'

humble mirage
#

Yeah, but nobody listens to that

hot pumice
#

they say a micro sd card is not suitable for continuous operation of HA

humble mirage
#

🔁

hot pumice
#

is it possible to insert a usb memory stick into the rasberry and install HA on it ?

humble mirage
#

You said/copy-pasted that already

#

That's even worse

hot pumice
#

sorry

humble mirage
#

No

hot pumice
#

thanks then I will probably take an SSD that you can use later when you change the hardwareok

humble mirage
#

And use a powered USB hub for that, or you'll be back later

hot pumice
#

wanted to connect the ssd directly to the rasberry without a hub

humble mirage
#

That's a bad idea

#

Don't let me stop you though, if you want an unstable install and disk corruption then that's up to you

hot pumice
#

ok its better to connect a powerd usb hub to rasberry

humble mirage
#

That's what I said, yes

hot pumice
#

a recommendation for an active usb hub ?
I know you should pay attention to the amperes of the supplied power supply

humble mirage
#

Search the history, there's been a few suggestions - and options do depend on your country

dire hawk
#

Hi :)
I run HA-OS
Network mount for backup have failed at some point, and it look like backup kept going on the local folder rather than the mount (lack of mount folder RO permision ?)
Now i'm stuck because HA is blocking the mount "Cannot mount Freenas_Backup at /data/mounts/Freenas_Backup because it is not empty" and i can't find the /data/mounts under the ssh addons ...

The layer of container mean i don't know how to fix this

dire hawk
#

Hi :)

#

Solved, see thread if needed

#

anyway, night all !

torn latch
#

Please let me know if this is the place to ask as I’m new here. I’m currently running HA sighing virtual box on a dedicated windows machine with other services such as Plex/steam gaming servers. I’m trying to move away from using virtualbox. Would my best route be to use docker? I feel like most of my integrations will be simple to migrate over as it’s mostly api connections but I think zwave is the one that is going to be the most difficult.

#

well I did a quick search of the discord and found my answer 🙂

robust cairn
#

heya guys, can i use the rpi5 for HA already?

tender wren
#

HAOS for RPi5 is still in Beta and not fully ready yet. A Container install is possible.

robust cairn
#

thanks for answering. so i have to wait cause it will be stand alone and exchange for the pi4, or i switch to beta path

tender wren
#

The Beta is not ready for real use yet.

robust cairn
#

sad, however i have time. thanks again^^

ebon stream
#

Hey folks, bought a new SD card and a clean usb to use as a data drive on my pi3b HA. I cloned the card but before I had issues where it wouldn't install the new updates and randomly kept crashing during installs. I thought my SD Card was faulty but now I wonder i it wasn't faulty AND my install is corrupt as the cloned card seems to have the same issue. Should I rather do a fresh install on the card and a restore from backup vs using the possible clone and its issues?

hollow burrow
#

Hi guys, A few weeks ago I've installed home assistant supervised on a raspberry pi 3b+. I installed Debian 12 (on a SSD drive, no GRUB), OS Agent and the Home Assistant Supervised Debian Package according to the official supervised-installer guide. Then I restored from a backup and everything is working as expected. This week I've updated Debian (apt update && apt upgrade) to install a new kernel and after reboot the Home Assistant Observer is reporting Supported: Unsupported (cgroup_version). Everything seems to be working fine but I'd like to fix this issue. After reading some google results and looking at the forums I'm still unable to find a way to setup cgroup to use v1. Any help would be appreciated!. Thanks in advance!

brazen basin
#

is there someone who tried HA Container on an immutable linux distro?

dry pagoda
#

Currently at work and signed into ha app on my.phone. is there a spot to see what my url set up was so I can access my system from work? I remember setting this up when I fisrt started the system up.

placid sage
dry pagoda
placid sage
#

Enjoy the party :^)

dry pagoda
#

🤣

timid gorge
#

My VM isn't getting an ip from my network, it should be 192.168.1.x and it is getting this one: 10.0.2.15

I installed by doing this:

virt-install --name hass --description "Home Assistant OS" --os-variant=generic --ram=2048 --vcpus=2 --disk <PATH TO QCOW2 FILE>,bus=sata --import --graphics none --boot uefi --hostdev 003.003

The VM is running, HAOS booted without errors.

crude inlet
#

@timid gorge it needs to be using a bridged network adapter

timid gorge
cloud sphinx
#

Hello, im stuck on installing HA on a rasbery pi 3 b, i have it so far that i get to the "waiting for the home assistant cli to be ready" and went to homeassistant.local:8123 and got the [supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server

crude inlet
pliant notch
#

as of yesterday, home assistant is no longer accessible via the web browser or iphone app (i've restarted multiple times). I connected a mouse and monitors to my RPI4 and it says this "[WARN] Home Assistant CLI not starting! Jump into emergency console...

Anybody available to please help?

#

when i open up HA observer, it says this a bunch of times:

s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error

humble mirage
#

What hardware is that on?

viscid sigil
#

They said pi4

unkempt swan
#

I installed home assistant on a usb stick and boot it via a rpi3. Is there a way to figure out what the system is currently doing when displaying "Preparing Home Assistant". Show Details seems to be not that informative...

inland stratus
#

Hey guys I'm having issues with a fresh install of HA when I type in the HA ip I'm getting 500 Internal Server Error
Server got itself in trouble

viscid sigil
inland stratus
quasi wedge
#

hey guys, i've been trying to make some custom rest sensors and keep running into an issue - most of the time when i restart HA, i get this error on my rest component "TypeError: 'NoneType' object is not iterable", but i don't know enough to know how to fix it or what to do or where to look - does anyone have any suggestions?

#

for reference, it has this in the error log: "File "suburbCoords.jinja", line 3, in template
TypeError: 'NoneType' object is not iterable"

and suburbCoords.jinja is a custom template i made which does this:

    {%- set value_json = state_attr('sensor.suburb_coordinates', 'entries') -%}
    {%- for x in value_json -%}
        {%- set testPostcode = x["postcode"] | int -%}
        {%- if testPostcode == postcode -%}
            lat={{ x["lat"] }}&lng={{ x["long"] }}
            {%- break -%}
        {%- endif -%}
    {%- endfor -%}
{% endmacro %}```
#

although sometimes i also get the error "Template error: int got invalid input 'unknown' when rendering template '{% from 'suburbCoords.jinja' import suburbCoords %} {% set postcode = states('input_number.postcode') %} {% set coords = suburbCoords(postcode | int) %} https://www.racq.com.au/ajaxpages/fuelprice/fuelpricesapi.ashx?{{ coords }}&fueltype=37' but no default was specified" instead, and i have no idea why or how to fix it

grand pivot
#

The entity has a state of 'unknown', which isn't an integer

little plaza
#

I have an old Odroid N2 4GB RAM that I just put a fresh install of HA on, and I would like to connect it to my Aqara water leak sensors, is the Home Assistant Sky connect dongle all I need to get that all up and running?

humble mirage
#

Assuming they're in range, yes

last light
#

I want to migrate HA to another machine. So far I've read creating the backup and importing it is most of it. What about the Zigbee dongle and all it's connected devices? This dongle will have another mount path on the new machine. What is there to look out for?

humble mirage
#

You should be using /dev/serial/by-id/

#

That won't change, and you don't need to do anything

last light
#

Hmm, right. forgot about that unique ID. Well, then I'll give it a try.

ivory pivot
#

Hey folks, what is the best way to update HAOS when running HA in a VirtualBox VM? Updating the OS has seriously messed up my installation on a couple of occasions

tender wren
#

Pressing the update button.

#

A downloaded (recent) backup doesn't harm too.

cunning glade
#

has anyone deployed the haos ova qcow2 image to a lvm-thin datastore on their proxmox node?

#

just importing to the local datastore keeping it as a qcow2 image works fine, boots right up. trying to import or convert to raw then import to the lvm-thin datastore doesn't work, it can't boot.

#

i figure i must be missing a conversion step or qcow2 -> lvm-thin just isn't supported

woeful latch
#

My wifi provider changed, and now when I try to connect to HA running on my raspberry pi 4b locally, it just doesnt work.

#

I have both ipv6 and ipv4 addresses for it

cunning glade
#

well, that's nuts... qm import disk apparently doesn't know how to do this and neither does the 'move storage' option in proxmox. i manually created a lvm thin volume then dd the raw image to the lv and it boots fine.

cunning glade
#

so the dd of the raw image wasn't actually sparse i used the 'move storage' function again to see if it would sparse the disk, which it did, but now it doesn't boot again.

cunning glade
#

well, emu-img convert -O raw -o preallocation=off haos_ova-11.2.qcow2 haos_ova-11.2-sparse.raw actually created a sparse image

#

and dd if=haos_ova-11.2-sparse.raw of=/dev/mapper/2tb--hdd--vg-vm--102--disk--1 bs=8M conv=sparse status=progress actually writes the sparse data to the lv

#

and that boots

#

just a generic import like so qm disk import 102 haos_ova-11.2-sparse.raw hdd-2tb does not work

tacit egret
#

Hello everyone! I have a question... I have an old X86 system. And I been trying to install HAOS onto it. There is one formatted HD in it, 984 gb, formatted (Fat32).

#

If I load Ubuntu on a USB, boot from it, TRY (not install), I don't see the image file as it's written on the 2nd drive...

#

If I try to install straight from the HAOS image on a USB, it looks great, but then jumps to [WARN] Home Assistant CLI not starting. Jump into emergency console

versed vapor
#

Did you make sure it has the uefi stuff configured?

#

In theory the qcow2 image should already support thin provisioning so no conversion should be required

#

Or could it be that the sparse version acts differently to the normal one
Alternatively you could try out the installation script https://tteck.github.io/Proxmox/ from tteck

cunning glade
#

uefi / secure boot stuff was all fine

blazing sparrow
#

when installing HAOS via the Ubuntu method. can I extend the restored partition to take up the entire drive after its done?

cunning glade
#

somehow qm disk import was just corrupting the disk regardless of what format the image was

raven forge
misty briar
#

Hope this is right channel - Proxmox - LXC running debian 12 - an install script but koek? MQTT - Job for mosquitto.service failed because the control process exited with error code.
See "systemctl status mosquitto.service" and "journalctl -xeu mosquitto.service" for details.

#

error code stuff in there

#

having baddd luck. goal - 1 mqtt container, 2 zigbee2mqtt containers LXC 2 POE ethernet routers, 1 for house, 1 for shed. probably should have stuck with addons which worked fine and added poe coordinator and firmware the other for routing mode.

manic lantern
misty briar
#

ah cheers. ill try that.

manic lantern
#

try it and let me know

misty briar
#

strange i cant cd into etc eve though ls shows it

manic lantern
#

screenshot?

#

of ls

misty briar
manic lantern
#

run ls again and ss

misty briar
#

ah i got in, i got the 101 102 103 confs, etc.

#

do the mqtt one?

manic lantern
#

yeah so edit the one u need

#

yea

misty briar
#

cheers

manic lantern
#

let me know if it works

misty briar
#

same error, could haos addons of z2m or mqtt be interfering?

manic lantern
#

😦

#

hmmmm..

#

that was the only idea i had

misty briar
#

i might recreate the lxc later n redo it. maybe a freak error

manic lantern
#

are you in the homelab discord? they know more about proxmox related things than most here probably do

misty briar
#

or give up and run 1 coordinator 1 router (house, shed)

#

ill have to check for it

manic lantern
#

yeah join the homelab discord idk if i can send an invite here without banhammer

misty briar
#

homelab is dangerous for my wallet

manic lantern
#

same

misty briar
#

i got optiplex x 2 so far, want nas 4bay with gpu for jellyfin, a frigate nvr that fits a 1-3ru case, 16-24port poe switch and a second 2.5gbe switch for normal network. maybe dahua cameras, coral ai. been loving home assistant.

#

and run a 9ru rack

#

should fit above a doorway neatly.

raven forge
misty briar
#

cheers, ill check it when i get home later.

ebon stream
# cloud sphinx Hello, im stuck on installing HA on a rasbery pi 3 b, i have it so far that i ge...

Using wifi? I just finished updating my installation on my pi3b and one of te big issues is that the wifi kept dying on the pi casing either the supervisor or host internet to be lost. Used a spare cable directly into my wifi router and it works much smoother. Also, it takes a LONG time for it to start up on a fresh install. 20-30 mins. I also got the PulseAudio error initialy but that was due to being unable to contact the network properly.

placid sage
#

Hello, I am trying to remotely access Home Assistant thru tailscale vpn and got the Home assistant machine incorporated in Machines. It is Connected. Now, how to go from here? How do I open Home Assistant?

misty briar
#

su: user mosquitto~ does not exist or the user entry does not contain all the required fields

#

/usr/sbin/mosquitto -v worked !!!

#

legend

#

703246308: mosquitto version 2.0.18 starting
1703246308: Using default config.
1703246308: Starting in local only mode. Connections will only be possible from clients running on this machine.
1703246308: Create a configuration file which defines a listener to allow remote access.
1703246308: For more details see https://mosquitto.org/documentation/authentication-methods/
1703246308: Opening ipv4 listen socket on port 1883.
1703246308: Opening ipv6 listen socket on port 1883.
1703246308: mosquitto version 2.0.18 running

#

not sure it's using my config i had but its working. guess ill have to see if the z2ms work

#

whats teh method to make it an autostart service.

#

and edit it's config yaml

odd nova
#

hey i am running a homeassistant supervised installation on debian, but since a few months I have a weird issue that $something drops the DNS servers from the main interface and thus HA/* can't access the internet anymore, plugin updates fail. Most interestingly it is still able to get update informations.

I got two VLANs setup on the machine for the ZHA and z2m controllers so they have their own isolated low traffic network(main net caused the esp32 to freak out sometimes).

Apparently the supervisor does this https://paste.stejau.de/087d9850e8b1 after a few days/weeks. It does not matter if i clean up.

Any idea why it might run amok here and how to properly persist DNS Settings?
I put them into NetworkManager and the UI multiple times but they are gone after a few days :(

final shell
odd nova
#

sorry, i should have mentioned... all three interfaces have static network config

#

got annoyed when discord told me my message was too long :(

#

and I don't see a dhcp client on the machine(checked just to be safe)

final shell
#

i have vague but bad memories of network manager. i would guess that's responsible. there ought to be some logs somewhere explaining what it's doing.

odd nova
#

yea sadly a supervised install really really wants that monster

#

hrm this is plausible.

#

the machine rebooted for updates and upon reboot it looses dns servers

final shell
# odd nova yea sadly a supervised install really really wants that monster

i have yet to attempt to install HA itself. AIUI, supervised seems the least overhead option without sacrificing add-ons, but is not supported in ubuntu (but is in debian). "has strict requirements you need to follow." i expect there's a good reason for that, so when i do tackle it, i guess i'll use kvm. what distro are you hosting the supervised container on? is it really worth going that route over kvm?

odd nova
#

debian :P

final shell
#

well, at least that's a supported OS, i think...

odd nova
#

yes i guess it is, as i run custom networking and stuff like backup/monitoring which I hate splicing into existing appliances

#

i really really hope its not systemd-resolved

#

testing something really quick

final shell
#

i sympathise. i'm too old school to be comfortable with containerised stuff, but i will have to join the 21st century (at least the last decade) eventually.

odd nova
#

upon each reboot supervisor will create a new set of connections in networkmanager

final shell
#

nm must be configured somewhere.. is this nm instance running inside the container? it's not, is it?

odd nova
#

no its on the system and the hassio_supervisor container interacts with it

raven forge
final shell
raven forge
odd nova
final shell
#

alternatively, the nm (or whatever) inside the container is trying to fetch config from the nm outside the container, but nm outside hasn't been configured to supply the correct DNS

odd nova
#

the Hassio Supervisor connector interacts directly with various host services so it can configure Network and other stuff to its liking

#

and ensure a "round" experience

#

container not connector

final shell
#

oh

misty briar
raven forge
#

With the the command I gave you earlier. You only need the -s because it's not a normal user.

misty briar
#

Ah ok

#

Cheers

odd nova
#

The issue was that i did not add the ifupdown plugin to NetworkManagers config but then used /etc/network/interfaces* to configure the stuffs. After changing this it appears stable

#

The solution is apparently to move all config towards network manager completly

#

yep that was it. grml :) works now and since its still a bullseye I will upgrade it to bookworm.

raven forge
odd nova
#

when i last looked it said deb11 :P

#

and i was annoyed as i initially installed it all on a deb12, so now i can finally upgrade

final shell
final shell
#

'cos the docker docs don't say anything about support for stretch, and well, stretch is 5 or 6 years old now!

raven forge
final shell
#

but upgrading them will be much more of a headache than these pi's

raven forge
#

My debian upgrades were mostly pain free

cunning glade
final shell
#

they both run webservers, and IME apache upgrades have nearly always been painful. this time will be worse, because i think they might still be using FastCGI.

#

plus a bunch of other stuff that i've mostly forgotten about.

#

but someone's bound to moan when it breaks.

grand estuary
#

Hello guys, new around here and have been doing some home automation initially with EIB/KNX, later on RF / Zwave with various controller hubs and now thrilled to be moving on to Home Assistant for personal use! I bought myself a nuc and thought I’d hook it up to my projector for some streaming/surfing and want it to handle my home assistant with cloudconnect.

misty briar
raven forge
#

Are you sure it listens on that port?

grand estuary
misty briar
#

not sure, what port do you think it'd be

#

ha it was 1883

#

its worrrkinggg

#

yesss i see the z2m page.

raven forge
#

Not a fan of such scripts. You're just creating a black box.

misty briar
#

what's that

raven forge
#

In this case a VM/CT that you don't fully understand how it works. You didn't make the choices.

misty briar
#

ah

#

learning as i go, hope that helps. lol

limber acorn
#

Is this a good place to ask about bad gateway errors?

plucky cove
#

hi guys! I'm trying to install a custom addon from github, and I get this error:

#

"The command '/bin/ash -o pipefail -c apk add --no-cache python3 py-pip && pip3 install --upgrade pip' returned a non-zero code: 1"

#

anyone got any idea?

hoary sentinel
#

My MQTT page always refuses to connect no matter what I try. What did you do to fix it?

empty bloom
#

what mqtt page

hoary sentinel
#

The one where u add in the docker compose file and specify the mqtt server it needs to connect to

#

Then on the HA it will appear as a tab to click

#

Like a side bar

empty bloom
#

all of what you just said does not make sense

#

You're either going to use an addon, which does not use docker compose. That will show up on the sidebar. Or you're going to use a container, which does use docker compose, and it will not show up on the sidebar.

hoary sentinel
#

Hmm sorry I made a mistake. The docker compose file installs moquitto and mqttzigbee. After which I had to go into the HA config file to add the mqttzigbee into the HA side bar.

#

Within the mqttzigbee config file. I point it the seever url to my mosquitto server which is running and alive. However I get that error message shown above in the imgr link

empty bloom
#

did you create a docker network for them to talk on?

hoary sentinel
#

Ok this I do not know…

empty bloom
#

Man, if you are going docker route, you really should learn how the containers interact together

#

otherwise you should go HAOS

hoary sentinel
#

I tried to make it a learning experience for myself to learn about docker. Do you have any guides I could read about?

empty bloom
#

I'm sure there's plenty of guides out there that may work

hoary sentinel
#

I know theres a bridge network within docker with a 172. Smth ip address

empty bloom
#

I haven't looked for any

hoary sentinel
#

So the key words I would need to search for would be ‘docker network for different containers’?

#

i only managed to use ZHA successfully

empty bloom
#

just look for a tutorial that has 2 docker containers talking to eachother. Or look up an HA MQTT Containered tutorial

#

I"m sure there's plenty out there

hoary sentinel
#

I tried to do it for zigbeemqtt and thats where I hit my road block

harsh egret
#

Hello everyone, im installing HA on a debian 11 VM and i get this error when i type this command :sudo apt install ./homeassistant-supervised.deb. Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'homeassistant-supervised' instead of './homeassistant-supervised.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: systemd-resolved : Depends: systemd (= 252.5-2~bpo11+1) but 247.3-7+deb11u4 is to be installed Breaks: systemd (< 251.3-2~) but 247.3-7+deb11u4 is to be installed Recommends: libnss-resolve but it is not going to be installed E: Unable to correct problems, you have held broken packages.

#

can someone help me please ? I already asked to chatGPT and nothing worked

raven forge
earnest laurel
#

The problem I wrote here about few days ago is still there - a following boot loop: https://pastebin.com/TN50zXqd (read over UART)

@humble mirage and @manic bane recommended a powered HUB for my SSD so I bought one but it was just waste of money as the result is the same. I also replaced my Raspberry 5.1V 3A power source with an even more powerful one, so I don't know, how much more power it can drain and where? What amperage do I need? It was working flawlessly for at least a year with the 3A.

earnest laurel
#

Does anybody have any suggestion other than that I need more power?e

harsh egret
dark flax
#

Right now I have HA running in docker container.
Since I have a spare x86-64 machine I'm thinking of installing HA on it. Would this allow me to run addons as ESP Compiler, config editor and other cool stuff?
Also is there an easy way to migrate everything from docker onto this new machine? I assume backup on docker machine and restore in standalone should work but just in case there are any "gotchas" I have to look for

fallen lichen
#

If you put HA OS on that machine, you certainly will be able to run add-ons. Migration is just a matter of backing up as you mentioned and restoring, no real gotchas there

dark flax
#

Awesome. I'll give it a go 🙂

misty briar
#

put proxmox on and run haos in a vm. it's great. run on a dell optiplex/tiny sff server. throw in 32-64 gig ram and play around. low power use and really fun to play with.

#

i went from one of them micro pc's to proxmox vm in 10-15 minutes i think

#

restore from backup was easy

#

just remember to pass through the usb dongle

#

if u get a second optiplex or hp, whatever, u can run cloned home assistant so if one blows up, you load the other in about a minute. just use the same usb port.

#

proxmox helper ve scripts in google helps speed it up if ur lazy like me.

raven forge
#

A ethernet coordinator is a better choice when sharing it between multiple nodes.

north venture
#

hi i recently switched to homeassistant core and it is working. but scince there is no option to load from a backup in homeassistant core i just replaced all the filles with my old homeassistant filles and this worked great. until i logged into one of my non admin family member account every non admin account is also admin no matter what i change in the gui. i think i have to change something in the yaml but i don't know where home assistant handles the admin rights and stuff. could someone point me to the right?

latent briar
#

Hi ! Is there a way install homeassistant x64 on a 4 GB drive with 4 GB Ram? Fujitsu Futro S520?

raven forge
#

4 GB is very likely to be too little. You can flash it but during install it will probably run out of space while downloading and extracting all the docker images. Assuming you meant HAOS. Just plain HA should be doable depending on the distro and installation method.

dark flax
#

I have started a restore and it's been going on for over an hour... Is this normal or is there a way to check if it's actually doing something?
I backed up the docker config and started restore on a fresh HA OS install

north venture
#

or if you disk usage is changing

dark flax
#

I have a "headless" setup but I can reconnect the monitor to check what's going on

raven forge
#

If there's no recent activity or nothing happening after some time it's either finished or hit a snag.

magic hazel
#

login as: pi
Pre-authentication banner message from server:
| Please note that SSH may not work until a valid user has been set up.
|
| See http://rptl.io/newuser for details.
End of banner message from server
pi@raspberrypi.local's password:
Access denied

#

Any ideas?

#

Using putty to be able to configure the pi

versed vapor
#

You likely need configure ssh before you can use it. But that doesn't sound like it's related to home assistant at all

magic hazel
#

Uh@idk where to adk really, also the sd card name is bootfs not boot

woeful latch
#

How can I get HASS companion working on Galaxy s5? It doesnt seem to work right now

#

I can enter the address of my server, but it doesnt laod from there

#

(looking to make a dashboard // security camera out of it)

dark flax
#

Can someone please clarify something for me;
If I flash the HA OS image onto a USB device and boot the system from it. Does it automatically copy the HA OS onto hdd or I have to do that somehow?
I can access the HA just fine but for example config->storage is showing the USB device as the disk. Do I just move it to the SSD?

turbid carbon
#

Is there a reason there isn't a HAOS ISO and installer? Like you would with a normal Linux installer? An Ubuntu ISO for example?

woeful latch
#

How can I get HASS companion working on Galaxy s5? It doesnt seem to work right now. I can enter the address of my server, but it doesnt laod from there (i'm looking to make a dashboard // security camera out of it)

warped hearth
#

Folks using container install, how do you handle all your certs? I'm going deep down the rabbit hole. HA is no problem, but now to display iframes, I need each container (eg esphome, nodered, grafana) to have certs as well. I'm using lsio swag for everything so it's getting a bit hard to figure this out in my head the best way to do things. I'm using internal DNS records as well on my router, so that it could work externally.

fallen lichen
#

Single wildcard cert used by the proxy used on all hosts is how I've done it. The cert setup doesn't need to be complicated

warped hearth
grand pivot
#

Why would you need that if you're using a reverse proxy?

warped hearth
#

I have iframes in my dashboards

#

to put in grafana charts

grand pivot
#

You don't need SSL from the proxy to the service

#

Only at the proxy

warped hearth
grand pivot
#

The hairpin NAT or DNS override

warped hearth
#

Yeah I'm using DNS override locally.

grand pivot
#

Still, why do the containers care?

warped hearth
#

They don't, I haven't touched the containers.

#

Only nginx

grand pivot
#

The proxy handles routing

warped hearth
#

Every container that I want in an iframe, nginx needs to know, proxy it and have TLS.

grand pivot
#

That's in nginx, not the containers themselves

warped hearth
#

Yes

grand pivot
#

Anyway, just trying to figure out what you meant with that comment

warped hearth
#

Sorry, maybe it wasn't clear.

#

I think we're saying the same thing 🙂

#

grafana is the only one that doesn't seem happy

grand pivot
#

You don't need to add anything to every container

#

Ok

warped hearth
#

I had to hardcode the grafana IP in the nginx config (set $upstream_app 192.168.1.33) . It wasn't happy with the container name. The other 3 works with the container name just fine.

#

Maybe it's a bind thing within grafana, but it's supposed to bind to 0.0.0.0 internally according to the docs.. anyways, it works.. the less I touch grafana the happier I am 😄

grand pivot
#

I had a lot of issues trying to integrate grafana into HA and gave up. It just doesn't look good

warped hearth
#

Maybe the new HA historical stuff will eventually enable me to ditch grafana

grand pivot
#

I don't know if it supports LTS, though

ebon garden
#

I have port forwarded my installation and used the lets encrypt addon to allow https connection, and this has resulted in access through:
https://ha.gower.stream:8123

#

What would the process be to have this the same way but without the need for the port at the end (no 8123)

nocturne talon
#

morning guys, not sure what channel to use, so maybe this thread must be moved somewehere else.. my issue is that the storage on my tinkerboard is running low, i would like to migrate the data folder to an usb stick. Stick (sandisk 128Gb) is recognised in Hardware, but i cannot migrate the data folder through UI.. No suitable disks are found... any ideas??

tender wren
#

Is the stick bigger or equal to the installation drive?

nocturne talon
#

yeah, 32 integrated, 128 external

tender wren
#

You could try to remove all partitions on the USB stick

nocturne talon
#

freshly out of the box, formatted fat32

#

its mounted in hardware-all hardware; dev/sda

#

but it says; subsytem : Block

kind wind
#

Good morning,
I live in a student residence which provides open wifi. The connection to the network goes through the browser.
I recently ordered the YI Home camera but I can't get it to work. Is there a solution please?

tender wren
humble scaffoldBOT
#

Please do not cross post. Read the channel description, post it and wait for folks to respond. Crossposting wastes people's time as they're unaware of the help you're getting elsewhere.

If you don't get any responses after an hour or more, and your message is no longer on screen, it is fine to re-post or post a link to it.

cedar sundial
#

Is there a way to obtain or configure a HAOS VM/Install with just the kernel, cli tools and docker capabilities? There seems to be no way to get matter/thread/multipan working reliably as standalone dockers (tried with three different systems now) without some patches to the kernel that HAOS incorporates but I don't want a full blown HASS VM running and all my ideas with just removing the unnecessary containers fail as supervisor restores them

cedar sundial
#

figured it out... it seems to be a regression in the matter-server itself. While stable (5.1.1) gives me major issues, 5.0.1 (the version HAOS still uses) works fine

latent ether
ebon garden
#

sorry for the trouble

#

but what way round does wan and lan mean

#

for ports

#

is lan the local llike 8123

#

and wan what it is exposed as

#

so 443

latent ether
#

Exactly. Wan is the public network. Lan is your local network

ebon garden
#

Thanks

earnest laurel
dense badger
languid burrow
#

Hey everyone, and happy holidays 🙂

#

Can someone please help me, im a bit lost...
Im trying to flash Home Assistant OS onto a SSD ive got hooked up via a external enclosure...
The SSD is 1TB
But everytime i flash the image via rpi-imager im ending up missing hundreds of GB....
They arent under unallocated when checking with KDE Partition Manager....
What am i missing?

raven forge
#

Can you share what lsblk -o+LABEL,FSTYPE,MODEL says for the drive? HAOS will grow the data partition at boot so I wouldn't worry just because it's small immediately after flashing.

languid burrow
#

Give me a sec 🙂

#

sdb 8:16 0 953,9G 0 disk RTL9210B-CG
├─sdb1 8:17 0 32M 0 part hassos-boot vfat
├─sdb2 8:18 0 24M 0 part squashfs
├─sdb3 8:19 0 256M 0 part squashfs
├─sdb4 8:20 0 24M 0 part
├─sdb5 8:21 0 256M 0 part
├─sdb6 8:22 0 8M 0 part
├─sdb7 8:23 0 96M 0 part hassos-overlay ext4
└─sdb8 8:24 0 1,3G 0 part hassos-data ext4
sr0 11:0 1 54M 0 rom 200110171222 iso9660 hp DVDRW GUE1N

raven forge
#

As code block and with headers (description at top) please. That output has a specific formatting and alignment that one wants to preserve for readability.

languid burrow
#

What is the formating for a code block on discord? Im not that used to this platform 🙂

humble scaffoldBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

languid burrow
#

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS LABEL FSTYPE MODEL sda 8:0 0 238,5G 0 disk SanDisk SD8SNAT-256G-1006 ├─sda1 8:1 0 256M 0 part /boot/efi EFI-SYSTEM vfat └─sda2 8:2 0 238,2G 0 part / rootMX23 ext4 sdb 8:16 0 953,9G 0 disk RTL9210B-CG ├─sdb1 8:17 0 32M 0 part hassos-boot vfat ├─sdb2 8:18 0 24M 0 part squashfs ├─sdb3 8:19 0 256M 0 part squashfs ├─sdb4 8:20 0 24M 0 part ├─sdb5 8:21 0 256M 0 part ├─sdb6 8:22 0 8M 0 part ├─sdb7 8:23 0 96M 0 part hassos-overlay ext4 └─sdb8 8:24 0 1,3G 0 part hassos-data ext4

raven forge
#

Use three (3) backticks 😉
But that looks as expected. Perfectly fine.

languid burrow
#

Great 🙂
Thanks for the help 🙂

nocturne talon
#

hey guys, happy holidays to y'all! still struggling to get my fresh usb thumbdrive to be recognised to be used as datadrive...:-( it gets mounted, but cannot select it in UI to start migration... any ideas?

#

visible in Hardware as SDA1

nocturne talon
#

do i need to mess with udev rules first or is it possible to stick it in and migrate the datafolder right away?

tranquil silo
#

Hey, folks! Installing ESXi, but it's throwing a license expiration error. Anybody run into this before?

echo seal
#

hi and merry xmas!
i am trying to install homeasisstant supervised in an debian 12 vm. i am using this guide https://community.home-assistant.io/t/installing-home-assistant-supervised-using-debian-12/200253

after the step: "apt install apparmor jq wget curl udisks2 libglib2.0-bin network-manager dbus lsb-release systemd-journal-remote systemd-resolved -y" the hostnames/domains could no longer be resolved. Before this step, everything worked perfectly

/etc/resolv.conf: nameserver 127.0.0.53 options edns0 trust-ad search .

Can anyone help me?

lofty tundra
#

so, is that the right DNS server? IIRC that would be a local-onbox dns server.

#

can you nslookup or ping anything by name?

#

check that you can get to the internet - ping 8.8.8.8

#

trying changing the nameserver to 8.8.8.8 or something

#

8.8.8.8 is google dns

raven forge
#

Don't do that last part. Check resolvectl status. Do you have a good reason for picking supervised?

echo seal
#

ping 8.8.8.8 works fine.
i could not ping anything by the hostname.
i have changed the DNS entry in /etc/systemd/resolved.conf and now everything works fine

raven forge
#

You're circumventing systemd-resolved that way

echo seal
#

yep but i have no idea who i can fix it without circumventing systemd-resolved

raven forge
#

You seem to have ignored my previous message and the comments in the config. Restore the file's contents and read my message.

echo seal
#

uargh... i dont know why... but now it works without the manipulation in /etc/systemd/resolved.conf.

raven forge
#

You probably just had to start the service but I don't know how you tested. I also don't know what the command returned or why you picked supervised.

cunning kite
#

Greetings, I have installed 11.2 via rpi imager onto new SD (Samsung Pro Ultimate 128gb), being used in RPI4, on the display I can see it goes through the init process, resizing and setting up swap. Eventually, I get to starting CLI, the display goes blank. At this point I get mixed results, sometimes I am able to reach the GUI and the gui will tell me there is an error, usually something about a container. Sometimes the GUI is not available. Or sometimes it will look like everything is ok in the log and say something supervisor setup complete, and that is it. I have tried installing the image on the SD card several times and starting over. Any suggestions or guidance on what is causing the issue with installation?

frail fjord
#

Hello, can somebody help me? I am trying for hours already to run nginx reverse proxy for HA to have it under SSL/HTTPS, but I am getting 502 Bad Gateway ...

My nginx configuration: my host machine is 192.168.0.110 where is port 80 a 443 forwarded and my HA is HAOS via KVM on that host machine

server {
    listen       443 ssl;
    ssl_certificate /etc/letsencrypt/live/domain.xyz/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/domain.xyz/privkey.pem;

    server_name  domain.xyz;

    location / {
        proxy_set_header Host $host;
        proxy_redirect http:// https://;
        proxy_http_version 1.1;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade"; #syntax change here

        proxy_pass http://192.168.0.73:8123;
    }
}
humble scaffoldBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

versed vapor
#

This also includes an example configuration file

frail fjord
#

I tried this one, but I will try it again.

#

nginx: [emerg] bind() to [::]:80 (98: Unknown error)
nginx: [emerg] bind() to [::]:443 (98: Unknown error)
nginx: [emerg] bind() to [::]:80 (98: Unknown error)
nginx: [emerg] bind() to [::]:443 (98: Unknown error)
nginx: [emerg] bind() to [::]:80 (98: Unknown error)
nginx: [emerg] bind() to [::]:443 (98: Unknown error)

with that nginx configuration

cunning kite
raven forge
#

Thanks for reporting back. How was the fan powered? GPIO or USB?

frail fjord
#

ye idk how the ssl it just doesnt work :.. so many hours of trying

pallid bronze
#

I am running the latest verion of HA on a rpi4. It keeps crashing at random times and I am trying to find the logs prior to rebooting. The problem is that the .log file is cleared upon reboot. I have extracted the /var/log/journal directory and all its contents but I cannot run journalctl on the CLI. I have tried it on my WSL ubuntu instance but it says (Failed to open files: Protocol not supported). Any tips of how to view logs from before reboot?

raven forge
#

Maybe there's a .1 log file?

pallid bronze
#

yup. i saw that one, it did not show anything out of the ordinary. but since this was not the first time that it happened, i was hoping to dig further back in time

raven forge
#

Ideally one could check the docker logs but I think they are not kept.

frail fjord
#

somebody help with 502 bad gateway ssl pls?

pallid bronze
raven forge
#

Try the host access way described there. No need to transfer things somewhere,

sonic current
#

hey guys I'm running HAOS and just got a "Available space is less than 1GB!" warning. It's installed on a 32GB partition and I cannot see what is using the space. I already deleted some backups so its not that urgent anymore but is kinda strange, see attached du and df outputs: https://imgur.com/a/8dWQsL9

raven forge
#

You need to run this on the host directly to see all

sonic current
#

how though? forums seem down, so no help there 😦

frail fjord
sonic current
# raven forge https://developers.home-assistant.io/docs/operating-system/debugging/

somehow no subdomains are loading for me on home-assistant.io, but i got it now thank you
seems esphome is using like 4.5GB, need to research whether that is normal or not, influxdb uses another 3.xGB which is normal i guess, the other addons are way smaller
the big chunks in /mnt/data are

15.3GB    /mnt/data/supervisor```
in supervisor the backups and addons folder is the big one with the addons mentioned above, so that seems ok to me 
what about the /mnt/data/docker folder?
raven forge
#

Some directories there are mounted twice but IIRC this is where the "file systems" of the containers are stored. ha supervisor repair might delete a few old images.

raven forge
#

Here's how it looks in my test VM

# du -hs /mnt/data/docker/* | sort -rh | head -n 3
9.0G    /mnt/data/docker/overlay2
23.2M   /mnt/data/docker/image
700.0K  /mnt/data/docker/containerd

# du -hs /mnt/data/supervisor/* | sort -rh | head -n 3
25.1M   /mnt/data/supervisor/addons
10.1M   /mnt/data/supervisor/tmp
4.5M    /mnt/data/supervisor/homeassistant

In overlay2 are the mentioned "file systems" for the containers.

I only have these addons installed

# ha addons | grep name
  name: File editor
  name: Advanced SSH & Web Terminal
  name: Glances
  name: Studio Code Server
  name: Mosquitto broker
sonic current
#

so about the same, just that i have a few more addons running, so everything seems to be ok here, just that i need more space 😄

#

thank you very much

raven forge
#

If you want a more interactive way to explore your storage see here: #general-archived message
Just copy paste all in the shell and tada 🪄

sonic current
#

i think thats all info i need, just need to see if its normal that esphome uses this much space but even if its normal, i will expand my file system 🙂

#

have a nice rest of christmas 🙂

grand pivot
dire horizon
#

Had power outage last night and the mini pc apparantly didnt turn on(not there, away this xmas). Expected the installation or OS to enable auto power on when power is detected, but i guess not. Is there a way to make the system restart automatically when power is back on?

raven forge
grand estuary
#

Intel NUC with Ubuntu.
Would appriciate some pros thought on KVM/virtualbox or proxmox as its hard to grasp ones needs on beforehand.

versed vapor
#

virtualization is the advantage and most of the things that goes with it

#

personally i use it for haos as it is much faster to create and rollback backups of the whole vm compared to having ha do it

grand estuary
#

Interesting. Will make sure to check it out before my itching fingers start installing.
Read about BT compability issues from NUC integrated chips to HAOS but guess it doesnt rly matter what sandbox I use

versed vapor
#

it shouldnt matter for this tho passing through pcie device capabilities may be a bit more difficult

#

the recommended way of bringing b2 functionality to ha would be by utilizing external devices acting as b2 proxy

#

like esp32s or some smart plugs

grand estuary
#

Yeah I briefly read something on the matter - that means you use a secondary units BT controller do the BT connectivity and then link it to HA-unit IIRC?

versed vapor
#

yea somewhat like that

grand estuary
#

Well thanks a bunch mate. We’ll see how it goes 😊

lapis steppe
#

Hi i have problem with installation HA on hp compaq 8000 sff elite
I have a disk with haos and i see on the web page i need to use uefi but i cant se uefi option in bios, is it possible to run HA on this pc?

tender wren
#

The 8000 series has no UEFI

#

The first ones with it were the 8200s.

#

You should still be able to run HA, just in a virtual machine.

lapis steppe
#

ok how i can do it?

cunning kite
raven forge
#

Might have been too much power then. Are you using the official PSU?

cunning kite
#

It is what came packaged with the rpi along with the case with built in fan, from Vilros brand, it is a 3A adapter with a switch built in on the cord.

raven forge
#

Strange.

cunning kite
#

The case is Aluminium, could have possibly been shorting somehow, I didn't go back and try just the fan, don't care at this point as it is working and I don't want to possibly damage anything.

#

but what i did just notice, the fan says 5v 0.1A , but pin 1 is 3.3v, I have 2 separate documents from the kit that says use pin 1.

trim coral
#

Hi guys i need some Help please, i try to link my Home assistant with alexa but it's not working, i dont want to pay nabu casa,
I have my home assistant exposed with cloudflare. it's working well, i disabled all security (bots mode, waff)
When i try to link my home assistant into alexa i have this message: "alexa unable to link the skill at this time. please try again later home assistant"
i followed this tutorial: https://www.youtube.com/watch?v=T_jnNsNvnco&t=429s&ab_channel=HassAssistant

The result when i try to link : https://imgur.com/a/AIIKWmm

I will appreciate some help 🙂

Thank you guys 🙂

wind ice
#

with a default install on a pi am i running HACS?

grand pivot
#

Only if you installed it

wind ice
#

i just did the "standard" install using the pi imager.

#

so i assume im not

trim coral
formal remnant
#

but nopt with the standard raspberry pi imager right?

grand pivot
#

With either. You need to install HACS

formal remnant
#

that's what ithought yeah

#

and you need a github acct too

formal compass
#

Hi everyone

#

I encountered an error like this during the installation "[supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server"

#

please help me

neat elm
#

Hi all, my HA UI has gotten extremely slow on Android, chrome and PWA.

I've a windows nuc running a virtual box HAOS.
Core 2023.12.3
Supervisor 2023.12.0
Operating System 11.2
Frontend 20231208.2

humble jewel
#

Hey y’all, I have Raspberry Pi5, and when I find the image for Hassos, it’s not available. I can only find the available image for Pi4. Will this work (hassos of Pi4 to hardware of Pi5) and are the dev people going to develop hassos image for Pi5? Also, happy holidays!!

trim coral
#

@wind ice @grand pivot what i supposed to do please i didn't understand, i have a good image of HAOS with hacs, i'm completly lost lol

trim coral
#

what configuration i need to put in hacs ? what is the link with alexa and home assistant

astral kiln
#

I'm trying to run a pod as a rootless user on AlmaLinux 8, Let's say "dave" for an example. I have a docker-compose.yml file attempting to make binded mounts on a directory I've created under dave's home folder. Dave has access to the podman group and may run related commands without sudo appended, when running this compose file via "podman-compose up" command it fails to run giving an exit code.. reviewing the log I can see that is failed to create directories within the binded mount point, thus I gave dave permissions via "sudo chown dave:dave config" this error is no longer present in our next attempt, howevere it's now complaining that the application in this case "Home Assistant" failed to start due to not being able to capture dhcp packets... I'm assuming this is due to the minimal security policy chosen for this Almalinux 8 Instance, I would like to follow best practice and run pods in a rootlees environment to limit the damage if a container was to theoretically break out into the host system.. at least I would like to do this if possible atm I foresee this being a tad annoying.. thank you for your time.

raven forge
#

Share your config, your commands and their full outputs. The HA docker image runs HA as root, btw.

dire siren
#

Is there a way to install HA on an exiting Pi OS without loosing functionality?

#

i.e is there an installer package rather than a complete Pi image?

crude inlet
#

There is not an installer package. A docker installation of HA would be best for existing OS.

raven forge
dire siren
raven forge
#

It doesn't but it comes with some benefits like service management (start on boot, restart on failure), logging, version change at will, more pain free upgrades (python/venv pain), etc.
All you lose is addons which are just docker containers.

dire siren
#

I see. OK.

crude inlet
#

HAOS is an ecosystem of containers. You can run HA itself as a single container without everything else. You have all the same integrations and custom integrations available

dire siren
#

I have never used docker for anything before. All I need for now it to integrate with MQTT. My fist idea was to use Node-red, but HA seems to be popular. However it seems to have the most complex install process (apart from the Pi image).

raven forge
#

The best way to learn something is to have a need for it. Docker is a great technology to know about. I run Node RED with docker too.

vapid umbra
#

Can anyone help me on how to get the Aqara mini switch working. It shows up in my device list (connected via matter to Aqara m2) but only shows the battery status. It sees the events when I push the button but I can’t add automation. I tried some of the blueprints available but they don’t see the device. #360726982251642880 #confused

storm sluice
#

if you see events in homeassistant you can create automations for those..

stoic smelt
#

Hey pardon my ignorance everyone, my Docker-ized installation of Home Assistant looses all its configuration upon restart. I'm assuming its because the virtualization isn't persistent and that i need to give it a volume, is that correct?

If so, how would i go about doing that on a Mac running Docker Desktop?

From what i understand, i cannot natively access the Docker's file/volume structure using Finder on the Mac (is that correct?) so i guess that would mean id need to use the Terminal to create volumes, correct?

I also have Portainer container installed if that helps my case.

Gracias in advance.

grand pivot
#

Running HA on a Mac with a container install isn't supported

#

You need to use host networking, which it doesn't support

stoic smelt
#

ok, would it be better to just intsall a VM within MacOS then, and run everything in there?

grand pivot
#

Yes

stoic smelt
#

If i need to run Homebridge, Scrypted, and Octoprin, do you think running them all in the same VM may bring challenges of their own?

astral kiln
astral kiln
raven forge
#

Please use three backticks for multi line code.

humble scaffoldBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

astral kiln
#

oki

#

Host is Almalinux 8.9

#

which is being virtualized in the Xen hyoervisor

#

container engine is the latest stable Podman version

#

and I've opened port 8123 on the built in global firewall within the "Host"

#

I'm getting an exit code 0

#

podman shows the container running

#

however can't access the web gui

#

oh and I'm getting an dhcp can't capture packets error on a regualr user

raven forge
#

Like I said, show the commands and their full output. Don't describe it, show it.

humble scaffoldBOT
#

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

astral kiln
#

ignore the port mappings line, I was just expermenting, I'm aware that's not needed when using the host networking

raven forge
astral kiln
#

while running the container detatched?

#
LISTEN 0      128          0.0.0.0:8123       0.0.0.0:*    users:(("python3",pid=67314,fd=8)```
#

nc said command couldn't be found

raven forge
#

I'm not familiar with alma, you might have to install it. You can see that there's something listening so everything "looks" alright. Does a plain http server work?

raven forge
#

Try that then. Perhaps you have a firewall enabled?

astral kiln
#

I do but I've opened the 8123 port on the system firewall

#

I'm starting to wonder if this is due to the secuirty policy I selected when setting up my instance of Alma

raven forge
#

I cannot tell you that.

astral kiln
#

I think I'm gonna spin up another vm and see what happens when I don't integrate a minimal policy

astral kiln
# raven forge I cannot tell you that.

update, Home Assistant via Podman is now accesible via web gui on the 8123 port on a regualr user when disabling the security policy, however I'm still getting this error.

2023-12-27 17:10:01.016 ERROR (SyncWorker_5) [homeassistant.components.dhcp] Cannot watch for dhcp packets: [Errno 1] Operation not permitted

this is in a fresh demo VM almalinux 8.9

humble scaffoldBOT
#

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

astral kiln
raven forge
#

Please google things first.

astral kiln
#

I did, and couldn''t find anything

raven forge
astral kiln
#

I'll admit that was simpler then what I was searching, ahaha

#

I found this

#

covers the same thing but different argument

#

my quarry was - how to add a CAP to a docker compose file

#

good news is it worked

#

however I've got a warning pop up now

#

2023-12-27 21:12:55.266 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly

#

seems to be a common issue?

raven forge
#

Unless that happens often I wouldn't worry about it.

astral kiln
#

should I consider changing databases now, as that one forum user suggested? will this be an issue in the future?

#

I'm assuming the db was damaged due to be bringing the container up and down so many times?

raven forge
#

I'm very terrible at python but last I checked it sets/deletes a "marker" to validate that it closed the db correctly. If that exists it will complain. There's also a time element at play but I didn't research further.

astral kiln
#

understandable

raven forge
#

You can simply stop HA and delete the db but I don't think it is damaged irrecoverably that easily.

astral kiln
#

good to know, this was a test anyways

#

as it seems to work now, I'm gonna reconfigure my AlmaLiunx 8.9 VM for my containers to not use a securty policy, then I'll implement the compatbilty arguments into the compose file.

#

I would assume the - privileged flag is needed in order for HA to operate correctly in a container enviroment, yes?

#

also, would you suggest I take the time to configure individual docker/podman networks for each container?

#

or since I'm dedicating this vm to exclusively run pods, should I just let them use the default host network?

raven forge
#

I can't possibly remember all the things it's used for but one would be to easily find devices like a ZigBee stick without having to pass it through manually. Host networking is for things like discovery. I had a good reference with more details but I can't find it right now. I'd recommend sticking to what the docs recommend as much as possible.

astral kiln
#

got it, thank you for your help. I really do appreciate it

zealous zealot
astral kiln
#

I will add after further testing Home Assistant seems to work fine on the system with minimal french security policy

zealous zealot
astral kiln
# raven forge I can't possibly remember all the things it's used for but one would be to easil...

I've got a docker fella saying that using the net cap additions is a bad idea security wise, I'm vaguely aware.

after hours of troubleshooting I'm not really sure If I wanna change gears but their suggestion was to use HAOS in a VM, which I could do in a few minuets on my XCP-ng Host, it's based on the Xen hypervisor... assuming there's no hurdles that you might be able to warn me about.

they was also concern about the privileged flag but that seems to be needed if I don't wanna go through manual configuration.

what would you suggest?

#

at the end of the day security and stabily is my priority

raven forge
#

Well I run HA in a docker container in a debian VM. I'm not much of a fan of HAOS for various reasons I don't want to get into right now.
I don't really see the point in your case. Whether your alma VM has that cap or the HAOS VM. What difference does it make?

astral kiln
raven forge
#

Would the HAOS VM also have this under the hood?
I'd guess so.

astral kiln
#

which would be okay for a dedicated VM

#

but assuming your running multiple services containers on a single VM like I am

#

if HA was theoretically to break out of containment, let's say a vulnerability was used. they could acces the "host" vm's kernel and make changes possibly alter other Containers

#

again this is theoretical thought based on this security article

raven forge
#

Sure but I'm not the right person to talk security to. I'm embarrassingly lax with it.

astral kiln
#

which in the HA vm's case or a dedicated docker like your using, this just isn't very concerning since it can't escape further... however that'a not considering IOT Smart home stuff.. I guess it would be annoying at most perhaps privacy invading

#

and if one gained access to the HA instance in the first place I think there would be bigger issues in the network

#

such as poor tunnel or firewall security

raven forge
#

My IOT stuff is in a VLAN which can't initiate connections to most other devices. I mostly use tasmota and ZigBee devices and my HA is not directly publicly accessible either.
I try to be reasonably smart about things but I still want some ease of use and not inconvenience myself too much by not using any "smart" devices such as a robot vacuum.

astral kiln
#

I like your setup though, that was my initial idea for the setup but VLAN's didn't work out

#

Media devices and such are kept on a separate internet connection

#

All my home lab stuff is kept on it's own internet connection since getting decent speeds/internet bandwidth is tough here

raven forge
#

I know about Valetudo but I'm kinda not interested in fiddling with it. I just want it to work. Maybe I'm getting old :p

astral kiln
hallow gull
#

Adding card to Lovelace.

teal meteor
#

Hey everyone, Today I got some aduroSmart Eria spots GU10. I have a ZigBee 3.0 stick and am trying to connect them but the stick wont discover them. I have same Aqara sensors connected aswell and they connect and work fine.

humble mirage
teal meteor
#

ah thanks, will do!

sudden granite
#

is it common to get a lot of errors during the first startup of HA?

humble mirage
#

Depends on the errors

sudden granite
#

i'm on virtualbox with windows host

humble mirage
#

You need to share more than one line

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.

humble scaffoldBOT
#

@sudden granite When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.

You have to change this every time (thank the Discord devs for that).

humble mirage
#
fatal: unable to access 'https://github.com/esphome/home-assistant-addon/': Could not resolve host: github.com
#

fix your DNS

sudden granite
#

okay. I did a bridged connection in virtualbox and had assumed it would grab dns from dhcp?

humble mirage
#

It should have, assuming your DNS isn't broken

sudden granite
humble mirage
#

Type login to get a command prompt

sudden granite
#

i'm there

#

i got ip addr working

humble mirage
#

(ifconfig is also ancient tech)

sudden granite
#

ping google.com seems to work, don't think it's dns

sudden granite
humble mirage
#

Please, stop tagging me @sudden granite

humble scaffoldBOT
#

@sudden granite When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.

You have to change this every time (thank the Discord devs for that).

humble mirage
#

Once more ☝️

sudden granite
#

should I look elsewhere for installation support?

humble mirage
#

There's also only two of us here, reply is pretty pointless

raven forge
humble mirage
#

Others can help you debug your DNS

raven forge
#

HAOS and DNS issues. A rare sight.

sudden granite
raven forge
#

Try

nslookup ghcr.io
nslookup ghcr.io 172.30.32.3
nslookup ghcr.io 1.1.1.1
sudden granite
#

i get a non-auth answer of 140.82.114.34 so dns does appear to be working

raven forge
#

172.30.32.3 should be the ip from ha dns info. It's the Core DNS container.

sudden granite
raven forge
#

That looks fine to me. What does ha resolution info say?

sudden granite
#

goes off the page.. sorry I don't know how to scroll up in the console window

raven forge
sudden granite
#

--supervisor
unsupported []
at the end there

raven forge
#

So since names can be resolved though all the things I'd run ha supervisor repair and perhaps try a reboot. Maybe it can fix itself.

sudden granite
#

willco

#

thanks for the help. i'm a bit out of my depth. it's rebooting now

#

hoping that's a good sign

#

this is on a vanilla VirtualBox (.vdi) downloaded from the site

raven forge
#

You might get more information if you do docker pull ghcr.io/home-assistant/qemux86-64-homeassistant:2023.12.4 yourself.
Also check ha host logs.

sudden granite
#

i'm way outside my depth I think i'm going to call it on this install

#

thanks for your help though

iron spade
#

i'm trying to migrate my Home Assistant Docker installation to another server, copied the volume to the new server and restart it using the same docker-compose.yml, yet I'm just greeted with the Onboarding screen like it's a brand new install

grand pivot
#

You didn't copy all the . directories and files

iron spade
#

i tried both a docker cp, and using a backup extracted from HA itself

grand pivot
#

Just make a backup and extract it on the new server

iron spade
#

yeah that's what i did... docker cp the entire volume, dump it onto the new server and started it up

#

i tried creating an account, it does seem to pick up some of the config (automations, one integration in my configuration.yml), but most of the integrations and user accounts are missing

grand pivot
#

You missed the files and directories

iron spade
#

which ones

grand pivot
#

All

iron spade
#

did an ls on both volumes and they look identical

grand pivot
#

Including the dot files?

#

I have a feeling that you just don't know what they are

iron spade
#

ok yeah i see what you mean.... seems like docker cp missed those

grand pivot
#

Like i said, make a backup and extract it

iron spade
#

interesting that the internal backup doesn't capture those either, i tried that as well

#

that's what i tried as well

grand pivot
#

It does

iron spade
#

it created the core_2023_12_4.tar ball

grand pivot
#

It would be worthless if it didn't

iron spade
#

did the trick... thanks, replaced the entire _data with the tarball

#

now just need to figure out how to get HTTP_PROXY working

#

seems to be a mixed bag where some respect the env var but others don't, and all of the ignore NO_PROXY

errant grove
#

I have a raspberry pi 2 model b, is there a tutorial I can follow to set up home assistant from a fresh USB?

humble mirage
#

Just follow the standard HAOS instructions, but dig out the install link from GitHub

#

Don't do it though, the Pi2 is terribly underpowered

errant grove
#

What does home assistant need all that power for?

humble mirage
#

Taking over the world

#

The Pi3 is the minimum spec worth using, and even that's borderline

#

The main problem is a lack of RAM

errant grove
#

I thought it would be a good use of a pi because it doesn't need much processing power

#

I'm gonna have at most 10 devices on the network and no other services

humble mirage
#

Assuming you're going to add no add-ons then it should be ok... slow, but ok

errant grove
#

OK then I won't use it. I thought it had a lower footprint than that

#

What would be a better device?

humble mirage
#

Any small form factor PC from the last decade

errant grove
#

What about an android TV box

errant grove
#

Problem is that these small PCs use too much power.

#

I have a nexus 5, but that's basically the same spec as the raspberry pi

humble mirage
#

Then Pi4 + powered USB hub + SSD

errant grove
#

SSD... For what?

#

I have a 128gb microsdcard that I was intending on using

humble mirage
#

Because SD cards die with little warning

errant grove
#

Ah ok

#

And how much ram? The pi4 is sold starting with 1gb

humble mirage
#

At least 2 GB

errant grove
#

Why does it need a powered USB hub?

humble mirage
#

To ensure you don't under-power the SSD

errant grove
#

Ohhh that's what you meant

humble mirage
#

Or don't, and then come back here later complaining about stability problems

errant grove
#

I have one of those USB3 wires that breaks out the power line that I was gonna use for a wiiu hard drive before the nand bricked itself

#

The power coming from the wiiu isn't enough

#

Seems like $100 is the expected price

#

I'll be back in a few months when I can afford it

feral aspen
#

I have problems installing homeassistant. It pulls a rotten 2023-1-7 version which produces a "Illegal Instruction" when typing hass

#

Here is the error message when trying to install 2023.12.4 version

humble mirage
#

installing on ... what?

feral aspen
#

rpi zero w

humble mirage
#

Ooof

grand pivot
#

well, there's your problem

humble mirage
#

With pip install I take it?

feral aspen
#

sebastian@raspberrypi:~ $ source /srv/homeassistant/bin/activate
(homeassistant) sebastian@raspberrypi:~ $ pip3 install homeassistant==2023.12.4
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Ignored the following versions that require a different python version: 2023.10.0 Requires-Python >=3.11.0; 2023.10.0b0 Requires-Python >=3.11.0; 2023.10.0b1 Requires-Python >=3.11.0; 2023.10.0b2 Requires-Python >=3.11.0; 2023.10.0b3 Requires-Python >=3.11.0; 2023.10.0b4 Requires-Python >=3.11.0; 2023.10.0b6 Requires-Python >=3.11.0; 2023.10.0b7 Requires-Python >=3.11.0; 2023.10.0b9 Requires-Python >=3.11.0; 2023.10.1 Requires-Python >=3.11.0; 2023.10.2 Requires-Python >=3.11.0; 2023.10.3 Requires-Python >=3.11.0; 2023.10.4 Requires-Python >=3.11.0; 2023.10.5 Requires-Python >=3.11.0; 2023.11.0 Requires-Python >=3.11.0; 2023.11.0b0 Requires-Python >=3.11.0; 2023.11.0b1 Requires-Python >=3.11.0; 2023.11.0b2 Requires-Python >=3.11.0; 2023.11.0b3 Requires-Python >=3.11.0; 2023.11.0b4 Requires-Python >=3.11.0; 2023.11.0b5 Requires-Python >=3.11.0; 2023.11.0b6 Requires-Python >=3.11.0; 2023.11.1 Requires-Python >=3.11.0; 2023.11.2 Requires-Python >=3.11.0; 2023.11.3 Requires-Python >=3.11.0; 2023.12.0 Requires-Python >=3.11.0; 2023.12.0b0 Requires-Python >=3.11.0; 2023.12.0b1 Requires-Python >=3.11.0; 2023.12.0b2 R (LOTS MORE OF THIS)
ERROR: Could not find a version that satisfies the requirement homeassistant==2023.12.4

humble mirage
#

Because you didn't read the docs...

#

||Python is outdated||

#

See Prerequisites

#

Your experience though is gonna suck

feral aspen
#

yeah should check which version of python I have

#

I did do python3 install but...

grand pivot
#

RPI3b+ is the minium hardware you should use for HA

humble mirage
#

512 MB of RAM, and a single core CPU

grand pivot
#

this is just the start of the issues you'll have

feral aspen
#

(homeassistant) sebastian@raspberrypi:~ $ python3 --version
Python 3.9.2
(homeassistant) sebastian@raspberrypi:~ $

Seems they shipped a rotten version

humble mirage
#

The 1970's have called and want their computer back

humble mirage
#

Then buy something better than a Pi Zero

feral aspen
#

ooh its for a alarm integration, so I want the HA to be able to run on the battery if power goes, and the spc-web-gateway software only supports bullseye, nothinh later

#

can only pull 750mA from the supply so I needed something more efficient.

humble mirage
#

A Pi2 should be ok

#

But 512 MB of RAM... yeah, that's not gonna fly

#

It'll spend most of the time swapping

feral aspen
#

aha even if its just core and spc-web-gateway running? and just a bare bones HA with a few MQTT integrations and shelly integrations?

humble mirage
#

Try it

#

All you need to do is build Python 3.11 from source, should only take a couple of days

#

And then 3.12 in March

feral aspen
#

which version does not have the "illegal instruction" bug before 2023-1-7 ?

humble mirage
#

HA's install will probably take 6 hours

#

Start with Python 3.11

#

3.11.7

#

The build proces will probably take you over a day

shut rivet
#

Ouch yea that will take quite a bit on a Pi2

humble mirage
#

Worse, a Pi Zero W

#

Bricks run faster

alpine barn
#

So - probably a very newbie question. Installed the docker image and have it running. Config dirs etc. are populated with files as expected. However - I cannot connect to http://<hostname>:8321/. Have tried localhost, ip, etc. but no luck. Any tips/ideas?

shut rivet
alpine barn
#

yes

shut rivet
#

PS: it is port 8123 not 8321

alpine barn
#

yeah, sorry - typo . meant 8123

shut rivet
#

Right, so if it is on the host network, there is nothing to forward or do

#

so, some ideas might be: firewall? (like ufw or similar)

#

Anything in the homeassistant.log file that might indicate an error?

alpine barn
#

2023-12-29 00:26:15 2023-12-29 00:26:15.894 WARNING (SyncWorker_6) [pyroute2.netlink.rtnl.tcmsg.common] tcmsg: [Errno 2] No such file or directory: '/proc/net/psched'
2023-12-29 00:26:15 2023-12-29 00:26:15.895 WARNING (SyncWorker_6) [pyroute2.netlink.rtnl.tcmsg.common] the tc subsystem functionality is limited

#

everything else looks ok

shut rivet
#

Hmm

#

are you running on Windows?

alpine barn
#

its on apple silicon (M1)

shut rivet
#

Yeah same issue

#

you aren't running on the host network

#

that is not possible on those platforms

#

Thus we don't support running the Docker image on Windows & MacOS

alpine barn
#

ok, thanks. Maybe this should be clearly stated in the installation docs.

shut rivet
#

It is

#

It isn't listed

#

You've installed something that isn't documented

tribal moon
#

@alpine barn if you're running docker desktop or similar you can get the ip of the VM the containers are running on somewhere in the settings - use that and the port 8123 if the containers have host networking. Although as Frenck said it's not supported.

shut rivet
#

Yeah, well, you will run in more "weirdness" along the way. Home Assistant needs/uses the host network capabilities for quite a few things, which won't work (e.g., some forms for discovery, snooping/sniffing and broadcast network communications)

#

And may get you into weird/unexpected behaviors

#

using a VM might be a better route to take in that case

alpine barn
#

thanks for input. Will try a VM instead.

feral aspen
#

hmm compilation failed.

gcc: fatal error: Killed signal terminated program lto1
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1199: Programs/_freeze_module] Error 1
make[3]: Leaving directory '/root/Python-3.11.4'
make[2]: *** [Makefile:770: build_all_generate_profile] Error 2
make[2]: Leaving directory '/root/Python-3.11.4'
make[1]: *** [Makefile:746: profile-gen-stamp] Error 2
make[1]: Leaving directory '/root/Python-3.11.4'
make: *** [Makefile:758: profile-run-stamp] Error 2

manic bane
humble scaffoldBOT
#

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

manic bane
#

Or just get better hardware

feral aspen
#

oooh wait, its OOM:ing... thats why lto1 kills. since swap by default is only 100M. So need to increase that...

final socket
#

get better hardware. If you need HA to stay up if the power goes out just buy a UPS.

upbeat glen
#

I have a problem with starting add-ons. I reinstalled ha on a ssd and backed it up. But now I have all the addons not starting even though there is a Run on startup option. I have tried starting them manually but they don't work. I have tried rebooting, what can I try?

humble scaffoldBOT
#

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

mighty junco
#

Hey everyone,

I’m in a bit of a bind with my attempts to set up Home Assistant (HA) on my trusty Raspberry Pi 3B. 😓

I’ve followed the official instructions to a T (https://www.home-assistant.io/installation/raspberrypi) to flash the Home Assistant OS (HAOS) image to my SD card. However, when I power up the Raspberry Pi, it seems to be stuck in a deep slumber - no green light, just a solid, non-blinking red light. Not to mention, zilch activity on the Ethernet port either. 🚫

I’ve tried two different SD cards and rewritten the image multiple times just to make sure it’s not a fluke. Plus, I’ve tested another OS on a separate SD card, and it runs like a champ on the Pi. So, it’s not the hardware’s fault.

To shake things up a bit, I even gave the latest HAOS versions a shot - “haos_rpi3-11.3.rc1.img.xz” and “haos_rpi3-64-11.3.rc1.img.xz” from https://github.com/home-assistant/operating-system/releases, but alas, no luck with those either. 😔

I’m reaching out to you for a lifeline! 🆘 any ideas, guidance, or tips would be a lifesaver right now. I’m super excited to dive into Home Assistant, and I’d appreciate your support in making it happen.
Thanks a million! 🙏

wooden nova
#

Trying to install HA on my raspberry pi in a docker container but it's stuck constantly with status: Restarting (111) and the logs just say this over and over:
s6-linux-init-shutdownd: fatal: unable to iopause: Operation not permitted s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted s6-svscan: warning: unable to iopause: Operation not permitted s6-svscan: warning: executing into .s6-svscan/crash s6-svscan crashed. Killing everything and exiting.

raven forge
#

Please share the whole command/config, which pi you're using and which OS. Code blocks over multiple lines should have three backticks.

feral aspen
#

finally the compile came through

wooden nova
humble mirage
#

That should just be ghcr.io/home-assistant/home-assistant:stable

wooden nova
#

Just tried that but get the same errors sadly

upbeat glen
tall prairie
#

I’m installing ha on Intel Mac using virtualbox. Stop loading upon boot. Getting error 126. Exec format error

zealous zealot
wooden nova
#

Yeah

humble scaffoldBOT
#

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

zealous zealot
zealous zealot
#

raspberry pi container needs the in docker compose yaml:

    environment:
      DISABLE_JEMALLOC: true

or else it will crash on startup.

#

it runs fine without this if you're using raspberry pi Ubuntu image but raspberry pi OS requires this.

raven forge
humble mirage
wooden nova
#

Thanks! This worked!

version: '3'
services:
  homeassistant:
    image: ghcr.io/home-assistant/home-assistant:stable
    container_name: assistant
    volumes:
      - ./config:/config
      - /etc/localtime:/etc/localtime:ro
      - /run/dbus:/run/dbus:ro
    restart: unless-stopped
    privileged: true
    network_mode: host
    environment:
      DISABLE_JEMALLOC: true
raven forge
steep linden
#

Hello - A few months ago I had home assistant up and running great with a virtual box vm on an Ubuntu host (using a wireless network card). However, after getting back from a trip I had some network issues and since then I have not been able to get Hass OS to access the internet A few symptoms, 1. I can't connect to my Nabu Casa account, and alot of devices don't work when trying to set up the integration. Unfortuantely the Ubuntu host cannot be connected through ethernet long term, however I tried that and had similar issues. Please Help!

plain lance
#

ahoy! Running hass os using KVM on Debian stable. Hitting a brick wall with sound. How do I best make the hypervisor's sound device available to the hass VM? I'm thinking maybe networked pulseaudio? I wasn't able to find a guide sadly. Mostly I want to get TTS to work.

humble mirage
#

Normally TTS is sent to media players, not local speakers

plain lance
#

I got that far, but I haven't found a media player that would make sense in my scenario - I do want to use the local sound device, I'll happily create some "media player" setup that enables this, but the one thing I tried (mpd) didn't seem to fit

humble mirage
#

VLC is one people often suggest

#

I'd probably suggest you stop trying to get the sound device working in HAOS and run the media player on the host

plain lance
#

that's what I meant, I tried that but didn't find instructions to set that up

#

will VLC work headless? I'm hesitant to spin up X/Wayland just for that

humble mirage
#

No idea, I'd guess so, but never looked into it myself - no need

plain lance
#

seems so, just installed it and it starts on my ssh session. I'll see if I can make it work with TTS.

#

yup, that worked! Rather heavyweight at 200mb dependencies for VLC lol but, eh, whatever.

plain lance
#

aaand it (VLC) segfaulted, blergh.

brittle solstice
#

Hi all, is Rasp Pi 3 B+ still supported?

raven forge
plain lance
uneven narwhal
#

Please, whats the best way to tell if my HA is running on HAOS or docker, on my Pi4 ?

brittle sail
#

If you don’t know it’s haos lol

#

Confirm in settings

uneven narwhal
#

8123 is my port

brittle sail
#

Click the link lol

uneven narwhal
#

Home Assistant observer

brittle sail
#

Ya

uneven narwhal
#

So thats haos ?

brittle sail
#

Settings -> about will confirm it

uneven narwhal
#

Core
2023.12.4
Supervisor 2023.12.0

#

does that count as "supervised" ?

brittle sail
#

It doesn’t show OS 11.2 or something?

uneven narwhal
#

Yup Operating System
11.2

brittle sail
#

Then it’s haos

#

Supervised and haos aren’t the same thing

#

However both use the supervisor

#

lol

#

Look at the installation docs it specifically lays out the differences

uneven narwhal
#

Thanks, yes, I saw that, but didn't see a way to tell which I had
I was confused as when I run Docker Info form the terminal I get

#

Containers 13

brittle sail
#

Each addon is a docker container

#

If you instead used the docker home assistant install method, you would not have addons or the supervisor, you would manually create and manage the containers which would replace your old addons

#

You’re fine where you’re at

#

Setup offsite backups via an addon if you haven’t already

uneven narwhal
#

despite docker being used for addons?

brittle sail
#

You’re going down the wrong rabbit hole for wake on lan issues

#

You should troubleshoot the client not home assistant

#

Some NICs (the drivers really) don’t support booting via magic packet

uneven narwhal
#

I've got wireshark running and setup WOL from my PFsense firewall, so I am sure that a packet from another device on the LAN reaches my PC

brittle sail
#

My intel nuc in my gaming pc won’t turn it on no matter what I do but it’ll wake it up from sleep no problem

#

I chased it down and I think it was a windows update that updates the NIC missing a feature

#

I said fuck it and just make the computer sleep and it works lol

uneven narwhal
#

yeah, I had to install a Windows 8 driver to get the intel interface loaded that allows Wol to be enabled

brittle sail
#

I changed multiple things in windows

#

I also had to disable fast boot in bios

uneven narwhal
#

ty

broken imp
#

Hi... First time HA user. I just fired up a haos image on a Hyper-V server. Not a Windows Workstation. I used the vhdx image. I put it on the external switch, where all my other VMs live. It doesn't take a dhcp address from my network, just shows up with a docker network. Can anyone here point my in the right direction from here...? 😋

broken imp
#

Never mind... I found the problem, I have both IPv4 and IPv6 addresses... 🙂

uneven narwhal
#

@brittle sail Thank you for your help - with my docker question excluded, I found that it works if I set the WOL port to anything other than 7 or 9

daring sage
#

Is it fine to have a static ip addr and dns defined manually (not using network manager) in a supervised installation? Any drawbacks?

vivid kernel
grand pivot
#

Bridged WiFi isn't really a thing

vivid kernel
#

That's interesting because I've ran HassOS in Vbox w/ bridged wifi for over 3 years now

grand pivot
#

It plays games to make it work. Sometimes it does, sometimes it doesn't

#

If it works for you...

vivid kernel
#

Don't think I have anything to worry about then hah

grand pivot
astral kiln
#

Has xcp-ng guest tools been moved to the main branch yet?

Just installed a generic x86 image as a vm under my xcp-ng host and I'm not seeing the management engine detected

raven forge
#

Use the VM specific images.

astral kiln
raven forge
astral kiln
#

What's the OVA provide differently compared to the generic x86 release

raven forge
#

Click the Show all * assets

#

You have to check the build files. Can't do that easily on a phone.

astral kiln
#

Ah I see

#

Them now

#

Does the ova include the XCP-ng guest tools though?

raven forge
#

I expect them to.

versed vapor
#

the backup and restore is probably significantly slower than reloading it as qcow

magic hazel
#

Anyone here uses relays to trigger a certain event?

#

And if I wanna connect all my devices to a relay controller, then connect it to HA. Is this possible?

mint granite
#

anyone here can help me out installing a NHL api in home assistant

rain silo
earnest finch
#

So I set up HAOS on bare metal but I'd like to have a writable Linux root of some sort (whether or not connected to HA); what's the best way to do this? I also have Scrypted currently running as a HAOS add-on.

#

Should I convert to HAOS in a VM?

#

the host only has 8GB of RAM though, so that might not be the best option

raven forge
earnest finch
#

Yeah, but Scrypted would require more RAM I think (I'm using it for HKSV cameras)

raven forge
#

You can always allocate more later. PVE needs roughly 1.1G for itself.

vivid kernel
#

What would be the best way to migrate a hassos vbox install to a generic x86-64 install?

tender wren
#

Create and download a backup and restore it on the new host

muted sluice
#

after a year of not touching haos hoping one day I'll come back and then magically work it still isn't working this is my logs now

stable remnant
#

I've installed HA on a rPI 3B. through the rPI imager, specific OS, Home Assistant.... I want to integrate with Tasmota. With that specific OS install, can I shell into the base OS, and install misquito/mqtt? If so, how?

brittle sail
#

Read the docs page it’ll go over a username and password for it. You can just make a home assistant user TLDR

stable remnant
#

seems to be empty... "mosquitto" is not a found addon/integration.

stable remnant
#

I was in the wrong location. thanks!

brittle sail
#

happy new year 😛

astral kiln
rain silo
#

Can anyone help with my issue?

raven forge
#

Do you seriously expect people to know what you're referring to?
Let me help you out by linking to it as I don't expect a lot of people to go through the effort of finding it: <#installation-archived message>
You should describe it a bit more though.

rain silo
#

You were the reason I didn't want to come back here. I'm out

raven forge
#

The only time we talked to each other was [when I asked for more details](#general-archived message) just like right now. Apparently that's highly offensive and inappropriate.

final socket
#

We need details to be able to help. Describe what kind of issue you're having so we know what to look for in that log you shared.

young gale
#

is it not recommended to use docker or something similar on a rpi 4b so I can install pihole on it as well?

#

wouldn't that mean not installing the home assistant os well

grand pivot
#

You can use a docker install on a Pi, but Adguard is also available as an addon for HAOS

native moth
#

Hi everyone,
Relatively new to the world Home Assistant & PI.

My Home assistant was working well on my Raspberry BI for some weeks now. Recently, I had to restart my Home Assistant but have had no luck getting it back to life.

It is booting to the command line with the below message,

"Waiting for the Home Assistant CLI to be ready ...
[WARN] Home Assistant CLI not starting! Jump into emergency console... "

Is anyone with an idea on how to get this sorted?

muted sluice
fallen lichen
#

fatal: unable to access 'https://github.com/hassio-addons/repository/': Could not resolve host: github.com

DNS and/or Internet issues

muted sluice
raven forge
fickle rampart
#

hi, soo i have been trying the past 6 hours to get home assistant os working with the KVM (virt-manager). i just end up in the UEFI or EFI shell. i did exactly as instructed on the website under https://www.home-assistant.io/installation/alternative for KVM.
except i didnt add the channel, since it was already added.
If im in the Boot Order Menu it doesn't even show Home Assistant or the Virtual Hard Drive but if i go onto add booting option it does show hass. i just have no clue how to add the boot option since it looks complex af. i tried it several times with downloading the image again or remaking the virtual machine.
i did export it tho and didn't use the zipped file ^^ and neither did i select use ISO file, i did select import existing disk image. even tho once i tried that, it showed up in the boot menu, but just couldn't boot (obviously)
Secure Boot is disabled too and also can't start and it doesn't matter which firmware i use.
My Raspberry Pi 5 is running on Raspberry OS x32
the solution i found on the home assistant forum by one user with going into fs0: and then editing the startup.nsh didn't work either since the startup.nsh file is completely empty
Anyone knows a solution for me? I just want my home assistant to work 🥲
i have barely knowledge with linux tho.. noobie just starting to work with it (:

#

and since i have been struggling so much with trying to get it work in the virt-manager i thought about giving docker a try. is it easier / worth it?

raven forge
#

I recommend docker for the biggest flexibility. If you want to virtualize I'd recommend proxmox VE. Are you trying to virtualize on a pi? Why 32 bit?

fickle rampart
# raven forge I recommend docker for the biggest flexibility. If you want to virtualize I'd re...

At the start some website told me to run on 32bit, didn't really know why. I might just try reinstalling to Raspberry Pi OS 64bit and install proxmox.
I want to virtualize since i wanna run multiple projects or have virtual machines to fuck around with and test out stuff. I have seen the video from NetworkChuck explaining how to install EsXi with vmware, but that was all for the raspberry pi 4 so I didn't know if it works out

placid sage
#

yellow home-assistant whit CM4 lite and ssd. Does ssd install but not working cant get into serial, what to try next

indigo surge
#

Hi, I just got my Rhasbery PI 5, but i don't think Home assistants supports it yet. Is there any announcemnt when it will be available ?

full dove
#

hey when i boot my laptop on home assistant with a external hard drive, home assistant stuck on a start job is running for wait until kernel time synchronized and reboot
how can i stop it and boot on ha ?

fickle rampart
mellow nacelle
#

Has anyone linked Aqara M2 hub to home assistant yet?

fickle rampart
#

home assistant literally hates me