#installation-archived

1 messages ยท Page 32 of 1

humble mirage
#

You want at least a Pi3 (and not the shitty one with the 512 MB of RAM) for HA

#

And honestly... it's still not a great choice

raven forge
#

You can sell it or run other stuff like PiHole

languid isle
#

I cant seem to get zigbee2mqtt to work in a clean docker installation. after install of homeassistant, duplicati, mosquitto, Zigbee2mqtt, I get a "10.120.12.200 refused to connect" message

#

cant figure out what is wrong ๐Ÿ˜ฆ

humble mirage
#

As always though check the log file

#

There's a 100% probability that the log tells you the problem

languid isle
#

wheres this log file?

humble mirage
#

In the Z2M config folder

#

(or the docker installation channel of the Z2M Discord)

languid isle
#

right. Thanks. I will go check it right away

frank perch
#

Tink but my rpi runs 1.13 so well

errant wharf
#

I have tried installing Home Assistant multiple times on proxmox using a guide and using the community automatic install script. I have gotten to the web UI but it gets stuck in setup trying to install Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2023.5.3. and retries the download but it never succeeds.

errant wharf
copper steppe
#

It's usually DNS

#

Or network

winter glacier
#

Can i install Homeassistant on the Raspberrypi Image/OS? I wan to install the true VSCODE on the pi, ALSO, VNC Viewer

grand pivot
#

Sure, via docker

#

I hope you have an RPI4 with 4GB+ of RAM. I don't know what you mean by 'true VSCode', but there's no need to run it in a GUI on the Pi

winter glacier
grand pivot
#

They're unrelated

#

Set up VNC separately for whatever you think you need it for

winter glacier
grand pivot
#

VNC has nothing to do with HA

#

you're just talking about running a bunch of things on the Pi, 2 of which are HA and VNC

#

I don't know whether you think you would use VNC to access the HA interface? You wouldn't

#

Rarely do servers require a GUI or VNC

copper steppe
#

@winter glacier what do you mean by "true VSCODE on the pi, ALSO, VNC Viewer"?
Home Assistant is a web-based app, you configure/use it via webbrowser, from wherever.

Are you talking about non-HA usages of the same hardware?

brittle sail
#

iirc it's a stripped down version idk

grand pivot
#

That's not true. It just provides a web interface

#

There's another addon that just provides the server for a native installation elsewhere

winter glacier
crude inlet
winter glacier
winter glacier
crude inlet
#

You are still the host with the addon version

#

@winter glacier it doesn't matter how you install HA. You'll always be accessing the UI through a web browser. Whether that's from desktops, laptops, phones, or tablets doesn't matter

#

Containers are apps, but isolated from each other. HA's Add-ons are containers. They are installed on the same host.

winter glacier
copper steppe
#

with all due respect, if you're asking that question, you're not ready for HA in docker.

#

HAOS is not a general purpose OS, it's really cut down and just for running HA plus the addons (each in a docker container). That being said, there are some apps that you can install as addons, via HA, that may do general "not very HA" things...

winter glacier
copper steppe
#

what do you mean "installed HA on my mac"? you mean in a virtual machine ?

#

(vmware, virtualbox, docker (technically not a vm), etc)

frank perch
crude inlet
#

@winter glacier forget everything you know and assume about HA OS and add-ons, and vscode

winter glacier
frank perch
#

lol

#

this is why I'm a Sith Lord

copper steppe
#

That's not HA. That's a client. Little more than a browser in a wrapper, from what I can see...

ivory fjord
#

Hi. First time installer here. I'm wondering how to install mqqt... but in hind sight I guess I installed the wrong way. via this guide, https://www.home-assistant.io/installation/raspberrypi rather than "supervised" which I'm confused about Do I have to wipe my os or can I nuke docker and reinstall with the supervisor... and I guess. I'm relatively a linux noob. I know enough to use basic command lines, but rely on online guides/handholding. FWIW, I'm on an Orange PI 5 with armbian

#

I don't actually see a guide for supervised, and I just choose the raspberry option because I thought it would be the most comparable.

copper steppe
#

mqtt is an addon, which is another docker container (beside HA itself). Unless you have docker skills, or time to learn, installing supervisord-based solution (without HAOS) is extra work.

brittle sail
#

Armbian isnโ€™t supported, only Debian is, and supervised is not meant for noobs so you shouldnโ€™t use it

ivory fjord
#

I see, you're one of those.

#

no worries

#

I'll figure it out

brittle sail
#

Yikes

ivory fjord
#

But I will install debian instead.

brittle sail
#

Guys who donโ€™t know how to receive help for $500 Alex

ivory fjord
#

No I mean you're basically saying not to do it

#

rather than offfering any solution

red lichen
#

not doing it IS the solution ๐Ÿ˜‚

brittle sail
#

There literally is no solution given your inputs

ivory fjord
#

debian support armbian not.

#

Thank you, I will install debian, I found the github page for supervisor, looks easy enough to follow the guide

brittle sail
#

It will break

copper steppe
#

Dude, unless you need your machine for other things, just install HAOS. So much easier.

brittle sail
#

Itโ€™s meant to be installed by sysadmins only

crude inlet
#

no HA OS image for orange pi

raven forge
#

That leaves docker as next best choice

crude inlet
#

Yeah

ivory fjord
#

so, docker = container but no supervisor support

#

So it's not the best choice

#

I am not following because if you're saying it's the best choice... that's how I thought I installed it according to the guide on the website. But the documentation says its not supported.

#

I'll just wipe and install debian, and follow the git instructions, it looks easy af.

#

I'll let you know how it goes

raven forge
#

Using the supervised installation method will force you to learn a lot so that's good but given its restrictions it has no benefits over HAOS. Due to its requirements and support you will have all the work but it's not really your own so to speak. Given that your hardware isn't supported by HAOS and you insist on having the supervisor you have little choice. Very few will recommend or can help you with it though. See here for installation methods and how they differ: https://www.home-assistant.io/installation/#compare-installation-methods

ivory fjord
#

I just wish the main page was more helpful. It mentions the super visor. But when you watch yt videos people are often talking about installing plugins and stuff, so I woudln't know that I'm supposed to do something different.

#

And would actually assume that was a "core" feature, which I guess it is through the HA OS

grand pivot
#

Can't really control YouTube people

ivory fjord
#

I guess I just don't understand why the supervisor can't be adhoc

grand pivot
#

it's an ecosystem

ivory fjord
#

But docker im my limited understanding can be used to create an ecosystem.

crude inlet
#

That's exactly what was done

grand pivot
#

And it is. With HAOS

ivory fjord
#

So is it just that the HA team doesnt care enough to implement that (and I say care not judgementally) but more like they think it's not so important and people can do otherways

raven forge
grand pivot
#

Sigh

#

Not that at all

#

Buy supported hardware, use HAOS, be happy

crude inlet
#

@ivory fjord you can't stop anyone from copying the ecosystem, so in order to support it, rules and requirements were put in place (debian, for example)

#

The whole "unhealthy"/"unsupported" system exists because of that basically

#

So it checks that a user is staying within the same requirements as the main project

ivory fjord
#

I actually thought about asking here but I got too excited

crude inlet
#

Otherwise, a plain docker install allows you to build your own ecosystem. Find an mqtt broker image, and run that instead of an add-on for instance.

ivory fjord
#

debian install, easy peasy

weak jacinth
#

Hello, Nginx is constantly stopping and I am getting the following error, can you help?

humble scaffoldBOT
humble mirage
inland minnow
#

hey gents good morning

#

I'm seriously thinking about getting rid of my HAOS VM instance, and would rather migrate my HA to a docker container.

#

thing is, no backup restore button or whatsoever is existing in the docker container version

#

I see I'm supposed to move the content of my config folder to my docker container path, but even after a reboot, nothing seems to be back there

#

do someone have recommendations for me to achieve this migration successfully ?

raven forge
#

Yeah you have to restore the data of the homeassistant container manually. Any reason for the switch? How did you create/start the container? Where are you moving the files? Did you stop it before moving the files?

inland minnow
#

hey Impact ! ๐Ÿ™‚

#

well, the reason is I run aLL my other services through docker, and this is the only VM I am running

raven forge
#

I see. Makes sense. I do the same actually

inland minnow
#

also, I plan to eventually lower my power consumption at some point, and i like the fact moving docker containers to a low power consumption rpi instead of my 200W unraid server is pretty easy

#

200W, constantly, represents 600 euros of electricity yearly in Belgium

#

so first step is to get everything to run in docker containers on my unraid server, and later on, I might want to only WOL my unraid server when I actually need it

#

running a script that would wake it when plex, plexamp, or any other power / resource hungry would require it

#

ok so back to the process

#
  1. the folder assigned to home assistant is /mnt/cache/appdata/homeassistant/
#
  1. I copied my whole /config folder from my existing HAOS VM to my unraid server
#
  1. I copied the content of /config folder to /mnt/cache/appdata/homeassistant
#

what you say is I should not start HA docker container first, is that right ?

#

first copy -> then only start the container ?

#

ok doing this now, the docker cotnainers starts by default when using unraid

raven forge
#

Did you copy the hidden . files/directories as well?. I would start the container so it can create folders and such, then stop it and move the data. Maybe clear the folder first.
Make sure to copy the contents of the config folder to /mnt/cache/appdata/homeassistant/, not the folder itself ๐Ÿ™‚

inland minnow
#

I have to check if it is possible NOT to start it

humble mirage
#

Just don't start the container

inland minnow
#

Tinkerer, as I said, thing is, as soon you install the docker container, it starts

#

Is it safe to install it, let it start, stop it, copy the content, and restart it ?

raven forge
#

That's what I would do so it can create the mount point with the right permissions and so on. I don't think this is needed but clear out the contents of the folder after stopping the container to be safe. Also make sure you set the permisisons of the moved data correctly. The official container uses root but linuxserver's does not afaik. Not sure if it chowns itself

inland minnow
#

ok first thing first I made sure to include the . files when copying them using the scp command

#

I installed home assistant

#

I'm running rm -rf * inside /mnt/cache/appdata/homeassistant/ to make sure it is now empty

raven forge
humble mirage
inland minnow
#

yay

#

I agree, but still, it's nice to have on a daily basis

#

now, HA starts, shitload of errors in teh logs, but when I start its webUI, it keeps asking me for a user / pass

#

...

humble mirage
#

It will, you have to log in ๐Ÿ˜‰

inland minnow
#

no, it asks me to create a user, and a password

#

it is definitely not reading the db i fed it

humble mirage
#

Then you didn't copy all the hidden files and folders

#

.storage/ particularly

raven forge
#

ls -lah /mnt/cache/appdata/homeassistant might be interesting

inland minnow
#

hm, I can see two hidden folders that got copied

#

.storage

#

.cloud

humble mirage
#

And in those there should be a load of files

#

Including ones about auth and onboarding

#

It sounds like those are missing

inland minnow
#

what filename am I looking for ?

#

frontend.user_data_818d8cb8f04646b5bb6fdaeb4a1f23f5 ?

#

I have 3 users, 3 of these files

humble mirage
#
auth
auth_provider.homeassistant
onboarding
#

And others, many others

inland minnow
#

all located inside .storage ?

humble mirage
#

Yes, that's what I said before ๐Ÿ˜‰

inland minnow
#

ok let me post the content of .storage somewhere for you

humble mirage
#

After a restore, and before you start it up

raven forge
#

Try these

ls -lah /mnt/cache/appdata/homeassistant
ls -lah /mnt/cache/appdata/homeassistant/.storage
inland minnow
#

I'm pretty sure it is due to the fact the docker container starts right after the install

#

I'm gonna remove it again and use the cli to install it

#

because the files you mention are inside the .storage folder I copied

#

auth, etc.

raven forge
#

Might also be a bad mount point or something. More information needed

inland minnow
#

well, to be honest, SOMETHING is happening, as I can see a lot of little errors in the logs which are refering to some of my automations, devices, etc.

#

so, HA is reading these files

raven forge
#

Share them and the output of the commands above. It might also be a good idea to check the container's logs

inland minnow
#

ok

#

by the way, it is such a pain we cannot simply recover a backup sing the dockerized version of HA ^^

manic bane
inland minnow
#

oh that's a good tip thanks Calme ๐Ÿ™‚

raven forge
#

Isn't this what you've been doing already?

inland minnow
#

I was scp'ing everything !

#

let me move the last full backup and unzip it then

raven forge
#

I'm still interested in the current error logs

inland minnow
#

I'm reinstalling the container again, will stop it as soon it gets installed, and will untar the full backup file

#

no that I have another clean install:

#
root@Tower:/mnt/cache/appdata/homeassistant# ls
automations.yaml  configuration.yaml  home-assistant.log    home-assistant_v2.db  scripts.yaml  tts/
blueprints/       deps/               home-assistant.log.1  scenes.yaml           secrets.yaml
root@Tower:/mnt/cache/appdata/homeassistant# rm -rf *
#

is it safe to simple run rm -rf in that container folder ?

#

move the tar file, and untar it right away ?

#

should I also rm the hidden files ?

raven forge
#

Don't see why not but see my hint above rm earlier

inland minnow
#

rm -rf -- ..?* .[!.]* *

#

right ?

#

๐Ÿ™‚

#
root@Tower:/mnt/cache/appdata/homeassistant# rm -rf -- ..?* .[!.]* *
root@Tower:/mnt/cache/appdata/homeassistant# ls
root@Tower:/mnt/cache/appdata/homeassistant# ls -lahtr
total 4.0K
drwxrwxrwx 1 nobody users 1.7K May 23 10:32 ../
drwxr-xr-x 1 nobody users    0 May 23 10:39 ./
root@Tower:/mnt/cache/appdata/homeassistant# cd
root@Tower:~# cp 44df32ab.tar /mnt/cache/appdata/homeassistant/
#

it's totally empty now, I will untar the file

#

the docker container is stopped

solid warren
#

goodness what a rm command

raven forge
#

I'd either use the find -delete way, do rm -rf * .* or just rm -rf the whole folder and recreate it. Theoretically you can simply overwrite everything but I don't know if onboarding generates temporary files that would not be overwritten/deleted by a simple cp/mv. You could rsync -delete though ๐Ÿ™‚

inland minnow
#

I untar the full backup tar and.....I end uf with a load of other tar files

humble scaffoldBOT
inland minnow
#

I guess I need to untar all the other tars now ?

raven forge
#

No. Just homeassistant.tar.gz and maybe the other non addon/core ones

inland minnow
#

ok cool

#

now, it untared everything inside a dub folder called data

#
root@Tower:~/data# ls
automations.yaml                deps/                     image/        secrets.yaml    tts/                     zigbee2mqtt/
blueprints/                     dwains-dashboard/         nest/         sensors.yaml    ui_lovelace_minimalist/
configuration.yaml              esphome/                  node-red/     switches.yaml   utility_meters.yaml
coordinator_backup.json_backup  home-assistant_v2.db      scenes.yaml   templates.yaml  www/
custom_components/              home-assistant_v2.db-wal  scripts.yaml  themes/         zigbee.db
#

I assume I want to copy all the content of this folder to ../ ?

#

as it is mapped as the /config folder of my docker container

#

so long question short, is the content of data the content of my actual /config folder ?

raven forge
#

IIrc the data folder holds data of a addon/container's data

inland minnow
#

I have no data folder inside my HAOS VM instance ^^

#
[core-ssh ~]$ ls
addons  backup  config  share   ssl
[core-ssh ~]$ cd config
[core-ssh config]$ ls
automations.yaml                home-assistant.log              node-red                        tts
blueprints                      home-assistant.log.1            scenes.yaml                     ui_lovelace_minimalist
configuration.yaml              home-assistant.log.fault        scripts.yaml                    utility_meters.yaml
coordinator_backup.json_backup  home-assistant_v2.db            secrets.yaml                    www
custom_components               home-assistant_v2.db-shm        sensors.yaml                    zigbee.db
deps                            home-assistant_v2.db-wal        switches.yaml                   zigbee2mqtt
dwains-dashboard                image                           templates.yaml
esphome                         nest                            themes
[core-ssh config]$
raven forge
#

It's a backup thing

inland minnow
#

yeah, backups are funny, sometimes

#

ok so, do I copy the content of /data ../ ?

#

is there a special cd param to include hidden files and folders ?

#

or will cp -r * do it ?

humble mirage
#
sudo cp -pr .??* * /path/to/new/config
inland minnow
#

thanks Tinkerer !

#
sudo cp -pr .??* * ../
#

lets see it this makes the trick

raven forge
#

Or use rsync. You copy the contents of the data folder of homeassistant.tar.gz to wherever you mapped /config to. In your case /mnt/cache/appdata/homeassistant/

humble mirage
#

In both cases you'll want to check that all the files were created, with contents

#

A common fuck-up here is that you don't use sudo and don't get some of the files, or you get them but empty

inland minnow
#

ok so let me show you the results of ls now

#

which files should I cat to check if they really do have content ?

raven forge
inland minnow
#

yeah they have content

#

I can see my devices in there

#

but I can login !

#

huray...

#

๐Ÿ™‚

#

it even speaks with z2m already, wow

#

now to be honest, it's possible I had these warnings before I moved to the docker container

#

I will now see if things seems to work

#

thanks for your help guys !!!!!!!!

#

stopping the VM now, to see what actually works, and what doesn't

inland minnow
#

ok, things seem to work quite good except for the fact I can't reach the container from the outtisde anymore

#

I've recreated the NPM host, a new cert, and for some reason, I end up on the HA loading screen, but never end on the dashboard

#

"Unable to connect to Home Assistant.

Retrying in 57 seconds..."

#

as I copied the whole previous config, I can confirm I have this in my configuration.yaml file :

#
http:
  #  ssl_certificate: /ssl/fullchain.pem
  #  ssl_key: /ssl/privkey.pem
  use_x_forwarded_for: true
  trusted_proxies:
    - 127.0.0.1
    - 192.168.3.242
    - 192.168.3.0/24
humble mirage
#

Check HA's log file

inland minnow
#

might it be that NPM and HA dockers should not be located on the same IP ?

#

ok checking the logs now

#

what am I looking for ?

humble mirage
#

Any errors

inland minnow
#

2023-05-23 12:10:23.162 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.17.0.23

#

hm

humble mirage
#

There you go

inland minnow
#

it communicates using the docker IP

#

lets see if it works after a reboot

humble mirage
#

Reboot?

inland minnow
#

yep

#

sorry, a restart I meant

#

it's working now

#

๐Ÿ‘Œ๐Ÿป

#

I dropped 9 watts since I moved HA to a docker container instead of a VM ๐Ÿ˜„

#

this simple little trick made me spare 20,46 euros yearly ^^

#

it's funny how such small power consumptions, ona. yearly basis, makes a little difference.

inland minnow
#

ok I have another issue now, I noticed one of my integrations is not working anymore, I delete it, and want to reinstall it and get this error :

#

Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

#

I google for this, and it looks like I simmply have to add my url here :

#

but ufortunately I keep getting this error when I try to install an integration

inland minnow
#

logs rells me requierements are missing

#

homeassistant.requirements.RequirementsNotFound: Requirements for aguaiot not found: ['git+https://github.com/vincentwolsink/py-agua-iot.git#py-agua-iot==0.0.9'].

#

Unable to install package git+https://github.com/vincentwolsink/py-agua-iot.git#py-agua-iot==0.0.9: ERROR: Error [Errno 2] No such file or directory: 'git' while executing command git version ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH? WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

#

it looks like this integration tried to use git to install dependencies, and it also looks like the dockerized version of HA has no git command (?)

humble mirage
#

It's the same container image as used for HAOS

inland minnow
#

I created this last issue post

#

when you try to install it after copying the content in custom_coponents folder, it seems like it tries to pull the integration from github

#

and because there is no git existing, it fails

inland minnow
#

I removed the aguaiot folder, added the repository again, re-installed it from HACS, and again :

#

homeassistant.requirements.RequirementsNotFound: Requirements for aguaiot not found: ['git+https://github.com/vincentwolsink/py-agua-iot.git#py-agua-iot==0.0.11']

#

No such file or directory: 'git' while executing command git version ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

#

is there a way to grab a binary of git and to add it to the path ?

humble mirage
#

git exists in the Docker image

#
docker run --rm -it --entrypoint bash ghcr.io/home-assistant/home-assistant:stable
Unable to find image 'ghcr.io/home-assistant/home-assistant:stable' locally
...
Status: Downloaded newer image for ghcr.io/home-assistant/home-assistant:stable
7d5861d8bd53:/config# which git
/usr/bin/git
inland minnow
#
root@Tower:/config/custom_components/aguaiot# which git
root@Tower:/config/custom_components/aguaiot# 
#

not on my instance it seems

#

why would they have removed git ??? this is insane

#

but ok, I can try to use the official docker image you just pasted

#

I can see it is pulling WAY more content btw

#
Tower:/config# which git
/usr/bin/git
#

and indeed, it works better with GIT

#

now I can configure my integration as I should

#

wth...

humble mirage
#

Well... if I'd known you were using a third party container image.... I'd have noped the fuck out of here already

#

I'd ask why you'd do that to yourself... but I just have to look at your post history ๐Ÿ˜›

inland minnow
grand pivot
#

The one released by the project itself is reliable

humble mirage
#

If you want support, run the official image

#

You never know what decisions a third party has made, and what they've broken

brittle sail
meager verge
#

How to configure HA with devices on a different subnet?

frank perch
frank perch
grand pivot
#

indeed. I would say that they aren't malicious, but they also don't necessarily know anything about the HA project and what it needs

frank perch
amber patrol
#

What I guess the best, Home Assistant without add-ons is useless

humble mirage
#

No... no it's not

#

I'm sorry you're so blinkered you feel that way

low notch
#

wrong guess

humble mirage
#

25% of all installs have no add-ons... I'm one of those installs and I can't say I've ever missed them

#

Mind you... the average install has 12 automations

low notch
#

anyways you get addons with haos, the route everyone should chose when they need addons. (hint: nobody needs them)

amber patrol
#

without add ons i ca't use sonoff So why is he so good?

low notch
#

yeah, then use haos

humble mirage
#

Ah... the fucked up Sonoff add-on

low notch
#

but not supervised

amber patrol
#

yea ewelink smart home on supervised, what do i need to do to be able to control sonoff without add ons?

humble mirage
#

Home Assistant OS

amber patrol
#

doesn't work on any my PC's.....

humble mirage
#

Then run it in a VM

amber patrol
#

VM on intel atom and 4GB ram? XD

humble mirage
#

Sure

#

Or buy better hardware

amber patrol
#

what? are u crazy?

#

yes but electrecity is not for free

low notch
#

i ran 2 vms once on atom

#

with 8g ram

#

so go for it

humble mirage
#

You can run a VM on a Pi if you're feeling lucky

low notch
#

you are fine as long as your host os is not windows

humble mirage
#

Proxmox is fairly good

amber patrol
#

but It cant run on this atom with only 1 core it is impossible

humble mirage
low notch
#

what atom is it?

amber patrol
#

maybe i try other day but i know this can't work good

#

I don't remember but this is igel d220 someting intele atom z...

low notch
#

ok

#

then do what tinkerer says and run container cooldoge

humble mirage
amber patrol
#

I one try vm on my old core 2 quad q9400. It's can't run vm. so how it is possible to run vm on this very slow intel atom

humble mirage
#

That would run Proxmox just fine

amber patrol
#

sonoffLAN can work on docker HA without supervised?

humble mirage
#

Yes

amber patrol
#

I want see it

humble mirage
#

Then ... make it so

amber patrol
#

ok so i try it sometime

#

but at this moment HA supervised still is the best for me

humble mirage
#

We'll see if you're still saying that when it throws up Unsupported and stops working

amber patrol
#

So i just don't make update or find antoher way

low notch
#

it updates itself ๐Ÿ˜‚

amber patrol
#

ok

humble mirage
#

And the requirements change, so it can auto-update and suddenly it's now broken

frank perch
amber patrol
#

Is availabel HAOS on x86 in .iso not .img?

humble mirage
#

core 2 quad q9400
That'd be fine for Proxmox, not much slower than the laptop I ran Proxmox on for a few years

frank perch
#

however, I did realize today that I didn't install the other 4gb cuz it's sitting on my desk

humble mirage
frank perch
amber patrol
#

but this c2q consume 80W does nothing my intel atom only 5W so that's why i can't use anything else

#

YES

frank perch
#

im running 2 VMs on my c2q with ubuntu as the host and virtualbox

amber patrol
#

so how to make bootable pendrive useing this i use balenaetcher last time

humble mirage
#

You can't

frank perch
#

you don't make a bootable pendrive, you image the .img to the harddrive

amber patrol
#

OK thank you so i can just copy this to hard drive?

frank perch
#

using balena or something similar

amber patrol
#

ok thanks for helping

low notch
#

you need to format the drive with the image

frank perch
#

yeah you need to flash the img to the drive, copying it won't work

iron granite
#

Hey all, this might seem weird i decided to swich over to haos, now i installed it but this machine i am using does not have a network port it only connects via wifi.
once i boot it how do i configure the wifi so it is on my network?

frank perch
#

wifi is generally not supported

iron granite
#

generally, but how would i go about using it if the pc physicaly has no network port >.<

frank perch
#

don't have a USB network card by chance?

iron granite
#

nope

#

usb ports are an issue too because those are on the keyboard that i dont want attached all the time

frank perch
#

that's what I was looking for

humble mirage
#

It's ... not easy to find if you don't know it exists

low notch
#

what is the keyboard connected with?

iron granite
#

will take a read through that @humble mirage

frank perch
#

but I could be wrong

#

has been known to happen

frank perch
iron granite
#

nah its got its own weird connector

frank perch
raven forge
#

Now I'm curious what device you are running this on

frank perch
#

or is it a mac, and using lightning

iron granite
#

its got them i just dont have things to connect to it right now

#

all the old smaller usb ports etc

raven forge
#

Looks like it has one USB-C port in the "tablet" but not everyone has adapters lying around.
WiFi might work fine depending on location and your router/AP's shittyness

low notch
#

i love this project already

iron granite
#

its mini usb dont think usb-c existed when this thing was produced

iron granite
#

i feel like there are no drivers for the wifi card

low notch
#

it has intel wifi

#

should be ok

#

please tell me you plan to put a zigbee coordinator in that single usb 3 port Stonks

iron granite
#

nah no zigbee for now

low notch
#

aw man

iron granite
#

will replace this with something else, just messing around for now

frank perch
#

see now this is what I'd run my dashboard on

iron granite
#

this pc?

frank perch
#

yes

iron granite
#

yeah that will happen at some point too

#

also side note is there any way to rotate this screen my neck is getting sore.
something like xrandr blah blah

#

i get error wlan0 does not exist with that

#

if i type
"network scan" it should show me the available network adapters right?

raven forge
frank perch
#

weird, I thought I replied, yes you need to run network info to list the adapters

iron granite
#

interfaces:[]

#

ran nmcli radio
and get
WIFI-HW Wifi WWAN-hw wwan
missing enabled missing enabled

#

hence i think no drivers

#

or something like that

frank perch
#

if you run nmcli by itself

#

what do you see

iron granite
#

just "nmcli"

frank perch
#

yes

iron granite
#

it outputs alot, anything specific you looking for?

#

cant copy paste unfortunatly

frank perch
#

well that should be a list of all the network adapters in your system

#

inclusive of the containers

#

nmcli device show

#

try that

iron granite
#

veth(some characters) <- About 6 of these

frank perch
#

those would be the docker interfaces almost certainly

#

you don't see any adapters with a different name?

iron granite
#

see docker0, hassio, veth and loop back nothing wifi ish

#

nmcli radio shows missing under WIFI-HW

frank perch
#

well if you know the mac address of your wifi adapter you could see if any of them match

iron granite
#

i think its drivers, since none of these are the wifi from what i can tell. And the nmcli radio shows missing which either suggests no wifi card installed or driver issue

frank perch
#

that's annoying

#

might be worth a $10 usb network adapter for now

iron granite
#

might be easier to just go back to running an os and going with docker

#

i want supervised tho because i am lazy to do all the docker stuff ๐Ÿ˜†

azure badger
#

Anybody running the Plex Media Server addon on an Odroid M1? Thinking about this hardware for my RV HA instance. Media delivery will be one of the main functions this will be doing. Already check out Samba NAS and looks like that will work nicely for adding extra storage (I think).

amber iron
#

how can i see what process is causing this

raven forge
#

top, glances, docker stats

quasi wedge
#

hey guys, most times when i go to refresh all yaml config i get this error in the corner of the screen and it doesn't refresh all yaml

Failed to call service homeassistant/reload_all. TypeError: 'NoneType' object is not iterable

does anyone know how to fix it?

tired salmon
#

Morning all, I seem to be caught at the first hurdle. I cannot get my pc (bmax b1) to boot into home assistant, I've followed the guide online and when I boot the PC it goes straight into the bios. Can anyone please help me? I'm pulling my hair out

humble mirage
#

Does the computer support UEFI?

frank perch
tired salmon
#

Yes it does, I've enables eufi

#

And yes that's the one!!

frank perch
#

Did you disable secure boot?

tired salmon
#

Yes

#

It was buried deep inside the bios! But I did find jt

#

*it

frank perch
#

you're using m.2?

willow steppe
#

hey, i have a problem, i cannot backup my system, i had an automation which made a backup every week, now I have seen that for 3 months no backup was made. I tried to make a backup myself. There was an error, I should check the supervisor log. I have the log but do not see where the problem is, another backup I can not do because my homeassistant is now in the "freeze"

there is the log https://1drv.ms/u/s!AghsoZDPPMkmgs1SvIkygk86SUTq_A?e=NqfUUz
its to long for discord :D

orchid anvil
#

Hi. I'm having some problems with my MariaDB MySQL database after a HA update.

After the update HA is trying to change the charset and collate and the update is timing out after several hours.

My database is just over 100 GB..! Yes, it is huge, but I have more than 500GB free space on the drive holding the DB files so that should not be the reason for the failure and it has succeeded with several DB upgrades as I have run the same DB with HA for several years.

Does anybody have any suggestions that I can try to save the database and keep some or all of the data?

low notch
#

why don't you use influx?

orchid anvil
#

I have started using influx recently, bit I want to keep historical data for many of my entities and for several I want to keep using MySQL and Influx in parallell to have the Recorder data in the native gui

tight tinsel
#

I want to restore a backup (200MB). The moment I give the command, the Pi loses its connection to the network and nothing else happens. If I unplug the Pi after half an hour and plug it back in, it just boots up with the current configuration.
Anyone have an idea how I can solve this?
I don't feel like completely wiping my system, reinstalling it and then hoping the backup will work.

tired salmon
#

I have now fixed it. I gave it to a professional ๐Ÿ˜‚. He fixed it within seconds

minor topaz
#

Hello! I've been running HA core for some years now, and about a year ago I could no longer restart HA from HA itself. It just quits when I press restart. I haven't looked that much into it until now, and I can't find any reason it's not restarting by itself. Any ideas? Is this a common issue from some update that was (~a year ago)?

humble mirage
#

I think that's a known issue, your service daemon should ensure it restarts

minor topaz
#

If I was using a daemon then it would just be the service launcher that was wrongly configured, that would make sense.
However, I'm not using a daemon - I never did. I like it running in an interactive console.

humble mirage
#

That's ... an "interesting" choice

#

Why?

minor topaz
#

Well. Not sure tbh. I think it's more of a habit from before it was so easy to get logs directly from HA.

humble mirage
#

It's always been trivial to get the logs

#

journalctl

#

That's how I've done it for ... 5 years

#

7... actually

minor topaz
#

well that is a big revelation for me

#

Somehow, in all my years, I've never known of that command and for ungodly reasons never bothered to look up the very obvious existence of it

humble mirage
#

It's part of systemd

#

If you've somehow got a distro that doesn't use it there's going to be something similar

#

(and that's excluding the log file that's written by HA itself)

minor topaz
#

My distro uses it, I'm just dumb not to look it up.

humble mirage
#

Any day you learn something new is a day not wasted ๐Ÿ˜„

minor topaz
#

Anyways, I'll move HA to a service daemon now. lol

#

Thanks!

humble mirage
#

There's an example on the forum

minor topaz
#

hmm yes I've never made a service for a pyenv before. Nice to see the example.

humble mirage
#

If you're using pyenv then it's not meaningfully different, hang on...

minor topaz
#

I think your link was sufficient

humble mirage
#
[Unit]
Description=Home Assistant
After=network-online.target

[Service]
Type=simple
User=homeassistant
ExecStart=/data/homeassistant/.pyenv/versions/venv-3.10.9/bin/hass -c "/data/homeassistant/.homeassistant" --log-rotate-days 1

[Install]
WantedBy=multi-user.target
``` from my own install
minor topaz
#

Hmm. So it's just executing the binary without sourcing the pyenv's bin/activate? I'm somehow used to always sourcing it first, but I haven't actually looked at the activation script. There are no important path dependencies etc?

humble mirage
#

By calling hass from the venv you're effectively sourcing it

#

The one on the forum does exactly the same, it's just in a different location

minor topaz
#

Oh i see now

#

you update HA manually with pip too right? Or is there some clever way I've overlooked here too

humble mirage
#

Yes

#

Though it's more pyenv activate...

wooden smelt
#

What is the reason for not utilizing pyenv to set the global version of Python?

plucky iris
#

Hi there, did someone managed to install HA OS on an OrangePI 5 and if yes, is there a guide?

amber patrol
#

I flash HDD disk with HAOS and it work!! but pity i can't get accses via SSH to install something(not using SSH& Terminal add-ons)

#

I also have problem with my openvpn server accses i can connect using LTE to my main server but I can't connect to another in my home Lan, maybe it's time to use wireguard

plucky iris
#

Ok, so the option using docker is still the best solution to run HA on an OrangePI?

grand pivot
#

"using docker...to run HAOS" doesn't really make sense

#

my understanding is that HAOS isn't supported on the OrangePi, and using a container install is the recommended way to install HA on one

plucky iris
#

โ€ฆI donโ€™t get it. U say it doesnโ€™t make sense to use docker and then a container is the only way to get it installed, what am I missing here?

humble mirage
#

HAOS is an install method

#

You don't get it by using Docker

plucky iris
#

Sry my mistake, I meant HA.

humble mirage
#

Then yes, Docker (aka the Container install method) is good

rapid fiber
#

Donโ€™t know if this is the right place for my question.
I have installed HA on a HP mini PC. On my iPhone app i have local and non-local access. For local access on my Macbook (homeassistant.local:8123) i forgot my username and password. Via terminal i do have SSH access.
Any ideas how i can recover my username / password?

frank perch
#

dammit @brittle sail

brittle sail
#

3slow5me

frank perch
#

at least give me 50ms

#

im only on 60kBps connection

brittle sail
frank perch
#

TCPoPigeon

#

I've said it would probably be faster for me to handwrite the binary packets as they come in

#

I actually remember that tho LOL

brittle sail
#

im gig e ftth here

frank perch
#

from the IRC days

#

well if I could afford to pay my bill off, I'd be close to it

orchid anvil
low notch
manic bane
#

What even is in that DB

humble scaffoldBOT
humble mirage
quasi wedge
orchid anvil
orchid anvil
# manic bane What even is in that DB

I have found a few integrations with many entities updateing far more often than what is necessary to record, that have now been added to the list of ignored entities in the recorder.

low notch
#

How big is it now? Just throw it away, influx has everything you need

#

And please stop cross posting

orchid anvil
#

Problem is that I recently added Influx, and I need some of the older data in the mysql recorder database for long term statistics and tracking. Cross posted because you directed me to #integrations-archived a few messages above. Sorry if that was incorrect.

low notch
#

Problem is that this is not a real issue

#

Your issue is that your DB carried crap for way too long

#

The default is 10 days

orchid anvil
#

I am not sure where the problem is. Yes the database is large, but that should not be an issue in and of itself as long as there is sufficient memory and storage for the database, was my belief anyways. I am not here to report a problem with the HA code, but to see if there is someone experienced with this sort of issue who could give me some hints about what to look at to revive the database without dropping everything.

manic bane
humble mirage
#

The database migration code clearly doesn't expect monster databases

#

You could open an issue about it and hope the dev gets to it

orchid anvil
#

Thanks. The largest table, by far, is the states table. Would it cause any issues to simply delete all rows belonging to certain entity id's from this table?

manic bane
#

I presume you would just loose the states for those entities

quasi wedge
#

hey guys, is there a way to tell if my HA has become corrupt? i'm getting some really, really stuff happening that i can't explain?

humble mirage
#

That's a pretty vague question, but ... the log is always a place to start

frank perch
#

logs

frank perch
quasi wedge
#

ok so just as i say that one of the issues just magically fixed itself

#

go figure

#

but the other thing that's been happening is i've been getting this error a lot:

'NoneType' object has no attribute 'items'

#

i'm getting it when i try to reload all my yaml config in dev settings (despite it saying there's no config issues), when i try to run an assist command it just fails with that error in the logs, and there was one more time i've seen it but i've forgotten where now

#

it just seems like a weird thing to keep showing up on all the various things that i would have thought are unrelated (assist, configs etc)?

umbral dagger
#

Home assistant, pilight (and ha integration) and sonoff zigbee stick on the same raspberry pi? Home assistant core is the right installation method?

humble mirage
#

Container (Docker) > Core

grand pivot
#

Says the guy using Core

humble mirage
#

Yeah... but I'm weird

civic flicker
#

I just installed virtual box and haโ€ฆ how do I install the extensions so I can get access to the usb dongles? Or is there something else needed??

spring niche
#

its in the settings of virtualbox, on the vm itself. you enable the dongle for the vm, exposing it

umbral dagger
#

Never used docker before.. But I should definitely learn how to use it soon

civic flicker
#

I donโ€™t see the usb stuffโ€ฆ everything is greyed out

#

never mindโ€ฆ got itโ€ฆ thanks mucho

cobalt pulsar
#

Question: Did I make a mistake installing HA Core on Linux? Should I have installed the Docker setup?

I have a lightly used linux laptop that I have for sundries on my network. When looking at the installation options, I've programmed a bit in Python, and wasn't spooked by the "stuff" needed to install it and get it running. I successfully have it installed and have rudimentary automations going, etc. However, I didn't catch that if you install Core, you don't have some functionality. I'm interested, for example to get Node Red up and running, but see now, that you can't just grab the "add-on" and run it - which appears to be standard in the other installation options.

Are there other items like that, which I should I think about before going further down the line with Core? Should I just go ahead and do a Docker install on that laptop instead?

humble mirage
#

If you wanted add-ons then you wanted Home Assistant OS

#

Docker doesn't bring add-ons, only HAOS does

#

Nobody needs add-ons though, they're just one way of installing software

cobalt pulsar
#

Gotcha - I see - so ultimately, any items like that can still be added on, even with a Core installation.

#

I just might have to do a little extra install work

frank perch
#

and maintain everything

cobalt pulsar
#

OK - So I have my regular IDE (VS Code) setup now to SSH into the Linux Machine, with the .yaml files all in a workspace. Skipping NodeRed for now.

wary socket
#

is there a way to find out why a brand new installation of home assistant on windows virtualbox keeps restarting

#

no addons installed

#

is it running out of memory perhaps? I have assigned 2 cores and 2048MB of ram to the machine

humble mirage
#

Is it the whole VM restarting (aka rebooting) or just the Core container restarting?

wary socket
#

I think its the core container, its on the CLI and then it goes all black, and restarts, sometimes during restart process it hangs on "Booting Slot A.."

#

I only noticed this as of 2023.5.4 btw

humble mirage
#

That's the whole VM rebooting

wary socket
#

I only started playing around with HA a few days ago, it was on 2023.5.3, as far as I could tell it was working fine, then yesterday got prompted to update to 2023.5.4, started seeing these issues, decided to completely erase the entire VM and reinstall from scratch but now it seems to install straight to 2023.5.4 when installing from scratch and it keeps having these issues

humble mirage
#

Presumably 2023.5.3 and 2023.5.4

wary socket
#

yes, sorry

humble mirage
#

The whole numbers matter ๐Ÿ˜‰

#

I've not heard anybody else report those problems on a clean install, not yet anyway

wary socket
#

is there a way to force it to install to 2023.5.3 on a clean install

humble mirage
#

No, but you could try a downgrade

#

Of course I suspect the problem isn't in the Core version

wary socket
#

alright, will try a clean install again and see if/when I can reproduce it, then will try a downgrade, thank you

wary socket
#

I found I can consistently reproduce it when installing the Advanced SSH & Web Terminal on version 2023.5.4, a few seconds after hitting install it will reboot and fail to install, but sometimes it also just reboots it on its own, will try to give it more RAM and see if it still happens

wary socket
#

ahh, cant downgrade, keeps restarting

frank perch
wary socket
#

yeah raising the ram didnt fix it, not sure why it keeps crashing

frank perch
#

what CPU is your VM host?

wary socket
#

2 cpus

#

yay was able to finally downgrade to 2023.5.3 and now I can install Advanced SSH & Web Terminal without a crash, first good sign, will keep a lookout for other random restarts

#

yeah much more stable after the downgrade, no crashes so far

valid plover
#

I am struggling pretty bad on my first install

valid plover
#

23-05-26 18:52:21 ERROR (SyncWorker_1) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/generic-x86-64-homeassistant:2023.5.4: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2023.5.4&fromImage=ghcr.io%2Fhome-assistant%2Fgeneric-x86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
23-05-26 18:52:21 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
23-05-26 18:52:51 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/generic-x86-64-homeassistant:landingpage to ghcr.io/home-assistant/generic-x86-64-homeassistant:2023.5.4
23-05-26 18:52:51 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/generic-x86-64-homeassistant with tag 2023.5.4.
23-05-26 18:58:26 ERROR (SyncWorker_2) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/generic-x86-64-homeassistant:2023.5.4: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2023.5.4&fromImage=ghcr.io%2Fhome-assistant%2Fgeneric-x86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
23-05-26 18:58:26 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
23-05-26 18:58:56 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/generic-x86-64-homeassistant:landingpage to ghcr.io/home-assistant/generic-x86-64-homeassistant:2023.5.4
23-05-26 18:58:56 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/generic-x86-64-homeassistant with tag 2023.5.4.

#

Sorry, I dont know how to format the text for assistance. I do industrial automation programming but linux syntax and getting help on discord is a weakspot

brittle sail
#

Looks like dns Issue

frank perch
#

Or you're on wifi

#

But yes it's internet/dns almost certainly

frank perch
thorn scaffold
#

Has anyone successfully set a static IP for Home Assistant OS in a VM? I'm trying to run haOS in a VM on Proxmox but the network does not run a DHCP server, so the Proxmox scripts are no good, and I get an error whenever I try to set the Ip I get a supervisor timeout error manually.

smoky void
#

I am trying to install HAOS. I set up the installer using balena etcher and successfully set up the boot drive. I disabled secure boot and UEFI is enabled. I'm not sure where to specify the EFI entry in the bios or if that's even necessary.

delicate ibex
valid plover
frank perch
#

you mean in gui or cli?

#

nmcli is your friend

#

๐Ÿ˜‰

brittle sail
#

nmcli is archaic at best

frank perch
#

blasphemy

#

listen to dad my son, new /= better

#

take if from your dad

brittle sail
#

riddle me that batman

brittle sail
#

you gotta admit that's funny

#

they line up pretty well

valid plover
#

I have no idea, feel dumb

frank perch
#

It's OK, to feel dumb is normal. When you think you know everything that's when you're nuts

glass tinsel
#

trying to import the qcow into proxmox, it won't boot from it. depending how I create the VM etc, it either dumps me at an efi prompt, or just refuses to boot.

#

I think I'm just "off" today. even work was blah.

brittle sail
#

guide i've seen linked here

glass tinsel
#

thanks. I'm looking at wundertech.net's guide currently, and I think I see what I did wrong.

#

sometimes I literally hate working on my own projects. I just want to be braindead when I'm not working lol.

brittle sail
#

Yea

frank perch
#

this is why adults are allowed alcohol

glass tinsel
#

I don't drink, and if I did I'd be afraid of liver damage.

frank perch
#

lol

#

if liver damage was really that serious I'd be dead by now

glass tinsel
#

my bloodwork isn't good. high liver, low kidney, could be some kind of damage.

#

seems like if I eat the wrong thing(s) in the wrong quantity, I have this brain fog that makes me feel like a pleb.

brittle sail
frank perch
#

my doctor told me I was doing everything wrong, and I fixed that quick

#

picked a new doctor and all was good

glass tinsel
#

lol

#

thanks for the laugh.

frank perch
#

I also drink over a gallon of water before noon, so there's that too

glass tinsel
#

there is a such thing as "too much of a good thing is a bad thing" but idk your situation.

brittle sail
#

You can drink too much water too

frank perch
glass tinsel
#

oh wow.

#

I just made a sous vide steak for the first time and it was absolutely delicious.

#

going to make more tomorrow.

#

I also have a deep fryer in my kitchen.

valid plover
grand pivot
glass tinsel
#

@brittle sail I think I was chatting with you earlier about the pi, etc... rethought it and am going with proxmox install after-all. I do plan on doing more with proxmox in the future so I figure, why not?

brittle sail
#

Iโ€™m sure you could make a deep fryer smartโ€ฆ you shouldnโ€™t.. but you could

glass tinsel
#

Well actually, it may be nice to add a smart plug or whatever it's called between the fryer and the wall. We always unplug it anyway, but if it's there and that's what we plug into, then we know when we leave the house we definitely shut the fryer. ๐Ÿ˜„

#

though I would worry about amperage.

brittle sail
brittle sail
glass tinsel
#

yeah I don't ever want to approach the advertised max. I got 15 amp plugs off amazon. "Sonoff" brand.

brittle sail
#

S31 Wi-Fi plugs?

#

You can take them apart and flash with esphome if so

glass tinsel
#

S31 lite

#

what's esphome?

#

yay the VM is booting!

#

it's the little things...

brittle sail
# glass tinsel what's esphome?

Fun stuff for another day. Custom firmware and integration for home assistant. Easy way to make your own sensors and devices

glass tinsel
#

oOoOoo, interesting.

#

yeah for me, one thing at a time. I almost never have time for projects, and when I do, I gotta go slow so I don't burn out again.

brittle sail
#

Itโ€™s also commonly used to flash fully local open source firmware onto devices with Chinese firmware on them like smart plugs

glass tinsel
#

... yeah, I was thinking about that...

#

maybe after this test I will return these and get the non-lite versions.

brittle sail
#

I would personally

#

However itโ€™s a bitch to take them apart and solder on to little pads. They make pogo pin things to simplify it

glass tinsel
#

oh I have to solder to reflash?

brittle sail
#

You can watch a YouTube video and see if you want to fuck with it

brittle sail
glass tinsel
#

hm, I haven't soldered in years. Threw out the iron last year before I moved out of state.

#

oo, maybe I will.

brittle sail
#

Watch a vid then decide

glass tinsel
#

yeah.

#

but as you said, it's for another time.

brittle sail
#

Also iirc the lite donโ€™t do power monitoring

glass tinsel
#

but now it's in my mind.

brittle sail
#

But the s31 do

glass tinsel
#

oh yeah, saw something about that.

brittle sail
#

Good for washing machines, 3d printers, all sorts of things

glass tinsel
#

hmm

#

as stated earlier today, I'm all about saving power currently.

#

(as I sit behind my 4 monitors with my server rack next to me :D)

brittle sail
#

I live in Texas Iโ€™m about not melting

glass tinsel
#

oo

#

oh wow, it found my google chromecast.

brittle sail
#

It finds all the things

#

Have fun lol

#

The new onboarding shit is pretty neat

frank perch
glass tinsel
#

lol

#

oh wow, this is NEAT.

brittle sail
#

The old skin flute ๐Ÿชˆ crapshoot

glass tinsel
#

this ... is going to consume my life...

frank perch
brittle sail
#

Itโ€™s like 80F overnight all summer itโ€™s rough

frank perch
#

it's 84F right now at 11:15pm

glass tinsel
#

When I was a teenager, I went on tour to Brazil. Literally sat there dripping sweat in the dead of night.

frank perch
#

and it' aint' summer yet

#

and I'm eating soup rn

#

so like I said @brittle sail come get some REAL heat

frank perch
#

when I was in the rainforest the guide was like... you're the only one not sweating

#

80F at night is like air-conditioning to me

#

I literally set my AC at 78F

brittle sail
#

I like it cool

frank perch
#

there is a difference between cool and unobtanium

#

if you want your AC to crap out, you can set it lower here

#

but it will die

#

and on that note, I'm goind to bed

brittle sail
#

Later dude

glass tinsel
#

I love the fact that these outlets register 0.0 watt used.

#

(kill-a-watt)

valid plover
#

How do I fix a CLI dns issue

valid plover
#

I did this:

dns restart```
did not fix it, still have that internal server error 500
raven forge
#

A little more context would be helpful

valid plover
#

ya, probably, my bad

#

@raven forge I am doing my first install ever on a wyse and it is spitting out some errors on my desktop:

23-05-27 10:42:54 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
23-05-27 10:43:24 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/generic-x86-64-homeassistant:landingpage to ghcr.io/home-assistant/generic-x86-64-homeassistant:2023.5.4
23-05-27 10:43:24 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/generic-x86-64-homeassistant with tag 2023.5.4.```
#

most of my programming experience is not in structured text so the syntax is a learning curve

frank perch
#

that's a DNS/internet issue

#

are you on wifi?

valid plover
#

no. hardwired to router

frank perch
#

hmmm

#

well try changing DNS servers maybe

valid plover
#

in my router or in ha?

frank perch
#

on that box

brittle sail
#

Whatever dhcp dns is giving out isnโ€™t working

#

There should be a guide in the docs to change via nmcli is it not working?

valid plover
#

I just started messing with nmcli maybe 2 minutes ago, I need to find that doc

brittle sail
#

Iโ€™m not sure if that is possible before it finishes installing but I think it is

frank perch
#

or try nmcli --help

brittle sail
#

Tbh itโ€™s kinda confusing

brittle sail
#

Searching here brings up conversations had in the past usually the same thing you want to do

frank perch
#

yeah but nmcli config changes would need a full reboot

#

so prolly not gonna work during install actually

#

so might need to change them on the router instead

raven forge
#

Probably makes sense to check ip a, ha network info, ping and nslookup

frank perch
#

well checking it imho is just an unnecessary step, we can see it's not working

valid plover
frank perch
#

well if you can just change it on the router and try restarting the install I think it would be easier

#

but, you can try othewise, it can't hurt to experiment

valid plover
#

Netgear R6900v2 is my router, dns is set to 8.8.8.8 and 1.1.1.1

frank perch
#

try 9.9.9.9 instead of 8.8.8.8

#

so it's a Nighthawk then

valid plover
#

leave the secondary?

#

and ya it is

raven forge
#

Before you change anything, make sure the host cannot resolve hostnames

brittle sail
raven forge
brittle sail
#

If you set dns in the router thatโ€™s just giving the router itself specific dns servers. Dhcp dns Is what it hands out to clients when they get an ip

valid plover
raven forge
#

Or you can check with cat /etc/resolv.conf/ha network info to see what name servers are configured to use. nslookup should also tell you though

valid plover
frank perch
#

that's just DHCP

brittle sail
#

Thatโ€™s the pool of addresses it picks from

frank perch
#

are you running stock firmware or DD-wrt

brittle sail
#

What country are you in btw?

#

Iirc Egypt and one other country blocks ghcr

valid plover
valid plover
valid plover
raven forge
#

No. Just enter login int the ha > prompt, then run the commands. It should look like #

valid plover
#

ya, missed that part. I left that part and didnt go back in

#

ping says alive, nslookup gave info also

brittle sail
#

Weird

valid plover
#

I'm glad its not something easy and me being dumb, wouldnt be the first time tho

raven forge
#

So much for unnecessary to confirm ๐Ÿ˜

frank perch
#

lol

#

so dns 'says' its working

brittle sail
#

Well

frank perch
#

and y'all believe it

brittle sail
#

At least thatโ€™s the command shared above

frank perch
#

just try changing the DNS server, it takes like 1 second

raven forge
valid plover
#

plz hold

brittle sail
#

Famous last words

frank perch
#

lmfao

grand pivot
#

Disable ipv6

brittle sail
#

Is this a known issue?

frank perch
#

part of my mantra

#

well I do it in practice so I'm not sure

grand pivot
#

Ipv6 config is often broken in home networks, and Alpine requires it to be working if enabled

frank perch
#

my ISP decides to break ipv6 on its network every few weeks so I have it disabled all the way down

#

and I'm not running my 6to4 tunnel so there's that too

valid plover
#

I work in industrial automation so plz hold is probably my most used teams message. Whether looking up drawings or changing the logic, nothing is that quick lol

frank perch
#

did you disable ipv6?

valid plover
#

Ope

#

Hands up, that's on me

#

I did not

#

Do I do that in the ha list or stay logged in

raven forge
valid plover
#

Ran ha network info
What would you like

#

Wish I could add a picture

raven forge
#

Well, everything. You can

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.

valid plover
#

Oh hey, that makes sense

#

Good bot

raven forge
#

Yeah you don't have a "real" IPv6 address. I'm not sure what

it's thinking
is supposed to mean. I can guess that it times out, but I'd rather not

valid plover
#

Curl took a while

raven forge
#

Makes sense that it doesn't work as you only have a link-local IPv6 address but even if you had any, ghcr.io has no AAAA record so it's only available via IPv4 anyway

valid plover
#

Let me try and disable the IPv6

#

I'm assuming the address can stay blank if it's disabled?

frank perch
#

usually it will still show a local ip even tho it's disabled

#

I can't load your images because I'm on very limited bandwidth

valid plover
#

I saw that you can't open the images, after I sent the image

#

Reading is hard

frank perch
#

well now that's disabled, did you try changing DNS servers

valid plover
#

I did to 9.9.9.9 and 1.1.1.1

frank perch
#

and restarted the install fresh ?

valid plover
#

ya, the supervisor was struggling to start

#

I see this in the thing

23-05-27 12:07:42 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
23-05-27 12:07:42 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.DNS_SERVER_IPV6_ERROR - ContextType.DNS_SERVER / dns://10.0.0.38
23-05-27 12:07:42 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
23-05-27 12:07:42 INFO (MainThread) [supervisor.host.services] Updating service information
23-05-27 12:07:42 INFO (MainThread) [supervisor.host.network] Updating local network information
23-05-27 12:07:42 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-05-27 12:07:42 INFO (MainThread) [supervisor.host.manager] Host information reload completed
23-05-27 12:08:02 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.DNS_SERVER_FAILED - ContextType.DNS_SERVER / dns://10.0.0.38
23-05-27 12:08:02 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.MULTIPLE_DATA_DISKS/ContextType.SYSTEM```
#

wait, does that show my dns server is set to my ip address..?

raven forge
frank perch
raven forge
valid plover
#

or 9.9.9.9 now

raven forge
#

It's common to use the gateway ip for this but this should work as well

frank perch
#

it says 10.0.0.38 is your DNS server

#

and it failed

valid plover
#

10.0.0.38 is the ip of the unit

#

ya, gotta change that

#

Ok, restarting install after fixing that

raven forge
#

What prompted you to change this?

valid plover
#

Change it to the 10. Address?

#

I misread the command trying to fix this issue

raven forge
#

to 10.0.0.38. 10.0.0.1 should be fine (and usually the default) but 10.0.0.38 is the device itself and it probably doesn't run a DNS server

valid plover
#

It didn't work before I did that either

#

Supervisor struggling to start. System is not ready with state: setup

valid plover
#

Sorry for the delay, had to run a quick errand. So this is early on in the install stuff:

23-05-25 02:40:05 INFO (MainThread) [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1
23-05-25 02:40:05 INFO (MainThread) [supervisor.host.services] Updating service information
23-05-25 02:40:05 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-05-25 02:40:05 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
23-05-25 02:40:10 WARNING (MainThread) [supervisor.utils.whoami] Can't fetch Whoami data: Cannot connect to host services.home-assistant.io:443 ssl:default [Try again]
23-05-25 02:40:10 WARNING (MainThread) [supervisor.core] Can't adjust Time/Date settings: Can't fetch Whoami data: Cannot connect to host services.home-assistant.io:443 ssl:default [Try again]
23-05-25 02:40:10 INFO (MainThread) [supervisor.docker.monitor] Started docker events monitor```
#

Then I see this fatal error

23-05-25 02:40:34 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / core
23-05-25 02:40:34 WARNING (MainThread) [supervisor.jobs] 'GitRepo.clone' blocked from execution, no supervisor internet connection
23-05-25 02:40:34 ERROR (MainThread) [supervisor.store] Can't add repository https://github.com/esphome/home-assistant-addon due to 'GitRepo.clone' blocked from execution, no supervisor internet connection
23-05-25 02:40:34 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_RELOAD - ContextType.STORE / 5c53de3b
23-05-25 02:40:34 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / 5c53de3b```
#

also ipv6 disabled on router

valid plover
#

@raven forge @frank perch here is what I am getting after a reboot, I am learning a lot but making no progress lol

https://dpaste.org/aSs5n

raven warren
#

Sorry if this is obvious (I did search!) but is there an easy way to see if my installation is Supported? It used to be in one of the settings pages but those have changed a lot and I can no longer find it. I did find it in the observer; is that now the primary way?

#

(If it matters, I'm running supervised on an RPi4 running Debian 11.)

humble mirage
#

I'm curious why you didn't just use HAOS

frank perch
raven warren
grand pivot
#
  • the Supervised comment
humble mirage
#

I mean, you've got hardware that's supported by HAOS... there's no reason to use Supervised unless you want to ignore the requirements and run other software...

raven warren
#

๐Ÿ™‚

#

I'm used to it; I get asked that every time I ask a question about my installation. But since there are many conversations happening and I am not following the rest and it wasn't a reply, I wanted to make sure.

brittle sail
#

are you here because the logs say your install is fucky wucky?

raven warren
#

I do run other software on it; nothing complex enough that I can't maintain Supported status.

#

I've been running it for years at this point. I can't remember if it was easier to do a USB SSD installation on supervised than HAOS when I first did it or not, but regardless, I do run other software.

#

And for what it's worth, it is listed as Supervised in observer.

valid plover
raven warren
#

I was just wondering where the UI part went.

frank perch
#

and just do what you need to, I think it's borked

brittle sail
#

you're the 1% of the 1% using supervised without issues lol

raven warren
brittle sail
#

what piece? "whether your installation is supported"?

raven warren
brittle sail
#

you deduce that yourself

#

if you are running supervised on debian and following the upgrade stuff necessary then it's "supported" in the sense that you're technically doing the right things to make it not break

raven warren
#
Supervisor:     Connected
Supported:     Supported
Healthy:     Healthy ```
#

(Can't seem to use image.)

brittle sail
#

yeah

valid plover
raven warren
#

I know the Repairs part has the problems now, and that's clear.

#

Was just curious if that status was still available in the main UI, and it sounds like no.

frank perch
frank perch
#

you're running HAOS in virtualbox?

raven warren
# brittle sail settings -> about?

I walked through those and didn't see it, though maybe I missed? Text on that page is just Home Assistant 2023.5.4 Supervisor 2023.04.1 Frontend 20230503.3 - latest, and the links all go to external sites.

brittle sail
#

yeah thought it showed the same as observer

#

idk none of this really matters lol

raven warren
wooden smelt
raven warren
#

FWIW, the cgroup repair instructions don't work on RPi4, at least on a USB SSD install, because it doesn't use grub. I'll provide feedback on the docs using the link there.

raven warren
brittle sail
#

ya i finally found it too late

#

should be in about

raven warren
#

Wouldn't hurt, but since it seems like y'all are steering people away from supervised, I could see burying it a little more.

#

But it's at least visible in the UI, which is nice.

#

Thank you both for the help!

#

(FWIW, it was totally stable those 6 months it was unsupported w/cgroup v2, but I don't pretend to know what that actually affects and I don't need v2 for anything I'm doing, so I'd rather keep it in the Supported bucket.)

raven warren
frank perch
#

I don't steer anyone ๐Ÿ˜› no one even listens to me lol

raven warren
#

lol

valid plover
frank perch
#

ahhh I understand now

#

no, that should work just fine

#

just I think because the install hung and rebooted so many times prolly best to start fresh and do what you learned

valid plover
#

Doing errands now, so install later. But from fresh install, it should (theoretically) just run?

#

My worry is it is going to try and do the install and hang up because of dns stuff again and I get stuck right where I am now

#

Idk if you can set stuff before the install or what

humble scaffoldBOT
stuck knot
#

Ah removing the --init fixed the issue. Interesting..

jade condor
#

is it possible to run HAOS on a rock 5b SBC?

valid plover
#

Ok, downloaded image on one USB, Ubuntu on other. Booted to Ubuntu, wiped the wyse partitions, flashing the image from first USB onto wyse.

#

Fingers crossed

frank perch
#

here we go

valid plover
#

Waiting for supervisor to startup

#
System information
Error returned from Supervisor: System is not ready with state: setup```
#

Want me to try something like
banner --log-level=debug

#

Just waited and did banner, wait, banner and it started. Let me check the install status

#

@frank perch

23-05-27 20:25:42 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
23-05-27 20:25:42 INFO (MainThread) [supervisor.host.services] Updating service information
23-05-27 20:25:42 INFO (MainThread) [supervisor.host.network] Updating local network information
23-05-27 20:25:42 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-05-27 20:25:42 INFO (MainThread) [supervisor.host.manager] Host information reload completed
23-05-27 20:31:41 ERROR (SyncWorker_2) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/generic-x86-64-homeassistant:2023.5.4: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2023.5.4&fromImage=ghcr.io%2Fhome-assistant%2Fgeneric-x86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
23-05-27 20:31:41 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
23-05-27 20:32:11 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/generic-x86-64-homeassistant:landingpage to ghcr.io/home-assistant/generic-x86-64-homeassistant:2023.5.4
23-05-27 20:32:11 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/generic-x86-64-homeassistant with tag 2023.5.4.```
frank perch
#

ha network info shows you have internet ?

#

supervisor_internet: true

#

should be right at the bottom

brittle sail
#

Iโ€™d be screaming at this point

frank perch
#

I've been screaming all day

brittle sail
#

Must be nice

frank perch
#

not really

#

plex has been updating for FOUR DAYS

#

lmfao

brittle sail
#

Are you hiding from the feds or something?

#

Why are you in such a godless place with no fiber or even broadband

#

Youโ€™re making T1 lines from 1995 look good

frank perch
#

there is fiber and broadband, but those you have to pay for

#

else they don't like it

valid plover
valid plover
brittle sail
#

Get drunk enough and buy a mini pc off eBay to replace it

#

Thin clients are better than a pi but still pretty weak. Fine for base home assistant os and a few addons of course

valid plover
#

32gb and 8gb ram, what more does it need

#

I have a feeling no matter what I install it on its going to do this

valid plover
brittle sail
#

Yea if itโ€™s dns related you need to fix that obviously

valid plover
#

gfd

#
23-05-27 20:42:44 INFO (MainThread) [supervisor.plugins.manager] audio does not have the latest version 2023.04.1, updating
23-05-27 20:42:44 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/amd64-hassio-audio:2023.04.0 to ghcr.io/home-assistant/amd64-hassio-audio:2023.04.1
23-05-27 20:42:44 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/amd64-hassio-audio with tag 2023.04.1.
23-05-27 20:49:00 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/amd64-hassio-audio:2023.04.1: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2023.04.1&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-audio&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
23-05-27 20:49:00 ERROR (MainThread) [supervisor.plugins.audio] Audio update failed
23-05-27 20:49:00 ERROR (MainThread) [supervisor.plugins.manager] Can't update audio to 2023.04.1, the Supervisor healthy could be compromised!
23-05-27 20:49:00 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_UPDATE - ContextType.PLUGIN / audio```
frank perch
#

ha core check

frank perch
#

yeah I was about to say try an older version

brittle sail
#

I doubt thatโ€™s it but likeโ€ฆ

valid plover
#

the ipv4-nameservers is set to the ip address of my router, does that sound right???

brittle sail
#

Not if you want it to use an authoritative one like cloudflare that your router isnโ€™t handing out

frank perch
#

yeah if it's DHCP that's typical

valid plover
#

ok, so I didnt touch that

frank perch
#

Smart: he's got 9.9.9.9 and 1.1.1.1 on the router

#

so should be ok

valid plover
#

all I've done was add the dns servers that are in my router

brittle sail
frank perch
#

fuck you may be right

brittle sail
#

Could be handing out some isp bullshit

frank perch
#

it's been a long day

#

no, wait I think he did confirm it

valid plover
#

how do I confirm that

brittle sail
#

Idk if he can reach ghcr.io from a client that gets the same nameservers from the router then Iโ€™m tempted to blame haos

#

Assuming itโ€™s not the ipv6 issue discussed earlier

frank perch
#

he said the links work on his desktop

#

oh it is HAOS somehow

#

but what exactly

brittle sail
#

Iโ€™d be tempted to plug that bitch in at a friends house just to test lol

frank perch
#

maybe it's doing DNS fallback?

#

hang on let me find the command to disable it

valid plover
#

just verified on desktop, got to the ghcr.io

frank perch
#

ha dns options --fallback=false

#

and for shits and giggles let's see what ha resolution info says

valid plover
#

ok doing in that order

#

You looking for anything specific in the resolution?

brittle sail
#

closed bug that points to an issue with guys with netgear routers

#

fun

valid plover
brittle sail
frank perch
#

well I have a netgear as well but I'm not on stock FW

brittle sail
#

idk if haos likes that tho

valid plover
#

What are you running?

#

I'll swap idc

frank perch
#

me? an x10 with DD-WRT

valid plover
#

Is it just a search for router and flash it?

brittle sail
#

i wouldnt flash your router while drinking dude

frank perch
#

well you might have to load a prep firmware, then flash it

#

but yeah don't do that

#

it's another rabbit hole in itself

valid plover
#

I realized it as I hit send

brittle sail
#

well i would do it

#

but i wouldnt suggest it

valid plover
#

I don't really want to get a different router

frank perch
#

no

#

you don't have to get another router

#

you can flash yours

#

but again, not while drinking

valid plover
#

It hasn't been heavy enough lol

brittle sail
#

this isnt even a confirmed issue just an educated guess based on information in posts above + your struggles

valid plover
#

I wish there was a way of confirming it