#installation-archived

1 messages · Page 8 of 1

solemn sierra
#

I'll be honest, I don't know much about this, but I really like having nice things. thats why i am allways asking something that may be easy for you but for me is a huge problem😀

humble mirage
#

The app is just a UI, like Chrome, it has a few sensors and things it can report back, but it's not Home Assistant

manic bane
#

And when tinkerer says like chrome he means it. HA app is basically just a glorified web browser

humble mirage
#

If you're new to IT in general, all services need to "live" somewhere, on some computer, for your client to communicate with.

That computer is typically referred to as a server, even if it's a Pi, or an old PC.

Things like the Hue app connect to a hub device that is the server, none of the smarts run on the phone, they all run on the hub. Home Assistant is exactly the same, you turn some computer in your house into a "server" that's always on.

Just like with a car if you turn off a computer it's no longer going to do anything other than sit there (or possibly roll downhill with the aid of gravity).

glad rose
brazen herald
#

Did you set your http proxy?

glad rose
raven prism
#

I am stuck on "Preparing Home Assistant"

humble mirage
#

Click the blue circle, it hides logs

raven prism
raven prism
#

@humble mirage how do I fix that?

humble mirage
#

No idea, without more than a couple of words from the log nobody can help you

humble scaffoldBOT
#

@raven prism 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 prism
humble mirage
#

no supervisor internet connection

#

Well... that'll do it

raven prism
#

yeah but its plugged in and everything

humble mirage
#

22-11-22 01:46:06 WARNING (MainThread) [supervisor.utils.whoami] Can't fetch Whoami data: Cannot connect to host services.home-assistant.io:443 ssl:default [Try again]

#

Is it plugged in to a working Internet connection?

humble mirage
#

Are you doing anything funky with DNS?

humble scaffoldBOT
#

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

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

humble mirage
#

Either you have a DNS problem, or you've got problems with your internet connection

#

Or both

raven prism
#

I use the 1.1.1.1 dns

#

is that why?

humble mirage
#

Unlikely

raven prism
#

I have google wifi is that why?

humble mirage
#

Also unlikely, but is your Pi wired in to your internet, or are you using WiFi?

raven prism
#

wired

#

so what do I do?

humble mirage
#

No idea, somebody else likely will though

raven prism
#

now its downloading something, is that a good sign?

pearl frost
#

Hey, i installed home assistant on a rasberry pi, how can i use it with wifi instead of ethernet connection? 🙂

cedar yew
#

Hmmm… “no supervisor internet connection” error

#

Anyone seen it before?

crude inlet
#

no, not really. probably DNS

cedar yew
#

Okay trying a reboot with Google DNS instead of Cloudflare might help?

candid loom
#

I now got the supervised installer to run successfully after reinstalling debian multiple times and now it is running only hassio supervisor in "docker ps"

#

its been like this for 25 minutes

candid loom
#

nvm it was dns error

candid loom
#

and lately I hope someone can add it in to the instructions but dns probing needs to be enabled be default so it needs to be set in /etc/sysctl.conf if it isn't set people could get an error failing to install any hassio addons, community addons does work and custom repos

storm sluice
#

open an issue in github?

candid loom
#

I mean mtu probing 🤦‍♂️

storm sluice
#

also why do you need to use supervised? its really the worst installation method for most situations

candid loom
candid loom
#

and its easiest to fix

#

I tried to use home assistant os on a vm with proxmox and it was so bad, I tried to install duckdns but got the exact same problem and couldn't be fix since sysctl.conf file was locked and read only

storm sluice
#

hm no idea never used that addon

#

homeassistant os in a vm seems to work great for me

candid loom
#

you defeitly havent been living in my life , everything complicates itself I had home assistant set up with alexa and google then I followed the exact same steps but in a vm on debian and I got google to work but not alexa

nocturne kindle
#

looks like supervisor bug killed my haOS

#

cheers

brisk willow
candid loom
# brisk willow I'd argue HA Container is easier to fix/maintain

For the fact I do kinda understand everything I do I can kinda argue back I love Supervised wayyyyyyy more than the vm stuff , it was litterally impossible to fix home assistant on a vm cuz of the terminal and had to get ssh to work but I'd say I am happy where I am now

#

I'm basically an installer for home assistant so I need to know whats up

brisk willow
#

just make sure you follow the Supervised requirements exactly

candid loom
#

I always do

nocturne kindle
#

reward is bugs that kills your HA

candid loom
#

and just like that duckdns is now installed after I set up the dns and set mtu probing to 1

candid loom
brisk willow
candid loom
#

I know

#

I used a Home Assistant qcow vm

nocturne kindle
#

observer is the only thing that starts here....and i didn't mess with any settings

brisk willow
#

just seemed like an odd response to mention VMs when i mentioned HA container

candid loom
brisk willow
#

VMs are not almost the same as containers 😅

candid loom
#

yeah Containers are more code alike

humble mirage
#

Docker is just one way of doing containers

#

The concept pre-dates Docker by some considerable time

wide willow
#

I haven't a clue what's going on

candid loom
#

your serer isn't starting up it seems like

#

server

wide willow
#

the cli "works", and it does have an ip but nothing else works

#

i keep getting what seems to be drive erros

humble mirage
#

The disk is dead/dying

candid loom
#

yeah

#

wanted to say that too

humble mirage
#

If you have backups that aren't left on that machine, aka are actual backups, then you're good

wide willow
#

are you serious

#

wow

candid loom
wide willow
#

that's insane

humble mirage
#

No, it's not

wide willow
#

6 month old samsung ssd

candid loom
#

oh then thats very strange

humble mirage
#

Shit happens... it could be a simple power/cable fault

candid loom
#

Something could've bumped the server overnight and got the cables loosen up and could cause data loss like you are currently seeing

wide willow
#

fun

#

what the

#

this drive has been used for 42000 power on hours?

#

that's like

#

5 years

#

wait

#

nevermind that's a different drive, this drive has 91 power-on hours

#

drive health seems fine so it shouldn't be that

#

okay, unplugged and plugged the drive back in

#

hopefully it works now

grand pivot
#

How to say you're an IT pro without saying you're an IT pro

true totem
#

Hello everyone, I am hoping someone can provide some assistance. History: Running HA via virtual box for a year, last night something happened to my VM and I could not restore it with any of my snapshots. This morning I have installed Hyper-V and the latest HA OS 9.3.vhdx. I have create 3 different VM's trying to get this to work. The issue I am having is after the CLI loads and I get my URL it I cannot get past the local login screen. I have googled for the last couple of hours and I am just stuck.

grand pivot
#

You have a broken storage device

wide willow
#

yeah this sucks

#

i guess i'll try to export everything I can off the drive and find a new one

#

that's so weird

#

it's a basically brand new samung ssd

humble mirage
#

This is why we take backups shrug

wide willow
#

i do have a backup

#

i just forgot to backup my config before i made a bunch of changes

humble mirage
#

You don't have automatic backups?

wide willow
#

i do not

humble mirage
wide willow
#

i was going to but i couldn't get the addon to work

#

now time to download a 64 gb backup 🙂

#

all I can say is Samsung will be getting an email

grand pivot
#

I'm sure they'll replace it with one that's free of your corrupting data

wide willow
#

would a power loss break a ssd though?

humble mirage
#

Simple power loss no, a power spike through the PSU could

wide willow
#

So like a power surge?

#

side question: is there an easy upgrade path from home assistant OS to home assistant docker?

grand pivot
humble mirage
#

Manually extract your HA Core backup

#

Everything else ... no

wide willow
#

the only thing I worry about loosing is my zigbee2mqtt config

#

everything else I really can replicate easily

#

and believe me when I say I do not want to go around resetting every single ZigBee device

placid sage
#

Can anyone help me set up my pi? I have got the ssd loaded up with HA OS 9.3, set up WiFi and I'm good to go, ish.

When I try to load up the Web UI, it just won't connect

humble mirage
#

Is the Pi connected to WiFi?

placid sage
#

Yes

humble mirage
#

Can you connect to port 4357 on the Pi, instead of 8123?

placid sage
#

Yes. Says connected, supported and healthy

#

Oh, hang on. I now have a creat user page

#

Is that it?

humble mirage
#

Yes, if you hadn't already done onboarding

copper steppe
#

onboarding = first time setup

humble mirage
placid sage
#

Thanks guys. I am not very technical

humble mirage
#

It's worth taking the time to read the getting started section of the docs then, and the glossary

placid sage
#

Will do

#

Thanks

#

Thought I'd wing it, but it's way over my head. I'll get on that now

humble mirage
#

HA is quite complicated, but that's a side effect of it being very powerful and flexible

kindred depot
placid sage
#

Well, I'm set up a bit. I have no smart devices at the moment, so shopping is the next part

#

Thanks tmfor the help guys

kindred depot
#

Go Zwave or Zigbee over wifi where possible(not always possible).. save yourself a few headaches.

#

In order of preference, Zwave -> Zigbee -> wifi

In terms of cost, Zigbee is almost always cheaper than ZWave though

IMO

humble mirage
#

Simple guidelines:

  1. Don't buy Tuya without a lot of careful research
  2. Don't buy Sonoff's Zigbee sensors, or anything Osram unless it's Zigbee 3.0
#

Zigbee is cheaper than Z-Wave, but takes a little more effort to ensure things will work together

#

Still, that massive price hike to save you some Google time ... there's a reason I ditched all my Z-Wave 😉

kindred depot
#

non-issue if you live in the boonies, can be an issue if you live in a dense area

humble mirage
#

Yeah, but that's a caveat that's to be mentioned, rather than buy Z-Wave

#

You don't even need to be in the "boonies" to find quiet space for Zigbee

kindred depot
#

yaya, s'why i said ordered of preference.

placid sage
#

My first job is to automate the bathroom lights. Those halogens are crippling me

manic bane
placid sage
#

Also, is the home assistant hub OK to live in my loft? I have power and ethernet up there thag I was going to run through a PoE switch

copper steppe
#

@placid sage is it hot in your loft? also, consider how hard it is to access, and how often you will need to touch it.

#

Especially if HA is bare-metal, and you update often, it will occasionally scre up.

#

Mine is on a shelf that I need a ladder to reach, which is a pain, and doesn't win me any favours with the wife

placid sage
wide willow
#

full vm backup doesn't work

#

same error, but this time with "cannot connect to docker daemon"

#

*this is running on my laptop with vmware workstation

#

[WARN] Home Assistant CLI Not starting! Jump into emergency console...

copper steppe
#

Heat is the death of computers and hardware. Avoid if you can.

placid sage
grand pivot
#

Not if it's just circulating hot air

copper steppe
storm sluice
#

why even bother.. a pi is tiny

placid sage
wide willow
#

lesson learned: always auto-backup

storm sluice
wide willow
#

hey the supervisor works now!

#

we're getting somewhere

wide willow
#

yeah this is totally broken

#

guess tomorrow will be a busy day

#

excuse to use docker 🙃

primal karma
#

I am very new to Home Assistant. I installed home assistant on VirtualBox. However, after I set up DuckDNS, I decided I did not want to pursue that route anymore, so I deleted my domain. This was before ever setting up port forwarding. However, this was after I modified the configuration.yaml file. So basically, I am now blocked out of accessing the UI through VirtualBox. I cannot even reach the login page, though the virtual machine itself runs without any errors. Is there any way to completely reset Home Assistant or reset the configuration.yaml file without actually opening Home Assistant? I have tried accessing Home Assistant through my IP address, which doesn’t work and I have not been able to find a solution online. Any help would be greatly appreciated

merry marsh
#

hmm, I have recently deployed homeassistant in a docker via portainer in a ubuntu VM on proxmox on a NUC. Lots of other containers already run there, such as nzbget and I am used to being able to upgrade the container by just recreate and all the config remaining. I just did a recreate on homeassistant to pass through usb as I added a zooz zwave usb bridge. However, on relaunch I seem to be back to original login startup workflow, starting from scratch. What I am missing there? I can be rigorous with backups if I need to be, and have not invested a lot of config yet, but was expecting the config to remain on docker recreate.

storm sluice
#

did you mount a volume/hostpath on /config ? otehrwise the config is saved inside the containers filesystem and will be gone when the container is deleted

merry marsh
#

hmm, I probably need to do that then, looking a moment

#

yeah, I missed this, my other containers have the volumes, ok, time to start again 🙂

merry marsh
merry marsh
storm sluice
storm sluice
#

so aslong as you mount a volume on /config you should be good

primal karma
merry marsh
merry marsh
#

wow, I am now lost on getting my meross working via HACS, I did it litterally two day ago, just got the number off the device attached to the opener, and made it work.

#

now I am lost in acounts and passwords, I must be doing something stupid

merry marsh
#

got it, lost in my own password maze

wind meteor
#

New Raspberry PI OS install - Stuck on the Preparing Home Assistant screen for 20hrs

merry marsh
#

Looking to map a zooz zwave usb stick through to a container running ubnutu / homeassistant. I know where to do this in portainer, and that my usb stick appears as /dev/serial/by-id/usb-Silicon_Labs_Zooz_ZST10_700_Z-Wave_Stick_148c6c1dbe60ec11a1c7437625bfaa52-if00-port0 and that I do this in runtime & Resources and add device, use that location for host, but where do I may it to in the container? Should it be exactly the same?

#

I am confused in general as any youtbue video on adding this seems to be against a completely different UI and I can't find openzwave JS as an integration option 😦

#

ok, this should be referenced by ttyusb0 rather than the long string, digging

#

I can now see /dev/usbtty0 in the docker console, so I believe that is mapped through, I don't see it detected by homeassistant 😦 but neither do I see a "z-wave JS" integration...

wind meteor
#

Looking for help with a new OS install on a Raspberry PI

merry marsh
wind meteor
#

@merry marsh I would help you if I could but I still need help getting HA up and running

merry marsh
merry marsh
peak pecan
#

Ok, this is a stupid question but I seem to be unable to figure it out .... I have a (Zigbee) device/entity in HA that has a given location. I want to change the location. How do I do that?
EDit: Yup, a stupid question .... but also a stupid UI design .... waaaayyyy on the right side of the entity screen is a small pencil icon - click on that to edit .... <sigh>,

nocturne kindle
warm geyser
slate quarry
#

100% would be fun to learn!

plucky schooner
#

heya all!!
I have HA surpervised debian 11 on RPI4 installed and running few months ( 1 year without stop), its size of last HA updates start do something wrong.

humble mirage
#

Are you actually using Supervised, or are you using Home Assistant OS?

#

Because.. why?

#

On a Pi4 HAOS is the sensible option if you want add-ons, Supervised brings nothing but headaches

#

What is start do something wrong?

plucky schooner
#

try add a addon locally, but not shown on Add-on store.. and then i find this on logs.

humble mirage
#

Image posting is blocked to try to stop people doing what you just did ... post images of text

humble scaffoldBOT
#

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

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

humble mirage
#

Please share text as text

#

Oh, and if you made the mistake of running the beta release of the supervisor, see the top pinned message

plucky schooner
#

not beta ^^

empty bloom
#

I'd be willing to bet that your supervised installation is unhealthy if you've been running for the past year without touching it

humble mirage
#

Most Supervised installs tend to be unhealthy

empty bloom
humble mirage
#

Ah... so finally something in favour of it... makes a change

empty bloom
#

Every new feature that's added to the supervisor needs to be enabled on the OS by the user when using supervised.

humble mirage
#

That one positive point goes a long way to balance out the 42 million negative points zany

empty bloom
#

ffs

#

why do they keep changing the Effin name of that page.

plucky schooner
humble scaffoldBOT
plucky schooner
empty bloom
empty bloom
plucky schooner
#

aaaa 😅

#

wrong place? 😐

empty bloom
#

not the wrong place, it's a redirect link

#

what version of HA are you running?

plucky schooner
#

Home Assistant 2022.11.4
Supervisor 2022.10.2
Frontend 20221108.0 - latest

empty bloom
#

settings -> system -> repairs -> 3 dots -> system information

plucky schooner
empty bloom
#

Your supervisor is fine

#

so you should explain your problem differently because what you're saying sounds like your supervisor is not fine

#

and thre's no errors in the logs to indicate it's doing anything wrong

#

are you simply saying "I cant find addons in the addon store?"

#

if yes, then just add the addon store URL back for whatever addons you have

#

i.e. if you're using a community addon, add the community URL back into the addon store.

plucky schooner
#

This Addon " Hass.io Access Point (0.4.3) " should show on addons page (and Store), but not (all other yes). Att, it is a addon added Locally, not useing the link.
I have tryed go to Terminal and do a comand "ha core update" and return "Error: 'HomeAssistantCore.update' blocked from execution, no host internet connection." . executing "ha cli update" returns ".... 'PluginCli.update' blocked from....."

empty bloom
#

no clue what you're saying here

#

if you're saying that the addon you're trying to add is local only, i'm not sure that can be done.

#

well, no it can be done because I'm doing it

#

Sorry, forgot how and I'm not at home

#

you probably still need internet connection to add it locally though, supervisor works without it but some things require internet regardless if you're local or not.

#

installation might be one of those things

plucky schooner
#

thank you for your orientation. i will try other type of troubleshooting at this point. sorry for my bad english language

#

wtf.. now its showing .. lol

pulsar briar
#

Hi all
I just migrated my HA to a VM under TrueNAS Scale (KVM), they just released a version that has USB Passthrough (I have a Conbee II device for Zigbee). But for some reason it is not working. I do see the device listed in the hardware section. But I have doubts if it's working properly. Is there a way to check via CLI in Home Assistant if there are any issues with the device?
I tried doing hw info from the CLI, but it outputs a big list and there is no unix piping in this environment it seems to do less

broken fossil
manic bane
#

You have to flash directly to the ssd

manic bane
robust cairn
#

you have to start with a boot stick (maybe ubuntu) and flash with balana etcher or another image writing tool to your ssd @broken fossil

#

there is no installer in ha os image^^

broken fossil
manic bane
#

That method also works lol

broken fossil
#

ok super, because as far as i understand, HAos also have docker in it, so i can use HA as the OS and then run other things such as frigate, node red etc on it as well.

humble mirage
#

Well, yes but no

#

You can run add-ons, but not random Docker images

broken fossil
#

okay, but it is possible to import from 3rd party resporaties? so i could get most things running on it ?

humble mirage
#

Not unless you're going to create your own add-ons

robust cairn
#

node red is already in repo^^

humble mirage
#

HAOS (and Supervised) is an "appliance like" experience - if you want freedom it's the wrong approach

manic bane
#

Container is the best approach if you want that

humble mirage
#

Frigate, Node Red, and lots of others have add-ons already though

manic bane
#

Since if you're going to spin up your own docker images then you probably know how to do docker compose files

broken fossil
#

well i tried first with proxmox, but that gave me a lot of problems making it work with frigate.

humble mirage
#

Docker compose FTW

#

Took me about a minute to spin up Frigate that way

#

Half of that was making sure I had the right devices passed in

broken fossil
#

maybe i am not as skilled as you :/ so i need a bit more of a GUI experience, than a CLI one, so to say 🙂

manic bane
#

Docker compose is basically copy and paste config though, it's easy

broken fossil
#

at least when it is about shell/bash, i get lost.

manic bane
#

Frigate is majority config file editing to set up

manic bane
broken fossil
#

yea okay, i spent about 7 hours last night till 3 am, trying to make frigate connect to my unifi rstp cameras, with a link that works for me in vlc, but no matter what i did it refused connection.
So i am trying a different approch now as i see frigate in a lxc container with frigate in a docker is not recomended.

#

so now i am tired and desperate to make it work some how 🙂

manic bane
#

Frigate in docker works fine though

#

They literally say it's a docker container

pulsar briar
broken fossil
broken fossil
robust cairn
#

upper right corner settings menu "unsafe mode" ?

brisk willow
obsidian badger
#

Just got a pi4 and have been told to go for an ssd over a microsd for home assistant

#

I'm happy to buy an SSD today but not sure what I need to be looking out for

hoary ferry
#

My question, how easy is it to migrate from HAOS to a HA instance? There's a few things I keep wanting to do and the HAOS is a a bit limiting, switching OS to ... something

humble mirage
#

Add-ons, hard, HA itself, trivial

hoary ferry
#

crap

humble mirage
#

Some may be easier than others, but ... what ones are you using?

hoary ferry
#

Add-ons?

humble mirage
#

Yes

hoary ferry
#

Also hi, long time, no see. XD

humble mirage
#

HA itself is just a case of extracting the backup contents and away you go

hoary ferry
#

Oh, not to bad of a list, most of these I installed but I never finished setting up and get using <_<;

#

so I can start over on those, then it's just AdGuard Home, Duck DNS, Studio Code Server and Z-Wave JS

humble mirage
#

Well, two of those are trivial to set up from scratch - AdGuard and Code Server

#

DuckDNS may not exist as a direct option, but the functionality does

hoary ferry
#

Oh, now that you said it that way, that make sense, I can move that add-on off too, will have a lot more flexibility on that, okie

#

Time to.. plan the Migration since there's an aspect of home network that need HA running, (Ad-Guard runs the DNS and DHCP of the network)

humble mirage
#

Spin up a second AdGuard server first

hoary ferry
#

Hmm, I do have docker installed on this PC 🤔

frail python
#

Running on Virtualbox and today after rebooting after the 11.4 update I am getting this error on my VM. Should I just blow it away and restore a backup? https://imgur.com/a/rnS5n1Y

low notch
#

php? in a haos vm?

frail python
#

Yeah idk what's causing it, I only use addons and hacs

low notch
#

not even that bbmonitor seems to utilize php but who knows what they do 🤷‍♂️

frail python
#

So im spinning up a new VM to see if the error goes away

storm sluice
frail python
royal robin
#

A quick question about SSDs in HAOS on RPi4 - is it possible to use both the SD card and external (USB) SSD at the same time? I can see the option to move storage to the new drive, but in reality I'd have been quite happy just sticking the camera footage on it and leaving the rest on the SD card (which is a high endurance job and seems to work ok). Was hoping to see a second mount point for the SSD that I could point stuff at, but it seems that things don't work like this. Anyone have any experience with this?

blazing jacinth
#

hey there. I'm using the HA docker image on my NAS (Synology Diskstation) since some while and i now want to update it. How should I do that? I already did some research but nothing works so far. I restarted the docker container, which didn't work. I cloned the container (in homes that it updates since it points to homeassistant:home-assistant:stable so it should pull the latest stable, right? But that also doesn't work... Any idea? I want to avoid, if possible, to completely recreate the container, since I don't always want to remember the container-configs 🙂

ornate needle
#

hi, i posted the other day about my hassio install, it installs, runs, i start doing integrations etc, then around the first reboot it loses network access, not just dns, i cant ping my gateway, 8.8.8.8 anything....but a can access it, remove integrations, just cant install any more and they cant access net....ive flashed it a few times now...any idea's?

storm sluice
#

installed any weird addons?

#

probably some vpn addons messing with the host/containers networking

potent flower
#

Hey!

Yesterday I tried updating homeassistant to version 2022.11.4 (from 2022.11.3), but I think something went wrong, as it got stuck on the install screen for some hours, then I tried restarting the machine its installed, and now it does not start anymore, and I’m not sure how to debug it

It runs on a Raspberry PI 4 using the container version of the installer, and I did a few things yesterday that could be the reason, but I don't know how to pinpoint it exactly... I saw that home assistant was complaining about some issues, and pointing me to how to solve them, there were about 6, 7 of them, which most I manage to fix (I think 2 of them were left), and on one of them I remember I had to reinstall the supervisor , running

wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb

Looking through the posts, I saw that there was an issue with the beta version of the supervisor, i never had the beta version, but im not sure if by running the above I ended up installing it, but it finished successfully, and it continued on running fine, until i did the update

I’ve tried restarting the whole machine again, restarting the docker service (sudo docker restart homeassistant, according to the docs), running the install script for the supervisor (https://github.com/home-assistant/supervised-installer), and also running the fix for the beta version (curl -o - https://version.home-assistant.io/update-supervisor.txt | sh), but none of that solved the problem

Any idea whats going on, or how can I find clues as to what the problem is?

humble mirage
#

You've mixed two unrelated things in there

#

You said container version and then Supervised - those things are different

potent flower
#

hmmm, might have remembered things wrong, but I do have several docker containers, so I think that means im using the container version right?

crude inlet
#

Do you have a supervisor container?

potent flower
#

let me check

humble mirage
#

Supervised uses Docker, but it's not the Container install method

#

If you were using Container then you'd simply have done a docker pull (or docker compose pull) to pull a new version

#

If you used the UI to upgrade then it was Supervised

potent flower
#

I think it was the supervised then, cause I always use the UI to update

potent flower
# crude inlet Do you have a supervisor container?
ghcr.io/hassio-addons/node-red/armv7:13.5.3
homeassistant/armv7-addon-configurator:5.4.2
homeassistant/armv7-addon-duckdns:1.15.0
ghcr.io/home-assistant/armv7-hassio-multicast:2022.02.0
ghcr.io/home-assistant/armv7-hassio-audio:2022.07.0
ghcr.io/home-assistant/armv7-hassio-dns:2022.04.1
ghcr.io/home-assistant/armv7-hassio-cli:2022.11.0
ghcr.io/home-assistant/armv7-hassio-supervisor:latest
ghcr.io/home-assistant/armv7-hassio-observer:2021.10.0

Those are the only containers I have, seems like theres no supervisor container

humble mirage
#
ghcr.io/home-assistant/armv7-hassio-supervisor:latest
``` ![ablobthinking](https://cdn.discordapp.com/emojis/468995798512959508.webp?size=128 "ablobthinking")
potent flower
#

the thing is, whenever I go to my home assistant url, it just keeps on the Unable to connect to Home Assistant. Retrying in 5 seconds... screen, and if I go to a private window, it just returns me a 404

crude inlet
#

That would be a problem with a supervised install

crude inlet
#

There’s no Home Assistant container there though,

potent flower
#

not sure where to look for problems ahahah

storm sluice
#

you can look at the supervisor containers logs for a start

humble scaffoldBOT
#

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

potent flower
#

does it leave any other kind of logs with the full error, so I can check?

manic bane
#

The home assistant log maybe

#

In the config directory

royal robin
#

Hi all - so, I've done an Rpi4 "move datadisk" operation to a USB-mounted, external SSD. Took about 20 minutes and everything seems ok except that I can't see any add-on logs, which makes it difficult to diagnose any issues with them. Anyone else come across this?

crude inlet
#

@royal robin does this continue after a full reboot of the host?

royal robin
#

It does. I can still see the logs via ha host logs --identifier <blah> but not via the UI any more

#

I've done a full host power down and power on to be 100% sure

#

Otherwise most** things are working fine after the move to the new disk

#

(** zigbee2mqtt is properly broken!)

crude inlet
#

If you go to Settings > System > Storage and hover over the used space do you see what you expect to see in terms of size?

royal robin
#

It looks correct - 199GB free (on a 250GB SSD - the old disk was 64GB)

crude inlet
#

Ok just making sure the move actually took

royal robin
#

Yeah, logging in to the root shell, I can see IO on /dev/sda so definitely using the right disk now

crude inlet
#

Are you talking about the logs per add-on from the dropdown in advanced mode? Or the logs when you go to the individual add-on ?

#

Or both

royal robin
#

Talking about settings -> add-ons -> zigbee2mqtt -> log (for example)

#

("log" is on the tabs at the top next to "configuration" in this case)

#

The normal HA core logs are working and visible in settings -> system -> logs

#

Ah, in fact, I can see zigbee2mqtt in there too...

#

...at least, something:

#
[00:00:08] INFO: Preparing to start...
[00:00:09] INFO: Socat not enabled
[00:00:12] INFO: Starting Zigbee2MQTT...
#

(normally, from the add-on screen, I'd see some container-related stuff before the actual add-on logs start)

#

You know what - the logs are indeed loading from the add-on tab, but they are taking much, much longer to load than they did on the SD card install, despite the new disk benchmarking way quicker. Hitting refresh to load the logs is pulling back several GB of logs before displaying the handful of lines for the add-on. Does this all go to one, single log file which this screen is filtering before display?

storm sluice
#

dont think so

potent flower
storm sluice
#

you can just look at it from the location it is on the host os /mnt/data/supervisor/homeassitant

pallid cloak
#

Hi, I have HA OS on raspberry pi 3 b+. I updated core from 2022.6 to 2022.11.4 today. Since then some of my integration stopped working and have the following error code.

Logger: homeassistant.setup
Source: setup.py:192
First occurred: 6:50:53 PM (4 occurrences)
Last logged: 6:58:57 PM

Setup failed for cloud: Unable to import component: cannot import name 'core' from partially initialized module 'numpy' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/numpy/init.py)
Setup failed for custom integration tuya_v2: Unable to import component: Exception importing custom_components.tuya_v2
Setup failed for custom integration alexa_media: Unable to import component: Exception importing custom_components.alexa_media
Setup failed for mobile_app: Unable to import component: cannot import name 'core' from partially initialized module 'numpy' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/numpy/init.py)

I would really appreciate if someone can help me with this. 🙏

storm sluice
#

probably incompatible with new version

#

check for newer versions of those custom components?

potent flower
#

I did find a homeassistant log inside /data/homeassistant on the supervisor container, but they are from yesterday (probably from when homeassistant was last successfully started)

#
2022-11-22 16:42:24.556 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-11-22 16:42:25.555 WARNING (MainThread) [homeassistant.components.http] The 'base_url' option near /config/configuration.yaml:69 is deprecated, please remove it from your configuration
2022-11-22 16:42:29.853 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2022-11-22 16:42:38.752 WARNING (MainThread) [homeassistant.components.ssdp] Could not set up UPnP/SSDP server, as a presentation URL could not be determined; Please configure your internal URL in the Home Assistant general configuration
2022-11-22 16:42:40.604 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2022-11-22 16:42:41.638 WARNING (MainThread) [homeassistant.config_entries] Config entry 'hci0' for bluetooth integration not ready yet: Bluetooth adapter None with address 00:00:00:00:00:00 not found; Retrying in background
2022-11-22 16:43:05.292 ERROR (MainThread) [homeassistant.components.spotify] The 'spotify' option near /config/configuration.yaml:2 has been removed, please remove it from your configuration
2022-11-22 16:43:11.401 WARNING (MainThread) [homeassistant.components.ios] The 'push' option near /config/configuration.yaml:76 is deprecated, please remove it from your configuration
2022-11-22 16:43:11.421 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.aps_data_indication' command with seq id '0x3f'
2022-11-22 16:51:00.872 ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /core/update request Server disconnected
#

those are the contents of the log, I see only two errors, one regarding the spotify option on the config, which I removed now, and another one which im not sure what to do Client error on /core/update request Server disconnected

#

even after removing the spotify option and restarting, it still doesn't launch the UI

storm sluice
#

odd maybe check the docker daemon logs

#

maybe it says why it cant start the container

#

journalctl -u docker

potent flower
# storm sluice journalctl -u docker

I ran that on the host, nothing seems too out of the ordinary, I've found a Nov 24 04:31:57 raspberrypi homeassistant[15611]: exec /init: exec format error, which i don't know what it means, also a Nov 24 04:31:56 raspberrypi hassio_supervisor[15611]: 22-11-24 04:31:56 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!, followed by

Nov 24 04:31:58 raspberrypi hassio_supervisor[15611]: 22-11-24 04:31:58 INFO (SyncWorker_3) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-hom
Nov 24 04:31:58 raspberrypi hassio_supervisor[15611]: 22-11-24 04:31:58 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
Nov 24 04:32:02 raspberrypi addon_a0d7b954_nodered[15611]: 24 Nov 04:32:02 - [info] [server:Home Assistant] Connecting to http://supervisor/core
Nov 24 04:32:03 raspberrypi hassio_supervisor[15611]: 22-11-24 04:32:03 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
Nov 24 04:32:03 raspberrypi hassio_supervisor[15611]: 22-11-24 04:32:03 ERROR (MainThread) [supervisor.homeassistant.core] Watchdog restart of Home Assistant failed!
Nov 24 04:32:07 raspberrypi addon_a0d7b954_nodered[15611]: 24 Nov 04:32:07 - [info] [server:Home Assistant] Connecting to http://supervisor/core
#

and then [info] [server:Home Assistant] Connecting to http://supervisor/core gets spammed a lot, possibly cause it can't connect to the server

#

grepping for ERROR, I also found Nov 24 04:01:25 raspberrypi hassio_supervisor[15611]: 22-11-24 04:01:25 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available, and also a bunch of Nov 22 22:07:17 raspberrypi hassio_supervisor[1384]: 22-11-22 22:07:17 ERROR (MainThread) [supervisor.dbus.network] Error while processing /org/freedesktop/NetworkManager/Devices/21: The name org.freedesktop.NetworkManager was not provided by any .service files (but the last one was from when homeassistant was still running I think)

#

not sure if its relevant

storm sluice
#

exec format error usualy means the thing it tries to run is in a foreign binary format or something along the lines, could also be a malformed shellsript or something

#

what does uname -a return?

potent flower
#

on the host?

storm sluice
#

yeah

potent flower
#

Linux raspberrypi 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux

#

hmmm, I think I did select something like raspberry-arm64 or something similar when I ran the supervisor install wizard, but I remember seeing something similar to armv7 as well

#

when I ran

wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb
storm sluice
#

yeah thats probably it

#

what are the other images named like?

potent flower
#

hmm, let me check

manic bane
#

Wait you're running supervised on a Pi. Why not HAOS

storm sluice
#

yeah no idea

potent flower
manic bane
#

Then you're not meeting the requirements for supervised

#

And things can break due to that

potent flower
#

what do you mean?

manic bane
#

Supervised you must meet the requirements as specified by the ADR

#

Which you would've read before installing I hope

potent flower
#

possibly, but its been a few years tbf, so I'm not sure 😅

manic bane
#

If you haven't kept all the versions exactly as specified then things may break

#

Welcome to a difficult to manage installation

#

Better off running container and installing add ons yourself through docker containers

potent flower
#

hmmm, yeahh...

#

is it possible to migrate my db/data/addons into the container version?

#

without having access to the ui to do the backups i mean

#

or would I have to reconfigure everything?

manic bane
#

You will want a backup

crude inlet
#

Yeesh this is still going on

manic bane
#

Since you should be backing up off the device right? 😂

manic bane
storm sluice
#

its realy useless, why is it even there?

uneven merlin
#

because the devs tried to remove it and everyone lost their minds

storm sluice
#

i mean if you are not allowed to run other stuff, how is it any better than homeassistant os

potent flower
crude inlet
#

The other things about your install choice @potent flower is that it's hard for anyone to help unmuck it or advise for it

manic bane
#

It works if your hardware is too old to support uefi. But at that point just use a pi or docker

potent flower
#

I suppose I can't make a new backup without the UI running?

manic bane
#

You wouldn't want to if your core is fucked

potent flower
#

yeah, makes sense...

manic bane
#

And we don't know whether it's the supervisor breaking the core. Or core broken itself

storm sluice
#

so what is the image name of the running supervisor?

#

and what is the image name of the homeassistant container that docker has pulled?

#

if it failed with that exec format error that might indicate it is trying to run an image from the wrong architecture

potent flower
#

ahhh yeah, I was running through my search history trying to remember where I did see that screen

#

on the containers, they are all armv7 though

#

I remember running a command, and a blue DOS screen appearing with a fullscreen prompt to choose a architecture, or something like that

#

it had options with various raspberrypi variants

storm sluice
#

try dpkg-reconfigure homeassistant-supervised

potent flower
#

ahhhh, yeah, that was the screen

#

I chose raspberrypi4-64, which I think its the correct one

#

it doesn't have any armv7 like I had imagined though

storm sluice
#

the kernels arch is armv7 thats 32bit

#

so i asume youd select the raspberrypi4 non 64bit option

potent flower
#

hmmmmm, that could be the problem...

#

let me check

potent flower
storm sluice
#

can you which image it tries to start?

potent flower
storm sluice
#

can you see which image it tries to start

maiden bone
#

I need help.

#

how assistant keeps staying on the Preparing home assistant screen

#

I am trying to run home assisstant on a Window computer with Virtual box

storm sluice
potent flower
maiden bone
storm sluice
humble scaffoldBOT
#

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

storm sluice
potent flower
#

not sure what I should be looking for on that 🤔

storm sluice
potent flower
#

ahhh, thats what you mean

#

yeah, thats weird... 🤔

storm sluice
#

look at /data/homeasssitant.json it probably still lists that

maiden bone
maiden bone
humble scaffoldBOT
#

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

potent flower
#

inside it it does have "image": "ghcr.io/home-assistant/raspberrypi4-64-homeassistant" which I think is what you were referring

maiden bone
storm sluice
storm sluice
potent flower
#

on the host if I do cd /data it returns that the folder does not exist...

storm sluice
#

did you say you find the homeassistant log there?

potent flower
#

ahh, I do have a /home/homeassistant/.homeassistant/, but I'm suspecting that is an old installation, as the files are from 2020

potent flower
#

also, all the configs files there seem to be the ones I had, so I think that path is the right one

#

(the one inside the docker image I mean)

storm sluice
#

yeah doesnt matter, either try changing the image in that file or just rename the whole file

#

and then run core rebuild command from the hassos cli

humble scaffoldBOT
#

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

potent flower
storm sluice
#

yeah

storm sluice
potent flower
maiden bone
manic bane
#

*easier

storm sluice
potent flower
storm sluice
#

yeah

potent flower
#

hmmm, it just returned Error: Unknown error, see supervisor

storm sluice
#

check the supervisor logs then

potent flower
#

yeah, latest logs still refer to the 64 version

#
22-11-24 06:19:45 INFO (SyncWorker_5) [supervisor.docker.interface] Cleaning homeassistant application
22-11-24 06:19:45 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-11-24 06:19:46 INFO (SyncWorker_7) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2022.11.3
22-11-24 06:19:46 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-11-24 06:19:51 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
#

those are the last lines

storm sluice
#

maybe try restarting the supervisor

#

maybe it reads that file only on startup

potent flower
#

restart the supervisor and run the core rebuild again?

storm sluice
#

yeah or see if it does something on its own

potent flower
#

after restarting

22-11-24 06:22:42 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
22-11-24 06:22:42 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning homeassistant application
22-11-24 06:22:42 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-11-24 06:22:43 INFO (SyncWorker_2) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2022.11.3
22-11-24 06:22:43 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-11-24 06:22:48 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
22-11-24 06:22:48 ERROR (MainThread) [supervisor.homeassistant.core] Watchdog restart of Home Assistant failed!
#

gonna try rebuild it

#

hmmm, same Error: Unknown error, see supervisor error, and on the logs

22-11-24 06:23:54 INFO (SyncWorker_3) [supervisor.docker.interface] Cleaning homeassistant application
22-11-24 06:23:54 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-11-24 06:23:55 INFO (SyncWorker_4) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2022.11.3
22-11-24 06:23:55 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-11-24 06:24:00 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
storm sluice
#

odd does the file still read the same

potent flower
#

hmmm, thats weird, homeassistant.json came back to the -64 image

#

it seems to revert back to the 64 when I run ha core rebuild

maiden bone
#

home assistant keeps staying on the Preparing home assistant screen. I am trying to run home assistant on a Window computer with Virtual box.

#

Can someone help me

storm sluice
#

can you look at the top of /usr/sbin/hassio-supervisor? it should have to host path to the main config file

#

just to check that that reconfigure actualy changed the values

#

somewhere in that path should also be the homeassistant.json, so we know where to change it on the host

maiden bone
storm sluice
robust cairn
#

can take up to half an hour

maiden bone
potent flower
storm sluice
#

first id check that the main config file that the hassos-supervisor script reads actualy has the correct values now

maiden bone
storm sluice
maiden bone
#

errors are the red ones right?

#

what do I do with this stuff?

potent flower
storm sluice
#

no the one that the hassio-supervisor script references

#

no idea what it is called

potent flower
#

ahh, I see, on /usr/sbin/hassio-supervisor I saw a CONFIG_FILE=/etc/hassio.json, inside that json I have

{
    "supervisor": "ghcr.io/home-assistant/armv7-hassio-supervisor",
    "machine": "raspberrypi4",
    "data": "/usr/share/hassio"
}
storm sluice
#

ah cool so that seems correct

potent flower
#

the homeassistant.json is inside /usr/share/hassio then

storm sluice
#

try systemctl stop hassio-supervisor; that should hopefully also stop the supervisor container

#

and after that is stopped id try just renaming that homeassistant.json and then systemctl start hassio-supervisor and see what happens

storm sluice
near bough
#

Hello everyone, I'm new to Home Assistant. I just installed it for the third time on a Raspberry Pi 3b with the same problem. It all seems to install correctly, and allows me to setup an account and log back in. However, NONE of my 62 devices show up.

potent flower
storm sluice
#

does it still try to run the wrong container?

near bough
#

If this is not the right place to talk about my issues, please let me know.

grand pivot
#

What devices? And where are you looking for them?

potent flower
#

youre a life saver dude, thanks a lot!!

storm sluice
#

check that you can make a backup now

potent flower
#

i'll probably check the other install methods tomorrow to try to migrate it

#

is it normal that the full snapshots are like, 16mb?

#

I thought they would be a lot bigger

storm sluice
#

depends on your installation

#

anyhow iam off to bed

potent flower
#

I see...

#

well, have a good one, and again, thanks a lot for all the help!!

lime shuttle
#

My timezone is not available (Australia/Adelaide). How can I get it added? (This is using the docker install.)

humble mirage
#

You'd need to open an issue about it, though it'd have to first be in the upstream package HA uses for timezones

grand pivot
#

is there not another city in the same time zone?

robust cairn
#

not in the list, checked it before a second, +10:30 is not avaible

humble mirage
#

That seems to support Australia/Adelaide though

lime shuttle
#

We regularly get this in embedded devices.. +0930 / +1030

#

Only one of two half hour time zones... didnt show up in the initial config.

humble mirage
lime shuttle
#

No.. been this way forever

#

Australia/Darwin is +0930 , but doesn't change for Summer time.

#

It is in the Linux timezone file.

#

I'm now wondering how many Home Assistant installations there are in Adelaide.

#

(Its the State capital.)

humble mirage
#

So, I just set up a new HA instance, and the timezone shows during onboarding

#

Shows after too

lime shuttle
#

Ok.. I will check again.. didnt appear for me. (Usually at the top of the Australia list 🙂

#

Might be a couple of hours...

humble mirage
#

In onboarding it's near the top of the list, after it's not since it sorts by timezone offset as shown

lime shuttle
#

If you are using tzinfo then I'm confident it will be there.. (yes.. I am going through onboarding)

#

Thanks

tiny heart
#

Hi, I've got a question. Ive build with NGINX a reverse proxy a connection to my HA installation with a LetsEncrypt certificate. Once I got to the login screen where I enter my credentials. Once it is done, I get the message: Unable to connect to HA. Retrying in xx seconds. -> nothing happen after that. Does anyone has an idea whats wrong? Did I miss anything in the configuration?

#

connection with the IP address from the local network, works

manic bane
humble mirage
tiny heart
#

The Proxy is trusted ```trusted_proxies:

  • 192.168.1.23```
#

I'll check the sockets

manic bane
#

And the ngnix host is definitely that same IP?

#

Any errors in the logs for core showing why it doesn't work?

lime shuttle
#

@manic bane .. no you're right. I ignored 470,000 people.

manic bane
#

😂😂

#

Honestly SA as a whole doesn't really matter, so it's all good 😋

lime shuttle
#

@manic bane That could be 200,000 installations (given 2.3 people per household). Marketing opportunity?)

tiny heart
humble scaffoldBOT
#

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

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

humble mirage
#

Share your NGINX config ☝️

tiny heart
#

The 192.168.1.29 is the HA installation and not (atleast) the NGINX proxy

#

I assume that it is correct, why? When I change the IP:Port to my synology I can access it

humble mirage
#

I'm not seeing a proxy_pass line

tiny heart
#

to be honest, I used the Nginxmanager for the Reverseproxy and made a 1:1 copy from my Synology Proxy which is working 🙈

obsidian badger
#

Any difference between SSD drives for use with HA on a raspberry pi 4? or will anything do?

obsidian badger
#

Also what sort of installation is reccomended on a pi4? it seems you can do OS container and core

#

I am mostly using it for energy usage monitoring, and smart control of devices

brazen herald
#

If you're not familiar with running docker containers and not ready to learn that, go with HAOS, otherwise go with containers

obsidian badger
#

If I'm willing to learn that, will containers enable me to do everything thats missing from not going HAOS?

humble mirage
#

Yes, and more

obsidian badger
#

Fantastic

humble mirage
#

HAOS is an appliance like setup that uses add-ons to provide other software (modified Docker images basically)

#

Container means you get full control to do whatever you want

obsidian badger
#

Oh I see, so each container would could serve a similar function to the addons?

humble mirage
#

Yes

obsidian badger
#

mqtt server as a container, vscode container etc

#

Thats great, I love that.

#

Would the pi be capable of running many containers like that alongside HA?

humble mirage
#

Depends on the Pi

obsidian badger
#

pi4 4gb

humble mirage
#

RAM is likely to be the biggest issue

obsidian badger
#

Ah, I dont have the 8gb sadly

humble mirage
#

I would say use Docker Compose - it'll make your life easier long term

low notch
#

stay away from bigger images (code server et al.) and you're fine

humble mirage
#

If nothing else you get a YAML file describing your container configuration that you can trivially back up

obsidian badger
#

I will do

#

Does this cover everything I need?

humble mirage
#

Largely, yes

obsidian badger
#

Thank you

humble mirage
obsidian badger
#

I'll give that a go then come back if I run into any problems

humble mirage
#

Oh, do give thought now to how you're going to do backups

#

It's really un-fun to think about that after you've lost everything

obsidian badger
#

Do you have any recommendations on that?

royal robin
# royal robin You know what - the logs are indeed loading from the add-on tab, but they are ta...

For a bit of wrap up, the reason my supervisor logs were so slow is tied up with this: https://github.com/home-assistant/operating-system/issues/1743 and fixed with https://community.home-assistant.io/t/supervisor-logs-extremely-slow-to-open/344375/22
...specifically, adding usb-storage.quirks=174c:55aa:u to /mnt/boot/cmdline.txt to disable UAS for this USB SATA adapter. Weirdly, it benchmarks a bit slower now, but it works 10x faster so 🤷

humble mirage
brazen herald
#

Step 1: make backups
Step 1.1: Get it off the device the backup is made on

royal robin
#

The Google Drive backup add-on is very easy to use and reliable. Probably a good starting point.

humble mirage
#

If you use HAOS, but lots don't 😉

royal robin
#

Very true

humble mirage
royal robin
#

One might argue that it's not a backup until you've tested it too... 😉

humble mirage
#

Very true... but baby steps ablobjoy

#

The number of people who come asking how do I restore my backup is worrying, but less worrying than those that ask how to recover with no backups

royal robin
#

My worry is that I've now got two unofficial changes in HAOS which I've got to remember to put back again when/if I ever rebuild from backups. The challenge is remembering this...

plucky schooner
#

Hi Thinker, continuing yesterday "Season" 😅 , today shows an HA Update and start getting problems with name resolution
http://pastie.org/p/0IOx8sOfNcnOAYnAfKkWQo

Seems i get some problem with resolution hostname.
seems /etc/resolv.conf file just have "# Generated by NetworkManager
"
is suppose filled with something?

humble mirage
royal robin
# manic bane What are your changes?

A static route (amazingly, you can't do this through the UI) and the above-mentioned change to disable UAS on my SSD interface. The former would be tricky to workaround, and the latter would require me to buy a different USB/SATA interface cable which I'm too tight to do 😄

manic bane
#

Why do you need the static route for

royal robin
#

My cameras sit in a subnet behind the NVR, on the built-in PoE ports. Previously, I was just using the NVR-provided streams, but with Frigate I'm now using an additional substream to get 720p, 10fps video to use for object detection on the RPi. Unfortunately, the only way to access this is straight through the NVR to the cameras, using their subnet.

#

(and because the NVR is on the same network as the HAOS box, it's a bit of a messy thing to do on the router)

#

(aka it won't let me 'cos it sucks 🙂 )

low notch
#

rtspproxy at the edge?

royal robin
#

Sure, but would need somewhere to run that and I'm trying to keep my infrastructure footprint down. A static route is cheaper 😉

#

I'm still impressed that the RPi will do Frigate detection on 6 x cameras @ 720p using about 30% CPU, and this is even without hardware video decoding (which is currently b0rked on the RPi), albeit with a Coral to offload the object detection element.

low notch
#

ok

royal robin
#

To be fair, there was a recent change to HAOS so it wouldn't flatten manual network changes every time you used the UI, but would rather merge them in, so it should be a pretty safe change. Prior to this, I think any change in network settings would overwrite the whole lot.

plush marlin
#

Is there a way I can force restart my HA instance? Supervisor is hanging and a load of stuff seems to have failed, but i cant restart anything as im getting 22-11-24 14:32:15 ERROR (MainThread) [supervisor.utils] Can't execute restart while a task is in progress

hexed mirage
#

switch off and on!

plush marlin
#

just done that and now it wont even boot

hexed mirage
#

on PI? have you connected the monitor and see the boot messages?

plush marlin
#

and its in a rack way out the way, no monitor

hexed mirage
#

you have loaded in a VM or direct ? if direct, then nothing you could do - either wait for magic to happen or the usual painful process, attach mon, replace ssd.....

plush marlin
#

Its HAOS

#

OK i got it back, but still getting this error when i try and do backups Creating a backup is not possible right now because the system is in startup state.

#

its like something in the system just permantly hangs

humble scaffoldBOT
#

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

broken fossil
#

Hey! Here is a probably very simple problem.
I just installed HAOS bare metal, and imported my backup from my old HA Supervised from first a Pii and then a Docker.
The problem is that all the addons are not able to start, all the logs from the addons says they started and everything is fine, but when i try to launch addons such as "Studio Code Server" it says to start the addon first, and under addons they are all gray, and nothing happens when i click "start".
I am probably missing something very basic about HAOS 🙂

summer fjord
#

hey all just I have the HAOS vmware up amnd running for serverl months now, all find and dandy

#

but looking to add some simple face detection stuff

#

few questions, can you add face detection as an addon, or does it have to be in a docker ?

humble mirage
#

HAOS ... you don't get "docker"

#

So, add-on or bust (or on a separate computer)

summer fjord
#

is there a good face detection addon ?

#

I looked though the hacs and adoons and cant find anything

broken fossil
summer fjord
#

@broken fossil on your addons do you see the install/uninstall on the right side of the addon screen when your viewing the addon

humble mirage
broken fossil
broken fossil
summer fjord
#

try uninstall and reinstall it

#

maybe it got messed up

humble mirage
broken fossil
summer fjord
#

its grayed out ?

broken fossil
#

start is blue, but all addons under the addons page is gray, because it thinks they are not started. but when i check the logs under each addon they are as if they are started.

summer fjord
#

when you click log what you see ?

#

can you uninstall

#

then go to addons

#

and then search and add it that way?

#

reselect it from the addon store that is

broken fossil
summer fjord
#

I am running the HAOS vmware on windows

#

if you install from a backup, are both images the same ? file locations, etc

maiden bone
#

Can someone help me?

#

home assistant keeps staying on the Preparing home assistant screen I am trying to run home assisstant on a Window computer with Virtual box

humble mirage
#

Click the blue circle

maiden bone
#

I did

#

want me to copy and paste the stuff?

humble mirage
#

Then you should have some logs you could share

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.

#

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

humble mirage
#

Well... almost

#

That looks ... like it's not got any further yet

humble scaffoldBOT
#

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

humble scaffoldBOT
#

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

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

humble mirage
#

Please, use a code share site

maiden bone
#

ok

humble mirage
#

What time is it with you? About 23:21?

maiden bone
#

It's 1:21 PM EST.

humble mirage
#

Well, every time you paste the logs you paste a few more lines

#

Is that because they're getting added as you're doing this?

maiden bone
#

idk

humble mirage
#

You don't know if you're selecting all the logs or not?

maiden bone
#

My virtual box was off... lol

#

hold on im gonna turn it on

#

but I waited like 1 hour last night and it kept doing that.

humble mirage
#

22-11-24 13:25:24 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-supervisor with tag 2022.11.2.

#

But I also see

fatal: unable to access 'https://github.com/home-assistant/addons/': Could not resolve host: github.com
which points to DNS/networking problems

maiden bone
#

how do I fix that?

humble mirage
#

No idea, you'll need somebody who runs HAOS to help you here

storm sluice
#

can the host resolve anything?

#

how is your network configured?

maiden bone
manic bane
#

More than likey just have to define 1.1.1.1 or 8.8.8.8 manually on HAOS

maiden bone
manic bane
#

I don't know. Like tinkerer I don't use HAOS

#

And even when I did it worked perfectly anyway

maiden bone
#

I saw something saying to do this

restart your router / restart hassio and try again.```

Do you know how to do that? @manic bane
storm sluice
#

do you use pihole?

manic bane
#

Yeah do you have a PiHole instance and does your router have anything other than itself under DNS

maiden bone
#

no

#

also so I accidentally deleted home assistant when I cleared everything off my pc so thats why I am doing this again. It was something with DNS last time. this is what I was told to do.

#

Do you know what the XXXXXX would be in that?

grand pivot
#

Whatever the result of the previous step said

maiden bone
#

wym?

grand pivot
#

?

#

You pointed to a sequence of commands

maiden bone
#

yeah

#

what would the XXXXX be in the second command

grand pivot
#

Did you actually follow them?

maiden bone
grand pivot
#

Sigh

maiden bone
#

sorry i am new to all of this

maiden bone
#

can someone help me

storm sluice
#

what do you need help with?

maiden bone
#

read above ^^

storm sluice
#

run the first command, see what name the connection has and use that in the edit command..

maiden bone
#

The stuff that comes up is this:

NAME UUID TYPE DEVICE
Supervisor enp0s3 81c9eca4-56ab-3b40-8870-42dd2705173a Ethernet enp0s3

#

What do I put in the XXXXX

storm sluice
#

the name of the connection

maiden bone
#

Supervisor enp0s3?

maiden bone
storm sluice
#

it doesnt say anything about default in the output

#

try nmcli edit "Supervisor enp0s3"

maiden bone
#

it says to add default into it

maiden bone
storm sluice
#

pretty sure thats required as the name contains spaces

maiden bone
#

Tried it with "" in it and it keeps saying argument 'edit' not understood. Try passing --help instead.

storm sluice
#

oh its nmcli con edit ..

maiden bone
#

that worked! let me reboot and see what it does!

maiden bone
manic bane
#

Actually, maybe it is supervisor

#

Which is weird

storm sluice
#

again does resolving names work on the vm?

#

what is the dns server that got configured? can the vm actualy reach it?

maiden bone
#

like the numbers?

#

8.8.8.8

storm sluice
#

whats in /etc/resolv.conf ?

#

and what does systemd-resolve --status output as the used nameservers?

maiden bone
#

How do I find that stuff? @storm sluice

storm sluice
#

cat /etc/resolv.conf

#

and just run systemd-resolve --status

maiden bone
#

do I type that?

maiden bone
storm sluice
#

look at what it outputs

#

see what the dns server is it tries to use

maiden bone
storm sluice
maiden bone
#

it says

Address: 192.168.1.1:53

Non-authoritative answer:
Name: google.com
Address: 192.168.1.1:53

Non-authoritative answer:

Name: google.com
Address: 2607:f8b0:4008:80a::200e```
storm sluice
#

so it can reach the dns server

maiden bone
#

what do I do now?

storm sluice
#

not sure, dns seems to work, but it looks like it failed to download the images, maybe something blocks its http connections?

#

how is the vms networking configured?

#

and do you run some sort of firewall software on the windows computer?

maiden bone
storm sluice
#

in virtualbox

#

no idea where thats at, have not used virtualbox in over a decade

maiden bone
#

where in virtualbox?

#

ok

#

let me try and find it

#

what is it excatly that I am trying to find?

storm sluice
#

what type of networking does it use?

maiden bone
#

ethernet

storm sluice
#

should be bridged to a ethernet adapter

maiden bone
storm sluice
#

and the target is an ethernet adapter?

#

not wifi or something?

maiden bone
#

yeah

storm sluice
#

as that doesnt really work i think

maiden bone
#

what do I do now?

storm sluice
#

not sure. seems like something blocks its connections or something

manic bane
#

VirtualBox on windows with networking can always be a little iffy

#

Is there a reason you're running it on windows @maiden bone

maiden bone
storm sluice
#

but other vms work fine?

maiden bone
signal copper
manic bane
maiden bone
maiden bone
#

Can someone help me

manic bane
manic bane
#

No. I don't use VirtualBox or HAOS lol

maiden bone
#

ok

signal copper
# maiden bone How do I do that?

I'm not at my PC to check but I believe in HyperV manager got to setting, network adapters maybe switches, then create new, then change internal network to external, give the switch a name and save

#

It's not actually all that hard to do if you go to the settings on your VM in hyper V manager and just look around, I had never used hyper V before I was able to figure it out, it's really simple. Just look around until you find it, if you still haven't found it when I'm back at my PC tomorrow I'll have a look for the exact setting

manic bane
formal rampart
#

hii

eternal marten
#

I have setup RPi 3B and running HAOS from SSD without SD card. I will get RPi 4 soon, what is the best process to move to better hw? Backup and then reinstall HAOS to SSD and then restore from backup?

indigo lotus
#

I just moved my HA from a pi to NUC. i just installed Home assistant on the NUC and did a full backup.. No addons wanna start

#

Integrations works.. but addons just wont start. All addons, even new ones if i try and install

zinc vale
#

Hi Guys! I have a problem. I got a "unhealthy system" message that leads to a wiki page that says try reboot or dbus. Mine is not dbus.

What can I do to fix the issue? I have tried rebooting a couple of times.

Im using a pi4 with HaOS on a sata ssd

eternal marten
halcyon bough
#

Hi guys !
I'm discovering Home Assistant and I installed it via a VM on a QNAP Nas with the ova image available here: https://www.home-assistant.io/installation/alternative
VM launches fine but I get stuck on "Preparing Home Assistant" on web interface http://192.168.XXX.XXX:8123/
When I type in the ha console :

ha > supervisor log
[...]
INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-supervisor with tag 2022.11.2.

ha > supervisor update
Error: Update of Supervisor failed: Can't fix start tag: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/amd64-hassio-supervisor:2022.11.2/ json: Not Found ("no such image: ghcr.io/home-assistant/amd64-hassio-supervisor:2022.11.2: No such image: ghcr.io/home-assistant/amd64-hassio-supervisor:2022.11.2" )

Any idea what's going on?

mighty mango
#

My homeassistant seems to be stuck on the preparation phase as its been like this for 30min +

#

Any way to troubleshoot? I feel like it might be related to the network

nocturne kindle
#

may i ask what was changed as my zigbee 3.0 stick suddenly stopped working after core update ?

humble mirage
#

You probably wanted #zigbee-archived - but if you use HAOS check that the stick is still detected

nocturne kindle
#

i'm using serial by id and now herdsman won't start

#

ahh sorry Tinkerer

humble mirage
#

That sounds like Zigbee2MQTT

#

That is completely untouched by Core updates

nocturne kindle
#

well was working fine until supervisor bug and core update

#

Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)

humble mirage
#

The Core update can't have impacted Z2M

nocturne kindle
#

yeah i'll move there...sorry

maiden bone
maiden bone
#

I tried deleting home assistant and virtual box and then downloading it again and it still isnt working

loud hedge
#

Hi, I bought off Amazon UK a frient zigbee energy monitoring plug but for some reason I cannot find it in my HA, I'm using deconz

grand pivot
loud hedge
#

Thanks

fleet anvil
#

Hi. I feel like this is a dumb question but i cant get a straight answer. I would like to run home assistant, scrypted, homebridge and plex on the same machine. I tried installing supervised on debian 11 and then added my other apps. Now HA says it doesn't like that and wont let me use add-ons. Would the OS fix this issue?

#

probably answered somewhere up top but search doesnt give a concrete answer

low notch
#

what keeps you from running container?

#

to answer your question; no. haos will not like foreign containers either

fleet anvil
#

im very new to all this

#

literally just learned what ssh was like 48 hours ago

low notch
#

apparently you know your way around docker ?

fleet anvil
#

i just wanted to have all my apps on one machine

crude inlet
#

"Container" is where you manage Docker and the containers, instead of the supervisor managing them as add-ons

fleet anvil
#

So i would add addons through docker instead?

crude inlet
#

they wouldn't be "add-ons" anymore. Just regular containers

#

and yes

#

You add and manage all your own added software and servers

#

And there wouldn't be any limits

fleet anvil
#

alright. so lets say i want the google chrome backup add-on and samba addon. there is a docker container version of this i can grab somewhere?

crude inlet
#

not the google drive backup add-on as that's more specific to an install using add-ons

#

samba would just be a service on your installation of debian

#

you wouldn't need an add-on for that. HA OS needs it as an add-on because you can't add packages to HA OS

fleet anvil
#

so i just go into my server and install it there outside of docker/ha/etc

crude inlet
#

yes

fleet anvil
#

okay easy enough. thankyou.

#

just need to figure out a way to make backups now

#

ideally would like to just automate and send to my personal computer

#

knowing myself ill probably need them once i break something soon

crude inlet
#

You would mainly use Docker for a container for each server you want: HA, Plex, Scrypted, etc

fleet anvil
#

^ this i do have set up and running now. everything works fine. just HA isnt happy about the other stuff.

maiden bone
#

Can someone help me? my home assistant is stuck on the Preparing home assistant screen. I am running home assistant on a Windows 10 using Virtual box.

All of the logs are here ----> http://pastie.org/p/4mkaIpbbq4W4hyCbZJQoVs (logs updated at 3:00 PM EST)

humble mirage
crude inlet
#

If you are running "supervised", the supervisor expects to manage everything

fleet anvil
#

Oh i see. Should i run just core instead?

humble mirage
#

Well, Container

crude inlet
#

What was described just now

humble mirage
#

The sane choices are HAOS (you "only" get add-ons) or Container (no add-ons, run the containers you want)

crude inlet
#

Start over, install Docker, ignore the instructions for supervised.

fleet anvil
#

Alright will do. Thank you guys.

#

Last question. Anywhere i can go to learn or watch guides on how to use (not) “add-ons” with this?

humble mirage
#

Well, it's all just Docker at that point

#

So... if you want to know how to use Samba, that's not HA specific

fleet anvil
#

Honestly just need to find some solution to keep backups and im set

humble mirage
#

I'd suggest if you want to do it all in Docker you look at restic

fleet anvil
#

I know its not an addon i just dont know what else to call it

humble mirage
#

If you don't, look at rclone and rsnapshot

low notch
#

you can learn how to handle such things by learning how to docker compose quite fast

fleet anvil
#

Alright thank you guys. Really appreciate the help.

humble mirage
#

Honestly, Docker is easy if you take a little time to do some learning, and there's lots of Discords that can help - including this one obviously

maiden bone
fleet anvil
#

There is a lot of info out there though which makes it easy

#

Just hard to know what the right choice is when you have so many

humble mirage
#

I'm no dev either, and I learned Docker 😉

#

Heck, I learned how to build my own containers... if I can, you can too

fleet anvil
#

So theres hope for my old ass!

#

Awesome man

humble mirage
#

If you're under 60 you're not old yet

#

If you're over 60 you're just "experienced"

brazen herald
#

If you're able to look at a problem and accurately describe it, you're about 10 steps ahead of many folks 😉

maiden bone
#

(yes I found an old raspberry pi)

brazen herald
#

A Pi 3, or a Pi 3b? 😬

#

It's not stopped at the end of your logs

viral rain
#

Hello all, can I install this as a multi-homed device? My HAN network exists on a separate subnet from my my normal home based traffic. As they are on seperate fire/routers there is no direct route between the 2

leaden kindle
#

I got an amcrest dopr bell and tried to integrate ot with my indoor but I can't get it to chime inside does anyone know of an alternative?

maiden bone
brazen herald
#

Are you trying the OS install and are you trying 32 or 64 bit?

maiden bone
#

Do you think I may need the 32 bit?

brazen herald
#

No, you should use the 64bit as long as you can

#

But I don't understand your problem, there are some errors but the install is proceeding anyway

maiden bone
#

Do you think it may be the computer?

brazen herald
#

I don't think you have a problem

maiden bone
#

It keeps giving errors and it’s been over 1 hour tho

brazen herald
#

Well, that's what you get for using a Pi, especially a 3 🤷‍♀️
The slower a device is, the longer the install will take.

placid sage
#

Best route for Pi 4B 8GB with Ubuntu Server 22.04 64bit and NVMe (via USB): containers / without containers. Mainly for home automation

brazen herald
maiden bone
#

It says it should take less that 20 mins tho

brazen herald
#

Well under ideal cistumcstances, it ought to.

#

But without knowing the network setup (speed and wifi/ethernet), and the latest logs it's hard to say what anything is doing.

placid sage
#

If I connect to home LAN from WAN using VPN are there any other major security aspects I should be looking into while setting up? (mainly in linux side)

brazen herald
#

That's rather out of scope for this channel, and to an extent this Discord.

placid sage
#

Thanks, I'll try to find my way. Bit new into Discord.

brazen herald
#

If it's about HA: it's relevant to this Discord, you just need to read the channel descriptions and find the right one. If it's not about HA: You may have luck in #the-water-cooler, if not try finding the appropriate subreddit or similar 🙂

brazen herald
#

You have network issues, it can't access github

maiden bone
#

How do I fix that?

brazen herald
#

Change your DNS settings to 1.1.1.1 and/or 8.8.8.8

maiden bone
#

Ok!

brazen herald
#

And restart the installation too

maiden bone
#

Like reboot it all after its changed?

brazen herald
#

Turn it off, flash the SD card again, and plug it back in is my recommendation. Though just rebooting it might do it

maiden bone
#

I'm gonna wait like 10 mins and tell you if it worked or not.

gaunt condor
#

HomeAssistent isnt working on my side, if I install it and when i browse <IP>:8123 then I get connection refused.. I work with a Docker container

#

I got a raspberry pi1b and I know that it can work

low notch
#

no it cannot

#

pi1b has a mere 512mb ram, thats what ha container itself currently requires

brazen herald
low notch
#

I mean, if you clean out a lot of raspbian poop you might get it to run somehow but that is far from great

gaunt condor
#

hmm

#

which rpi do you prefer? 4 or 4b

low notch
#

the one you get for cheaper

brazen herald
#

Which nowadays is pretty much "any PC but not a Pi"

grand pivot
#

if it must be a Pi, then one with >2GB of RAM

#

or one with pecans in it

#

that's more for an eating pie

#

than a computing pi

low notch
#

last time i tried such adventure on pi 1 it took 2,5 hours to onboarding page. (without dns problems lol)

brisk willow
#

I'm more of a fan of pumpkin myself

brazen herald
#

I'm an apple or cherry girl personally.

grand pivot
#

all cheaper and more readily available than the computing Pis

brazen herald
#

Mmmm, pie with custard... now I know what I'm eating all weekend. Thanks Rob 😛

grand pivot
#

I'm hungry, so that's what you get

maiden bone
brazen herald
#

Same error as before, but asking me is not a great idea. It's 11:30pm my time and I have flu 😉

brazen herald
#

Honestly a Pi 3 is not going to be a great experience, a 3B is going to be ok, a 3B marginally better. A 4B is going to be "good enough to get started and possibly stick on for a while"

#

Try using an SSD to boot from which will avoid SD card corruption and remove the possibility of it running out of memory to install on. That might work

gaunt condor
#

ahh kay

#

for the better use a old laptop

brazen herald
fleet anvil
#

should i expect any issues saving a backup in supervised HA to dump into a fresh install that isnt supervised?

#

not sure if that would affect anything

brisk willow
#

well you won't be able to directly restore the backup on a non-Supervised HA install. you'll need to extract the config from the backup and copy it to wherever you want your HA config to be

dusty sparrow
#

I have the 'cant upgrade bug' and my install is a VM but the instructions talk about a USB key to add my ssh key... login via the web ssh just fails when typing login. Any help appreciated.

grand pivot
#

Use your VM console

dusty sparrow
#

holy crap i'm dumb thx ;0

dusty sparrow
#

weird, says updated but doesn't seem to have :()

feral shoal
#

Hi, I lost access to my HA install while I'm +10K km away so I'm a bit in a pickle. It all started when I wanted to upgrade a whole bunch of add-ons, as well as the Supervisor. None wanted to upgrade, all just kept spinning. A soft reset of HA didn't help. So I finally decided to do a full remote initiated HA Raspi reboot. Alas, no access anymore. Seems nothing is running as my Zerotier direct reverse-proxy add-on is also not running. Anything I could do remote? Or just wait till I'm back home? Access to my ssh is also not responding ... I was on the Beta channel so I most likely have an affected Supervisor version...

low notch
#

10000 km ?

tardy holly
#

musta been on that rocket 😂

feral shoal
#

yes, I'm in Singapore and the box is in Belgium 😄

#

back in the house on Monday night. But probably more zombie than human due to jetlag