#installation-archived

1 messages · Page 16 of 1

atomic trench
#

But thank you for your help, you really tried hard 🙂

#

(Connection also stable, I really don't know why it started working, nothing happened in logs too)

drifting osprey
#

"The only thing I did is restarted docker container and after 5 mins of failure connecting" - it shouldn't have taken 5 minutes, maybe only a minute or two...
Glad I could help! Happy swimming in the deep end!

atomic trench
drifting osprey
#

Sometimes patience is a virtue, or should that be persistence???

atomic trench
#

Maybe I lacked some in that case

high scaffold
#

Hey folks -> I'm running into something odd. I'm running most of my stuff on different VM/Containers with ProxMox

Zigbee2MQTT + EMQX + Home Assistant.

Anytime I restart (upgrade) HA -> i loose the abiilty to control most of my MQTT devices until I reboot the MQTT server... anybody run into this before?

humble mirage
#

That sounds like HA isn't connecting to your broker

hushed fern
#

anyone had an idea about the .storage folder function ?

brisk willow
#

Yes, it contains a number of important files including anything configured in the UI (with a few exceptions)

humble mirage
#

Don't mess with the contents

#

(at least, not without having backups that you've tested restoring from)

brisk willow
#

Otherwise you'll be like the frowning guy in IKEA manuals next to their broken item

spring blaze
#

Hi all, can anyone recommend what type of HA should I install on proxmox?
I currently have a NUC with docker, and I run HA as a container. Is it smart to also do it in proxmox? I'll state that I want maximum flexibility, like I have in docker today.

humble mirage
#

If you want maximum flexibility you want Docker

#

Running Docker under Proxmox ... not sure I'd waste CPU cycles doing that

spring blaze
humble mirage
#

Why not just install Debian, run software in Docker, and Samba for the "NAS"

spring blaze
humble mirage
#

A "NAS" is just a with file shares

#

Samba is for file shares

copper steppe
#

@spring blaze I'd strongly suggest using HAOS in a VM. It's just so much easier.

#

(plus a bunch of other proxmox things)

#

but certainly less flexible within HA. But your flexibility is on Proxmox, not in HA.

opal vine
#

Anyone tried running HA on a 1TB DS card in RPi? I saw a bunch of vids where SD card is not recommended for long term use.

odd marlin
#

Just use an external SSD. Any SD card will die far quicker than an SSD and dropping what seems to be over $100 on an SD card doesn't seem like a good idea

#

A 1TB SSD + powered enclosure is cheaper than that SD card, is far faster, and will have a shot at lasting a long time

opal vine
#

thanks! Is migration fairly straightforward?

odd marlin
#

Are you on an SD card right now?

opal vine
#

yes

odd marlin
#

If you're on a rpi3, you really need the SSD to be externally powered because the power supply on the pi3 isn't enough for some SSDs. The pi4's official power supply is better, but still worth just getting a powered hub or powered enclosure for it

Also make a backup and download it to your computer before you move, because if the transfer gets interrupted you may lose all your data

opal vine
#

seems like a weekend project 😅

craggy oriole
#

Hello everyone

#

New to HA. Ordered my skyconnect stick awaiting in anticipation

#

First hurdle installation on my 13th gen new build

#

Do I ask install issues here?

odd marlin
#

Yep

craggy oriole
#

cool thanks

#

So downloaded installed Vmware

#

I follow the guide. Choose “I will install the operating system later”, select “Linux” -> “Other Linux 5.x or later kernel 64-bit”

#

there is no option to set the “Use Bridged Networking” so I did it after setup finished

copper steppe
#

You're installing HA in a VM on your workstation?

craggy oriole
#

Then it does not give me any option to use the haos_ova-9.4.vmdk

#

yes my PC which runs 24/7

copper steppe
#

Did you unzip the vmdk file you downloaded?

craggy oriole
#

yup

#

D:\Virtual Machines\Other Linux 5.x kernel 64-bit

#

thats where I am putting it

low notch
#

you need to select it as harddrive, not as disk drive

#

its not a iso, its a premade harddrive image

craggy oriole
#

hmm ok let me check the settings of vmware

#

Ok doing it again. Do I select single file or multiple files?

low notch
#

again: you do not need to create a harddrive

#

you use the image file as harddrive

craggy oriole
#

but I am trying to follow the guide which says

#

Create a new virtual machine
Select “Custom”, make it compatible with the default of Workstation and ESX
Choose “I will install the operating system later”, select “Linux” -> “Other Linux 5.x or later kernel 64-bit”
Select “Use Bridged Networking”
Select “Use an existing virtual disk” and select the VMDK file above,

#

after the second step it does not ask for an image

odd marlin
#

What options does it give?

low notch
#

then just finish the dialogue and add the hard drive (image file) afterwards

craggy oriole
#

so after you choose the linux XXXXX

#

click next

low notch
#

virtualbox might have changed something in the process, you are not the first to report confusion with these steps

craggy oriole
#

VM name and location

#

@low notch cool

#

when I click after setting lets say my VM name to Home Assistant and location to D:\Virtual Machines\Home Assistant

#

specify disk capacity which I left at 8GB

#

and then it asks single file or multiple

low notch
#

chose single

#

finish

#

remove the 8gb drive

#

and add the vmdk

craggy oriole
#

ok so now I hit edit

#

no option to remove

low notch
#

btw virtualbox should use the .vdi, not vmdk

craggy oriole
#

oh removed HD

#

there is opitin to remove

low notch
#

you downloaded the wrong image if its a vmdk

craggy oriole
#

for Vmware Workstation (.vmdk)

#

I am using Vmware Workstation

low notch
#

oh, I thought you were using virtualbox

#

yeah 8gb sounds like ram and not disk space

#

usually hypervisors provision something around 32gb for drives

odd marlin
#

At least when I used virtualbox back in the day it would pick different disk sizes based on the OS you picked. Ubuntu would be bigger than Generic Linux, etc

manic bane
#

Maybe share a screenshot of your configuration

humble scaffoldBOT
#

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

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

craggy oriole
#

for me new to VM and HA

#

lol

#

My PC has NVME as my main drive and have a D and E sata drive. I sync copy stuff from D to E as my backup strategy. Tell me please. Should I be setting up HA on the NVME or use my above strategy and use the D drive for the VM etc

odd marlin
#

Keeping your backups on the same machine is a recipe for disaster if you don't have copies elsewhere

low notch
#

doesn't matter yet, you can move the drive image wherever you want afterwards

craggy oriole
#

@odd marlin lol its much better than better

#

before

#

@low notch cool

manic bane
#

If you're still struggling to get it to start, please share a screenshot of your VMware settings

craggy oriole
#

ok so I finished the setup and now am in edit where I removed the HD

#

how to paste screenshots?

humble scaffoldBOT
#

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

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

craggy oriole
#

ok so I removed the 8GB HD and then added a SCSI or whatever and then chose the HA image

#

notice the D:\Virtual Machines\Home Assistant\Home Assistant.vmdk

manic bane
#

You have too little ram

craggy oriole
#

how much should I allocate?

manic bane
#

At least 2gb, would maybe do 4-8gb if you want to run add ons

craggy oriole
#

ok will do

#

Did 4GB

#

yeah not working

odd marlin
#

Need more context. What's not working, what happens, what errors do you get?

craggy oriole
#

when I run the VM it says operating system not found or something

#

let me run it again

#

PXE-M0F: Exiting Intel PXE Rom

#

Operating system not founf

odd marlin
#

The last screenshot you pasted said the size of the VMDK file is 1.1MB which might mean the file is messed up, maybe didn't extract or something, or maybe you overwrote it?

craggy oriole
#

I closed VMware and then unzipped the VMDK image again into th directory now which is about 970mb.

#

I opened VMware and the settings still shows 1.1mb file

odd marlin
#

I'm not familiar with vmware so I'm not sure what it's using to determine that size

craggy oriole
#

I noticed when I choose the image in VMware it asks if it should keep it in same format or convert to newer format

odd marlin
#

Assuming the disk is intact, did you set the VM's firmware to UEFI?

craggy oriole
#

should I convert?

#

no whre is that setting?

odd marlin
#

It's in the doc after step 5

craggy oriole
#

nope no options provided, maybe not in the wizard in this version

manic bane
#

Maybe try redownloading it

#

Also you are sure it's VMware right?

craggy oriole
#

Yup VMware workstation player 17

odd marlin
#

After creation of VM go to “Settings” and “Options” then “Advanced” and select “Firmware type” to “UEFI”.
If you don't do this, it won't boot

craggy oriole
#

there is no advanced option in Settings > Options

manic bane
#

Send another screenshot

craggy oriole
#

ok

odd marlin
#

If the docs are outdated, which it seems they might be, you'll need to click around and see if you can find Advanced, Firmware, or something similar. Could be somewhere on the Hardware tab, I'm not really sure

craggy oriole
#

ok I just hot convert to my above query and it now shows 926mb file

#

Ok not working still. Another time guys. Thanks for the assist

odd marlin
soft hawk
#

I think I'm all screwed up. I have a windows 10 machine and I installed Docker to run the container version of HA. But I can't figure out how to actually install it and when I google around, people seem to say that you can't do it. Comments?

brisk willow
#

I mean, you can, but it's definitely not recommended to use Windows as the host OS

#

And any integration that relies on network discovery won't work since docker on windows doesn't support host networking

odd marlin
#

HAOS and Core are the only supported methods to install on Windows and Core isn't recommended in general. Do you have an old computer you can install HA on instead for either HAOS or Container?

soft hawk
#

Well, in the last 15 minutes, I installed HAOS via Hyper V and I'm going through the onboarding now. Seems to be working so far.

#

Reason I want to use this computer is because it is my old desktop that I just retired. And I want to keep it as windows since its new jobs will be 1) Zwift computer in the basement and 2) Play with server stuff

odd marlin
#

Ah okay, you should be good with the VM then

soft hawk
odd marlin
#

Heh, I was just starting to type that you may run into USB issues later

soft hawk
odd marlin
#

If you decide in the future that you need USB devices, HAOS is easy to migrate

brisk willow
#

That was back in 2018. Wild

odd marlin
#

One thing worth keeping in mind is that if it's a machine that draws a lot of power at idle, it may be cheaper in the long run to buy a cheap Dell Optiplex or something for like $100 that uses a fraction of the power rather than powering that machine

soft hawk
brisk willow
#

Well by dedicated hardware I mean a machine acting only as a server. I've got a bunch of other stuff running on it besides HA

odd marlin
brisk willow
#

But yeah, you've gotta start somewhere

#

I actually tried out HA briefly a year before I started using it full time. I regretted not starting the first time 😅

soft hawk
#

I do have one install question for you guys. Can I force the system to redetect any devices on the network?

brisk willow
#

Stuff should pop in automagically if it supports discovery

soft hawk
#

the problem is that I thought it was frozen so I rebooted and skipped this:

odd marlin
#

That page doesn't matter, it's just sorta giving you a heads up that it found stuff

humble scaffoldBOT
odd marlin
#

That's where detected stuff shows up

#

Many devices/integrations don't support discovery though, so you'll want to browse the list of integrations for things you have and are looking to add to HA

soft hawk
#

Ok, looks like it didn't detect anything which I guess makes sense since they are all wifi (Feit, Wyze, Kasa)

odd marlin
#

Some wifi stuff can be detected if it has a local control method (e.g. Wemo switches)

soft hawk
#

Unfortunately it looks like most of my stuff doesn't have an integration. I'll keep playing with it. Seems interesting.

soft hawk
soft hawk
drifting osprey
soft hawk
#

One thing I am stuck on and it might be beyond the scope of this channel. I am using remote desktop into my server. From there, I can use a browser and get access to the HA virtual machine (that resides on the same box). But I can't seem to get access to it from another computer on the network (the computer I'm on right now and am using to remote into my server).

drifting osprey
soft hawk
drifting osprey
#

Ok. Windows?

soft hawk
#

Yep

drifting osprey
#

And what VM are you using? HyperVisor or what?

soft hawk
#

Server is Windows 10 Pro, HA is installed in a HyperV VM

drifting osprey
#

what is local LAN subnet? Does the HyperV VM have an IP in your LAN?

soft hawk
#

We are on the edge of my knowledge (and sleepiness).

#

So, when I go to ipconfig and look at subnet mask?

#

for the hyperv, it is 255.255.240.0, that's different than the non hyper v one which is 255.255.255.0

drifting osprey
#

No problem. I have 30+ yrs as Senior Network Engineer for several different MSP's over the years. Have setup lots of VMware systems for companies but only minimal experience with HyperV but it should be virtyally the same.

#

what is the IPv4 address of the VM?

soft hawk
#

I don't see that the VM has its own IP address when looking at the Hyper V manager but clearly it must have an ip address because it is talking to stuff outside of the box

#

ok, I know that one. I can look at the VM screen

#

172.28.162.183/20

#

I did try going to that on my current computer. no go

drifting osprey
#

Your LAN subnet is 172.28.162.x or 192.168.x.x?

#

for your computer / server

#

255.255.255.0 would be /24 255.255.240.0 is /20

soft hawk
#

for the server, it is 192.168.50.14 for ethernet adapter....and 172.28.160.1 for the hyper v adapter

#

that seems like the problem

#

I feel like this is a hyper v switch issue

#

but I'm not sure what settings I need

drifting osprey
#

Ok, so 192.168.50.14 can get to 172.28.160.x because it's local but the VM 172.28.160.0/20 is not routed or presented by the server to your LAN.
It would need to route/NAT the VM 172.28.162.183 onto the LAN. Not being very familiar with HyperV, I'm at a loss as to what you need to do...

soft hawk
#

The VM is getting outside somehow. I'll have to stare at it more tomorrow when I'm rested.

drifting osprey
#

But, it is do-able as companies run HyperV servers in their network all the time.

soft hawk
#

Now I will say that when I go into HA settings, there is a Network setting. And it says External Access disabled. When I click on that, I can't figure out a way to make it work. I don't know if this is the problem or not.

drifting osprey
#

The HyperV VM would/should have a 192.168.50.x address...

#

What about IPv4 address in HA? what does it say?

#

What OS is hosting HA?

soft hawk
#

Windows 10 host

drifting osprey
#

I was referring to HA itself...Settings > System > Network > Network Interfaces > IPv4 settings

soft hawk
#

Oh using the GUI? Let me see

#

It just says DHCP, no address

#

Oh , but if I click on the 3 dots, I get the IP information

#

That shows the same IP address from before: 172.28.162.183/20

#

Gateway 172.28.160.1

drifting osprey
#

Okay, looks like a HyperV network config issue...

soft hawk
#

That's what I think. Needs some virtual switch setup. I did add an external virtual switch but no change

drifting osprey
#

Is the server running Windows Server?

soft hawk
craggy oriole
#

Hey guys I am back again

#

Managed to used VirtualBox and instal HA

drifting osprey
#

Okay, that might be a problem. Companies that use HyperV do so on Windows Server and the HyperV for desktop could be restricted from sharing VM's to the LAN for $$$ reasonos but I don't know for sure...

#

At this point I'm going to bow out as I don't have specific experience with such a setup...

craggy oriole
#

onboarding went ok. Do I also need to Install Home Assistant Core?

drifting osprey
craggy oriole
#

Ihttps://github.com/home-assistant/operating-system/releases/download/9.4/haos_ova-9.4.vdi.zip

#

The instructions on above page

soft hawk
drifting osprey
drifting osprey
craggy oriole
#

Running on Win 11. Able to access it on 192.168.0.100:8123 all good

#

Not sure why that is

#

I found my tv and solar feed etc all good, guess I wait for my skyconnect usb stick to come in the mail

drifting osprey
craggy oriole
#

oh so installing directly under windows was an option?

#

Whats the difference?

drifting osprey
#

Possible but not supported...

INSTALL WSL
To install Home Assistant Core on Windows, you will need to use the Windows Subsystem for Linux (WSL). Follow the WSL installation instructions and install Ubuntu from the Windows Store.
As an alternative, Home Assistant OS can be installed in a Linux guest VM. Running Home Assistant Core directly on Windows is not supported.

#

A Supervised HA (with HAOS as the operating system) is by far the best option

craggy oriole
#

ok so stick with the virtualbox install.....got it

drifting osprey
#

You can also install it as Supervised on Linux, which is how I did mine first, but not officially supported/recommended, although countless have done it that way.

#

Mine started on a little Debian Linux box using Docker but it's now on an ODROID N2+ with HAOS in charge of things.

craggy oriole
#

If the virtualbox method is more manageable will stick with it I guess

drifting osprey
#

virtualbox is quite common I think but Windows overhead could become a hindrance at some point in the future IMO, depending on how your HA grows, and also the horsepower of the hardware running Windows.... just my 2 cents

#

I first fired up HA April 2021...

craggy oriole
#

Juts built my 13th Gen PC and using it since its always on

drifting osprey
#

Came from HomeSeer running on my Windows PC

craggy oriole
#

I think should be good. Didnt want to many devices

drifting osprey
#

Everytime I had to reboot Windows, home automation was out of commision until it came back up

humble mirage
craggy oriole
#

yeah I guess thats a drawback

drifting osprey
craggy oriole
#

ok no idea what you guys mean?

drifting osprey
humble mirage
#

There's a total of four install methods:

  1. HAOS - the all in one OS and package manager
  2. Container - HA running in Docker on Linux
  3. Core - HA running with pip install on Linux
  4. Supervised - like HAOS, only you bring the OS and manage it very carefully
#

Only options (1) and (2) are recommended, though (3) is fine if you know what you're doing

#

(4) .... on a good day is a ticking time bomb

craggy oriole
#

so which one is the virtualbox method?

humble mirage
#

(1)

craggy oriole
#

cool

#

huge learning curve

#

one question a bit confused about getting virtualbox to manage size. It mentions: By default VirtualBox does not free up unused disk space. To automatically shrink the vdi disk image the discard option must be enabled:

VBoxManage storageattach <VM name> --storagectl "SATA" --port 0 --device 0 --nonrotational on --discard on

#

where am I adding this?

drifting osprey
humble mirage
#

Correct, Supervised is an install method that's not HAOS

drifting osprey
#

....s o r r y ! ! !

humble mirage
#

The Supervisor is the Docker (and host) manager that people "want"

drifting osprey
#

Sure would be nice if you could change it the ping default to off...

humble mirage
#

Yup

craggy oriole
#

sorry not sure you read my query. Any thoughts?

humble mirage
#

I know nothing about VBox I'm afraid

#

I'd assume that command is run at a Windows command prompt, simply because it's a command line, but ... shrug

craggy oriole
#

lol yeah thought it was meant to be on the virtualbox window somewhere

manic bane
silent ermine
#

What happened to the dev label for hass on the ghcr registry? Was it removed?

humble mirage
#

Are you trying to pull a dev build?

finite smelt
#

Hello,
next try hopefully now in the right channel:

my homeassistant instance (supervised) stucks in status CoreState.STARTUP.

How can I check which jobs are running in background or which ones are blocking the state?

odd marlin
#

Supervised install? 😬 Have you been keeping up with the requirements?

finite smelt
#

mostly 😅
there is an unifi controller on the same system

odd marlin
#

Running any other software on a Supervised install isn't supported

manic bane
#

Why would you do supervised install if it's only for unifi

#

Especially since there's a unifi add on

finite smelt
finite smelt
brazen herald
#

So, why not HAOS or container?

manic bane
#

^^

#

Your only thing you said that isn't built into HA core is unifi controller, which is an add on or a docker container

brazen herald
#

In general, when a page has a warning box that says "don't do this!" and then links you a github repo that says "you must be an expert at all of these things" you really don't do it even if you are an expert

odd marlin
#

I've been using Linux for 15+ years, my day job is administrating Linux systems, and even I didn't bother with Supervised after reading all the warnings of "don't do this!"

frozen venture
#

Hello,
strange things happens.
i have problem with two installations (of 6 in my house) - they run well 1-2+ years without problems

  1. OVA image in proxmox
  2. barebone HaOS image on Brix (NUC)

after update there are this problems:
Unsupported system - Systemd issues
Unsupported system - Operating System
Unsupported system - Systemd-Resolved issues
Unsupported system - CGroup version

(another OVA or barebone installations are ok)
how can it be unsupported system when it have updated OS,Supervisor,Core and I use official HaOS images

odd marlin
#

Are you sure you're on HAOS? And also haven't tried to modify the OS at all? I see 2 similar Github issues and both were from people on Supervised

frozen venture
#

Yes yes, they are pure vanilla HaOS (on BRIX just flashed to SSD and runned for 2years), and OVA is in proxmox for 1year (started from 7.5 now on 9.3)

#

i have 4 more installation (2x proxmox + OVA and 2x barebone) and they are absolutly OK

#

i do not understand 😄

odd marlin
#

The latest HAOS is 9.4 which came out last month, so you're a version behind there

frozen venture
#

i tried login to console in proxmox

#

board: null
boot: A
data_disk /dev/sda8
update_available : false
verison: null
version_latest: "9.4"

#

after os info command

fallen lichen
#

version: null isn't promising

odd marlin
#

Yeah that seems bad

frozen venture
#

yes, but it is what it is .... i do nothing to it

#

2023.1.2 core and unsupported system 😄

#

it run on backuped proxmox cluster and another VM are OK

#

even HA is working, but with this messages

#

i tried reboot that barebone HaOS (on remote site on cottage)

#

but it looks like it didn't start again

#

ok i try restart OVA

#

and black screen 😄 try to reboot container

#

i must stop VM

#

after start again, Boot slot A have try=1

#

but now booted

odd marlin
#

You can try ha os update and see what errors it gives. Like NSX said, the version being null is a bad sign

frozen venture
#

after reboot is 9.4 again

#

in version

#

hmmm

#

board: ova
boot: A
data_disk /dev/sda8
update_available : false
verison: "9.4"
version_latest: "9.4"

fallen lichen
#

Still seeing unsupported errors?

frozen venture
#

nope

#

yep but problem is. When i OVA rebooted via "reboot host", it was stucked and i need to STOP and START VM from proxmox
i do it on barebone and it is stuck too, it dont start 😦

main sandal
#

Hello, I just bought an Dig-Octa, what Wled file to I flash it with? I am newer and I can't find the answer.

fallen lichen
#

Well... if there's something borked with the OS, it's not terribly surprising that the HA GUI can't actually signal to reboot the host itself

humble mirage
frozen venture
#

sad is that i cannot help with creating issue or what

#

because, it was broken, but now is not 😄

fallen lichen
#

Yeah, that's difficult without being able to recreate it. Good news is that particular issue is rare

odd marlin
#

Now's a good time to make sure you're creating and safely storing backups on another system

frozen venture
#

i tried "host reboot" from console

#

and it is stuck again in unknown state 😄

fallen lichen
#

As in, the one that was fine by the original reboot?

frozen venture
#

yes, in that previously unsupported OVA

#

but ... all working now, all is gut ... but reboot

#

i try create new VM, restore full backup and try reboot

south coral
#

Hi I got a question to access a newly installed Home Assistant OS in a raspberry pi 3, is it possible to access directly via ssh or it is necessary to use a screen? if it is not possible what solution could i use to conenct without screen? thanks

fallen lichen
#

Samba and FTP are options as well for remote file access

south coral
humble scaffoldBOT
odd marlin
#

From the web UI

south coral
#

to access the web ui can I just connect it via ethernet?

fallen lichen
#

Yes, your HA instance needs a network connection

south coral
#

but I mean, without configuring anything only by connecting it to power and ethernet for the first time I can access the web ui?

humble mirage
#

And if it doesn't have one it won't even finish the boot and insttall

south coral
#

oh didnt see that I will check it

#

thanks you all for your help

frozen venture
#

so it is problem after upgrading OSes

#

i try it at home, on another VM

silent ermine
# humble mirage Are you trying to pull a dev build?

I had ghcr.io/home-assistant/home-assistant:dev as the image used for home-assistant in my docker build. I'v switched it to beta for now. I was just wondering what happened to the dev label since it's not available on the github container registry anymore?

humble mirage
#

So... the answer was yes?

silent ermine
#

yes

humble mirage
#

A quick eyeball shows :dev

silent ermine
#

yes, but the latest beta image is newer then the latest image with the dev tag

humble mirage
#

Sure, but that's the case on Docker hub too

#

(also, if you look, the latest beta is actually stable)

silent ermine
#

Yes I'm aware, but I was under the assumption that an image was pushed to the dev tag after every commit?

humble mirage
silent ermine
#

Now I'm confused who/what was pushing to the dev tag..
I'll guess I'll just switch to the beta tag.

#

Thanks for the assistance 🙂

frozen plinth
silent ermine
frozen plinth
#

Beta is a different branch from a week before release. Only bug fixes get cherry picked from dev into beta. So dev broke after beta had started, and the breakage didn’t get cherry picked into beta. There won’t but updates to either till it’s fixed because the next beta won’t be till the last Wednesday of the month and will have all the changes from dev.

silent ermine
#

ah ok. That makes sense.

remote spear
#

Hi, I try to install HAOS on a Fujitsu S920. I have written the image on a msata. If I put it on a usb port with an adapter everything works fine, but if i put it directly on the mainboard there will be no bootable media found. I created the entry in the efibootmgr as suggested, but it doesn't work.

odd marlin
#

Is the msata port enabled as a boot option?

sick vale
#

Hi, while installing HA it cannot finish because: 23-01-10 20:33:26 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemux86-64-homeassistant:2023.1.2: **404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/qemux86-64-homeassistant:2023.1.2/json: Not Found ("no such image: ghcr.io/home-assistant/qemux86-64-homeassistant:2023.1.2**: No such image: ghcr.io/home-assistant/qemux86-64-homeassistant:2023.1.2")
Is somehow latest version really not accessible or I have something messed up with the network config? If you suggest to change something like version or url then please not that the only think I'm doing is starting linux and the containers takes it from there 🙂

remote spear
odd marlin
#

Is Secure Boot enabled? Often times USB drive are allowed to bypass secure boot, which could explain why it works in USB and not on the motherboard

sick vale
#

Regarding my installation problem I may add that until it reaches this thing to be installed - it works ok, my logs are green until it hits quemux

odd marlin
#

What install method did you use?

sick vale
#

Dell Wyse // Debian 11 // HA Supervised with installer from github
My only fetish I set up on host is static IPv4 so I could easily find it 🙄 But it installs other stuff!

odd marlin
#

Don't use Supervised 😦

#

HAOS or Container are the only sensible installs

sick vale
#

but it uses docker as well, not "the container"?

odd marlin
#

Did you read all the requirements of Supervised? Including the part that basically says "don't install this"?

sick vale
#

But I reached that far and pushing forward even if it's boring debian 11 😄

#

I need Add-ons and they're not supported on Container

odd marlin
#

Add-ons are just Docker containers. HAOS has add-ons, or you install with Container and put whatever Docker containers you want on the machine

sick vale
#

Any ideas why can't install this qemux86-64-homeassistant:2023.1.2? Why 404?

odd marlin
#

The most common reason for Supervised not working is not following the requirements

sick vale
#

Hope to get second opinion 🙂

odd marlin
#

The second opinion you're going to get is not to install Supervised

sick vale
#

So is there a good guide to follow to try with the Container: to have stuff like MQTT-broker, zigbee2mqtt and other useful stuff?

#

as I already have host set up

turbid rampart
#

Yeah

#

I setup docker HA easily without much knowledge

brazen herald
#

Well, installing Supervised is only for experts, so hopefully being an expert you can resolve the problem 😉

turbid rampart
#

You can install mosquitto directly as a docker

#

Use integration MQTT to make your HA connected to it

#

Very easy

humble mirage
#

Z2M certainly does, Mosquitto does, etc

storm sluice
#

any reason your cant install homeassistant os? does this thinclient not support uefi?

high token
#

You should also look at docker-compose to make your life easier to maintain the containers

brazen herald
#

Docker compose is great.

brazen herald
#

I check my compose files into git for full nerdery

brazen herald
#

Because accessing the host machine means breaking the rules of supervised in nearly all cases

high token
sick vale
#

Yes, please share your docker files 🙂

brazen herald
#

Plenty of people have a github link in their profiles

#

My repo for compose files is private, but things like Mosquitto and Zigbee2MQTT tend to have examples in their docs

high token
#

googling docker compose home-assistant or any other name will certainly show some options for each but again best information comes from each application's own page

turbid rampart
#

on the home assistant website there is a guide to install using docker compose

#

Google mosquitto and they also offer a docker compose guide

high token
brazen herald
#

Dang it, watching TV and discording slowed me down 😛

high token
#

Too slow @brazen herald 😛

turbid rampart
#

I learned later on that « add-ons » that are shown as unsupported in the doc can actually be installed manually as a separate container, very simple

brazen herald
humble mirage
#

Which are basically my tweaked versions of what those provide in their own official docs

turbid rampart
#

$ecretP4ssword

#

🥶😂

turbid rampart
#

Tbh looking at mosquitto’s official website and looking for the guide is easier than trying to reverse engineer another person’s compose file

#

You gotta understand why the -v , why the ports forwarding etc

humble mirage
#

Yup, once you grok what the various things do it's easy to build compose file entries, drop stuff in environment files, handle secrets, etc

sick vale
#

Before I start with Compose: is it recommended to do everything as root or normal user + sudo shall do it?

neat snow
#

I'm running the HA virtual machine and have run out of storage. I ran recorder:purge for the developer options page last night with the repack option enabled but my storage is still at 0%. Should recorder:purge have given me storage back and if not, what should I try next?

humble mirage
humble mirage
odd marlin
sick vale
#

Just finished cutting them off 😄

neat snow
humble mirage
#

Next ... find out where the disk space went

#

I'd start by doing a du -csm * | sort -n in the config folder, over SSH

neat snow
#

I'll try that

sick vale
#

So you have your Containers on hosts other than Debian11? Sounds tempting 😄

turbid rampart
#

I have mine on raspbian

#

On a pi4

humble mirage
#

I have Docker on Debian, and Raspbian at home, and at work more different OSs than I care to consider

#

Technically I have it on Windows too at home, but ... I don't use it because that just feels dirty

low notch
#

why

turbid rampart
low notch
#

I should try hasswp in a windows container sometime 💀

humble scaffoldBOT
#

Don't use HassWP, it's unsupported and unsupportable. It runs Home Assistnat directly in Windows, which means many things won't work, and relies on the developer to keep it updated (which often isn't the case).

Just use a supported installation approach and you'll have less pain.

blazing tendon
#

hello, i have a problem with the installation of home assistant operative sytem on my rapsberry pi 4 (2gb ram)

#

home assistant won't boot on my raspberry pi 4

#

do someone have the same problem?

humble mirage
#

Did you use the Pi4 image?

blazing tendon
#

yes i think

#

i flash my sd card with the url on home assistant guide

#

i use the rsp 4 64 bit version and also tried the 32 one

odd marlin
#

"won't boot" can mean a lot of things. What do you see on the screen?

blazing tendon
#

for about 6 or 7 a bit of writing

odd marlin
#

That... doesn't help at all

blazing tendon
#

can i send you a video

odd marlin
#

no, please don't send me friend requests

blazing tendon
#

ok

#

but how can i send you the video

manic bane
#

You can upload an image here by uploading it to Imgur then pasting the link

#

Or type out the errors

blazing tendon
#

can someone help me

manic bane
#

So after it runs through those lines what happens

blazing tendon
#

Black screen

#

For a while

copper steppe
#

are you sure it's not booting? and hasn't just busted the screen output?

odd marlin
#

Crappy power supply?

#

Could be booting and losing power

copper steppe
#

or it's changing into a video mode your monitor doesn't support. can you check your router, see if it got a dhcp lease? then ping it?

odd marlin
#

With such little useful info, it's entirely a guessing game

copper steppe
#

Yeah, people doing seagull support requests.

drifting osprey
# low notch _why_

'cause windows often confuses programs? or sends them round and round in circles...

opal vine
odd marlin
opal vine
odd marlin
brittle sail
#

only certain usb to sata/nvme work with pi

#

i used the startech usb 3.0 adapter for like $11 on amazon

opal vine
terse drum
#

Hey. This paste disappeared. Was wondering if you can send me the let's encrypt renewal automation again

odd marlin
heady patrol
#

Hello. Have turned on Odroid Home Assistant limited edition. It started with Home Assistant Operating System version 5.13 - now it wants to update to 9.4 but without success - there is an error service update/install can´t be called

#

when I try to go to setting>update and choose to show also skipped updated it shows error: homeassistant/update_entity

#

File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 381, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 556, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 599, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 389, in state_attributes
ATTR_AUTO_UPDATE: self.auto_update,
File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 238, in auto_update
return self.coordinator.data[DATA_KEY_SUPERVISOR][ATTR_AUTO_UPDATE]
KeyError: 'auto_update'
2023-01-11 08:35:50.144 ERROR (MainThread) [homeassistant.components.hassio.handler] /backups return code 404
2023-01-11 08:35:50.146 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /backups -

#

Please any idea where to start? Seems like it is unable to update from such old version?

humble mirage
#

You may be better off downloading a backup and then doing a fresh install

heady patrol
#

Is it possible to do reinstall without direct access to the hardware?

heady patrol
#

Hmm, Odroid connected to hDMI, switch to SPI but no petitboot screen

#

just black 😦

low notch
#

not sure about odroid but I flashed my pi once remotely

#

pretty sure its no different on a odroid but nonetheless scary

manic bane
fossil plover
#

Can I ask for docker compose that run Homeassistant for windows without VM

humble mirage
#

Well, Docker on Windows isn't supported

fossil plover
brazen herald
#

Because Docker on Windows is special.

#

Well, technically Windows is special.

fossil plover
#

@brazen herald So which is best if we want to development on windows ?

#

Do a VM linux ?

opal idol
#

Hey, I've HA instance running in docker container. Is it possible to allow communication via http and https(simultaneously).
current configuration.yaml http section:

  ssl_certificate: /etc/letsencrypt/live/hass.hq.eu/fullchain.pem
  ssl_key: /etc/letsencrypt/live/hass.hq.eu/privkey.pem
  server_port: 443```
low notch
#

use your certificates with stunnel and run ha in http

opal idol
low notch
#

I believe its aiohttp

humble mirage
fossil plover
meager ermine
#

Hello , sorry to bother, I've been trying to install hacs on my Home assistant server , its the home assistant OS on a raspberry pi 4 i keep getting one of two issues 1 - cant connect to remote host or 2- bad address (the first issue i use wget -O - https://raw.githubusercontent.com/hacs/get/main/get | bash - command) and the second issue i use the (wget -O - https://get.hacs.xyz/ | bash -) command , sorry if this isnt the right place for this question but any help would be appreciated

woven turtle
#

Hey there, not sure if it's the right place;
I have installed to my mini pc an external HDD with existing data on it (for Plex mainly), I did successfully mounted the HDD by the Proxmox shell but it is saying that the NTFS drive is read only, I found out that the message coming up from $recycle.bin folder but It won't let me delete this folder.
Need some help because I have watched so many guides and videos on how to fix that but nothing works for me.

manic bane
woven turtle
#

i did Installed that thing it is called 'ntfs -3g'

manic bane
#

Wait are you running HAOS?

woven turtle
#

So you saying I better plug back the HDD to my personal PC and move the files back to the PC, format it to NOT nfts (fat32 i assume) and then move back the files?

#

No, I'm on Ubuntu Proxmox got 2 VM's

#

1 is for HA 1 for Plex - the Plex one is the one with the HDD

manic bane
#

So what os is the Plex VM running

#

As the drive will have to be mounted there

#

After being passed through by proxmox entirely

woven turtle
#

Ubuntu 22.04

manic bane
#

So if Ubuntu is seeing the drive. Then just set a permanent mount in fstab using NTFS. For longer term recommend it being ext4. Fat32 has problems with fikes over 4gb

woven turtle
odd marlin
#

exfat is also an option for larger files and Windows compatibility

crude inlet
#

Yeah I would ditch the ntfs

woven turtle
#

I am getting the error that 'Read-only file system'

#

Is there a way to save my data within the drive before doing that? can exfat store movies and tv shows files?

crude inlet
#

Is it a huge library to move off?

woven turtle
#

300GB

#

I mean worse case is to format the whole 4TB drive and start from the bottom and re-download like 200 movies but it's a pain in the ass..

low notch
#

bro

#

*linux iso's

#

transferring them off and back on with a different format is faster

woven turtle
#

how do I do that?

low notch
#

you take the files off the drive, save them somewhere (maybe your desktop?), format the drive to exfat or ext4 and put them back

woven turtle
#

and right after i put it back the ubuntu should recognize it or i will have only to mount the drive?

crude inlet
#

If the desktop is windows, then writing back to ext4 won't work

woven turtle
#

should I format it via the Ubuntu or from my desktop is fine?

#

my desktop is windows, the HDD currently on a mini pc that running Ubuntu 22.04

low notch
#

format it from ubuntu in ext4 if you want to use it in linux

#

then use some ubuntu live cd to transfer them back from the desktop to your drive

woven turtle
#

ok but when I plug it back to my desktop to transfer back the files it will give me an error and that I have to format the drive, no?

low notch
#

(apparently read only does work you said?)

woven turtle
#

yeah

#

now it's on NTFS and saying read only

odd marlin
#

If you need to plug it into Windows then use exfat and both OSes will have no problem recognizing it

woven turtle
#

he gave a command to fix that in his video (the one i just sent) but there is a file that prevents me from do that which I suppose is the folder $RECYCLE.BIN

#

ok cool, sounds better than fighting with this recycle bin folder

manic bane
#

So basically
Copy to backup somewhere
Format as ext4 (Linux only) or exfat (windows and Linux)
Then copy media back onto it

woven turtle
#

Yeah

#

Wait is it possible to connect the external HDD to my windows?

#

It will save tons of time opening the whole case

odd marlin
#

If it's not ext4, yes

woven turtle
#

Perfect, thanks!

manic bane
woven turtle
#

Will update as soon as it finish

manic bane
#

For auto mounting on Linux you will need to add a line in fstab as well

woven turtle
odd marlin
#

Automatically mounting the drive so you can access the files when the machine boots up

#

Without needing to run mount commands manually

manic bane
#

Mounting Is where you can see the contents of the drive

woven turtle
#

What's the command I should do to apply that?

manic bane
#

Windows does it automatically

woven turtle
#

The drive will be 'exfat'

odd marlin
woven turtle
#

do I need to change the UUID or it should remains like that?

odd marlin
#

You'll have to get the UUID from blkid

low notch
#

the uuid for fat and exfat are usually a bit shorter

woven turtle
#

ok almost done with the backup, soon I will be formatting it via the Windows and then plug it back to the Mini PC that runs Ubuntu to mount and add the auto mount command

fringe depot
#

My HA installation has suddenly started failing this morning and I could use some help troubleshooting. It is a full HAOS installation on VMware, and has been working for years. The symptoms are that the web interface just hangs, automations etc. aren't working, but the machine is running and I can interact with the supervisor console fine. The supervisor logs end with a bunch of "Error on call http://172.30.32.1:8123/api/config:". If I reboot the VM, it comes back up but then hangs again after a minute. It's on 2022.12.8, and I haven't touched anything in a few days, so not sure what is going on here.

brazen herald
#

Are you running out of memory or storage space?

fringe depot
#

Does not appear to be the case. 5.8G free memory (out of 8), and the filesystem is on a NAS with >200G available.

brazen herald
#

Are there any add-ons that are running? It would be worth checking those logs too.

#

And the core logs as well.

fringe depot
#

There are, but I'm not sure how to get to them.

#

I have ssh enabled, so I can look at home-assistant.log. It contains a lot of different timeout, "failed to communicate with", aio errors, etc., for many different integrations. It's not obvious that there's a culprit in there.

#

Is it possible to disable add-ons or access their logs from the command line?

#

Hmm. I renamed my custom_components directory and rebooted, on the off chance one of them could be to blame. And it seems to be working now, but it's only been a couple of minutes so far. There's not anything extremely unusual in there: hacs, cupertino, oncue, openhasp, pixelblaze, spotcast, and tesla_custom. If I put them back and it dies again, I should be able to figure out which one it is pretty easily.

odd marlin
#

Those would be integrations not addons

fringe depot
#

I'm aware of that, but I don't know how to manipulate addons from the command line (I can't access the web UI) so I wanted to try something.

fringe depot
#

I must have looked at that help a dozen times and didn't notice the addons command. In any case, I think I might have stumbled onto correctly blaming a custom component. I put them back and it's stuck again. So I will now do the binary search.

meager ermine
#

anyone know the reason for wget being an unknown command

fallen lichen
#

That's a vague question.... the package isn't installed would be why, not every OS will have it without adding a package.

meager ermine
#

so i tried installing hacs on the ssh terminal but keep getting a bad address response and now i tried running the command in the OS itself but wget is an unknown command , just trying to explore different ways to get this hacs installation to work , im using the home assistant OS on a raspberry pi

odd marlin
#

HAOS has wget. Are you sure you're on HAOS?

humble mirage
#

Does the base HAOS though, or is it just in the add-ons?

fallen lichen
#

If you're doing it over 22222, wget isn't there, but that's also the wrong thing to be chasing most likely

#

What's the full output from wget in the container?

grand pivot
fallen lichen
#

Pretty likely

odd marlin
#

oh I just reread it and I guess they are trying to do it on the host, rather than in the container, which yeah will not work

crude inlet
#

@meager ermine go back to the ssh add-on terminal and confirm what you are entering here

meager ermine
fallen lichen
#

is there DNS resolution info as there usually is w/ wget?

meager ermine
fallen lichen
#

Seems to be quite a number of Pi's w/ DNS issues overall.... glad you got it sorted

woven turtle
#

hey guys, about formatting the HDD to exFAT, when I am on the format menu I see the HDD capacity 3.63TB but the actual HDD capacity is 4TB, how can I fix that? also I understand some files are corrupted in my HDD I did format it via cmd but it stucks on 0% (format fs=exfat command)

#

all the online solutions i found were use diskpart in cmd, but that's where I am stuck at 0%

humble mirage
#

4 TB is 3.63 TiB

woven turtle
# humble mirage 4 TB is 3.63 TiB

OK, but something is corrupted in the HDD, we had a power outage while I was transferring the backup files back to the HDD (now as exFAT) and since then I can't add new files to the HDD even if I do another format.
Any solution?

humble mirage
#

Depends on what the problem is

woven turtle
#

When I transfer files now to the HDD the Windows Explorer gets stuck

humble mirage
#

I'd try a full format, not a quick format, and TBH I'd use a Linux box to investigate it

woven turtle
#

What would be the diff?

humble mirage
#

With which of those?

woven turtle
humble mirage
#

Well, you get more information

#

You can hit the disk with a dd to read or write the whole thing and see what's going on

#

At least you can if you know how to use dd ||or Google||

fringe depot
sick vale
#

Hi, I just installed HA on the ubuntu server host by the Container way and it has been loaded properly 🆗 Now I'd like to add mosquitto broker (I know plugins are not available here). I guess I must extend my compose.yml that I started. Can I just copy-paste some description from the internet or what?

humble mirage
#

Pretty much, yes

sick vale
#

I'm just checking out your config 🙂

humble mirage
sick vale
#

Ok so noob docker question here: these lines I must add under services so like homeassistant?

humble mirage
#

Yes

sick vale
#

And how to reload everything after this and not loose my basic stuff like user names I just created?

humble mirage
#

docker compose up -d

sick vale
#

It will add just the difference, right?

humble mirage
#

You'll want to read up on how to use Docker

sick vale
#

I did long time ago 😉 I hoped that the config will be under the volumes I added but it's not :/

humble mirage
#

"the config"?

sick vale
#

like user names and passwords created in HA

humble mirage
#

That's all in your config folder, in a hidden folder

#

If you just used cp * to back it up, you missed a lot

sick vale
#

but where is it and under what name?

humble mirage
#

Look in .storage/

sick vale
#

no such dir, are you talking about the host machine?

humble mirage
#

In the HA config folder, where you find configuration.yaml

sick vale
#

I don't have it on the host, is it inside the container?

humble mirage
#

You did map a volume/bind for /config?

#

Or ... did you miss that rather important part of the docs?

sick vale
#

volumes:
- /usr/ha:/config
- /etc/localtime:/etc/localtime:ro

#

on my host I have it under /usr/ha but there's nothing there

humble mirage
#

That's an .... interesting choice of location

#
ls -al /usr/ha
sick vale
#

there's no good location for "applications" under linux like Program Files 😄

#

nothing there

humble mirage
#

Most folks don't slap stuff under /usr

humble mirage
sick vale
#

yep, I bet /tmp is better

humble mirage
#

/opt or /srv are traditional

#

Many of us make up our own

sick vale
#

Fun fact is when I run backup via webpage I have unknown error so maybe writing access

humble mirage
#

Also, are you running the official Docker image, or the lsio image?

sick vale
#

The one installed with the ubuntu server

humble mirage
#

There's no HA Docker image installed with Ubuntu

sick vale
#

docker version 20.10.x

humble mirage
#

No

#

In your compose file, what image are you using for HA?

#

The whole line please

sick vale
#

ah, docker image not application 😄

humble mirage
#

Hence why I keep saying Docker image

#

Ok, so it is at least the right one

sick vale
#

who is writing to the volume? the one that started docker or some docker user? 😉 maybe chmod needed for that dir

#

it's under my user (owner) and I didn't change the chmods

humble mirage
#

In this case it's root

sick vale
#

ok so I'm in the docker group so that should be enough, right?

humble mirage
#

That's irrelevant

#

What does your container log say is going on?

#
docker logs homeassistant
sick vale
#

ah there's something regarding 'zha_gateway'

#

probably caused by this try of backup

#

Unable to find configuration. Creating default one in /config

#

In your config do you keep your stuff under /data?
/data/mosquitto/config:/mosquitto/config

humble mirage
#

Yes

#

All my volumes live there, as does my compose file

#

Then I just back up /data and get it all

manic bane
#

I do /app personally

#

But that's because I'm weird

sick vale
#

still not working :/ configuration (users/passowrds) lost after server reboot

manic bane
#

Is it writing to the directory you set up?

sick vale
#

no, always empty /usr/ha

#

and no errors

#

before I ran the docker compose I created this /usr/ha directory and changed owner to myself (created with sudo as it's /usr)

manic bane
#

Can you share your docker compose?

sick vale
#

version: '3' services: homeassistant: container_name: homeassistant image: "ghcr.io/home-assistant/home-assistant:stable" volumes: - /usr/ha:/config - /etc/localtime:/etc/localtime:ro restart: unless-stopped privileged: true network_mode: host devices: - /dev/ttyACM0:/dev/ttyACM0 environment: - DISABLE_JEMALLOC=true

manic bane
#

And you restarted the container? Like shut it down then start it up? Just to ensure it's fresh

sick vale
#

yes

austere condor
#

Hey folks. I remember speaking with Tinkerer a while back about getting remote access for the app APIs only for location tracking (and notifications); Does anyone have any examples/docs of doing this? Do I just need to run my own reverse proxy infront of HASS-OS and limit which endpoints can be accessed remotely, or does the NGINX SSL Proxy add-on support this? I'm currently requiring a VPN for remote access, and I don't want to open my entire HASS to the internet so just the endpoints I need for the apps to do their thing, and also get get frigate notifications with images.

odd marlin
#

You'd have to run a reverse proxy which only allows those endpoints and rejects anything else. My HA normally requires a VPN to connect to, but in order to get the custom Alexa skill working I forwarded port 443 to HA, firewalled it to only accept connections from Cloudflare IPs, then in Cloudflare WAF I set allow rules to only allow 2 specific API endpoints from AWS's network. It's a bit convoluted but it accomplishes my goal

austere condor
#

Ok, that's all doable. The only thing I need is a list of which endpoints I need to allow; or how to find them?

odd marlin
humble scaffoldBOT
#

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

odd marlin
#

You'd just have a reverse proxy that requires a TLS cert, and any connection that doesn't provide that cert would be rejected before it ever can reach a login page or anything

south coral
#

Why am I getting this error?

odd marlin
#

Don't install Supervised

south coral
#

why?

austere condor
south coral
#

I want addons but I want to be able to use other services

odd marlin
#

That's explicitly not supported. Sounds like you didn't read the requirements

south coral
#

it is not officially supported but people do that

odd marlin
#

No additional software, outside of the Home Assistant ecosystem, is installed.

manic bane
#

Add ons aren't anything fancy

#

They're literally docker containers

#

Just with a fancy button

south coral
#

so what would you recommend me? installing os directly?

odd marlin
#

If you want to run other things on the machine, either use the Container install, or put HAOS in a VM

south coral
#

okay thanks

odd marlin
#

oh, I missed the part about it being a pi, so a VM won't work, but either way HAOS or Container are the only sensible install options

manic bane
#

Container lets you run other things alongside it

#

HAOS is locked down

south coral
#

but container doesnt allow addons right?

manic bane
#

@south coral what do you want to run alongside HA anyway

south coral
#

pihole

manic bane
high token
#

A lot of services people want to run actually exist as addons and people just don't know about it

odd marlin
#

HAOS has AdGuard Home as an add-on which is the same type of software as PiHole

south coral
#

so ha can act as ad blocker too? didnt know that

odd marlin
south coral
#

thx

sick vale
#

How can I get device name for zigbee2mqtt container? For plugin version HA there was hardware/show all or something but I don't see this for Container

odd marlin
#

For your coordinator stick?

sick vale
#

yep

quick hornet
#

try lsusb

odd marlin
#

ls /dev/serial/by-id

quick hornet
#

iirc i used lsusb to identify that it was present in the host os and then just looked through ls /dev tty entries to see which one it was likely to be

woven turtle
#

yo jumbers, you told me to do hard format on the HDD, it's been 7 hours and it's still on 4% progress, should I just plug the external HDD off and plug it directly to my pc via SATA and perform a hard format again or just leave the pc 3 days on to see if there is any progress made?

odd marlin
#

7 hours for 4%? uhh, that's definitely not right at all

woven turtle
#

external hdd 4tb

quick hornet
#

not unless it was a full format, not a quick format

woven turtle
#

it is a full format

#

via EaseUS software tho'.

odd marlin
#

oh that sounds like it's trying to zero out the drive or something

woven turtle
#

the 4% was like 30 seconds into the format, after that it's stuck there

quick hornet
#

yup. sounds like it's treating that drive like it's a hdd instead of ssd.

woven turtle
#

so should i plug it off and connect it to SATA?

odd marlin
#

I haven't formatted anything in Windows in a long time, but you should be able to quick format it to exFAT via the Windows disk tool I think? Unless that doesn't do exFAT

woven turtle
#

it is hdd

#

the disk is not right, that's why i wanna do full format and not quick one

#

I mean when I move a movie into the HDD after formatting that to exFAT (it was NTFS) the Windows Explorer gets stuck

quick hornet
#

sounds like the drive is bad

woven turtle
#

bought it 4 days ago in amazon, it was great but when I changed it to exFAT shit start hit the fan

manic bane
woven turtle
#

thought it might help because the Windows one got stuck for me..

#

jumbers how do I get there?

odd marlin
#

Disk Management

woven turtle
#

ok, should I stick with the external or plug it to SATA?

#

to make things faster

odd marlin
#

Sure, give SATA a try

midnight wasp
#

Hello all, is it possible to install Samba on 2021 HA install? I do not have supervisor tab anymore and can not get to addons through the settings. I am using virtualbox on windows 10

woven turtle
odd marlin
#

If you're on a 2021 version you need to upgrade before you consider installing anything else

quick hornet
#

an no. no addons. you'll have to spin up a docker container with the samba addon installed. I haven't seen any instructions on how to do this.

#

a question on upgrades. container install. Do i just need to stop the container and then use docker compose pull before restarting? or should i manually remove the container

midnight wasp
#

That's part of the whole deal. Old install works fine, but wanted to update something and I see no way to do it. Installed a fresh 2023 on same machine and now I have HACS on it and I can see addons again. I was able to put Samba on 2023 and look up the zones file in the config/.storage folder, but I cant figure out how to get my old zones file out of 2021 version

#

I'm an old, relative noob for this stuff, but have been reading and watching some videos to help. That's how I at least found my new zones file 🙂

fallen lichen
#

Did you try upgrading via CLI on your old instance?

midnight wasp
#

So hopefully any solutions won't be too complicated

#

NSX, no sir

fallen lichen
#

Why not? I know someone mentioned it to you earlier.

#

How much do you have to lose if you set up a new HA instance fresh?

midnight wasp
#

If I had high confidence that an upgrade would not totally hose my old setup then I would probably do it. That is one reason I did a second , clean install

#

and was trying to migrate just a few things over

fallen lichen
#

What hardware is the old instance on? Virtual?

midnight wasp
#

yes, win 10 laptop

odd marlin
#

Take a backup, then incrementally upgrade, reading release notes in between for breaking changes

fallen lichen
#

Win10 laptop? In a VM? or?

midnight wasp
#

yes earlier I was on phone but now I'm home and can get a better look

fallen lichen
#

Yeah, snapshot the whole thing and you've got nothing to lose

midnight wasp
#

yes, win 10 laptop

odd marlin
#

So If you're on 2021.4, check the release notes for 2021.5, upgrade to it, do the same for 2021.6, etc. It's going to be a long process

midnight wasp
#

sorry, wife aggro, yes have nothing to lose on 2 day old new install, but didnt want to lose all the zones mainly on old one

fallen lichen
#

Right... so snapshot the old one

midnight wasp
#

ok, got to learn that first 🙂

#

havent done that in 2 year !

odd marlin
#

VM Snapshot and download a backup from HA if you want to be doubly safe

sick vale
#

how can I add my "adapter: ezsp" into z2m compose file?

midnight wasp
#

First instruction says to go to supervisor tab, which of course doesnt work

sick vale
#

ah no, it should go to configuration.yaml of z2m

fallen lichen
manic bane
sick vale
#

I tried but got error unexpected parameter or something

#

zigbee2mqtt_new | Zigbee2MQTT:error 2023-01-11 23:09:18: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220817084307-if00' zigbee2mqtt_new | at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:91:28)

#

How shall I keep devices property set up for z2m for such device? currently I have:
devices:
- /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220817084307-if00:/dev/ttyACM0

midnight wasp
#

ok, went to VM machine and did a snapshot from within virtualbox

#

of the 2021 install

#

videos show people going into supervisor mode on HA and then just hitting snapshot

#

unfortunately, not an option for me. Could I have possibly turned off supervisor mode? is that even a thing?

fallen lichen
#

At the virtualbox level... all you need is a snapshot there

#

Then that'll let you restore

midnight wasp
#

ok, great, NSX, i have that

#

currently i have both instances running, should I stop the new one or does it matter?

manic bane
sick vale
manic bane
#

If you pass the device in the compose file then whatever you've passed it as on the right of that device thing is what you need to tell z2mqtt uses

sick vale
#

ok first and most important question here: are the z2m service and ha service inside Compose "connected" via devices? how should I configure this device in ha then? or not?

#

I guess I want to keep HA away from devices directly and communicate with sensors via MQTT! but this is just how I image that

manic bane
#

They're not connected. You need a mqtt broker to link them (this the 2mqtt part). Mosquito is one of those that will work

#

When configured you have z2mqtt talking to Mqtt
Then integrate mqtt into HA

sick vale
#

yes I have 3 services but for which one shall I pass this attribute?
`devices:

  • /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220817084307-if00:/dev/ttyACM0`
manic bane
#

To the one that needs it. Aka zigbee2mqtt

sick vale
#

As I understand - definately not HA

manic bane
#

Then in ZigBee2mqtt configuration you set the device as /Dev/ttyACM0

sick vale
#

*port not device, plus adapter if needed

grand pivot
#

I would suggest using /dev/ttyUSB0 to mirror the actual device outside, but it doesn't really matter

sick vale
sick vale
#

Ok I think I almost have it 🙂 Now: how to add this sensor to HA panel assuming that Z2T sees it properly?

#

with plugin it's easy cause it pops ups on z2m plugins page

manic bane
#

You open the web interface for z2mqtt, pair it (same as the add on) then HA should auto discover

sick vale
#

is there any web interface?

manic bane
#

What port did you give zigbee2mqtt

sick vale
#

Ahh it is: got to add frontend with port and I have it! thanks

#

Fun fact: don't know why my sensor drained from 100% to 5% of battery over few days while not used

manic bane
#

Don't trust battery level reporting

#

It's about as accurate as using a rock on a piece of string to tell the weather

#

(reference)

sick vale
#

but 5.5% it's not accuracy - it's draiining

manic bane
#

Yeah Ive had sensors report 10% after a brand new battery

#

And they're still going

#

And now show 15% battery

#

The reporting is again, as accurate as a rock on a piece of string for weather

sick vale
#

ok let's see tomorrow

#

but still cannot add them to HA

manic bane
#

They may last a year on 5% battery

manic bane
sick vale
#

no

odd marlin
#

Without MQTT you just have zigbee2nothing

manic bane
#

You need the mqtt integration for HA to know you have a mqtt server and to add it

brisk willow
#

zigbee > /dev/null

manic bane
#

Tediore > /Dev/null
😛

sick vale
#

ok I see he asksk for broker name apart from port 1883

#

just "zigbee2mqtt" does not work

brisk willow
#

What is your MQTT broker running on and how did you install it?

sick vale
#

mosquitto with compose

brisk willow
#

So enter the IP address or hostname then

sick vale
#

ok got it and I have stuff like topics and listening

vast coral
#

hi everyone

#

does anyone knows how to change ip adress to my ha i just change my network provider and the adresses are diferent so i cant reach acces to my rp pi even if its connected via ethernet

brittle sail
#

haos?

#

settings -> system -> network

vast coral
#

yes

odd marlin
#

If you don't know the IP and can't find the IP address in your router, you'll have to plug in a keyboard and monitor, and change the IP via the CLI

brittle sail
#

oh yea true

#

i mean he could technically add a default 0.0.0.0 route i guess

#

lol

plain jungle
#

GOOD evening HomeAssistanteers! I've been working on getting my HA KVM back up and running with a new server install. I'm using this guide: https://community.home-assistant.io/t/install-home-assistant-os-with-kvm-on-ubuntu-headless-cli-only/254941
but I can't seem to get the KVM bridge working. Every time I set up the bridge I lose access to the server (Ubuntu 22.04). I have a feeling this may be outside the scope of a HA install question, but I'm wondering if anyone may be able to point me in the right direction.

#

To clarify, I'm losing network connectivity on the host when I use netplan apply

low notch
#

I don‘t use netplan 🤷‍♂️ you may have more luck with traditional /etc/network/interfaces

odd marlin
#

You can use netplan try and it will auto-rollback if you don't confirm within 2 minutes

#

What does the output of ifconfig and the netplan YAML file look like before you make any changes?

plain jungle
#

here is the yaml. the interfaces entry that is commented out is what is cuasing the break. I'll get the rest for you in a sec

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.

plain jungle
#

my bad

#

thanks

low notch
#

why do you use virbr and not br0 ?

plain jungle
#

virbr seems to be what KVM was already using. Whenever I try to get it back to "default" settings when it doesn't work this is the device it seems to continue to setup.

odd marlin
#

KVM creates the virbr0, that's the NAT bridge

plain jungle
#

btw: I always get this when I use netplan try when trying to get this setup:

br0: reverting custom parameters for bridges and bonds is not supported

Please carefully review the configuration and use 'netplan apply' directly.```
odd marlin
#

Sounds like it might be complaining about STP. Just get rid of that whole parameters: section. There's no need for STP because you aren't going to get switching loops

plain jungle
manic bane
#

Is there a reason you're running HAOS on a Ubuntu server anyway? Did you not want to use the container based install?

plain jungle
#

the short answer is yes, there is a reason

odd marlin
#

Is that IP on br0 not working? That output looks correct, enp2s0 is up, br0 is up, and has an IP

plain jungle
#

I think part of the problem may be that my router is providing a static IP for this machine. So the IP that br0 is getting doesn't match what the router is providing

manic bane
odd marlin
#

oh, yeah so the bridge is going to have a different MAC address. On older versions of Ubuntu it seemed to clone the physical address but now it generates one. I got bit by that in my upgrade from 20.04 to 22.04

#

66:34:43:8f:a6:73 is the generated MAC of br0

plain jungle
manic bane
#

Ahh

#

Good luck with that

plain jungle
#

ok, so it sounds like I may be able to reassign a static IP to the bridge that shows up on the network, does that sound right? If so does that mean I need to be assigning an address: [previous static ip] in the configuration for the bridge?

odd marlin
#

You can either set a static IP in netplan or change the static assignment in your DHCP server to the new MAC, whatever you prefer. I try to stick to all of my IPs being assigned through DHCP static leases

plain jungle
#

I need to rethink this. I have other services running on the same machine that are dependent on port forwarding. It seems that if I go this method the br0 device will be handling network traffic. Am I understanding that right?

#

sorry, the network traffic for the host machine

#

man, it's really bothering me that following this verbatim didn't work this time. I'm not sure what changed from the previous setup

odd marlin
#

The only real difference from the host side is that the IP address is assigned to br0 instead of enp2s0. All the traffic like ports forwarded to it will behave the same

plain jungle
#

thanks for your time. I'm going to have to wrap my mind around this. Previously, the bridge exposed the VM as it's own machine but also left the host machine online.

low notch
#

both works

plain jungle
#

There's something I'm missing about the new server setup that's causing this to happen. I just have to dig in and figure it out.

odd marlin
#

Do you have iptables rules allowing traffic in by interface name? e.g. -A INPUT -i enp2s0 --whatever -j ACCEPT Those would need to be changed to br0

plain jungle
#

checking

#

hmmm, it appears I have no -A INPUT iptables for that device

#

this just gets stranger for me.

odd marlin
#

If you want to try a static assignment of the IP the machine had before, replace dhcpv4: yes under br0 with

      addresses:
      - 192.168.130.2/24
      gateway4: 192.168.130.1
      nameservers:
        addresses:
        - 1.1.1.1
        - 8.8.8.8
plain jungle
#

do you know if there's a difference between interfaces: [enp2s0] and

  - enp2s0```
#

when it comes to the yaml formatting

odd marlin
#

They're both lists, the one with brackets is just inline

plain jungle
#

ok, after breaking everything, I now have 2 devices on the network both with the same ip but different macs xD

#

so I guess now I'm going to see if the VM can access the network. Thanks for getting me this far. I'll keep you updated.

woven turtle
#

hi guys I have managed to format the external 4TB drive and mount it to my pve Proxmox
in the shell when I type 'lsblk' i see that sdb2 has 3.6TB (that's the drive I'm talking about).
but after I added the path of the drive I mounted as a directory to the proxmox it says 41.73GB capacity.

low notch
#

did you format it to its full capacity?

woven turtle
#

yeah

#

I have dropped in their 400GB of media already

low notch
#

what does df -hsay ?

woven turtle
#

I know there is more than 40gb in it.. don't know why the proxmox say differently.

#

/dev/sdb2 3.7T 408G 3.3T 11% /media/exfat

low notch
#

and where do you see 41.73 gb?

woven turtle
#

I can dm you a picture of that, can't post it here

#

It's on the Proxmox UI

low notch
#

no please use a image sharing service

woven turtle
#

after I added a directory

humble scaffoldBOT
#

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

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

woven turtle
low notch
#

yeah that is your proxmox boot drive

woven turtle
#

so I should just ignore that?

#

thought it was the full capacity of the HDD I just added

low notch
#

nothing to see here

woven turtle
#

ok man thanks!

#

one last question, I think I should do auto mount to the drive, how do I do that? something with UUID if i remember right

low notch
#

Place the correct line in /etc/fstab yes, jumbers gave you a starter yesterday

woven turtle
#

when I do blkid /dev/sdb2
it gives me an old data (ntfs and label name that used to be before I formatted it to exFAT)

#

I got the UUID tho'

odd marlin
#

Can you paste what you're talking about? The label doesn't matter, but I wouldn't expect it to say NTFS

woven turtle
#

it's exFAT now, but says NTFS

manic bane
#

You don't need to censor your UUID btw lol

woven turtle
#

too newbie to all this shit lol

#

ok when I run "lsblk -o NAME,FSTYPE,UUID,MOUNTPOINTS" it is showing the drive as exFAT

#

OK got it now it fully mounted, thanks guys.

Another question - I am trying to get Sonarr and Radarr for my plex server (on VM Proxmox)
After adding the relevant folders I get 'Folder is not writable by user administrator' message.
How can I give user administrator a permission to write/change files within the folder on Ubuntu?

#

When I try to do

chmod 777 /media/exfat

I get

chmod: changing permissions of '/media/exfat': Operation not permitted
odd marlin
#

exFAT doesn't have permissions, everything is writable by everyone

woven turtle
low notch
#

How is this related to home assistant?

woven turtle
#

It's not directly related, but my dashboard has integrations with the and radarr;
Thanks anyway for helping!

fierce wave
gilded hatch
#

trying to install ha on a rpi 2b, after flashing the os and everything looking fine, it does stuff for a while, until it says: [WARN] Home Assistant CLI not starting! Jump into emergency console… is this normal and part of the "can take up to 20 minutes" or is there something wrong? when running docker container ls there are no containers listed

placid sage
#

Hi

#

I have a zwavejs-ui docker instance and would lije to integrate with HA (also iin docker)

#

cann someone point me to a valued tuto?

sick vale
#

Hi, for my setup I only miss one thing: to make MQTT discover new devices and to make it possible to connect it to HA. Alternatively, I need to connect this mosquitto broker to z2m. The latter one is already working as a charm - I see the temperatures and stuff inside z2m console.

#

The container of mqtt is alredy visible in HA, aded as an integration and configured with the same IP as my host and 1883 port. Authentication for now I leave open so no username/pass and I'm allowing to login for anonymous

#

But still the MQTT block in settings/integrations does not show "new device"

humble scaffoldBOT
#

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

sick vale
#

Yep, for addons I had it worked very well. Now I reproduced the steps manually 😄

normal fjord
#

Hi. Just tried to update my HA docker and I am getting this error:
$ sudo docker start homeassistant Error response from daemon: error gathering device information while adding custom device "/dev/ttyACM0": no such file or directory
Error: failed to start containers: homeassistant

#

Can't access or start HA

fallen lichen
#

Sounds like that device doesn't exist on the host 🙂

normal fjord
#

I see the file in dev and chmod is updated.

#

I was updating with this command:

sudo docker run -d --restart=always --name="homeassistant" -e "TZ=America/Phoenix" --device=/dev/ttyACM0 -v /HASS/homeassistant:/config --net=host homeassistant/raspberrypi4-homeassistant:stable

sick vale
#

now I just follow the logs from compose

normal fjord
#

Let me try that. Just add that to the end?

#

Same error

high token
#

@sick vale use something like MQTT explorer to see that things are actually sent through

brazen herald
normal fjord
brazen herald
#

Then you'll only have to run sudo docker-compose up -d from wherever you put the docker-compose.yml file 😉

normal fjord
#

I was just trying to update my core in my docker instance. I don't know why the ttyACM0 is giving an issue

brazen herald
#

You're missing the mapping of the USB, it should be --device /dev/ttyUSB0:/dev/ttyUSB0, or in the compose file:

  devices:
    - /dev/ttyUSB0:/dev/ttyUSB0
sick vale
#

@high token I see new stuff arriving at MY_IP->zigbee2mqtt

brazen herald
#

But in general for docker containers this community strongly recommends using compose files for everything. You don't have to, but they remove the need to figure out what docker run command/parameters you need 😉

sick vale
#

other stuff on same level as zigbee2mqtt I see $SYS with many many counters

#

and there is "broker" under $SYS

normal fjord
normal fjord
brazen herald
#

Well why did you include a device in the original command?

normal fjord
#

It was in the instructions I followed

#

What should the command be?

brazen herald
#

If you don't have HA running yet, I would make a docker compose file following the example in the HA documentation, and then use sudo docker-compose up -d to get started

#

It'll save you lot of time long term 🙂

fallen lichen
#

If you don't have any external devices to pass in... just omit that

normal fjord
normal fjord
fallen lichen
#

you nuked the -v

brazen herald
#

Because you also removed the parameter name 😛

fallen lichen
#

(More points for docker compose)

#

I think --net=host needs to be --network=host... I don't think I've ever seen --net before

brazen herald
normal fjord
fallen lichen
#

That's a lot of dashes before network

#

only 2

sick vale
#

In the logs of mosquitto I see messages arriving (from sensors) - so why I cant see the sensor device in HA?

normal fjord
fallen lichen
#

--privileged should probably be before the image name as well

normal fjord
#

sudo docker run -d --restart=always --name="homeassistant" -e "TZ=America/Phoenix" -v /HASS/homeassistant:/config --network=host --privileged homeassistant/raspberrypi4-homeassistant:stable

#

Thanks all that worked. Lost all my settings and restore option is missing but I'll figure it out

brazen herald
#

Well if your config wasn't stored in /HASS/homeassistant then that's why you lost it

#

That's also why the docker compose files are good 😉

vast violet
#

Hello There, trying HA for the first time, Setting Up on a Raspberry PI3B using the HAOS Image flashed on a SD Card

barren lily
#

I have Issue with connecting to the cloud and in loading all pictures of devices and i try to connect with a vpn and it load have anyone a solution for this ?

vast violet
#

System boots up correctly but fail during Preparation

#

Looking at what possible DNS Issues can happend, but the above url is not working on my PC either.... ghcr.io/home-assistant/

brittle sail
#

ooh dns issues

#

always a good time

vast violet
#

looking at that doc

#

but anyway to open the CLI before installation is ready

#

?

barren lily
#

how could i solve it ?