#installation-archived

1 messages Β· Page 64 of 1

left plover
#

it would explain the 2 hour window

raven forge
#

Good question. I'm actually not sure. I guess if it is it would be UTC.
According to timedatectl it seems to be UTC in my case. You can also check via ha host info.

left plover
#

They are .. So i did in fact override the logs from the problem by updating HA

#

it seems it only saves current and -11

#

-1

#

anyway, now i know how to debug further next time

#

Thank you very much @raven forge πŸ™‚

errant edge
#

And I should remove all the SSL / DNS type config stuff from my config then? Like the URL it's running on, SSL configs etc..?

humble mirage
#

If you want to use a reverse proxy, remove the ssl_* lines and restart HA so that you can only access using http://

shy coral
#

Thanks gambl0r, definitely should have been one of the first things to tryπŸ€¦πŸΌβ€β™‚οΈ but unfortunately it didnt fix the issue. Will give it another try tomorrow just to be sure

cinder marsh
#

something is wrong but there isn't much info to go on, possibly faulty or misconfigured router?

mild smelt
#

Hello~! πŸ‘‹
I stumbled my way here due to annoyances with wanting to access Google Gemini & Google Assistant simultaneously on my phone. I'm so disappointed that I've overlooked Home Assistant for so long! For some reason I had just assumed it was some other OEMs attempt at being the center of things. But it's FOSS! ❀️
I'm just getting going, & I have some naΓ―ve questions, if someone will indulge me, & save me a bit of time; firstly, I'm horribly tempted to repurpose an old Android phone as the server. Bad idea? It seems like it could be terrible but awesome. What are other out of the box deployment options if I'm not quiiiiiiite ready to spend $100 today? Thanks!

cinder marsh
mild smelt
#

I found tutorials updated 2 months ago to do so, actually. But I was more hoping someone had tried & had advice. I know it isn't officially supported. EDIT: that is wrong. I can't remember the year. Or month. It's from Jan '23.

#

I'm guessing..... it is not a good experience likely.

cinder marsh
#

the outcome doesn't seem worth the effort

mild smelt
#

yeah πŸ’―

cinder marsh
#

use an old laptop instead

mild smelt
#

I should just buy another Raspberry Pi....

raven forge
mild smelt
#

I think I really need to invest in a decent setup to have a larger server setup at home for multiple projects. I'm always giving someone 5 bucks to host a mongodb or keep some chatbot running for my amusement....

green sierra
#

I need some support by someone.. Somehow my installation has been corrupted or something... Containers refuse to start due to some weird network error... I am not so knowledgable in docker environment, but I don't want to loose all my config 😦
This just happened, and it looked like I had several supervisors installed and the containers are stacking the supervisors containerid in the network

mild smelt
#

After successfully getting Hyper-V configured in a way which broke my access to the internet, I have made some progress in exploration:

#

ah. no pix. i made it to the actual web client. lol

raven forge
humble mirage
#

And do you have backups?

green sierra
# raven forge Which installation method do you use? What errors do you get? How do you come t...

Oracle VM host, HassOS installation. The errors I intitally got was the Warn emergency CLI, tried solving it from the forums yesterday. Ended up with installing multiple supervisors using the "docker pull" command.. (lack of knowledge from my side). Now when I try to start all the containers from the "warn emergency CLI" it gives the error response from daemon: network <bunch of numbers like 70 characters> not found.
I listed the images and saw that the numbers stack from the network error to all the supervisor installations.

raven forge
#

Can you restore a snapshot? It's one of the neat things you can do with a VM before running random commands.
docker pull on its own shouldn't cause harm. Please show exactly what you see. Don't paraphrase errors or logs.
And as tinkerer said, do you have backups?

green sierra
#

Dont have snapshots, because I am stupid... The backups I have seems to be 1,5 year old so apparently my automatic daily update did not work..

I cant post picture in here?

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.

raven forge
#

Does the ha work? Try docker logs -t hassio_cli. journalctl -ru docker.service, journalctl -ru hassos-supervisor.service.
Fiddling with the docker containers themselves is rarely good idea.

mild smelt
green sierra
raven forge
#

Okay try the commands then. I'd also need to know what commands you ran besides docker pull.

green sierra
#

impact would you have a minute to check via teamviewer? Apologies for my stupidty

raven forge
#

No. I only provide support here via text.

green sierra
#

ok πŸ™‚
I only ran docker pull.. hmm let me see, there was one more command from the forum I tried

#

hold on

#

I did a few of these commands from the forum because I did not understand about the amd64 , aarch64 etc.

docker pull homeassistant/armv7-hassio-supervisor:latest

So 3 different of these I ran first.

Then last command I ran was this;

rm /mnt/data/docker/network/files/local-kv.db

From a guy on the HAS forums on the topic of the error I was having

raven forge
#

Your VM is amd64 so that's very wrong.

green sierra
#

That is it.. and when I saw that I had multiple images and learned about which one I should have depending on my processor I just removed the ones that I should not have.

#

Exactly

#

If you see the image now with the docker images command you can see I only have the 1 left (i believe) with amd64

raven forge
#

That rm removed docker's networking database. Not necessarily a good idea.
Let's try to get the CLI and supervisor up but I need the output of the commands I shared.

green sierra
#

docker logs -t hassio_cli. journalctl -ru docker.service, journalctl -ru hassos-supervisor.service
trying this now

raven forge
#

I don't know what the exact issue even was too prompt looking at the forums so I can't really tell you what commands would be useful at this point.
What I can tell you is that I never had to do this.

green sierra
#

ok

humble scaffoldBOT
feral blade
#

I am experiencing the latest Home Assistant crashing about every 36 hours. When I load log files in the web GUI I only see about 15 minutes of entries. How can I see more logs to determine the problem? Rolling back to Home Assistant from last December fixes the stability issue. It will run for months without issue on that version. I can still interact with HAOS on the command line even after the web GUI is crashed

mild smelt
#

Hm. I'm stuck.

#
homeassistant.local:8123 says
Something went wrong loading onboarding, try refreshing
#

ah. the network is misconfigured. checked the logs. doi

#

i thought i cracked that but i am not so sharp on hyper-v

raven forge
#

I'd check the supervisor and core logs via ha supervisor logs/ha core logs. Also try refreshing the page like it says πŸ™‚
For networking related things try ha network info.

mild smelt
#

ty

dry fern
#

just tried to restore a backup of my HA docker, users etc etc are gone, is it not so simple to just replace folders?

humble mirage
#

Sounds like you missed the hidden files and folders

#

Or you didn't back it up as root, so you missed key files due to a lack of permissions

dry fern
#

autobackup in unraid, should all be there

humble mirage
#

I'd open one and check

#

Because ... it doesn't sound like it is

glass quartz
#

weird one I am trying to set up HA on win 10 through virtual box

#

I've installed it

#

and set up the VM however when I open HA to install it and navigate to the link it kills the host PC

#

like the actual host pc crashes lmao

empty bloom
#

is your computer powerful enough?

glass quartz
#

it should be I'm using a 4ish year old I3

#

unless that's not adequire

empty bloom
#

it depends on how much ram you have

#

and how you set up the VM

#

VMs on windows are hungry

warped wave
#

I don't understand this error message, can anyone enlighten me? I don't have a clue where to start troubleshooting this error.

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:307
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:23:38 (1 occurrences)
Last logged: 11:23:38

[140450979408448] Error handling message: Integration '' not found (home_assistant_error) Roy Arne Olsen from 77.222.182.7 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36)

empty bloom
#

I have 32gb of ram... or mabye 64? I can't remember. And my vms take up almost half of my resources. But I run quite a few.

empty bloom
warped wave
empty bloom
#

it's a browser issue, it's usually that easy.

glass quartz
#

Edition Windows 10 Pro
Version 22H2
Installed on β€Ž30/β€Ž07/β€Ž2023
OS build 19045.4291
Experience Windows Feature Experience Pack 1000.19056.1000.0

empty bloom
#

otherwise it's something you can't fix

glass quartz
#

16g ddr4

#

i3 8100

#

I might ditch windows and just install native linus for my server

#

linux

empty bloom
#

Why are you even running windows if it's going to be dedicated HA machine?

glass quartz
#

well it's just used for plex and laziness

empty bloom
#

There's a plex server addon for home assistant

#

also, if you are running plex on windows, I'm assuming you're using WSL2 w/ docker?

#

if yes, then 16gb of memory is waaaaaaay too low. Docker itself uses 4-6gb of ram depending on how it feels

#

Docker on windows*

glass quartz
#

uhhh I just use the app so no clue haha

#

exe windows file πŸ˜›

empty bloom
#

ah ok

#

I suggest swapping over to HAOS

#

just back up your media for plex somewhere

glass quartz
#

so I have 4x 4tb hdds and a boot ssd

#

would it just pick up the media on the hdds

empty bloom
#

no

#

is this windows server or just normal windows?

humble mirage
#

Proxmox FTW

empty bloom
#

yeah, that's what I'm thinking

glass quartz
#

Just windows 10

humble mirage
#

One VM for Linux + Plex, one VM for HAOS

empty bloom
#

but then again, it's going to be a bit complicated

glass quartz
#

would ha run fine on a pi

humble mirage
#

Depends on the Pi and your definition of "fine"

manic bane
#

Tinkerer stole the words I was going to use

humble mirage
#

Running HA on SD cards is a bad idea

#

Pi3 is ... the oldest you should consider, and at that you're better off not

#

Pi4 + SSD (on a powered USB hub) is the lowest spec I'd suggest as sane

#

At that point though a second hand small form factor PC is likely going to cost the same, and perform worlds better

glass quartz
#

so would I be better of getting rid of windows 10

raven forge
errant edge
#

why is this:

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.23.0.2/16
  login_attempts_threshold: 5
  ip_ban_enabled: true

Giving me the error: Invalid config for 'http' at configuration.yaml, line 25: not a valid value 'http->trusted_proxies->0', got '172.23.0.2/16'

grand pivot
#

replace the "2" at the end with a "0"

errant edge
#

oh yea ofc

grand pivot
#

that's an invalid CIDR notation

errant edge
#

and I did 3 years of IT and networking just to forget that πŸ˜†

empty bloom
#

jk, had to google CIDR, didn't know that was the acronym for that

grand pivot
#

I've just seen that issue several times and can pattern-match πŸ™‚

#

I'm actually surprised that those bits matter, since they're just being masked. Seems pedantic

empty bloom
#

it really does

#

you'd think the /16 would take care of it

errant edge
#

I just did the proxy thing and I can reach my home assistant instance,. but now I am getting: Unable to fetch auth providers. https://venhoute.duckdns.org/?auth_callback=1, any ideas?

#

cleared my browser cache and now Im getting 403: forbidden

empty bloom
#

probably failed 5 log in attempts

errant edge
#

oh shitt

#

can I remove the ip ban?

empty bloom
#

yeah remove it from your configuration.yaml

errant edge
#

got it, banned ips file

empty bloom
#

or that

errant edge
#

is it not recommended to keep the ip ban?

empty bloom
#

you can do whatever you want

errant edge
#

Now I can succesfully log in, but the front end aint loading

#

Can't find any logs

crimson dagger
#

Supervisor log showed a lot of delays with add-ons and components that frankly I did not need. As I'm on a Pi3 I decided that I better slim things down. Amazingly the file editor was a serious issue, and removing that is what finally got me to 2024.5.0.

proven grove
errant edge
#

Where can I find logs for the Unable to connect to home assistant screen? I get it on icognito too so it should be reaching home assitant, nonetheless, no logs can be found

#

I can reach it locally

#

Okay, I found it, I had to enable websocket support in nginx

dry fern
bronze magnet
#

using docker-compose, is network_mode: host really required?

tender wren
#

Yes

spiral lily
humble mirage
crimson dagger
proven grove
timber crest
#

I'm tying home assistant with docker and i noticed there is no add-on option witch is fine i found esp home on docker but how do i connect esp home to home assistant?

humble mirage
#

Well, you connect the devices with the integration

humble scaffoldBOT
humble mirage
timber crest
#

i tried attaching the espo home ip to the home assistant integration but it says something is wrong with the yamle file.

humble mirage
#

What exactly does it say?

timber crest
#

Can't connect to ESP. Please make sure your YAML file contains an 'api:' line.

timber crest
humble mirage
#

And ... please read the error

#

That tells you the problem, and the solution

timber crest
grand pivot
#

Did you at least try what it says?

timber crest
humble mirage
#

What do you mean?

#

They're just text files, use nano or your chosen editor - as root

timber crest
#

what yaml files? where are they?

#

where is? /config/esphome/livingroom.yaml

grand pivot
#

clearly in your config directory

timber crest
#

where is the config directory

#

i think i found it

#

~/.config

#

but there is no esphome

humble mirage
#

You should use Home Assistant OS

#

Your config folder is wherever you mapped it to in the container config. If you're using blind volumes then you made life harder for yourself.

crimson dagger
proven grove
crimson dagger
proven grove
magic shadow
#

Hello everyone, May I ask you for your opinion please?

I want to replace my pi 4 2gb version with something more powerful since the ram ist on it's Limit always. Everything is installed inside HA OS and i think its just too much for the pi. So I bought a Fujitsu futro s740 because I wasn't happy with the pi Performance.
So I guess I will have to Rennstall everything from scratch which is fine.

But now I am thinking to make instead of Home assistant operating System proxmox or portainer to separate stuff from HA in order to take off load from it.
I want to make Container for motioneye (which is very demanding for the pi) and also mqtt broker (which is very chatty, has a lot of devices and entities (over 200)) and probably other stuff.

Now what I want to know is, if this idea makes sense/ is making home assistant Performance better to seperate demanding stuff like that or is it just complicating everything without real benefit?

#

Having everything inside HA installed is really comfortable and I like it. But if it makes a noticeable difference then I would try to seperate stuff like described. I am not a pro and never tried that way but I am confident that i can handle it. But I don't want to if it makes not much sense/not good enough benefit. Or if that thin client is good enough to make it the same.

And I hope this channel is the correct one πŸ™ˆ

proven grove
magic shadow
proven grove
proven grove
magic shadow
# proven grove So, some of us like distributed architecture (running different things on differ...

Well from the current point of view I feel the need. I initially wanted to move demanding stuff from the pi 4 with ha to my pi 3 that runs pi hole. My Plan was distributing load a bit more even. I don't know the correct words but pi 4 Was sweating and pi 3 bored.
But then I stumbled across that thin client for good price and bought it. And my thought process was, if I have anyway to reinstall everything then I want to go the "right" way. Didn't thought about the idea to restore Backup because that Backup would be from pi 4 and wanted to avoid problems from moving from one device to another 😊 (actually I don't know if it's a problem. Just wanted to play safe)

#

But since it's no problem to restore backup then I will just try it and if necessary move stuff. I think that's the best idea

proven grove
magic shadow
#

Specs are Intel j4105 and 8gb ram (I can Upgrade to more). Passive cooled low Power device

proven grove
#

Oh yeah, you'll be fine on something like that.

magic shadow
#

Maybe thats not necessary anymore with the thin client. It will arrive next week :)))

proven grove
#

Honestly, I would just stick with HAOS. On that system, your performance should be fine.

magic shadow
#

That would be really awesome. I feel bad for my pi ^^ since I installed camera motioneye it is too much. And also the Ebusd Hvac or let's say mqtt with many devices as a whole seems very demanding for pi

#

Thanks so much for your answers! ❀️

nova anchor
#

Hello Guys,

I just installed homeassistant in oracle virtual box and it worked greatly , but when I enter the link http://homeassistant.local:8123/ the laptop immediately restarts. I tried entering the link from another device and it also results in restarting the laptop that holds the home assistant os . So please how can I solve this ?

cinder marsh
#

@nova anchor could be something to do with hyper-v or possibly UEFI settings that need changing

nova anchor
#

hmmm, what should I do exactly?

cinder marsh
#

I'm not too sure, sorry, it's just info I gleaned from a google search

cinder marsh
#

might be worth checking the VM settings to make sure it doesn't have too much memory or CPU allocated to it and if there are any logs, check those too

nova anchor
cinder marsh
#

start with 2 cores and 2gb ram, should be enough initially

proven grove
#

I would actually go with 2 cores and 4gb ram. 2gb is a little tight.

cinder marsh
#

Depends how much you've got to spare really. I run my haos instance on bare metal with 3gb of ram with about 70% memory in use.

loud charm
#

Good afternoon, I'm having some trouble installing home assistant on my Synology DS120J (You wouldn't even want to run it on there but ok).

#

When I try pulling the image in container manager

#

It fails after around 45 minutes

#

(Yes it's that slow)

raven forge
loud charm
#

Give me a moment

#

As it may take a few minutes for my NAS to say anything

#

Who would have thought that putting a dual core 800 MHz ARM CPU and 512 MB of RAM in a system would cause performance issues

#

(The NAS was released in 2019 fyi)

raven forge
#

I didn't think the 512MB models would have container support. Which model is it?

loud charm
#

DS120J, they recently added container support (not that it's a good thing on such a slow system and with so little memory)

#

Well, it appears to be pulling it

#

But ig we'll see

#

I'm thinking about getting one of those mini PCs and running Proxmox on it

#

With a home assistant VM

#

I've already tried it out on my server and it appears to be working pretty well

#

The reason I'm not gonna run home assistant on my server 24/7 is due to power draw

#

That server idles at 150w

raven forge
#

512MB is a bit on the low side for HA. And then you also have DSM and other services running. It shouldn't necessarily affect pulling though.
Maybe you could check memory usage with top -o %MEM/htop -s PERCENT_MEM in a different SSH session. I think that's a great idea: #hardware-archived message

loud charm
#

I'll check memory usage if I can SSH into it

#

That Marvell Armada is awful

#

It's taking its sweet time

#

Definitely uses some swap

#

Yeah, running home assistant on this system is a no go

#

I don't think I've ever seen docker take this long to pull something

raven forge
#

This is immediately after the set up of a fresh HA container

# docker stats --no-stream
CONTAINER ID   NAME            CPU %     MEM USAGE / LIMIT     MEM %     NET I/O   BLOCK I/O        PIDS
722f0e9ee0af   homeassistant   0.02%     238.7MiB / 894.7MiB   26.68%    0B / 0B   167MB / 28.2MB   75
loud charm
#

I'm surprised they added container support to the DS120J

loud charm
raven forge
#

Just for comparison this is my relatively boring production installation

# docker stats --no-stream homeassistant
CONTAINER ID   NAME            CPU %     MEM USAGE / LIMIT     MEM %     NET I/O   BLOCK I/O         PIDS
34edecd1b369   homeassistant   0.90%     885.2MiB / 7.755GiB   11.15%    0B / 0B   1.64GB / 31.9GB   88

But still, the pulling shouldn't be that slow.

loud charm
#

It's as if Synology artificially limits the CPU usage

#

Bc it's not like the CPU uses 100%

#
  • when I look the CPU up
#

I see that there is an option on the datasheet for 1.2 GHz

#

Mine is running at 800 MHz

#

It's a crime that they sold this thing for 119 euros (and still sell for 100 euros)

raven forge
#

I'm not quite sure how synology handles that. Maybe they have a powersafe governor enabled.
There's a Hardware & Power section where you can set the Fan Speed Mode. I'm not sure if that changes the governor though.

loud charm
#

I have that set to cool mode iirc

#

So that shouldn't be an issue

raven forge
#

Unfortunately that's all I can tell you about synology specifics. Kinda getting off-topic for #installation-archived though.

loud charm
#

Yeah Synology systems are pretty strange

#

Never buying one again

#

That's for sure

#

Also, it is indeed rather off-topic

#

It appears it has finally pulled the image

#

That took like 45 minutes or so πŸ’€

crimson dagger
proven grove
fringe karma
#

I have a Home Assistant Yellow and replaced my NVME m.2 with a larger one and am doing a full restore. The full restore fil is 16.8GB. I started the process and I think it's in progress. Any idea how long the restore will take or is there any way to monitor progress?

tender wren
#

Or you can connect to the serial console and look at the supervisor logs

fringe karma
tender wren
#

Well, then you can use the serial console and look at the supervisor logs

fringe karma
#

thanks. I'm looking into that now

#

I saw errors indicating low disk space. I rebooted and see that it didn't restore the backup. The NVME (2TB) is twice the size of the old NVME. I don't see how its possible that there's not enough disk space

#

is it better to create a dummy login and then restore from within instead of restore from backup?

#

I tried to start restore again and it provided this error: ERROR (MainThread) [supervisor.api.backups] Can't write new backup file: [Errno 28] No space left on device

#

that's with a brand new 2TB NVME m.2

tender wren
#

Do you have a CM4 with eMMC that has less space than 32GB?

#

If so, you need to migrate the data partition to the NVMe first before restoring the backup.
Meaning: doing the new onboarding, moving the data partition, upload the backup and restore it

fringe karma
fringe karma
tender wren
#

You can either use the wipe procedure, if a working HAOS is still installed (red + blue button when powering the Yellow up), or use rpiboot to get access to the storage and do it that way.
https://yellow.home-assistant.io/guides/reinstall-os/ (That guide shows both - just skip the installing part, if you want to keep the eMMC empty)

#

But: moving the data partition to the NVMe does not include the OS.

fringe karma
#

so I got through moving data to NVME and then tried to restore a backup. It worked, but had the same issues I was having from the start. Now starting over to go back a little further in backups

tender wren
#

You can wipe the eMMC and install HAOS directly to the NVMe. That is easiest done by connecting the NVMe to a computer to flash HAOS for Yellow (not for RPi4) to it.

fringe karma
#

that sounds like a great idea except I don't have an enclosure or quick connect for the m.2

#

these 16GB backups aren't helping the reinstall process unfortunately

tender wren
#

Then you would have to use rpiboot

#

But you need a parameter to get access to the NVMe and not just the eMMC.

fringe karma
#

I'm hoping I reset the yellow and now I'm going through the process as if its my first install

tender wren
#

./rpiboot -d mass-storage-gadget64 on Linux or rpiboot.exe -d mass-storage-gadget64 on Windows

fringe karma
#

hmm, I can ssh in if there's a way to do it there also

tender wren
#

No

fringe karma
#

I'm currently waiting on the initial HA setup after loading the flash drive with the HA OS installer

#

woo! finally creating a temp account. I'll login, change the storage location, then try to import this 16GB backup from 1 May

tender wren
#

Restoring a 16GB backup can take ages

fringe karma
#

yeah and then imagine it had the same issues you were trying to replace. That's me today now going back 2 days further

tender wren
#

What was the initial issue?

fringe karma
#

it kept rebooting or wouldn't load

#

as of this morning

#

ssl failures on the app and then I just couldn't connect even on a local network browser

tender wren
#

Did you look at the logs or have you tried booting it in safe mode. It might be a custom integration breaking it

fringe karma
#

I wish I were more savvy to pin it down, but after enough research I said... eff it, I'm going to reset and restore a backup

#

you're probably right, but I got frustrated and went full wipe and restore... except the restore is not going well

#

I did not realize how difficult/impossible this restore process would be

#

is there a good way to upload larger backups for restore? I selected through the backups page, selected my file, and then nothing

#

but when I try again, it doesn't even open the option to select the file... so maybe its uploading?

tender wren
#

Likely

#

Give it some time

fringe karma
#

I'll try to be patient. I wish there were more status bars or something to indicate things are happening

tender wren
fringe karma
#

it uploaded! kicking off the full backup. Fingers crossed

#

someone said 6GB took them 2 hours... yikes

#

here we go with 16GB

#

I think I can ssh in serial and see progress, right?

tender wren
#

Not SSH'ing but yeah. You can look at the supervisor logs

fringe karma
#

sorry, putty using usb C

pastel crag
#

Quick question pls. Do the initial setup and then connect sky connect or connect all together before the first boot up? Thanks

prisma jetty
#

Quick question everyone, I purchaed an odroid n2 Home assitstant in 2021 similar to this device here, I have since moved to my new house and new network but am having a hard time getting my Home assistant to login or even reset at this point.

fringe karma
fringe karma
#

backup appears to have worked. Thanks for all the help @tender wren!

tender wren
#

SSH into HA, execute touch /config/safe-mode, followed by ha core restart. That should start HA in safe mode, so you can deactivate the custom integrations it is complaining about

#

I think it is

#

Wouldn't be the first time, a custom integration breaks HA since the performance boosts

#

If you don't already have a suspicion from the logs, best way would be to disable all, go back to normal mode and activate one by one to see, which one is the culprit.

#

All custom integrations

#

I think I heard about issues with Dreame, but I wouldn't place a bet on it

#

Which version of the Dreame integration are you using right now?

#

That should have fixed some stalling issues. Trying the 2.0 beta might work

tender wren
#

I'm not using Proxmox, so I have to pass that to someone else

raven forge
#

What error exactly and where are you getting it?

#

I'd give ha network info and ha dns logs a look. You said pinging google worked and you probably didn't change anything on the PVE side so maybe it fixes itself after some time. I'm too tired to research how supervisor checks network connectivity right now.

#

In this case I'd simply check ha network info in the HAOS VM to get the basics.
Does this happen for all VMs on the node? Can the node itself ping its gateway or successfully run ping 1.1.1.1, nslookup google.com and nslookup google.com 1.1.1.1?
If not the results of cat /etc/network/interfaces and ip a from the node would be useful. I gotta go but maybe someone can do something with that information or you can ping me tomorrow or so.

feral blade
#

Where can you find detailed crash logs that go back more than 24 hours? The logs section seems to only show about 1 hour.

fringe karma
#

where is the best place to post/troubleshoot Home Assistant Core 2024.5.1 failed install?

fleet spruce
#

hey all! I have my config folder from a docker install of HA. How can I restore this to haos? I don't have a backup tarbal that haos will accept, but I do have all the data and configs from the docker instance.

#

I'm thinking I'll boot the machine with an ubuntu live CD, and copy the files over to the equvilant of /mnt/data/supervisor/homeassistant on that live-cd (probably under /media )

raven forge
#

You can install the SSH addon, stop HA via ha core stop and then upload the contents via SFTP into the homeassistant directory. Then simply start core again via ha core start.

fleet spruce
raven forge
#

Like I said, if you use the SSH addon it's just /homeassistant and you can copy the files there after you stopped HA.

#

The real storage is indeed at /mnt/data/supervisor/homeassistant but that's not directly accessible in a container. Nor does it have to be.

fleet spruce
#

Ok cool. I'm goint to be mounting the volume on an intermediary computer anyways, so it's just easier to move the files over that way.

raven forge
#

You see, addons are docker containers: #general-archived message
Certain directories are bind mounted into them. Well, or the reverse. /mnt/data/supervisor/homeassistant is available at /homeassistant for example.

# docker inspect addon_a0d7b954_ssh | jq .[].HostConfig.Mounts | grep -Ei "config"
    "Source": "/mnt/data/supervisor/homeassistant",
    "Target": "/homeassistant"

I disagree that it's easier your way but the choice is yours, of course.

devout flax
#

If I wanted to instal HAOS on a old dell laptop would this be the right image? haos_generic-x86-64-12.2.img.xz

#

When I installed it as a VM on my unRAID server I used
haos_ova-12.1.qcow2.xz

#

hmm I think I may have the wrong idea here.

#

Does the HAOS work as a full fledged OS on hardware or does it needs to be dockerized?

raven forge
#

Generic is fine for bare metal. HAOS cannot be dockerized. It uses docker itself though.
I recommend virtualizing HAOS: #hardware-archived message

drifting patrol
#

I installed Home Assistant 2024.4 on Truenas Scale, using the app provided by TrueChart.
I ran the setup and am in HA. But I dont see "Energy" on the left menu. Internet suggests to change the configuration.yaml file, but for that you need the editor(?) I also dont see any place to edit config files (only to reload them)
So... what did i do wrong?

jade chasm
#

I got home assistnat back up and running, without issue. But now i have an issue where i Have a domain I purhcased, and i have a subdomain on that domain pointed to home assistant, and I can login but it says "Unable to connect to Home Assistant Reteying in XX seconds" then when it times out, it says loading data and then rinse and repeat.

misty warren
#

Need help reconnecting to Home Assistant after IP address disappeared

prisma jetty
#

I have a odroid n2 with HA on the platform, but lost access and it is no longer booting up. I want to reset HA on the n2 is there a step by step on how to do this?

maiden river
#

Hello ! I've been trying home assistant on a synology and now I'm switching to a brand new yellow. Just flashed it.
Trouble is: I don't know how to get a backup of the synology instance - (backup function not present in UI). I'm sysadmin by trade so I can mess up with files if I know what to achieve

proven grove
maiden river
proven grove
raven forge
#

Is the backup functionality that recent? That would be kinda mad.

maiden river
#

actually the UI is advertising it, but it's just not there yet πŸ™‚

proven grove
#

2022.4 is when it came out, but I think it was still issue(y) until late 2023.

maiden river
#

Hm, Error 400: probably my tar file is too big, and HA wont accept anything else but tar filles at this setup step (home-assistant_v2.db = 21MB)

proven grove
#

How big is the actual tar file?

maiden river
#

32Mo

#

I bet I can squeeze many logs out of the db

#

I just want to get the devices back

proven grove
#

That doesn't make sense. Did you create the backup from tarring up the files or from the old UI?

maiden river
#

from taring (tar cf homeassistant.tar homeassistant)

proven grove
#

πŸ€” It's definitely not a size issue. I'd think it's probably a layout issue.

maiden river
#

nevermind, I hope I don't have to unpair too many things before pairing them back πŸ™‚

raven forge
fiery forge
#

Question: if I restore a HA backup to another machine, what all do I need to change in the config to have both systems running without conflicts?

tranquil shard
#

Hello! I just bought a NAS - Asustor AS6704t.
I want to install ROON and Home Assistant (with Supervisor and HACS) on it in docker containers.
I haven't bought hard drives yet and am thinking of buying a couple of M.2 drives to keep things silent and speedy. There are slots for 4 such drives. I already have one 160gb M.2 drive which I could use for HA.
I will install 16gb of RAM in the NAS.
How many drives should I get? How should I allocate the memory? Should I make partitions?

humble mirage
tranquil shard
humble mirage
#

I don't know what ROON is, but you need a second HDD for mirroring πŸ˜›

#

There's also no one "right" way of spreading stuff around the M.2 drives, just what you prefer and what the NAS allows you to do

tranquil shard
#

Hehe. ROON is a way to make music streaming complicated.
Are you talking about mirroring the NAS boot volume or the HAOS ...container ...volume?

#

(Mirroring as in always having a duplicate on another drive?)

humble mirage
#

Well, half the point of a NAS is for data protection, RAID

#

Then when the HDD dies, or sectors are corrupt, you don't lose it all

tranquil shard
#

Right. Although I won't be raiding much. I originally just wanted a common file server so I can use the same files with my PC and Macs.
Not really that worried about losing data -though I will want to be able to resurrect my HA setup if the drive fails.
I can make periodical backups to the USB HDD.

#

(I then realized the NAS can actually be a kind of a media center)

hushed fern
#

hi, did last update change something in the login command in console ? in April, just typing login bring me to the shell but today, it request as login password

humble mirage
#

What version of HAOS are you running?

hushed fern
#

2024.5.2

#

on a 12.2

humble mirage
#

Well, 2024.5.2 is the Core version, and completely irrelevant to you question above

#

Nothing in any add-on/container will change the host login behaviour

hushed fern
#

so i don't understand why it's asking today for a login/pass

humble mirage
#

Did you update the OS?

#

Have you checked the OS repo for known issues like yours?

hushed fern
#

i don't think I've updated the OS.

humble mirage
#

Then try a host reboot?

hushed fern
#

no change after reboot

#

it's asking for core-ssh login

humble mirage
#

On the console, the actual keyboard/monitor console?

#

Because core-ssh is clearly a container

#

You'll see that when you SSH in, or use the terminal window

#

Also, did you reboot the whole computer?

hushed fern
#

I need holidays... so sorry. I was on the ssh session not on the console session. sorry for this. ty

glass perch
#

Hi all new to this im trying to install HA on a pi4 i followed the instructions on the HA web page and im getting errors along the lines of Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.5.2: 500 Server Error. any advice or pointing me in the direction like a guide or video is appreciated thank you

hushed fern
glass perch
#

i put the card in the pi and i start it like the guide says then i go to the web page it tells me to go to

#

this morning i finally plugged it into a montor and started messing about with it to see if i can get it to update but it times out when i try

hushed fern
#

do you have by chance another sd card ?

glass perch
#

ya i tried reinstalling it on diffrent card

#

same issue

#

i used the pi imager tool to install it

#

not sure if its out of date for the application or not the os was built into the tool

#

if the OS is available to download on its own i can do that route and use the tool to flash the newer version of it

#

the version on the app is OS12.1

hushed fern
#

PI Imager is perfect in this case

#

is your pi connected to your network ?

glass perch
#

yes via cat cable

#

where is says error installing home assistant and i can get the raw logs

hushed fern
#

oh.. it's installed but you cannot connect to ui right ?

glass perch
#

i get to the http://homeassistant.local:8123/ and it says error installing home assistant and under that it says an error occurred while installing home assistant

#

and in the log it says client timeout while awaiting headers

hushed fern
#

can you paste the log file (first lines)

glass perch
#

sure give me a moment

#

this is the first part

#

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started

#

then its all blue and a yellow

#

[supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server

hushed fern
#

what size is your sd card ?

glass perch
#

32gb

#

its a class 10 32gb samsung card

#

thank you for your help

hushed fern
#

I think I reach my debug limit on this. I'm sure some else will come soon to help you. I'm sorry

glass perch
#

no worries XD

median shale
#

background: for various reasons I'm trying to replace my ATT Fiber Router with a unifi gateway (ip passthrough), and right now there are some issues with IP ranges that are stopping me from just handing over the network.
question: if I screw up the network interface config in HA and somehow can no longer connect normally, how can I recover from that?

#

not sure if this is the right channel even, but it seemed to fit best

humble mirage
#

Then you can't screw it up πŸ˜‰

median shale
#

that's not true in this specific case

#

I'm moving to the new gateway, switching from the ATT router, which means moving DHCP from one device to another, but the new gateway is smart enough to not let me have an overlapping IP range with what it's currently getting DHCP from.

#

and anyway, that doesn't actually answer the question, which is "what do I do if changing a network setting prevents me from connecting over the network"?

humble mirage
#

You can reset that with command line access, and also with a magic USB stick

median shale
#

a magic usb stick?

humble mirage
#

You can reconfigure things with a suitably set up USB stick - has to be named the right thing and with files of certain names and locations

#

It's documented somewhere in the HAOS Github (and docs)

median shale
#

do you have a reference for setting one up?

#

ah

humble mirage
#

I don't use HAOS so I don't have the links to hand

proven grove
#

@median shale I've done what you are doing. Bascially, change the IP range on your modem before you setup IP passthrough. Then, on your Unifi router, setup the same IP range that you have been using (usually 192.168.1.0). Make sure that your WAN IP is static to the router and turn off DCHP on the modem. That way you don't have to worry about changes within your local network (after you setup your DHCP leases in Unifi).

median shale
#

so part of the problem here is that Ubiquiti's documentation is garbage and so I've already gone through the setup on the new router and it's configured a range

proven grove
#

So, you're basically trying to get rid of the modem and go direct to the fiber?

median shale
#

since the unifi controller software is running in my HA instance, i won't be able to log in to change any settings on the router if it doesn't just work when I change things

#

and what I'm coming up with is that I'm going to have to migrate my controller before I deal with this

#

and then migrate it back because that's still where I want it to run

proven grove
#

Yup. You'll want your controller on something with a static IP before you do ANYTHING else.

#

That should be like step #1.

median shale
#

it IS on something with a static IP, just under the old router's range

#

"old router" being the ATT

#

there's a whole lot of chicken and egg here

proven grove
#

How much different are you going with your ranges? The method I outlined allows you to not have to change anything on your main VLAN at all on your Unifi equipment.

median shale
#

i'd really like to just stay with the same range, but the unifi router has claimed one subnet up the chain since it won't let me have the same range it's part of on the wan side

proven grove
#

lol, this is a little bit off-topic for this channel, but feel free to DM me and I might be able to help you set this up. I tried doing the ATT Fiber modem delete and it went HORRIBLY (and AT&T has changed their auth methods recently).

median shale
#

i don't need to delete it, I'm good with the IP passthrough

proven grove
#

Ok, perfect.

median shale
#

but yeah, this is off topic, I really just was asking how to fix it if I bork the network settings

proven grove
#

lol well, I don't mind helping in a DM if you want. I'll be in front of my PC in about 1.45 hours and I can send you screencaps of what I changed to get it to work right.

median shale
#

as soon as my partner's meeting is over I'm going to go see if plugging in a monitor and keyboard lets me get the command line

#

i may take you up on that, thank you

proven grove
#

Anytime! Happy to help out. πŸ™‚

placid sage
#

anyone here can find for me ( bcuz i don't found this in google ) driver's Az-delivery esp32

median shale
#

maybe? what is it?

little iron
#

Hello everyone, I’m trying to integrate nspanel with Home Assistant, but without success. After configuring MQTT, I can see Tasmota in my list of devices, but on the nspanel screen, I’m encountering this message ( Waiting for content...
This is taking longer than usual, please check your backend configuration). Can you help me understand the issue?

abstract cipher
#

I am currently in this boat, went from 12.1 to 12.2 grub with the new OS update

#

Slot A (OK=1 TRY=3)

#

Slot B (OK=1 TRY=3)

#

Slot A (rescue shell)

#

Slot B(rescue shell)

#

I own a HP T620 and currently try to get ubuntu running to swap the bootia32.efi and bootx64.efi

#

However the screen stays black when i press try and launch Ubuntu

#

Anyone got a clue? I googled it already and cant get it to work

#

The fix is the following btw:

#

Booted my thin client with USB ubunto OS (google for this how you can make a bootable USB)
I could not find the correct drive where the /EFI/BOOT/boot* files were
I had to mount the /dev/sda1 (could be different
(first create a directory on local drive :
cd/
sudo mkdir /mount01
sudo mount /dev/sda1. /mount01
than I could go to /mount01 and found the files there
replaces them with the old one (you can download these above in one of the posts). Copied them first to a USB stick and copied them from there to the new mount.

red viper
#

Hi everone, I just updated HA and now a bunch of my devices say "failed to set up". Any suggestions?

humble scaffoldBOT
#

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

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

raven forge
#

Share the logs.

placid sage
rotund gazelle
#

Anyone want to help me install HA on a Mac Studio M2?

uncut jolt
#

i'm setting up a network to support installation of HA. Where is the right place to ask networking questions? Like VLAN advice, router/fw stuff. (there is no networking channel that I can find)

brisk willow
uncut jolt
#

ty @brisk willow though I must say it seems odd to not have networking discussions somewhere here in discord. Like I see on the HA forums plenty of posts about IoT VLANs and how to connect HA etc. Anyway, off I go πŸ™‚

brisk willow
rotund gazelle
#

Ah well after reading online sources, it appears there is a strange antagonistic attitude amongst HA users towards Apple Silicon. Everyone says "Go buy a $25 Raspberry Pi." Except that doesn't exist. More like a hundred bucks or more, if they are ever in stock. This is particularly odd since HAOS supports MacOS and ARM.

humble mirage
#

Some people hate things for no good reason

#

If you'd said some HA users then you'd have been right, but not everybody hates Apple silicon

rotund gazelle
#

Many HA users? The OS wars are long over, but some people still have a strange religious bigotry against anything Apple.

humble mirage
#

You're judging the majority by the actions of a minority

rotund gazelle
#

Extremists perhaps. But very vocal.

humble mirage
#

Sure, but that's every community

#

There's always some people who're loud and proud about being ignorant

#

But by treating the community as if they're the norm you're doing everybody a disservice, and acting not unlike that vocal minority ;))

#

Also, here we mostly only hate on the Pi πŸ˜›

proven grove
#

Also this ^^^ lol

rotund gazelle
#

LOL well the only working install guide I can find is like 2 years old. It's totally obsolete and targeted at Intel macs.

humble mirage
#

That's more a sign that nobody has written such a guide

proven grove
#

That's partially because host-mode networking wasn't available on the M* chips until very recently.

humble mirage
#

So until recently you had a choice of VM or pure Core

rotund gazelle
#

This sort of information about host-mode is useful.

humble mirage
#

Well, it's also bleeding edge

#

Like, changed in the last month

#

I don't know if anybody's validated it works yet

#

Plus, even if it works, people have to update to the latest Docker, so 99% of installs will fail

proven grove
#

Yup. Host-mode networking on Apple M* chips is still in beta according to Docker docs.

rotund gazelle
#

Gah Docker is awful.

humble mirage
#

Docker isn't - support on non-Linux is πŸ˜›

#

Which, given it was developed on Linux is hardly a shock

proven grove
#

Docker is awful on M* chips. In and of itself, it's not a bad orchestration engine.

rotund gazelle
#

Well MacOS is Unix (POSIX compliant) so Linux is really the outlier here. Apple is the largest Unix vendor in the world.

humble mirage
#

And we're getting back to OS wars πŸ˜‰

proven grove
#

lmao I literally JUST had this same discussion with a coworker the other day.

rotund gazelle
#

I got tired of the OS wars back in the days of CP/M vs MS-DOS. I'm not exactly a tech noob, I have my vintage 1976 SOL-20 (8080A) sitting next to my desk.

#

Anyway, my point is that it is difficult to obtain useful info (like you guys are giving me now). I appreciate the help.

#

BTW I did try Docker and tried the host mode networking, seemed like a standard feature since I never saw it before. HAOS boots but dies without launching.

proven grove
#

Can't say I'm completely surprised. But wait, you tried to run HAOS in docker?

rotund gazelle
#

Amongst many things I tried.

proven grove
#

Ahhhh, yeah, that won't work on any platform. HAOS is an entire OS, so, running it in docker only loads a portion of it. HAOS needs to be either bare metal or in a VM.

#

Unless you are talking about HA Container (which is just the core of HA and runs fine under docker).

rotund gazelle
#

Oh yeah, I'm getting levels confused, HA container. I spent some time trying to get HAOS running in a vm. VMWare is free, runs on ARM but no success.

proven grove
#

Ok. I can't say I've seen anyone succeed with Container on Apple, tbh. But also because host-mode networking is only available in >=4.29.

#

But I seem to remember some people getting it to run on VMWare on M* chips. So, that's weird.

rotund gazelle
#

The HAOS image is .vdi, I can't get anything to open it.

humble mirage
#

That's an Intel image though, so you'll need something that can handle that

#

(unless somebody's done an ARM .vdi image)

proven grove
#

BUT, one method that might work (weird as it sounds) is to load Debian/Ubuntu in VMWare, then run HA Container in that under docker (virtualization hell lol).

#

I have no idea what the performance of that would be and I have no way of testing it either...

rotund gazelle
#

Well ovciously I'm shooting for full HAOS support, should be possible on a VMware Debian or such?

proven grove
#

Nope. That won't work. HAOS is the entire OS, so you can't run it on another OS like that. But, I would give the .ova image a shot and see if that works.

rotund gazelle
#

You know, I think I did. Let me try it again, right now.

#

Yeah, I did already try the .ova earlier today, it's an Intel image.

proven grove
#

πŸ€” Aside from the virtualization idea I had, I don't know any other way to get that to work.

rotund gazelle
#

I got the haos_generic-aarch64-12.2.img to open in VMWare Fusion, starts to boot and dies at the VMWare boot manager.

proven grove
#

What's the error message?

rotund gazelle
#

No error, it just dies with a command line "Shell>"

#

I think I didn't get the bridged neworking set right. But now I can't shut down this VM.

#

OK working on it. You are helping immensely.

proven grove
#

Yeah, sounds like it's just dropping you to the VM shell rather than actually loading the image.

#

No problem! Happy to help (if I can).

rotund gazelle
#

I get to the boot manager, you know "Boot Normally" vs options like VMware Virtual NVME namespace.. etc

#

I read that HAOS won't boot without secure EFI booting.

proven grove
#

That's correct.

limpid sinew
#

hi this may sound a bit silly but i'm trying to install the os on a pi 4 & both

  • can't access the pi from my browser after installation &
  • can't see console output from my monitor
    the pi is from my school & i can't figure out its ip address without seeing the console output to get a more specified address than the given 'http://homeassistant:8123/', so i'm a bit lost on what to do next
rotund gazelle
#

The initial boot says no media, then tries EFI Network, then dies and goes to the old boot manager.

proven grove
limpid sinew
#

ah im in student dorms

#

is there a way to see from my laptop?

proven grove
rotund gazelle
#

You guys look like you have other urgent requests and I'm burning out after a long night, so I should probably go. You guys got me a lot farther than I have previously. I have a few more ideas to work on too, thanks to your suggestions.

proven grove
proven grove
rotund gazelle
#

Anyway, sorry about posting a provocative message up top to get this discussion going. Just trying to shake loose some expertise. I did!

limpid sinew
#

specifically: '*** dns1.as42689.net can't find homeassistant.local: Non-existent domain'

rotund gazelle
#

Thanks again.

proven grove
proven grove
# limpid sinew says it's a non-existent domain </3

πŸ€” You might be able to use avahi-browse --all to discover mDNS names on the network, but if they have mDNS turned off, that probably won't work either. Plus, you'll have to install avahi as well. But, you said that on the monitor, you don't see anything from the console?

limpid sinew
proven grove
limpid sinew
#

let me give it a shot & i'll let you know

limpid sinew
#

been a minute but i did manage to get the console output to show. think the image installed was corrupted to some extent

proven grove
weary scaffold
#

For HA, how much of a difference would a 6500T and a 7500T processor be?

humble mirage
#

Probably not a lot

weary scaffold
#

Also 128gb vs 256gb, i should really never need more than 128 right

humble mirage
#

RAM, or SSD?

weary scaffold
humble mirage
#

Then ... 128 is probably enough, depending on what you do

weary scaffold
#

Hmm ok, thats what uve been seeing, is that almost everyone will not hit 128

#

Unless ur like storing video feed from cameras

humble mirage
#

Well... I'm sure there's plenty of people here who've managed it, but typical setups won't

weary scaffold
#

Basically, im looking at a 7500T 256gb for $70, or a 6500T 128gb for $60. Is it worth the extra $10 or would i never notice the difference lol

humble mirage
#

Again it all depends on what you want to do with software other than HA

#

Run cameras with object detection, then maybe you'll need the faster CPU

#

Just run a handful of low impact things... then no

weary scaffold
#

Okay thank you!

distant inlet
#

Guys running into a big issue - getting 'blocked from execution, no host internet connection' - but I have access to the HAOS cli and dropped into shell and confirmed both pinging my gateway, nslookup, etc.. all seem to be working. I can ping google.com just fine as well. What the heck is going on? this is post update (yesterday). HAOS 12.3 - Home Assistant Core 2024.5.2

Additional details from logs -

homeassistant.exceptions.HomeAssistantError: Error updating Terminal & SSH: 'AddonManager.update' blocked from execution, no host internet connection
2024-05-09 16:28:01.992 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140421892442560] Unexpected exception

Well its reporting the issue to be DNS

2024-05-09 16:04:10.550 INFO (MainThread) [supervisor.resolution.module] Create new issue dns_server_failed - dns_server / dns://192.168.0.6

But pinging the host from the cli seems to work. Wish netcat was installed so I can try and open a direct connection to the port.

humble scaffoldBOT
humble mirage
#

As you didn't believe me... read the channel topic

#

and issues with the install itself

fringe karma
#

please help! I am getting the following error and my HA Yellow is stuck rebooting over and over or just stuck at this point

2024-05-10 00:02:02.969 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/core/state: [Errno 104] Connection reset by peer

I just want it to monitor my door sensors so I can go to sleep 😟

crisp bison
#

Hello and pleasure to meet you. I just posted this question to reddit so sorry if the double tap is discouraged. I got a free laptop today from work that I want to install Proxmox then HAOS on but having issues. The laptop has fresh windows install. I downloaded the Proxmox iso, moved that to a USB SSD drive (empty). Laptop bios set with USB boot on and all virtualization settings on. Rebooted into boot drive select, selected USB...and nothing. Just back to windows. So tried balenaEtcher (as suggested in Proxmox guide). Downloaded, installed, ran. Selected iso the laptop hard drive as target..yup to all the warnings, I know it will wipe the drives....and that failed...not sure what I'm doing wrong but clearly something and I'm guessing it's simple

raven forge
#

and that failed
What did it say?

crisp bison
#

I thought it just said failed..but I can try again

#

Flash failed.... something went wrong while writing Proxmox... To sb m2 SSD c:

raven forge
#

I'd give rufus a try.

#

Flashing the iso to the internal drive will not work while that drive is used to run the app you're trying to flash with, of course.
Besides, it's the wrong approach. You can't boot off of the medium which has the iso and use it to flash to the medium that has the iso.
Simply dropping a iso into a USB drive does not make it bootable either. Ventoy can do something like this though.

crisp bison
#

Ok...that's what I needed I think...thanks

raven forge
#

Hopefully. Keep me updated.

crisp bison
#

Trying Rufus to make the bootable but not having luck lol...not seeing the USB drive in the device pull down...looking for something else

raven forge
crisp bison
#

Well..looky there lol..thanks

#

Boom...and on the way...thanks!

desert violet
#

I have an installation on a Ubuntu 22.04 LTS box. HA core 2023.12.3 & FE 20231208.2, problem is it never offers to or updates.

#

Nor can I find where the system is installed within the filesystem.

raven forge
#

How did you install HA?

desert violet
#

I believe it was Supervised.

brisk willow
desert violet
#

How would I find the method? Within the /etc directory?

raven forge
desert violet
#

As stated earlier. HomeAssistant Core is 2023.12.3 and the Frontend is 2031208.2

raven forge
#

Depending on what else it says I can determine the installation method. Show me.

desert violet
#

How can I post a screenshot?

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.

desert violet
#

I have the HomeAssistant logo above that label. Below that is 'Core' on the left with '2023.12.3 on the right. Next line has 'Frontend' on the left and 20231208.2 on the right. Below that are a column of buttons with 'Change Log', 'Thanks To', 'Merchandise', etc.

raven forge
#

That's not a picture 🀨

#

Anyways. based on that info it seems like you either have a core or docker install. None of those provide updates through the GUI.

#

Please run docker ps and pstree -apsT $(pgrep python3) and show me what it says.

desert violet
#

DOSBox is not installed. Docker is active as 'Firefox' is now Docked! Thats all I could find Docked.

raven forge
#

No I mean run those those things in your ubuntu shell. Either as root or via sudo commandisharedhere.

desert violet
raven forge
#

Perfect.

#

Now I can't tell you exactly if you started this with a docker run command or via a compose file.

#

You can try find / -type f -name "*compose.y*ml and see if it finds a compose file anywhere.

#

I guess you could also try history | grep docker. Maybe you find how you started it there.

desert violet
#

history | grep docker
266 docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ=MY_TIME_ZONE -v /PATH_TO_YOUR_CONFIG:/config -v /run/dbus:/run/dbus:ro --network=host
267 docker run -d --name homeassistant --priviledged --restart=unless-stopped -e TZ=AEST -v /etc/homeassistant --network=host ghcr.io/home-assistant/home-assistant:stable
268 docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ=AEST -v /etc/homeassistant --network=host ghcr.io/home-assistant/home-assistant:stable
276 docker ps
280 history | grep docker

raven forge
#

I would strongly recommend you to use a compose file. It can look like this in your case

services:
    home-assistant:
        container_name: homeassistant
        privileged: true
        restart: unless-stopped
        environment:
            - TZ=AEST
        volumes:
            - /etc/homeassistant
        network_mode: host
        image: ghcr.io/home-assistant/home-assistant:stable

Run nano compose.yaml and put that inside.
Then run docker compose pull and then docker compose up -d. In the future this is all you have to do to upgrade again.

#

I recommend you do a backup first. Upgrading always comes with risks.

#

Assuming you want to stick to what you have now (why?) you can do this

docker stop homeassistant
docker rm homeassistant
docker pull ghcr.io/home-assistant/home-assistant:stable
docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ=AEST -v /etc/homeassistant --network=host ghcr.io/home-assistant/home-assistant:stable

You can see how this is much more cumbersome.

desert violet
#

Damn. Never run Nano before. I normally use the editor within MC. How do you save n exit?

raven forge
#

Take a look at the bottom for shortcuts. CTRL+X. You can use another editor you're comfortable with. I don't mind.

desert violet
#

All the commands are there but I can only see white boxes fir the shortcuts. Thanks.

#

Damn. Same thing again. DOS format.

raven forge
#

What does it say exactly?

desert violet
#

Help, DOS Format, Append, Backup File Cancel, Mac Format, Prepend & Browse

raven forge
desert violet
#

At the bottom of Nano, after pressing Ctrl-X, then 'Y", the next prompt is what format or file. I'm assuming DOS Format would be best.

raven forge
#

It never asked me that. It just says Save modified buffer? for me.

#

Oh I see you're in the file name section. Just press enter. Sorry about that.

desert violet
#

Seeing that this 'compose.yaml' file is now stored at '/root' I guess I need to move it into /etc/docker before running the docker compose pull?

raven forge
#

No. You just chose to put the volume (or rather the mount) for homeassistant there. The file can live somewhere else.

desert violet
#

Backed up & downloaded.

raven forge
#

Generally one should not use the /etc directory for their own purposes.

desert violet
#

docker compose pull
docker: 'compose' is not a docker command.
See 'docker --help'

raven forge
#

Your docker must be really old.

#

We should get that sorted first. Please share what dpkg -l "*docker*" says.

desert violet
#

Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-=======================-============-=================================
un docker-doc <none> <none> (no description available)
ii docker.io 24.0.5-0ubuntu1~22.04.1 amd64 Linux container runtime
root@server:~#

#

The 24.04 LTS update is due sometime this month.

raven forge
#

Otherwise you can try apt install docker-compose.

desert violet
#

The 22.04 (Jammy) release is not available on the docker site so no docker-desktop but after installing docker-compose the docker-compose pull works.

#

Pulling home-assistant... done!

raven forge
#

Yay.

desert violet
#

Creating homeassistant ... error

ERROR: for homeassistant Cannot create container for service home-assistant: Conflict. The container name "/homeassistant" is already in use by container "e1d7d9631e0977d997fe1876c5b76d90102a5914353c2476bda2306eab2ea4fa". You have to remove (or rename) that container to be able to reuse that name.
Where is this to be able to rename?

raven forge
#

Run this first

docker stop homeassistant
docker rm homeassistant
#

I haven't worked with plain docker in a while πŸ˜…

desert violet
#

Thanks. Now I have an empty HomeAssistant. How do I pump my backup in?

raven forge
#

Hmm. It should not be empty. We used the same volume so everything should be the same just a newer version.

#

You can put the data from the backup in /etc/homeassistant.

#

Oh I think I see why.

#

The mount was wrong. I'm so glad you made a backup.

#

Instead of

volumes:
    - /etc/homeassistant

it should look like

volumes:
    - /etc/homeassistant:/config

It was always wrong and /etc/homeassistant is probably empty.

#

I suggest you change the compose file with the fix I mentioned. Then run docker compose up again. It will re-create the container.
This time it should create the directories and such.
Then run docker compose stop and replace the contents with those from your backup. The created files should make it trivial to see what belongs where.
The next start should have all working again then.

desert violet
#

/etc/homeassistant doesn't exist and /etc/docker/ is empty.

raven forge
#

Personally I prefer doing something like - ./haconfig:/config for bind mounts so my data and the compose file are near each other.
This will create a directory in the same path where the file is.

raven forge
remote jolt
#

hello guys, hope you all are doing great. I am getting this error in my initial setup of HA
24-05-10 10:26:30 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - supervisor

raven forge
#

So I assume you don't have access to the frontend? If not please run ha supervisor logs in the CLI.

remote jolt
#

I am using Raspberry pi4 4GB and HA OS 12, and now my installation is stuck cant open HA

raven forge
#

If you haven't set up SSH yet you need a keyboard and monitor to run the command.

desert violet
#

/etc/docker is still empty but /etc/homeassistant exists and has contents. Yay.

remote jolt
#

I got connect with the HA CLI what should I do now?

raven forge
remote jolt
#

I did

raven forge
#

Share what you see.

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.

remote jolt
#

Sorry this is the best I can do.

raven forge
#

You need access

remote jolt
#

To share images?

raven forge
#

This image is not publicly accessible. Try yourself in an incognito browser window.

remote jolt
#

Can you please try it now?

raven forge
#

That's better but the logs seems to be older.

raven forge
#

Not sure what causes that error. Can be a few things. Can you share what ha network info says?
You can try ha supervisor repair and ha os reboot and check if you can access the frontend afterwards.

raven forge
#

Looks okay to me.

remote jolt
#

Thanks @raven forge I will try restarting it.

placid sage
#

Hello!
I can’t access the login page. I never had access to it
I will try to explain the network setup I have.

I have an internet modem (PPoep) -> ASUS wifi in router mode ( because of the PPoeP I can’t use it in AP mode because only one of my 3 routers will work after)-> 3 ASUS wifi routers in router mode ( one of them is the wifi I connected with my VM)

Please help… πŸ« πŸ™‚β€β†•οΈπŸ«£ I need really bad home assistant and I literally messed with my wifi setup for 4h and still nothing

humble mirage
#

You need to make sure that all your WiFi routers are on the same subnet - things are connected by LAN not WAN

placid sage
#

And this should resolve the problem?

humble mirage
#

Probably

#

Depends on what the problem really is

placid sage
#

The error I have on my browser is β€œinternet access blocked”

humble mirage
#

Yeah, you need to start by unfucking your network

placid sage
#

🫠🫣 I don’t know how or what is fucked in my network πŸ™‚β€β†•οΈ

#

If I buy a home assistant green, and plug in to the first main router, can I access it from another router? Or is the same problem?

humble mirage
#

Almost certainly the same problem

placid sage
#

Can you please help me with β€œa list” more or less of what is needed for it to work? So I can check it and make it work , like the subnet to be the same.. some basic stuff that I definitely don’t know

humble mirage
#

Sure, give me 5 or 10 mins

placid sage
#

πŸ™πŸ» thank you very much

stuck smelt
#

Hi. I installed HA on Oracle VM. After installation and start-up of HA, i can ping the IP, but when i connect on the port with Chrome (192.168.xxx.xxx:8123, the PC is crashing, blue screen : PAGE_FAULT_IN_NONPAGED_AREA. I have deactivated the memory cache, but still crash . Any suggestion ? Could it have to do with the Network adapter settings ? Shall we leave all settings by default except of bridging ?
I doubt also about the VM adapter default setting. If I choose auto conf of the adapter, it creates a network that is not in my local network...
Im also doubt is I shall leave the DHCP server of the adapter activated.
Need help please, in the tutos on youtube it always seems so easy... but the reality is different...

humble mirage
stuck smelt
#

thats the problem, I followed carefully all instruction...

humble mirage
#

Then you'd have a bridged network - your local network

near dagger
#

if you didn't save it or don't remember it already, but didn't do anything on your HA yet, then it'd probably be the easiest to just install it again and go through the setup from the start

left plover
#

Is it possible to enable the Raspberry Pi hardware watchdog to restart HASSOS if it ever freezes? i am experiencing that HA is freezing on me, and i have to powercycle my Raspberry Pi to get everything up and running again, and while i am debugging the issue itself, i really need the controller for all my house lights and automations to automatically correct itself from a failed state. :/

limber plinth
#

I have this code:

show_icon: true
type: button
tap_action:
  action: url
  url_path: app://com.samsung.android.oneconnect
hold_action:
  action: none
name: Samsung
icon: mdi:home-automation
theme: Mushroom Square
icon_height: 50px```
I wanted it to open not the main page in the app, but a specific device, e.g. a dishwasher - how to do this?
humble scaffoldBOT
#

@limber plinth 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.

humble mirage
#

However, your question is not about installing HA/fixing a broken HA install, so you're in the wrong channel πŸ˜‰

left plover
#

@humble mirage hehe last time i asked more or less the same question you told me to use this channel πŸ™‚ but no problem iill try frontend

humble mirage
#

That reply wasn't for you @left plover

humble mirage
left plover
#

Understood πŸ™‚

humble mirage
#

And I'm petty sure there's no support for the watchdog, but somebody else may know moe

left plover
#

Really seems like an oversight for something that people gives this level of importance in their smart home..

humble mirage
#

Feel free to help develop that support then πŸ˜‰

left plover
#

Pfff, that would require me to actually have the skill-set for that - No, I need other people to do the actual work! πŸ˜‰

sturdy rain
#

hello everyone i recently tried to install zigbee to mqtt on my home assistant running inside of a vm on windows, except that since i installed it, it immediately stopped working. all the buttons in the interface did nothing, so i restarted the server, and now i can not access home assistant at all. my phone cant, my laptop cant, wether its with home assistant cloud or directly, with the ip address or homeassistant.local:8123... nothing really works.
any potential solutions? i also tried using the CLI to remove mosquitto and z2m but even the keyboard doesn't work
according to nabu casa my instance is not even connected to home assistant cloud
even though it was connected even minutes beforehand

#

browser error is: DNS_PROBE_FINISHED_NXDOMAIN

humble mirage
#

Have you tried the IP address (and port)?

sturdy rain
#

yes and it doesnt work

humble mirage
#

Also, what is HA running on? Pi? VM? Something else?

sturdy rain
#

vm inside of windows

humble mirage
#

Then you have a console in the VM software

#

If that doesn't work, power cycle the VM

sturdy rain
#

i already power cycled it and for some bizarre reason virtualbox refuses to receive any input from my keyboard

#

ill try again

humble mirage
#

If that all fails then the VM is probably corrupt. You'll want to create a new VM and then restore your latest backup

sturdy rain
#

yup vm is corrupted. i dont need to backup since this was deployed literally minutes ago

#

thanks for your help

#

it worked for a few seconds then stopped working immediately. its the z2m addon thats causing this, the vm actually seems to be doing just fine

humble mirage
#

Lots of people run that add-on without problems

#

The only likely cause would be if you'd undersized the VM

sturdy rain
#

undersized as in ram?

#

i gave it 4 gigs

humble mirage
#

That should be fine if you're not using VSCode

sturdy rain
#

i dont believe i am

#

im going to reinstall z2m and mosquitto

raven forge
remote jolt
#

Nopes

#

I think that it is not able to download something, it's giving timeout

raven forge
#

:<

fringe karma
#

My HA has been crashing the last week. It'll be unreachable via app, nabucasa link, or local web browser. The error I am seeing repeatedly is:

2024-05-11 07:51:14.197 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.

Sometimes a hard reboot brings it back but it seems like it's only a matter of time before it crashes again. Any help is greatly appreciate!

nova anchor
#

Guys I installed ha in oracle virtual box in a perfectly working laptop with good specifications and everything works fine ( I get all the checks with the ok/success results ) and just when I try to open the link http://homeassistant.local:8123/ the laptop holding the ha crashes and forced to be restarted . Please help me through this situation guys and thanks in advance .

livid raven
#

Hi guys, I have a Raspberry Pi 5 with Ubuntu. I’ve installed the Imager software v1.8.5, and I’ve selected the devices and OS, but when I try to choose the SD card, I don’t see anything. Why is that? (I have a 32GB SD card in the Raspberry Pi).

raven forge
#

Are you trying to flash the SD Card you're running the OS off of?

gaunt jungle
#

I have a RPi 4 running Pi-Hole and I’d like it to also run HA. What’s the most graceful way to do this?

sick barn
#

probably docker, tbh

#

dunno if pihole has a docker image, but you could install base docker+portainer, HA and pihole as containers

grand pivot
#

Or HAOS + the Adguard addon, which is an alternative to PiHole

trim ocean
#

can someone help me with proxmox installion for home assistant

silver pumice
plain radish
#
.955 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.5.3: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.5.3/json: Not Found ("No such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2024.5.3")
.956 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec
#

I think it's trying to install 2024.5.3, even when 2024.5.2 is the newest. How to fix?

raven forge
wooden smelt
#

Yeah, what's the issue on mobile?

trim ocean
#

i am just gonna dowload portainer

wooden smelt
#

What's not working?

#

Please explain in detail

raven forge
#

It wouldn't even be the same. One would be HAOS and one would be a docker image.

trim ocean
#

just when executing its fine but after some time it gives me a fail

wooden smelt
#

That doesn't help much.

trim ocean
#

i will rerun the script and tell you the result it could be an one time thing

#

it started fine now

#

i guess it was an one time thing?

raven forge
#

We cannot tell you anything without some information. What did you see?

trim ocean
#

it just started now

#

last time it said it failed to exectute a line

#

i dont remember the line it told

raven forge
#

You could scroll up?

trim ocean
#

cant

#

it reset the logs

#

because i left shell for a bit

#

also the auto container it made

#

or os

#

how can i edit the ram it has

#

i dont want it to have 4 gb its too much

#

2 is fine

#

because i have limited ammount of ram

raven forge
#

VM > Hardware > Memory.

trim ocean
#

yea i did that and i just realised that it needs a reboot

#

being new to proxmox is overwelming

#

but eh

raven forge
#

I'm overwhelmed by the amount of your messages πŸ˜…

trim ocean
#

yea sry about that i just type a lot of messages instead of one huge one

#

shit

#

starting home assistant rn and it says jumping into emergency console should i be woried about that

#

should i just reboot the vm?

#

ok nvm i guess it just failed the first time

ancient jetty
#

also it booted with slot B instead of A..

raven forge
#

I'd check the host and supervisor logs for hints. Not sure about the CIFS mount. I remember an option to set that in the frontend.

unborn sonnet
#

Hello, i got an issue with connecting my Tasmota plug via MQTT to the Mosquitto broker addon in HAOS.
the logs:
2024-05-12 19:46:11: New client connected from 172.30.32.1:57447 as 4ytvMdVqCJblt7OuGpgnV0 (p2, c1, k60, u'homeassistant'). 2024-05-12 19:46:28: New connection from 192.168.0.153:57204 on port 1883. 2024-05-12 19:46:28: Client DVES_15FEA4 disconnected, not authorised.

in the connection parameters of the plug im using the client 'homeassistant' and the host '192.168.0.238' which already worked before without providing a password. now for some reason it seems to require auth. could the issue lie in the go-auth plugin?

unborn sonnet
gentle oracle
#

Has anyone had any luck installing HAOS onto a Raspberry Pi 3B+?

rapid dagger
#

I don't see a step that shows them downloading the home assistant image, it's just referenced in the docker-compose.yml as image: lscr.io/linuxserver/homeassistant
Is this image just built-in with docker, or do I need to download it and put it in some specific directory?

grand pivot
#

Why not use the actual official instructions?

rapid dagger
#

Am I blind/stupid?

grand pivot
#

I went to the generic x86 section. There's also this on the main page:

rapid dagger
#

Again, the HA-offical guide suffers from the same issue

#

Where is the image actually coming from?

grand pivot
#

It tells you exactly how to run it

rapid dagger
rapid dagger
grand pivot
#

Are you familiar with docker at all?

#

you just follow the instructions, there's no secret sauce of downloading other stuff

rapid dagger
rapid dagger
grand pivot
#

then just follow the instructions

rapid dagger
#

How does docker find the image?

grand pivot
#

magic

#

just do what it says

rapid dagger
grand pivot
#

do what it says

rapid dagger
grand pivot
#

you really don't

rapid dagger
#

If you cant answer my question thats okay

#

I WANT to know this info

grand pivot
#

I'm sure you can find the info on the web

#

it really doesn't matter

#

give it an image, it pulls it

rapid dagger
#

It's fine that you can't help me -- if anyone else can I'd be appreciative

#

My question boils down to: where is docker getting the image from? Is there a config file that has a list of repos it pulls from? Is there just a standard library of docker containers and I can only use those? If someone could link resources I would be very appreciative.

raven forge
# rapid dagger Where is the image actually coming from?

The image can come from different places. If you see a reference like ghcr.io/home-assistant/home-assistant:stable you can see that the ghcr.io registry is used. In this case it comes from here: https://github.com/home-assistant/core/pkgs/container/home-assistant
By default the docker registry/hub is used so if you see something without a domain like homeassistant/home-assistant:stable it would come from here: https://hub.docker.com/r/homeassistant/home-assistant
In this case we refer to the stable tag for that image.
Getting the actual layers is a bit more complicated to explain and there's builds and tags for different architectures. There's manifests and such that let docker know what to actually download.

cursive cape
#

is there any limitation of size for restore?
Moving from a PI4 to Pi5.. and after a fresh new install to a seperate USB SSD disk I select restore..
I then start uploading the .tar file thru the web UI, but within 10 seconds I get:
Upload failed
Failed to fetch

The tar file is on a wooping 11Gb.. any suggestions for next step? How do I access the logs in the setup phase ?
(HassOS installation)

humble mirage
#

The docs tell you to upload that using Samba

#

Basically, do an install, do the onboarding, install Samba, upload the backup and then restore

cursive cape
#

aha.. ok.. will try that one..

#

thanks

raven forge
#

Why is you backup that big?

cursive cape
#

MariaDB I guess...

raven forge
#

You should check πŸ˜‰

cursive cape
#

core_mariadb.tar.gz - 9.92Gb.. :/

raven forge
#

Do you use the default recorder purge time? HA devs recommend SQLite btw.

cursive cape
#

no.. I dont.. and I switched to Maria just because I want to keep records for 1y +

raven forge
#

Increasing purge days is not really needed due to long term statistics. I also don't see why MySQL would be better for that. Nothing wrong with it, just unnecessary. I recommend an actual time series database for long term granular stats.

cursive cape
#

yea.. agreed.. looked into InfluxDB and Gafana.. but really want to "keep it within HA".. but totally get your point..

#

I should no matter what defenitly review the settings and what is beeing stored etc..

proven grove
#

Sometimes, it makes sense to keep some stuff outside of HA. At least imho.

tender wren
#

Backups for example dr_evil

cursive cape
#

πŸ™ƒ

#

seems to be solved.. backup is now SSHed over to the new Pi5 and I can select it as restore.. just need to get back home so I can move the "Razberry" extension board before doing the restore...

#

q.q: The restore will also install all the addons, right? Or shall I do that in advance ?

tender wren
#

Yes, but.

cursive cape
#

given that the .tar includes "core_mariadb.tar.gz" it looks like the whole docker image is backed up

tender wren
#

After the restore you need to reboot the host (not just restart HA) for add-ons to work propery.

#

And you might have to adapt some settings (e.g. device paths)

cursive cape
#

got it!

dark pebble
#

anyone got a sqlite3 command to find out what version my home-assistant_v2.db is ?

#

about a year ago this thing failed after an upgrade

#

and im pretty sure im running the wrong version

#

so i was going to downgrade to what was specific in the db file

versed vapor
#

You can just look into the scheme versions table
But realistically ha should always upgrade it to the right scheme and there is nothing to do

dark pebble
versed vapor
#

there are both a table for migration and schema changes

#

Even tho this is a bit uncommon solution

dark pebble
#

changed
2023-05-12 19:25:57.894304

#

schema_version
41

#

schema_changes ?

cursive cape
#

from the HA prompt.. any way I can get status for an ongoing restore ?

raven forge
#

ha jobs info, ha supervisor logs -vf. I don't know of any "proper", or rather, more specific, way.

cursive cape
#

thanks! ha jobs gives quite some info..
assume that:
done: true means that the job is completed and:
errors:[] means ok ?

raven forge
#

Basically an empty array/list of errors. I'd call that good.

cursive cape
#

well.. it lists a bunch of jobs. but all of them seems to be in progress: 0 and done: true..

#

trying a reboot and cross my fingers then!

raven forge
#

You can try reloading the page in another tab. Note that a reboot is often needed after restores.
I'd follow the supervisor logs and see if it does anything interesting.

#

You can trigger a reboot via ha os reboot ha host reboot btw. It should be smart enough to block if a job is running/blocking.

cursive cape
#

ha host reboot seems to work

raven forge
#

Yeah my bad.

cursive cape
#

almost! most seems to be working with exception of the most important thing.. z.wave :/
Failed to connect: Cannot connect to host core-zwave-js:3000 ssl:default

#

hmm.. new Pi5.. Do I need to disable anything like BT in boot/config.txt ?

empty bloom
#

are you using the official zwave addon or the zwave js ui addon?

cursive cape
#

/config/integrations/integration/zwave_js

empty bloom
#

that's the integration, not the addon

cursive cape
#

/hassio/addon/core_zwave_js/info

empty bloom
#

is this a fresh install?

#

when you install the zwave integration, it should install the addon for you throughout the question process

cursive cape
#

it's a restore from a Pi4 to a Pi5..

#

2024-05-13T16:21:52.965Z DRIVER Failed to initialize the driver: ZWaveError: Timeout while waiting for an ACK
from the controller (ZW0200)

empty bloom
#

yeah, make sure the usb port is correct on the new device in the addon

cursive cape
#

it's a razberry device

empty bloom
#

serial-by-id

cursive cape
#

configuration say:
/dev/ttyAMA10

empty bloom
#

change it to the serial-by-id

cursive cape
#

where do I do this? can't find the option?

#

yaml?
device: /dev/ttyAMA10
device: serial-by-id
?

empty bloom
#

Go to your hardware page, search for the device in the listed devices

#

there'll be a serial-by-id there

#

click the all hardware button, scroll down till you see your device

#

zwave will probably look something like this

#

expand it and copy the id

tender wren
#

I don't think the ttyAMA ones get a serial-by-id as they are GPIO devices πŸ€”

#

If the ZWave module is using the GPIO pins farthest away from the network port, I think that is /dev/ttyAMA0. But not 100% sure, if that also applies to the usual RPi HAOS image.

cursive cape
#

yea, it's the ones furthest away..

#

also added this to the /mnt/boot/confix.txt
[all]
dtoverlay=disable-bt
dtoverlay=disable-wifi
enable_uart=1

#

have this in HW:
Subsystem:
tty
Device path:
/dev/ttyAMA10

#

which is the one used in the add-on config

#

πŸ‘ Got it working!
Was missing: "dtparam=uart0=on" in the /mnt/boot/config.txt
added these lines in total:
[all]
dtoverlay=disable-bt
dtoverlay=disable-wifi
enable_uart=1
dtparam=uart0=on
usb_max_current_enable=1

then I got the /dev/ttyAMA0

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.

fringe karma
#

whenever I boot up, it keeps restarting and is now completely unusable. I get this error repeatedly. I can run HA in safe mode, but that's it.

ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/core/state: [Errno 104] Connection reset by peer

#

Any help is greatly appreciated!

#

and then these sorts of errors in core logs:

ERROR (MainThread) [homeassistant] Error doing job: Exception in callback <_asyncio.TaskStepMethWrapper object at 0x7f73d48f70>() Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) RuntimeError: Cannot enter into task <Task pending name='Task-8042' coro=<BaseSelectorEventLoop._accept_connection2() running at /usr/local/lib/python3.12/asyncio/selector_events.py:213>> while another task <Task pending name='Task-184' coro=<WebSocketHandler._writer() running at /usr/src/homeassistant/homeassistant/components/websocket_api/http.py:138> wait_for=<Future finished result=None>> is being executed.

cold heron
#

Hi, anyone experienced with securing HA with Cloudflared and Certificate based authentication?
Just read a tutorial but I don’t know if it’s only available over the CF secure access feature.
Just want to challenge a certificate for accessing via web or app.

crude inlet
#

@fringe karma if there is no problem in safe mode, then you probably have a custom integration, causing a problem

ancient jetty
#

Installation VM

ancient jetty
#

can anyone help me with this? ^

fringe karma
humble mirage
#

Hi, anyone experienced with securing HA

round raven
#

Hello, i'm sharing my working method of virtualizing HAOS in virtual box.

  1. extract the .img.xz image with 7zip. (haos_generic-x86-64-12.3.img.xz)
  2. use rufus and load the .img. (haos_generic-x86-64-12.3.img)
  3. create in computer management a virtual VHD file and mount it.
  4. Select it in rufus as the target and burn the image.
  5. use the VHD file in virtual box - add it as HDD and boot from it.
  6. start the VM, some one time scripts are running during first boot.
raven forge
round raven
raven forge
round raven
#

yes, this is what i meant.
Method 1 (recommended): Boot Ubuntu from a USB flash drive and install the Home Assistant Operating System from there. It also works on laptops and PCs with internal hard disks.

marsh oyster
#

Different Network? I wish to move my 192.168.1.170 RP4/HA to another network 192.168.1.14. On the new network I don't seem to have any connectivity to my Z-Wave devices or my Wiz (Ethernet). Is there something I need to change in going to another network?

humble mirage
#

For Wiz check the HA (Core) log

marsh oyster
#

ok, and i found the "how to change IP addresses" article

lament sparrow
#

i just bought a 60 year old house that's been reno'd a few times. how should i host my new home assistant instance?

#

is it ok to throw it in a docker container on a 6 year old sonology or should I be looking for newer stuff

proven grove
lament sparrow
#

alright cool - is there a machine that y'all recommend as a good solution or is that left up to research

#

I'm going to be amazon buying blind

#

I dunno what keywords to use, even, lol!

#

it'll be living in a rack if that matters. doesn't have to be rack-mount

proven grove
lament sparrow
#

I'm completely new, so please excuse stupid questions. The HA green is powered enough to do everything one needs?

proven grove
lament sparrow
#

awesome! ok, which generation nuc should i be looking for? the new ones look super spendy

proven grove
brisk willow
#

Doesn't need to be a NUC specifically. I use a Dell Optiplex 3050 that I bought refurbished on eBay a while ago. It has an i5-7500T

#

It was about 100 USD IIRC

errant grove
#

I am moving my HA to a reverse proxy. I am using nginx proxy manager.

#

it is not working 😦

#

I'm getting a 400:bad request error

#

if I try to do it in host mode, I get a 502: bad gateway error

errant grove
#

I can access the device locally

#

@grand pivot you reacted to my message, any idea what's wrong?

#

I have everything in docker containers.

humble mirage
#

You've got logs from both NGINX and HA, both of those will help you, and help us help you

#

We're not mind readers

worthy jacinth
humble mirage
#

Just restore a backup

tender wren
#

<@&330946878646517761> Spam alert! User taylorb831

#

And gone

fading forge
#

Hey, i have problems with my installation. I have wiped my ssd, installed ha os and plugged it in. after 10 min. Nothing happens but the ssd is writing all the time

raven forge
#

What device do you use? How did you flash HAOS? Is a monitor connected? What does it display?

fading forge
#

nahh i dont have a micro hdmi cable, i will look tomorror for one. I have a raspberry pi 4 and installed it about the raspi imager

#

i flashed it on an external ssd and plugged it in over usb.. the problem is. I have allready a working instanz but i dont have any idea how to clone this ssd to the newer with more volume.

fading forge
#

The question is, how can I clone my ssd without getting root access to fully use my new storage

rugged venture
#

Hi Everyone, is installing Home Assistant via rpi-imager the correct way?
I have a RPi 4 with Sonoff dongle. I tried to install it using rpi-imager. Selected Raspberry Pi 4 (Model B, 400) then Other specific-purpose OS -> Home assistants and automation -> Home Assistant -> HA OS 12.3 (RPi 4/400)
I already flashed like 3 different SD cards. It did succeed at one point I was able to see the console but I was never able to browse to the HA GUI even when it supposed to work (responding to pings but nothing on the port 8xxx). I flashed again to a high performance SanDisk SD card, it booted up but this time Home Assistant CLI never managed to make itself ready, failed over "[WARN] Home Assistant CLI not starting! Jump into emergency console"
Isn't easier to install this by hand from Raspbian like Linux people do it without this preinstalled crap? At least i have a SSH terminal to see what is going on.

rugged venture
proven grove
rugged venture
humble mirage
#

ok, cool, thanks for clarifying. I

quasi charm
#

I've been running HA in a docker in Host network mode. I'm looking at moving it to a custom docker network, but when I made that change, I could no longer access the UI. Will it run OK in a custom docker network, and if so, what other changes would I need to make?

raven forge
#

If properly done this will work but also break things. Host networkong is required for a lot of things. Why do you not want to use it?

quasi charm
#

Well... Going to a custom network seems to be the thing to do for many things, so I thought I'd custom all the networks. If it's not recommended, then I won't.

proven grove
quasi charm
#

Thanks. Sounds like this particular step was misguided. It's already back on host mode so I could access it, and on host mode it will stay.

rare yew
#

struggling with getting a full restore from a back up installed on my rpi3 b+.
I tried to install an update the other day and it bricked the system.
So reflashed HA on the memory card and am trying to restore the backup and it just hangs.

proven grove
#

Backups can take a while to restore, especially on older hardware/sd cards, etc.

rare yew
proven grove
#

Also depends on the size of the backup as well.

rare yew
#

11mb and 5mb are the options im trying

proven grove
#

Oh those are tiny... πŸ€” So, if you connect a monitor and keyboard to the rPi, do you see the HA logo and login?

rare yew
#

hmm. haven't tried that. just doing install from the homeassistant.local webpage where it asks to 'start' or 'restore'

proven grove
#

Right, but you'll get better info about what's going on by using the console.

#

(and the logs)

rare yew
#

goes to see if i have a really long hdmi cord

#

thought maybe the sd card gave up, so got a new one. still having same issue.
I don't want to start from scratch AGAIN.

proven grove
#

I don't blame you... but first you need to get to the console to really see what's going on. If it's really hung up, it could be a couple of different things.

rare yew
#

i have about 4 different backups to choose from. the largest is 41MB from march.
Issues are stemming from z-wave stopping to respond causing me to reboot the system daily.
but last time it was an update and the system stopped responding. so thought i would just restore from backup and still having the issue.
I will get a monitor connected and report back. i think i threw out the long cord so will take time to move a monitor over there.

proven grove
#

Ahhhh gotcha... yeah, get to where you can get to the console and we can try some things.

frigid echo
#

@proven grove How do you insert picture here?

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.

frigid echo
#

ah...

#

actually give me a sec

#

sighs gotta love youtube. Sometimes they are helpful than google

#

now I'm proceeding back to install

frigid echo
#

keeps throwing an error every time i try to restart the network

proven grove
proven grove
frigid echo
#

You mean in HAOS?