#installation-archived

74689 messages · Page 84 of 75

heavy sleet
#

looks better

#

alot of old automation reappeared in the UI

heavy sleet
#

thanks alot @humble mirage

#

79% memory in use doing pretty much nothing

#

guess i found another bottleneck

green sierra
#

Hi,
Have a question regarding best way to update my very old Home Assistant installed on a Raspberry PI ubuntu.

I seem to lack a lot of new features have this in my Developers tool; Home Assistant
0.100.1

Anyone can link a guide to best way I can update this old thing? 😐 been a few years since i gave it love..

grand pivot
#

You're better off starting fresh and selectively adding things from the old config

green sierra
#

Is that so 😐 was afraid of it..

high token
#

especially if you are saying Rpi ubuntu is that a Supervised install?

green sierra
#

No, i do not have supervised..

high token
#

thank god

#

HA Container then?

green sierra
#

Yeah should be only Container

high token
#

I would spin up a new container with latest image using a new folder for the config

#

then do what RobC said and move things over

#

I'd assume it's not a crazy big installation

green sierra
#

alright, seems like the plan to go. Nah just a few things been running on automation, but now im upgrading my home with things that wont talk to eachother without HA

high token
#

a lot of things will general be either deprecated or moved to the UI now form yaml

green sierra
#

So I can still use the raspberry PI?

grand pivot
#

make a list of the things you were doing and want to continue doing and add each one at a time, reading the docs to see what's changed

#

which one do you have?

high token
#

unless it's a Pi0, sure 😄

green sierra
#

I think a 3B

grand pivot
#

Probably fine for what you're doing. But an SD card that's a few years old may be at the end of its life

green sierra
#

Yeah might be, but i'll take my chances on this now 😄
so installing a new HA container it is?

grand pivot
#

yes

potent agate
#

Does anyone have a recommendation for a Zigbee/Z-Wave combo stick? I’ve seen the bots link for the proven zigbee sticks, but I was hoping for a combo stick that doesn’t have the outdated chip like the Nortek. Or should I just go with separate sticks for zigbee and x-wave? Thanks

humble mirage
#

There's only one combo stick, and it's not great

potent agate
#

Could your answer get any simpler! Awesome thank you 🙏

heavy sleet
#

i have a conbee2 stick for zigbee

#

haven't had any issues

humble mirage
#

Experiences with the ConBee are ... mixed

potent agate
#

I currently have Caseta with the pro bridge now, not thrilled with the push button style switches and would rather have a paddle/decora like the Zooz zen26. So I’ll start out with just a z-wave stick until I move to sensors

meager yarrow
grand pivot
amber iron
#

im having an issue where my home assistant becomes unreachable, usually between 12-36 (been having this issue every day since i switched machines). im running haos in virtualbox on windows. home assistant still shows up as being connected in my router settings, and the host computers connection works fine, but hoas cant seem to establish a connection. a reboot from the home assistant command line doesnt fix this issue, only restarting the vm instance will fix it.
anyone have any ideas where in the logs i might want to start looking for my issue? i dont see anything in the main homeassistant.log at that time, other than devices being unable to connect. im not sure if another log might be useful

humble mirage
#

One test will be to connect to the console and see if you can ping the router

amber iron
#

ive tried pinging haos from another device but receive no response. ill try to ping the router from haos next time i run into the issue

potent agate
humble mirage
#

I mean, you can do all that with just HA

#

Do you feel the need to add complexity and cost for the sake of it?

potent agate
#

Ok, I was under the impression I needed the HA cloud to integrate the Google assistant side.

humble mirage
#

HA Cloud is the point-n-click option, but there's always the manual setup

potent agate
#

Ahh ok. I’ve got some “tinkering” to do. Thanks again

versed nimbus
#

I set up HA earlier this week primarily to control my lights, and everything was working perfectly. Last night my installation stopped working, and I was left unable to control my lights or interact with any integration. I hadn't changed anything. Would someone be able to help point me in the right direction for debugging my issue to prevent it from happening again?

humble mirage
#

How are you running HA? Directly on some hardware (what?) or in a VM (again, what?)

versed nimbus
#

running the HA OS on a raspberry pi 3b+

humble mirage
#

Do you have the SSH add-on installed?

versed nimbus
#

yes

humble mirage
#

Were you able to still SSH on?

versed nimbus
#

yes

humble mirage
#

Then at least the host still had connectivity, which rules out some issues

#

Were you able to connect to the HA UI?

versed nimbus
#

Yes, but that's where everything (i.e. integrations) were not working.

humble mirage
#

Which integrations?

versed nimbus
#

Everything (Hue, Wemo, and Adaptive Lighting)

humble mirage
#

Three integrations is a short list of "everything" ablobjoy

#

What was in the (core) logs at the time?

versed nimbus
#

Haha and all the default stuff!

#

Let me check

humble mirage
#

Knowing what was actually misbehaving will help us help you... vague "everything" and "all" ... shrug

versed nimbus
#

Are the core logs the ones under Settings > Logs?

humble mirage
#

Yes

#

Though the log file exists on disk too, and you'll probably need that for the previous boot if you've restarted HA

versed nimbus
#

Yeah I do. Mind sharing how I access that?

humble mirage
#

Look in /config/ - using SSH or Samba

#

home-assistant.log.1 I think

versed nimbus
#

Just looking through it. One sec...

#

Not sure how to copy the text from within the logs :/

#

I see an error for weather API "ClientConnectorError" and an error for custom_components.hacs that looks like a github rate limit

humble mirage
#

Image of text are a horrible thing really

versed nimbus
#

Agreed!

humble mirage
#

Your problem there looks to be DNS though

#

You'd said that AdGuard had failed?

versed nimbus
#

Hmm that may circle back to my issue setting up AdGuard

humble mirage
#

HA shouldn't be using AdGuard IMO, it should be directly using another DNS server

#

Otherwise, you've got a chicken-and-egg situation at boot...

versed nimbus
#

Got it. This is where my knowledge starts to get shaky, but would running adguard on a seperate raspberry pi (i.e. not running it alongside the HA instance) be better?

humble mirage
#

Sure, but if it's down, all the integrations in HA that require DNS also go down

#

At least ensure you configure HA with some sane fallback DNS

versed nimbus
#

Got it. I'll look into doing that. Thanks so much for the help!!

grand pivot
#

#1 from the docs:

Ensure your Home Assistant device has a static IP and static external DNS servers! This is important! You WILL end up having issues if you skip this step.

versed nimbus
#

I tried to do that, but networking is where things get confusing for me 😬

#

I figured out the static IP at least!

high token
#

that's nowadays done from the UI as well

#

and at the same place you set a static IP is where setting DNS servers is

versed nimbus
#

Thanks ευχαριστώ

hollow cosmos
#

Hey newbie HA user I need some help. Freaking out because I think I deleted my HA and need help re-installing it

#

I think I might have overwrited the Home Assistant on my Raspberry PI trying to figure out how to find Govee Home Dual Home dual plug switches (H5082) ….and I don't think I can find a backup to recover from. I was backing it up but it was within HA not thinking that I should take it to a cloud service or take it anywhere else outside HA because well like It says “backup home assistant.” I have a nabu casa account and i did all the basic sign-in procedures but I dont think I can find a backup anywhere on a hard drive that Im currently aware of

#

Any ideas on what i can do? Really upset if i lost everything. Spent A LOT of time figuring out and renaming entities and intergrations

wanton rune
#

Hi everyone, i'm trying to install HA OS on an ubuntu server host using the KVM image (qcow2). It is booting into the UEFI shell and can't seem to figure out how to get it to boot HA. i've found a few threads on this problem but not much help, including this one where the last post is basically someone giving up on this: https://community.home-assistant.io/t/configuring-hassio-on-libvert-using-qcow2-image/209058/13 Does anyone have this working? Thank you in advance to anyone that can help.

#

I should add that i'm a long time HA CORE user (virtual env install on custom ubuntu VM) however the recent depreciated support of the old z-wave plug-in is making me finally moved to a supervised install, as i don't want to build my own Z-Wave JS server to migrate to that.

wanton rune
wanton rune
#

I figured it out and feel dumb. The qcow image was compressed and I didn't realize that. After decompressing the image i'm now able to boot into HA OS and see the home assistant login prompt.

amber iron
#

probably gonna get a new host machine so question for anyone knowledgable. vm on old windows machine or install linux on a chromebook. either option better or have benefits over the other?

astral kayak
#

Hello @humble mirage

#

I deleted the entire venv

#

the folder where I have setup.py, init.py, components (folder), util (folder) etc...

#

reinstalled it again

#

but still I have

#

2022-05-02 07:22:09 ERROR (MainThread) [homeassistant.setup] Setup failed for mjpeg: No setup or config entry setup function defined.
2022-05-02 07:22:09 ERROR (MainThread) [homeassistant.setup] Setup failed for generic: No setup or config entry setup function defined.

astral kayak
#

who can help me with this error?

astral kayak
#

I fixed my problem easily: I moved generic and mjpeg folders from install to custom_components folder

#

and it worked like a charm

lime cobalt
#

Does anyone here run HAOS on a RPi 3 ? I keep running out of memory every 1-2 days and having to hard reset.

humble mirage
#

What add-ons are you using?

#

Some are known to be memory hogs

lime cobalt
#

AdGaurd Home
Duck DNS
MariaDB
Mosquitto broker
Nginx Proxy Manager
Samba share
Terminal & SSH
Zigbee2Mqtt

I also have these installed, but they are not started. They are for when I upgrade to a Pi4 in the future:
ESPHome
Node-RED
Studio Code Server

humble mirage
#

All that in 1 GB of RAM...

#

I'd uninstall the ones you're not starting, but you're asking for a lot from a Pi3

lime cobalt
#

I think it might be the auto-updates that are breaking it.

humble mirage
#

I think it's more likely that you're trying to run too much

lime cobalt
#

Probably. After a reboot, memory is at 73%. Then it creeps up over the next 24-48hrs and crashes.

humble mirage
#

There's no probably about it 😉

lime cobalt
#

😄 I'll pick up a pi4 when they become available again.

humble mirage
#

Or ... just about any 64 bit second hand mini-PC from the last decade

lime cobalt
#

Looks interesting. How does HA run on those? HAOS or under windows?

humble mirage
#

If it's UEFI capable then HAOS will work, otherwise Debian + Docker

amber iron
humble mirage
#

That tells you it's probably network related, not DNS

#

It's either something going wrong with your Windows host, or VBox

potent agate
#

After setting up a remote dns domain in prep for Google integration…. Now my Rachio sprinkler controller is in error in HA. “Error setting up entry for Rachio”
Any suggestions?

#

Should note that Rachio is CLOUD connected

humble mirage
potent agate
#

Fix found needed to update the url @ config>settings>general>HA url

lime cobalt
crude inlet
#

Tink doesn't run HAOS

#

I guess this doesn't matter. Still may use a micro PC.

lime cobalt
#

I stopped running HA on a server as it was costing too much just sitting there doing nothing for most of the time as HA obvoisly needs 100% on time.
The server runs other services that I can turn on the PC when required.
I moved to a RPi3 that uses 15 Watts, but not enough ram. I'm wondering what a micro PC will use, power-wise.

crude inlet
#

15W? while it's on?

lime cobalt
#

5V / 3A PSU

crude inlet
#

I would expect less, and still under 15 for a micro PC but that's going to differ from one to the next

humble mirage
lime cobalt
#

Thanks. I'm going to get a Dell Optiplex 3040M.

torn monolith
#

hi, not sure if this is the "right" channel, but i will give it a try:) I am not able to reach my home assistent blue after my google mesh wifi had a factory reset (my father did a total factory reset, since he was not able to connect to wifi trough his pc... yes - I got a bit frustrated for that hahah) . As a result of the factory reset on the mesh wifi, I am totally locked out from my Home Assistent dashboard trough the http://homeassistant.local:8123 in the browser, and I get an error when i try to use the HA app. I think the problem is that i the HA dose not automaticly uppdate to a new IP-address, even though i connect my google internett and HA with a ethernet cable. I have search for a solution on how to edit the IP address, and spent the last hours in CLI without any success. I have considered reinstalling HA, but since I do not have a SD-card reader (or much knowledge on reinstaling HA software) I found it to be something I hope to avoid doing. Is there anything i can do trough CLI or any other thing for getting access to the home assistent interface again? I would really like any help! Been trying to fix this problem for a month now, and it kinda sucks not to be able to use home assistent at all! Any help or tips is highly appreciated

lime cobalt
torn monolith
#

I do not think so! But on the other hand the ip-address I got from the CLI is “172.30.32.0”. Not sure if this is the right one

#

It is the one I get when I type “ha network info”

lime cobalt
#

You running HAOS ?

#

or docker?

#

How are you getting to the CLI ?

humble mirage
#

That's a Docker IP range, likely from HAOS

#

You're looking for an IP in the same range as everything else on your network

torn monolith
torn monolith
#

Thank you so much for your effort! Really appreciated😊

lime cobalt
#

Can you log into your router and look at the list of connected clients, then find the ipaddress assigned to the HA instance?

torn monolith
#

Even though it is connected trough ethernet cable, i cant seem to find it in the list at in the google wifi app

humble mirage
#

I suspect that the problem is that it's no longer trying to get an IP from the network cable

#

Sadly I know nothing about how HAOS works

torn monolith
#

should i try to switch cable?

#

or can i trigger an search event in CLI

lime cobalt
#

Try to ping homeassistant.local

#

from a terminal on your pc

vocal atlas
#

Could it be that it already was configured to be fixed ip and now the dhcp range is different?

torn monolith
#

i typed in terminal: PING homeassistant.local

PING: cannot resolve homeassistant.local: Unknown host

#

and got this result^

torn monolith
lime cobalt
#

In your router, are there a list of static IP address assignments?

vocal atlas
#

How did get a terminal on your tv?

humble mirage
#

HDMI out on the Blue...

torn monolith
lime cobalt
#

Do you have a PC ?

#

Log into the router, the router IP address is, probably, 192.168.1.1

torn monolith
#

i have a mac

lime cobalt
#

Then look around for a list of connected clients.

torn monolith
#

i will give it a try 😄

lime cobalt
#

Also, on your TV, what's the results of ha network info, look for a interfaces: section, e.g.
`interfaces:

  • connected: true
    enabled: true
    interface: eth0
    ipv4:
    address:
    • 192.168.1.250/24
      gateway: 192.168.1.1
      method: static
      nameservers:
    • 9.9.9.9
    • 149.112.112.112`
torn monolith
#

since I am not able to post photos here, i added the "problem" to the communety site. so i can post pictures from the CLI

abstract hearthBOT
#

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.

torn monolith
#

i have posted "ha network info" there from the CLI

humble mirage
#

The ipv4: disabled looks like it's relevant to your problem

lime cobalt
#

Yes, i'm trying to find the haos command to turn that on..

#

ha network update eth0 --ipv4-method auto --ipv6-method disabled

#

Run that command.

torn monolith
#

just changed my ethernet cable! haos just finnished reboting. Typing in the code now

#

thanks again for the help! you guys are awsome<3

#

got a error code, i can post a pic in the communety page

lime cobalt
#

ok, you'll have to continue this there, I think.

torn monolith
#

Now I got “command completed successfully”🥳

#

It worked!😍😍😍 Thank you soooo much guys!

prisma turret
#

Could you share what you changed where exactly?

torpid herald
#

Not sure exactly which channel this fits into... has anyone tried to reflash an old Iris hub to run Hass? I've got a v2 and a v3 collecting dust

rustic mantle
#

Is there a way to see if a database update is actually running?

#

when I try to restart the server from the UI it says that there is an update

#

but it's been over a day

#

and before that attempt I had restarted the docker container so I'm not sure if it's actually running or broken

#

The DB is large ~13GB, but it's running on a nuc with plenty of resources, so I wouldn't think it would take that long

amber iron
#

alright so i was looking into my issue and i came across this thread, which seems to deal with my issue:https://github.com/home-assistant/operating-system/issues/545#

however, i put in the nmcli command to manually set my ip from within haos(changing the values for my own network), but i get the following error, and im not sure how to resolve it

Error: invalid <settings>.<property> 'f62bf7c2-e565-49ff-bbfc-a4cf791e6add'.

hot falcon
#

Hello can anyone tell me how to find out if my HA instance is running off of an SD card or my M.2? I have an Argone One M.2 case and it’s been getting super hot so I checked it out and realized the fan isn’t coming on. So now I need to go down the rabbit hole to fix this. I’m running a Pi4 4gb with Home Assistant 2022.4.7, supervisor 2022.04.0 with Nabu Casa Subscription.

sand sorrel
#

hi. Just installed latest supervised on latest debian 11. Looks like it went fine, however I can't access it on http

humble mirage
#

Supervised ... ablobgrimace

#

What do the logs say?

sand sorrel
#

how do I check?

humble mirage
#

Ah, another person who's fallen for the trap that is Supervised...

Check the docker logs?

#

Look in the config folder for home-assistant.log?

sand sorrel
#

where is it located?

humble mirage
#

No idea, I stay away from Supervised

sand sorrel
#

I ned my server to run multiple things, so I need supervised.

humble mirage
#

Then you've done it wrong

#

Running anything outside of add-ons makes it unsupported, and likely to break

#

You should run HAOS in a KVM VM on that host instead

#

It also tells me you skipped right over the requirements, since that's called out pretty clearly in there

sand sorrel
#

anyone else can jump in

latent thistle
#

what can be the reasons for HAOS to become inaccessible?
I can ping the rpi4 without any issues, can't access HAOS gui
can't login via ssh
it was inaccessible for last 12 hours, reboot the host/rpi4
tried to visit add-on page
now can't access it from anywhere

humble mirage
#

Which model of Pi4?

latent thistle
#

2Gb

humble mirage
#

What add-ons are you running? How are you powering the Pi?

latent thistle
#

powered using canakit 3A adapter

humble mirage
#

And the add-ons?

latent thistle
#

let me list those

#

why can't i get a share link from codepile ?

#

done

#

here is the list of the add-ons

humble mirage
#

Possibly a RAM issue

latent thistle
#

ram is usually approx 60-77% used most of the time

humble mirage
#

I'd hook up a keyboard and monitor and the next time you have problems use that console to see if there's anything useful/relevant on the console or in the logs

latent thistle
#

so can record in obs

latent thistle
humble mirage
#

Typically failures like this are down to one of:

  1. Power issues (which can be caused by a power adapter that's ok, but then adding USB devices)
  2. Failing SD card
  3. Running out of RAM
latent thistle
latent thistle
#

1a. 256Gb SSD sata drive and a rtl-sdr adapter

humble mirage
#

Well, that could be enough to cause issues

latent thistle
#
  1. No sd card
humble mirage
#

A powered USB hub should solve the power problems, if that's what this is

latent thistle
latent thistle
#

Using StarTech 2.5″ SATA to connect 256GB SATA

#
Insufficient Power Symptoms
Symptoms of a lack of power to the drive can include the system only booting sometimes (or not at all) or working for a while and then locking up. Just because the drive boots does not mean it is getting enough power. Some commenters on previous articles have described this as working fine until there was a sudden spike in CPU usage while they tried to do several things at once (high CPU, accessing storage, activating various hardware all at once) and then they would get a lockup/crash.
humble mirage
#

If it's powered it should work fine

shut inlet
#

Hey guys, so I got a home assistant core installation for the longest time but now I found myself in the pickle that I have new devices that do not have an intergration in core but they do in supervised.

Now I wonder, what is a good way to migrate my raspberry pi installation running HA core to HA supervised?

humble mirage
#
  1. Supervised is a trap, don't
shut inlet
#

Oh

#

What should I be running then?

humble mirage
#
  1. What version of Core are you on? Because Home Assistant is the same regardless
#

It sounds like you're still rocking Python 3.8 (or older)

shut inlet
#

it might

#

let me check

#

3.7.3

humble mirage
shut inlet
#

version 2021.1.5

#

😄

humble mirage
#

So... time to either rebuild the venv with Python 3.9 or move to Docker

shut inlet
#

I see, so I gotta start over?

#

copy my yaml to a new server

#

and get tinkering again?

humble mirage
#

Nope

shut inlet
#

Oh

humble mirage
shut inlet
#

would be a pain to setup the hass bridges 😦

humble mirage
#

Take your pick

#

Rebuilding the venv is trivial, I've done that a lot - hell, did it yesterday on a test host

shut inlet
#

okay

#

I guess docker would be start over

#

and fresh venv is an upgrade?

#

I'm scared of docker

humble mirage
#

Docker wouldn't be a start over, you point it at the existing config

#

But, creating a new venv is easy, honest

shut inlet
#

thats the issue, I cant find my existing config, I created the config.yaml under homeassist user in pi

humble mirage
#

~homeassistant/.homeassistant

shut inlet
#

sudo -u homeassistant -H -s

#

oh my god

#

you just enlighten my day

#

I always have been switching users

#

docker would be neat though I think

humble mirage
shut inlet
#

ill do the upgrade

#

any flags I should keep in mind?

humble mirage
#

Not really, as long as you have working Python 3.9 it should be easy enough

shut inlet
#

okay

#

thank you, ill report back if everything died 😄

#

Do you want to continue? [Y/n] Y
Abort.

#

umm

humble mirage
#

If you create a new venv and leave the existing one alone then this is 100% safe and zero risk

shut inlet
#

its aborting when executing sudo apt install command 😛

#

nevermind

#

so you do suggest staying on core?

#

I have heard people in the past say that core is bad :/

#

or making fun of me when I had asked questions regarding core

humble mirage
#

I'll probably still be running Core in 10 years ablobjoy

shut inlet
#

awesome, I got some neat configurations on here such as my TOON intergration, but also Roomba and a switch to turn my pc on and off. Beside that I have some z-wave blinds that can be controlled and I want to add Switchbot to it

humble mirage
#

Docker makes life a little easier, but if you have the skills there's nothing wrong with Core

shut inlet
#

All of this is accessible and working with HomeKit

#

even though my homepod nowadays cant control the blinds as its saying its a non supported feature to put them to 100% or "close" them

humble mirage
#

Well, you'll never need to install Python from source again

#

It's also slightly quicker to do an upgrade or downgrade... though if you're not on a Pi3 it likely doesn't matter. Also, with Core you can do the upgrade and then restart into the new version, so the difference is still likely measured in single digit seconds

shut inlet
#

I am on a pi4

#

got it

#

its doing the second to last phase

latent thistle
slow shadow
#

Hi all I'm stuck at initializing page for HA login any advise

#

Using nabu

humble mirage
latent thistle
humble mirage
#

Looks like a network connectivity issue

shut inlet
#

Hey Tinkerer should I worry about the following errors:

Segmentation fault
make[3]: *** [Makefile:641: sharedmods] Error 139
make[3]: Leaving directory '/data/Python-3.9.7'
make[2]: *** [Makefile:534: build_all_generate_profile] Error 2
make[2]: Leaving directory '/data/Python-3.9.7'
make[1]: *** [Makefile:510: profile-gen-stamp] Error 2
make[1]: Leaving directory '/data/Python-3.9.7'
make: *** [Makefile:522: profile-run-stamp] Error 2
humble mirage
#

Somebody has reported that on older Debian installs the make step fails with segmentation faults, and the needed to run the following commands first. I haven't seen that, but if it happens, try it.

#

Of course, if you install Python from packages, it's not a problem

slow shadow
humble mirage
shut inlet
#

if it failed, do I run this command again? cd /data wget https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz tar -zxvf Python-3.9.7.tgz cd Python-3.9.7 ./configure --enable-optimizations --enable-shared --with-lto --with-system-expat \ --with-system-ffi --without-ensurepip make -j$(cat /proc/cpuinfo|egrep -c "^processor") \ LDFLAGS="-Wl,--strip-all" \ CFLAGS="-fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -ljemalloc" \ EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" sudo make altinstall

humble mirage
#

Did you try installing it from packages?

shut inlet
#
export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"```
#

I did do this yes

humble mirage
#

Then... try installing Python 3.9 from packages?

#

Installing from source should be the fallback, not the default path

shut inlet
#

im not following 😦

humble mirage
#

Update your OS, type apt search python3.9

shut inlet
#
Sorting... Done
Full Text Search... Done```
humble mirage
#

If you're on Bullseye you'll find that it's there, ready for you to install

#

If you're not on Bullseye, update to Bullseye

shut inlet
#

so I run now apt-get install python3.9

humble mirage
#

Sure... if it's available in the version of the OS you're running

shut inlet
#

Raspbian GNU/Linux 10 (buster)"

humble mirage
#

Update to Bullseye

slow shadow
humble mirage
slow shadow
#

Wad do I do from.there

humble mirage
#

See if it's alive?

latent thistle
#

why Brutus why?

latent thistle
#

can ping with time of 1-2ms

#

last mqtt message recived at 3:50 and it is 4:02 already

#

05/03/2022 3:50:18 PM 
28.00
#

can't access gui

humble mirage
#

Well, you have access to the console, go looking to see what's going on on the host

latent thistle
#

can't ssh

#

one putty window was open and can't type anything in it

humble mirage
#

Keyboard + monitor

latent thistle
#
Reply from 192.168.18.246: bytes=32 time=2ms TTL=64
Reply from 192.168.18.246: bytes=32 time=2ms TTL=64
Request timed out.
Reply from 192.168.18.246: bytes=32 time=5ms TTL=64
Reply from 192.168.18.246: bytes=32 time=1ms TTL=64
Reply from 192.168.18.246: bytes=32 time=5ms TTL=64
Reply from 192.168.18.246: bytes=32 time=2ms TTL=64
#

don't have a portable hdmi monitor

latent thistle
#

can't get the display

#

changed hdmi to micro-hdmi adapters too

#

after restart time is wrong

#

e.g ```
2022-05-03 09:00:17 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10

#

right now time is 4:50pm

#

16:51

shut inlet
#

hey tinkerer, I updated to bullseye

humble mirage
#

Now you can install Python 3.9 from apt and build your new venv

shut inlet
#

when running "create the new virtual envirioment"

#

shoudlk there be a venv_3.9.7 file?

#

in /srv/homeassistant folder, as I am only seeing a pyvenv.cfg file

humble mirage
#

Folder, if you create it

#

If you're re-creating on an existing venv then you'll break stuff

shut inlet
#

srv/homeassistant this folder already exists

humble mirage
#

As I said before, create a fresh venv, leaving your existing one alone

#

In this case, probably too late

shut inlet
#

oh god

#

xd

humble mirage
#
sudo mv /srv/homeassistant /srv/homeassistant_broken
shut inlet
#
pi@raspberrypi:~ $ sudo -u homeassistant -H -s
homeassistant@raspberrypi:/home/pi $ python3.9 -m venv /srv/homeassistant/venv_3.9.7
python3.9: symbol lookup error: python3.9: undefined symbol: __gcov_indirect_call_callee
homeassistant@raspberrypi:/home/pi $
#

same

humble mirage
#

No idea... I've never seen that before

shut inlet
#

😅

humble mirage
#

You didn't install Python 3.9 from source and from packages?

shut inlet
#

how can I check that

humble mirage
#

which python3.9

shut inlet
#

/usr/local/bin/python3.9

humble mirage
#

Ok, you've got a broken install from source

#

go back to the source folder and try make uninstall

shut inlet
#

source folder would be /data in that case?

humble mirage
#

Wherever you had the source for Python 3.9.7

shut inlet
#
-rw-r--r--  1 root root 25755357 Aug 30  2021 Python-3.9.7.tgz
-rw-r--r--  1 root root 25755357 Aug 30  2021 Python-3.9.7.tgz.1
#

I followed that tutorial 🙈

humble mirage
#

Python-3.9.7

#

I will say this is a big warning sign that Core really isn't your best choice

shut inlet
#

so command would be make uninstall python-3.9.7

#

Yea

humble mirage
#

No

shut inlet
#

what would be best?

humble mirage
#

Docker

shut inlet
#

alright

humble mirage
#
cd Python-3.9.7
make uninstall
shut inlet
#
make: *** No rule to make target 'uninstall'.  Stop.
humble mirage
#

Oh well, sudo rm /usr/local/bin/python3.9

shut inlet
#

alrighty

#

its gooooonee

#

should I continue or just mvoe over to docker

humble mirage
#

You may as well continue for now

shut inlet
#

okay so apt-get install python3.9

#

do I still need to do this part? cd /data wget https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz tar -zxvf Python-3.9.7.tgz cd Python-3.9.7 ./configure --enable-optimizations --enable-shared --with-lto --with-system-expat \ --with-system-ffi --without-ensurepip make -j$(cat /proc/cpuinfo|egrep -c "^processor") \ LDFLAGS="-Wl,--strip-all" \ CFLAGS="-fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -ljemalloc" \ EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" sudo make altinstall

humble mirage
#

No

shut inlet
#

alright

humble mirage
shut inlet
#

🙈

humble mirage
#

Try re-installing the package

apt install python3.9-full python3.9-venv
shut inlet
#
/bin/sh: 1: /usr/bin/apt-listchanges: not found
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
humble mirage
#

Guess you'll need apt-get

shut inlet
#

same error

humble mirage
#
sudo rm /etc/apt/apt.conf.d/20listchanges
sudo apt reinstall python3-minimal apt-listchanges
shut inlet
#
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: py3clean: not found
dpkg: error processing archive /var/cache/apt/archives/apt-listchanges_3.24_all.deb (--unpack):
 new apt-listchanges package pre-removal script subprocess returned error exit status 127
Deferring configuration of apt-listchanges until /usr/bin/python3
and python's debconf module are available
/var/lib/dpkg/info/apt-listchanges.postinst: 212: py3compile: not found
dpkg: error while cleaning up:
 installed apt-listchanges package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/apt-listchanges_3.24_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
#

its dead 😛

humble mirage
#

Clearly... so somehow you nuked the OS installed Python

shut inlet
#

no idea how lol

humble mirage
#

If you did a make install on the source that could do it

#

sudo apt-get install python3.9-full should still work though

shut inlet
#

okay ill try

humble mirage
#

okay ill try

shut inlet
#

E: Sub-process /usr/bin/dpkg returned an error code (1)

#

i think imma wipe it

#

and start over

dawn flame
latent thistle
#
➜  ~ ha host reboot
Post "http://supervisor/host/reboot": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
upbeat wharf
#

I recreated the Docker Container of Home Assistant and now none of my entities (lights, buttons, ...) work?

latent thistle
#

tried restarting ```
Failed to call service homeassistant/restart. [Errno 5] I/O error

shut inlet
#

tinkerer?

#

Do you maybe have a good guide from A to B on installing home assistant on rpi?

#

via docker

#

I formatted the sd card

humble mirage
#

Did you look at the official docs?

shut inlet
#

yes but i get the feeling im installing core again

grand pivot
#

Only if you follow that part

shut inlet
humble mirage
#

Click the bit about Container

humble mirage
#

And other things

shut inlet
#

yes but I dont already have docker running

#

ill just tinker

shut inlet
#

would portainer be helpfull?

#

or will it cause issues with ha?

humble mirage
#

It's a crutch, and one that can cause issues

shut inlet
#

oke

#

i wont then

upbeat wharf
#

What can cause issues with homeassistant? Portainer?

#

Maybe thats the answer for my problem

humble mirage
#

Portainer can cause you issues at upgrade time as it caches stuff, it's not a common problem though

upbeat wharf
#

Ok what can then be the problem. Nothing works, it says: Not available

humble mirage
#

What says that?

upbeat wharf
#

Every entity, lights, my esphome devices

abstract hearthBOT
#

If you're having problems with your updates to your configuration:

latent thistle
#

Better still esphome server

humble mirage
#

The problem is with the communication of HA and ... the other stuff, advising them to immediately ignore HA and jump to the other stuff is not good advise

#

HA's logs should shine a light on the matter

upbeat wharf
#
[041...77d] Connect to 10.0.0.4 failed 
1 7:1 5:29 — (FEHLER) LocalTuya integration (benutzerdefinierte Integration) - Die Nachricht ist zum ersten Mal um 17:14:39 aufgetreten und erscheint 12 mal

Config entry '10.0.0.138 for upnp integration not ready yet; Retrying in background 
1 7:14:45 — (WARNUNG) config_entries.py 

Blueprint Confirmable Notification generated invalid script With input OrderedDict((notify_device', '680f293aa84706a124d2fdcc70cbbbe3), 
1 T.1487 - (FEHLER) Skript 

The Raspberry Pi GPIO integration is deprecated and will be removed in Home Assistant Core 2022.6; this integration is removed under Archi... ```
1 T.1435 - (WARNUNG) Raspberry Pi GPIO
abstract hearthBOT
#

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
#

There's likely more, earlier

shut inlet
#

I can't find a full installation on this how to install docker, HA and get it working

#

its so confusing

humble mirage
#

Failing that, throw in the towel and flash HAOS

shut inlet
#

:/ gif didnt work

grand pivot
#

HAOS FTW, then

shut inlet
#

why is haos bad?

grand pivot
#

It's not. It's for you

#

I use it

amber iron
#

Bump on my issue:

Iwas looking into my issue of haos losing connection to my router after about 24 hours and i came across this thread, which seems to deal with my issue:https://github.com/home-assistant/operating-system/issues/545#

however, i put in the nmcli command to manually set my ip from within haos(changing the values for my own network)

nmcli c mod $(nmcli -g uuid c) ipv4.method manual ipv4.addresses "192.168.1.26/24" ipv4.gateway "192.168.1.1" ipv4.dns "8.8.8.8,8.8.4.4"```

but i get the following error, and im not sure how to resolve it

``Error: invalid <settings>.<property> 'f62bf7c2-e565-49ff-bbfc-a4cf791e6add'.
shut inlet
#

and it supports all the features?

humble mirage
#

It's designed for people who don't have (or don't want to bother with) the skills to manage their own OS and Docker/other software installs

#

If the guides I linked are causing you to struggle then HAOS is a good solution

latent thistle
#

I have similar issue. Have restarted HA at least 5 times in last 6 hours

shut inlet
#

or where to put it

grand pivot
#

definitely HA OS

humble mirage
shut inlet
#

okay

humble mirage
#

I will second the recommendation of HAOS though

shut inlet
#

you gotta start somewhere

humble mirage
#

go for it then

#

I'd suggest /docker for your compose file, makes it easy to find and back up

shut inlet
#

what about this one?

humble mirage
shut inlet
#

😅

grand pivot
#

I just think you're going to run into this over and over again. Consider "starting somewhere" with HA OS, then consider other install methods that require you to learn and understand a bunch of other non-HA things

humble mirage
#

Please RTFM

shut inlet
#

I am reading it, but i just saw it

humble mirage
#

If you're not willing to RTFM then ... there's nothing we can do for you

#

Ah, you're suffering from Squirrel

grand pivot
#

you can always go from HA OS to another install method

shut inlet
#

🙈

#

im sorry ill shut up now

latent thistle
humble mirage
#

It's fine, but you're flitting around in a panic, rather than focussing and getting anything done

humble mirage
shut inlet
#

im waiting till the sd-card is done verifying haha

humble mirage
#

Experimentation should be at least vaguely scientific

latent thistle
#

In fact my installation was on a loaned SD card which is still used as backup after more than 1 year

#

Even when I have moved over to Ssd

latent thistle
humble mirage
#

And you think previous generations didn't also?

#

I have news for you...

latent thistle
#

Installing xp without any guide

latent thistle
#

Now we have YouTube tutorials

#

And discord channels

shut inlet
#

And Tinkerer

#

omg

#

its doing something

latent thistle
#

Doing what?

shut inlet
#

its pulling after docker-compose

latent thistle
shut inlet
#

I don't know, alot of mixed signals here, one uses core, one haos other docker

grand pivot
#

you do you, but all signs point to further pain down the road, which you'll be worrying about concurrently with just learning how to use HA

#

next, you'll say things like "I see all these people mentioning addons, how do I get those?"

#

and "how come I don't have Supervisor?"

humble mirage
#

Core is for folks who're at home compiling software from source
Container is for folks who want to run HA in Docker
HAOS is for folks who don't want to care how it works and just want it to work

grand pivot
#

how come my network doesn't work? What's DNS?

humble mirage
#

Good news, I have here an Etherkiller that'll fix that network right up

latent thistle
#

I think of HA as some noob friendly software, install it from GUI. Add some automations and add-ons and it should work.

grand pivot
#

how come my config file is in /PATH_TO_MY_CONFIG?

latent thistle
#

For advanced users let them enjoy their Clis and dockers

#

It is similar to early days of Android VS IOS debate. I was on Android side.

#

But do appreciate the user friendlyness of IOS albeit with some very awkward restrictions

#

Cant access the file system on IOS etc

shut inlet
shut inlet
#

Why is Z-Wave JS asking for an URL instead of USB device path ._.

humble mirage
sand sorrel
#

I have restored a full backup to a new install and all of history is gone. How do I backup/restore to preserve the history?

crude inlet
#

@sand sorrel Make sure the db is being included in the backup/restore. By default this is the home-assistant_v2.db file in /config.

#

If you're using something else like Mariadb, then it would be a matter of restoring that addon and its data

crude inlet
#

@latent thistle you would make sure to include it in the backup?

#

Do you have a full backup?

latent thistle
crude inlet
#

Then you can click on it, and choose "partial" and see if Mariadb is listed

#

You could try restoring that one add-on

jolly pumice
#

can anyone point me in the right direction. I have a pi4 just updated the firmware now tried to run the HA card and on boot screen it is saying i need newer software.

latent thistle
#

I have following hardware. 1
32Gb card currently used as emergency backup in case Ssd fails to boot up or any other issue.
2. 256GB SATA Ssd
3. Powered USB hub.
4. RPI4
How should I install HAOS for maximum stability?
I have been feed up with this supervisor becoming inaccessible leading to Failure to access HA GUI. Only solution is manual reboot of Rpi4, which isnt working properly anymore, HA becomes inaccessible within mins.
First symptom is all add-ons fail to start.
Should I install HAOS on SD card and move data to Ssd?

jolly pumice
#

start4.elf not compatible

latent thistle
jolly pumice
#

no, freshly made card

latent thistle
jolly pumice
#

only formatted last night, will try it again though

#

not seen that msg before
start4.elf: is not compatible
this board requires newer software
get the latest software https:..........

high token
#

what did you flash to the SD card?

jolly pumice
#

used the link in the HA page for etcher

#

64bit pi4

high token
#

which presumably is pointing to version 7.6 of the OS right?

jolly pumice
#

yes

#

just trying to format card again

high token
#

formatting before flashing is not required if that's what you're doing

jolly pumice
#

sorry, flash the card

high token
#

yeah looks like the right link

jolly pumice
#

was starting again on a pi4, used to use a vm on a server but was getting to costly to run

high token
#

Can't say I've seen that error before

#

maybe you updated too a too recent rpi firmware manually and things have changed?

#

HAOS I belive comes with rpi firmwares itself

jolly pumice
#

it told me it needed new firmware, so i manually updated it now i need new software 😂

high token
#

try this one that was a newer version

jolly pumice
#

jan 20 2022 firmware

shut inlet
#

In docker installation, where can I find the custom_components folder?

crude inlet
#

It doesn't exist unless you create it in the main config directory or configure HACs

shut inlet
#

oki

crude inlet
#

Did you use compose?

naive meadow
#

Hi Guys! @humble mirage guided me here based on my question so here goes:

It's the second time I've installed hassio from scratch on my Raspberry Pi after somehow managed to corrupt the os. Giving me errors like it says it can't find my configuration.yaml file. It seems to sort of happen on it's own. Has anyone of you had any similar experiences? I'm almost considering if I'm getting hacked 😅. I'm using a raspberry pi 4, a new SD card and an official power supply

humble mirage
#

What have you got plugged into the USB ports on the Pi?

naive meadow
#

Nothing

#

Only thing connected is the ethernet

humble mirage
#

Well, no

#

But yes

#

The problem is, SD cards aren't designed for a lot of writing, it kills them over time

#

If that's an SD card made on a budget (which doesn't mean you paid very little for it, it means the profit on it was high) then it may have a limited write life

jolly pumice
humble mirage
#

There's also the problem that the Pi is sensitive to power issues, if the power drops a little when writing you can get corruption

naive meadow
#

Does this happen often though? I've only been using hassio for a few weeks

#

Haven't ever had any issues with raspian on an SD card 🤔

crude inlet
#

A Pi is a Pi, but it happens more often for some users than others. Like they have some aura 😆

humble mirage
#

I suspect HAOS is pushing the Pi more than Raspbian - on average - so problems are more likely to be found

naive meadow
#

Hmm ok

#

I'll try and see if a new sd-card can solve the issue

#

I only have A1 cards though

#

Could that be what is causing the issue?

humble mirage
#

Those are simply indicators of speed, not write life

#

Like having a car that can drive really fast doesn't tell you if it can also stop really fast

naive meadow
#

Right, but if hassio is wanting the pi-car to drive really fast and it can't then couldn't that be an indication that the hardware isn't sufficient for the task?

humble mirage
#

Well, the Pi is an educational toy

naive meadow
#

True

#

Home Assistant Yellow is made using a Pi though

humble mirage
#

But it doesn't run on an SD card

naive meadow
#

And I've used Pi's a lot for other projects

#

never seen them fail

#

So the SD-card might be the issue

#

?

humble mirage
#

I've seen plenty of them fail. SD cards die eventually unless the OS manages the writes

naive meadow
#

What would you recommend running on? 😄

humble mirage
#

I've seen a few folks report a dead SD card after a week of running HA on it

#

Well, just about any 64 bit capable system from the last decade will be a big step up

#

I run on a 9 year old i5 laptop - nice built in UPS

naive meadow
#

One big thing for me though is that the Pi doesn't use ridiculous amounts of power in contrast to regular pcs

humble mirage
#

My laptop draws maybe twice as much power as that Pi4

naive meadow
#

oh

#

well I actually do have an old macbook laying around doing nothing 🤔

humble mirage
#

A lot of the power use of a laptop comes from the display and graphics card

naive meadow
#

So finding a way of disabling those two might help

humble mirage
#

Well, that's pretty easy - if you're not using the display the graphics card isn't doing anything, and you can usually turn off the display too

dark jetty
#

Hey guys,
I’ve had Home Assistant running for ~6 months.
It is installed in a VM on a PC.

I just changed routers, so now everything is assigned a new IP address, and I cannot access my “http://homeassistant.local:8123

I haven’t had too much time to tinker with it to get it back running again, but can anyone help me out with what I need to do?

humble mirage
#

The router may not support mDNS, try the LAN IP instead

dark jetty
#

Ok I will try that once I get home from work. It is the ASUS RT-AX86U

#

AX5700

#

I think I need to port forward port 8123, but I have not taken the time to sit down and play with it yet.

#

Just wanted to get a head start to troubleshooting

humble mirage
#

There's no port forwarding required for that to work - for remote access, sure, but not that

dark jetty
#

Gotcha. Thanks 👍🏽

I think I did try from LAN IP.

My old IP was something like 10.0.0.1:8123

Now it is 192.168.50.1:8123

humble mirage
#

Well, http://192.168.50.1:8123/ will work, if you're not doing SSL in HA

#

If you are, then obviously you need https://

#

(though, I'd expect .1 to be the router, not HA)

dark jetty
#

Ahh yes. The PC that the HA VM is on has a different IP. Thanks 👍🏽

naive meadow
#

Btw @humble mirage thanks for the advice 🙏

rustic mantle
#

Is there a way to see if a database update is actually running?

#

I can't restart cause it says one is running but it's been over two days

#

So I'm not sure if it's going up

wooden smelt
simple iron
wooden smelt
latent thistle
#

How an I free up space on a SD card running HAOS?

#

How to deletee history etc?

crude inlet
#

@latent thistle weren't you just asking about how to restore history earlier? Same concepts.

crude inlet
#

Yes, but specifically about history (mariadb add-on and the default db)

latent thistle
#

SSD installation is 256Gb but issue is it turns out un-healthy every 2 weeks

#

SD is almost 66% full after removing all backups and removing any unnecessary add-ons

latent thistle
#

Preparing Home assistant redirect to correct url itself?

#

Or do we have to refresh the page?

#

Even after so many installations I don't remember correctly

simple widget
#

Hello. Should I delete everything from alexa before install home assistant and nabu casa?

crude inlet
#

No. Wait until you know what you can expose from HA to Alexa

#

After that it would be a matter of avoiding duplicates in Alexa, and making some choices.

simple widget
crude inlet
#

Devices. If you keep the native skill for something, and then also add it to HA and then expose it, you'll have doubles

#

But you should first confirm what you have has existing integrations within HA

simple widget
#

HA has the best community 🤯

latent thistle
#

Should I wait more?

#

It is a Ssd

latent thistle
#

How can I place backup in backup folder manually to save uploading time?

dark jetty
#

My home assistant used to work perfectly fine

Just switched to a new router

And now my home assistant VM does not start in host PC

It keeps getting an error “failed to open season for the virtual machine”

Result code: E_FAIL (0x80004005)

Any guidance?

latent thistle
#

I tried restoring but error
'''
Error 400 upload failed
'''

#

Tried 3 times

dark jetty
#

I’m not able to ping the PC

latent thistle
#

New installation

#
Home Assistant observer
Supervisor:    Connected
Supported:    Supported
Healthy:    Unhealthy

#

why unhealthy?

dark jetty
#

The VM didn’t get an IP address assigned in my router?

clear maple
modern basalt
#

So I have a random idea and I'm not sure how insane it is. I currently run HA OS on a ESXi VM supported by another Ubuntu VM which runs some other services like MariaDB and NGINX. This is running on an old corp desktop which has an i7-4790S and 16gb ram. I also have a Synology NAS that runs a Plex server (which doesn't need to transcode thankfully) and also runs my NVR for 5 cameras. I have been reluctant in the past to move HA to the NAS due to needing to go the docker route and losing out on the features of HA OS, and because it's only a Celeron J3355 processor - however I've just found out that Synology have released their own virtualisation package for their OS.

#

It would be nice to consolidate everything and have all the storage space of the NAS easily accessible, then have everything living under one "roof". I could easily grab another DIMM of RAM for the NAS, then set up the VMM to handle HA OS, but not sure if I'd notice the performance hit at all.

#

Would there be any way to easily "test" the performance of it? If I spun up a fresh VM and perhaps added some local devices in (I know I couldn't easily port my whole config)?

stone orchid
clear maple
delicate burrow
#

I have HA running on an Intel NUC - HA OS which I want to reset to factory, can I do it without re-installing from USB stick?

dawn flame
dark jetty
stone orchid
#

Without further information, this is most likely a faulty installation of VirtualBox. Using your preferred search engine, you can look up the error message and/or the related system calls to find out more.

dark jetty
#

It can’t be a faulty installation when it was working perfectly fine prior to the router switch. Now I can’t get virtualbox to start the VM. Yes I am reading all related threads on forums to try and find my issue

#

Btw, all of the related system calls have solutions to “discard saved state”. But I can’t do that as that option is greyed out for me.

rose stone
#

Hi. I’m planing to move my HA Supervised to an Lenovo M73 Tiny I have from an earlier project. Will I gain anything from installing the desktop environment, or is it best just to stick to the bare minimum “server”? I’m not planing to use it as an normal desktop pc

humble mirage
#

Installing the desktop environment wouldn't be following the requirements for Supervised and would lead to your system being unhealthy and unsupported

#

IMO you should see if HAOS works on it first

upbeat wharf
#

Can I install HAOS on a CubieTruck?

humble mirage
#

I doubt it

#

It looks like it needs specific boot and kernel support

upbeat wharf
#

Ah okay, thank you

humble mirage
#

Outside of a PC it's Pi, ODroid, and Asus Tinkerboard

upbeat wharf
#

I see, no Cubieboard

humble mirage
#

If you can get Debian Bullseye running on it then you could probably get Supervised going

#

You'd have to be nuts though

upbeat wharf
#

Yes I know, but I got 3 Cupiboards and dont know what to do with them so

humble mirage
#

Can you run Docker on them?

dawn flame
upbeat wharf
neon karma
#

Just moved everything to a new disk Getting some errors after moving 22-05-04 19:33:15 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host ip:port ssl:default [Connect call failed ('IP', Port)]
22-05-04 19:33:16 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host ip:port ssl:default [Connect call failed ('IP', Port)]
22-05-04 19:34:26 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host ip:port ssl:default [Connect call failed ('IP, Port)]

mossy epoch
#

When will the 2022.5.0 core Docker image be available?

Pulling homeassistant (ghcr.io/home-assistant/home-assistant:2022.5.0)... ERROR: manifest unknown

high token
#

they haven't even finished building yet 😅

mossy epoch
#

Thanks!

humble mirage
#

It always takes a little time after release for it to be ready

stone orchid
mossy epoch
#

Why is the build taking som long time.... I'm eager to try out the new stuff!

humble mirage
#

If you're that impatient run HA Core as in install method

mossy epoch
#

No, I'm just happy for the new release. I'll wait.

high token
#

Alternatively you can join beta and get to try stuff a week earlier than everybody else. On top of helping finding issues 🙂

stone orchid
dry trail
clever otter
high token
#

you can check on port 4357. If Supervisor isn't running there should be errors there

dry trail
#

strange, because after upgrading to 2022.5 (core) I don't see any notifications about upgrading Supervisor

high token
#

http://your_ip:4357

#

this is HA Supervised right?

dry trail
#

Home Assistant observer
Supervisor: Disconnected

high token
#

is there no log list there too?

dry trail
#

also, from the logs (UI):

Logger: homeassistant.components.hassio
Source: components/hassio/init.py:515
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 15:48:48 (1 occurrences)
Last logged: 15:48:48

Not connected with the supervisor / system too busy!

dry trail
abstract hearthBOT
#

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.

high token
#

If you've have just updated Core it could be the system is busy upgrading the database etc at the moment

#

although that doesn't explain the Supervisor not running at all

dry trail
#

Ok, I'll wait and see what happens 🤷‍♂️

high token
#

looking at the logs though it looks like you are having issues with Network Manager and system-resolved

#

both of which are required and don't seem to be installed/ or at least found

dry trail
high token
#

Portrainer alone might be causing issues as well

#

you're not supposed to have two hypervisors

clever otter
#

just tried to update, done a check through the config checker and get the following error

Looking in links: https://wheels.home-assistant.io/alpine-3.14/amd64/
Collecting homeassistant
  Downloading homeassistant-2022.5.0-py3-none-any.whl (17.7 MB)
     ╸                                        0.4/17.7 MB 5.8 MB/s eta 0:00:03
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
    yield```

I am sure  i read somewhere though that config checker might not work from now on? However i could have  dreamt that!
grand pivot
#

Everyone knows There can be only one...

crude inlet
#

@clever otter yeah don't bother. backup and go for it

clever otter
#

i thought that was the case! Its annoying me that i cannot find where i read about the config checker though! @crude inlet

crude inlet
#

it's been hinky forever. I only ever used it maybe 3 times before realizing. And that was years ago.

grand pivot
#

now that there's a safe mode, I don't think anyone (else) tries to use that

clever otter
#

I do have this issue now trying to update

#

all good fun and games!

grand pivot
#

that's just your network

#

you should fix that

clever otter
#

it is? oh dear!

grand pivot
#

probably DNS or IPv6 issues

clever otter
#

is there any guide i can use for a starter?

high token
#

You can try in the Supervisor in the host card under IP address to change there the network settings

#

1 being for Ipv6 to disabled if not already and 2 for Ipv4 to set to static (which is generally a good idea in the first place as you wouldn't want for the IP of your server to change) and manual DNS servers to something like 8.8.8.8/9.9.9.9

dark jetty
#

Because it was the only thing that was changed.
Anyways, thanks for your help @CodeSalat#1839. Got the VM running.

Now working on getting the IP address changed in the HomeAssistant CLI since I’m not able to load up the dashboard.

I set the new IP using
nmcli> set ipv4.addresses

I can see the new address when I use nmcli> print ipv4

I’ve restarted the VM after saving but HA still shows the old IP

high token
#

if you do nmcli con show how many connections do you see?

dark jetty
#

3

#

The names are: Supervisor enp0s3, Home Assistant OS default, Ethernet (newest one I added)

high token
#

Ethernet being the one green?

dark jetty
#

No. Supervisor is the green one. And that is the original/old IP

high token
#

I've missed what the issue have been

#

and that old IP is not working?

dark jetty
#

Home assistant used to work. Got a new router. Wasn’t able to get the VM running (it is running now). Now working on changing IP.

Old router gave it a ~10.0.0.1 IP, new one is ~192.168.1.1

high token
#

Right so new router has a completely different DHCP pool

#

192.168.1.1 would be the IP of the router itself though (usually 1st IP in a pool is)

dark jetty
#

Correct. I set the IP 192.168.50.5, and changed the DNS and gateway both to 192.168.50.1

But I’m not able to load up the dashboard yet

high token
#

Wait now 192.168.50.x not the same as 192.168.1.x

#

192.168.50.5 is what you set in HAOS via nmcli?

#

what is the IP of the router? And what is the IP of let's say the laptop or your phone (some other device connected in the network) ?

dark jetty
#

Sorry, I had a typo in my earlier message. Not .1.x, it is .50.x

Router IP is 192.168.50.1
IP of devices are 192.168.50.x

Set HAOS to 192.168.50.6/24 via nmcli

high token
#

Ah right OK

#

getting somewhere 🙂

#

and that was which connection from the ones based on nmcli con show ?

#

you know?

dark jetty
#

The green connection is:
Supervisor enp0s3. This is one has always been green. Even prior to adding new connection via nmcli

There is a second connection:
Home Assistant OS default

My newest connection I added:
ethernet

high token
#

delete the others and keep the one you added

#

or keep HA OS default

#

and edit that one

#

nmcli con delete <connection_name>

#

I'd personally keep the HA OS default

#

you could also try deleting other two leave HA OS default as is, reboot and see if it picks up a correct IP automatically

#

basically the active connection at the moment is Supervisor which is probably a static one you set from the UI

#

you made a new one but it's not active

dark jetty
#

I’m able to delete the newest connection I created “ethernet”
But when I use that command for the “Supervisor” connection, it spits back at me:
Error: cannot delete unknown connection(s)

clever otter
high token
#

@dark jetty the naming must be off

#

is it two separate words? might need to be in " "

modern basalt
# dawn flame I had mine on my NAS for quite a while. I moved it off to a micro PC when I star...

Yeah, docker would certainly require less resources, but I really like the addon functionality (Studio Code Server, Google Drive Backup, MariaDB, etc), the supervisor/update notifications, and backups (though I believe backups exist in the docker install method now too). Plus, I don't feel like I know enough about docker to confidently set up individual containers for the aforementioned addons and have them interact safely with the HA container. Out of curiousity, when you say "running more stuff on it", what "stuff" are you speaking of that would require more resources?

high token
#

From the error you might have left IP address/netmask empty

clever otter
#

i filled in all 3 fields. Im just concerned i am going down a rabbit hole here as the error for not downloading the update is very vague

dawn flame
#

We'd be happy to help you get going and learn. I have everything you mentioned short of the backups but I just back my configuration folder up to my NAS. I can run any Docker containers that I wish to run as I have a true Docker host. It doesn't have to have anything to do with HA. HA doesn't use that much for resources so there's plenty to use for other things.

high token
clever otter
#

are you able to allow me to send screenshots?

abstract hearthBOT
#

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.

clever otter
#

ahhh nice one!

dark jetty
clever otter
high token
#

that does look correct

#

although

#

again 1.x

#

didn't you just tell me it's 50.x ?

clever otter
#

other person!

high token
#

oh my god

#

right

#

sorry guys. You're both red

grand pivot
#

I hope it's not controversial to say that all you look alike 🙂

clever otter
#

apologies!

grand pivot
#

(pink anonymous circles)

dark jetty
#

@high token lol you got a lot going on

high token
#

I blame the time haha

clever otter
#

it is very late! I am hoping i wake up in the morning and i can do the update and enjoy the new integration im desperate to use!

high token
#

those look correct so I'm not sure of your error
to me it was suggesting one of the fields were left empty

dark jetty
#

@high token I got the connections deleted. Now my only connection is the HA OS default.

I’m using the nmcli c mod “Hone Assistant OS default” command, and it is saying:
Error: <setting>.<property> argument is missing

high token
#

Now that only that one is left, is it not green?

grand pivot
#

you do need to reboot the host for those settings to take effect

high token
#

Yeah I would just reboot and check what IP it has after that

dark jetty
#

It is green

#

Ok I’ll try that! Thanks boys

modern basalt
# dawn flame We'd be happy to help you get going and learn. I have everything you mentioned s...

Thanks. That's reassuring. I guess my main addon that I'd likely miss would be Studio Code Server. As I understand it, there's a lot of customization that frenck and the Nabu team have put into that addon which doesn't exist in the standard docker packages. Considering I already have stuff like MariaDB running on docker on my Ubuntu server, should be a relatively painless transfer process.

dark jetty
grand pivot
#

the HA extension is in the marketplace and installable by anyone

modern basalt
#

It's not just the extension though, is it? It's a bunch of configuration baked into the addon, and automatic configuration of the API.

grand pivot
#

I run HA OS, but use VS Code natively on my desktop/laptop using the HA extension

#

it's trivial to set up

#

it's literally just this:

high token
#

now that you mention that Rob

#

side question

#

are you getting a bug with !secret tags?

modern basalt
#

How do you access the filesystem locally? SMB addon?

grand pivot
#

be not afraid to install VSCode natively

clever otter
#

i prefer VSCode natively

#

setup the same as above

grand pivot
#

you can. I use SSHFS on my Linux server

modern basalt
#

Oh, I have no issue using VS Code natively, but my "free time to tinker" is generally lunch breaks at work. So Studio Code Server is basically my only option.

grand pivot
high token
#

Hmm I've not been able to figure out why

#

they are all marked as unresolved

clever otter
#

still cannot update, i wonder if its an issue with the external server im trying to connect too

#

as the rest of my system is working perfectly

dawn flame
#

I'm also using VSCode with my Docker setup. It's a wonderful thing....

modern basalt
#

How do people using docker setups tend to know of updates/releases? Just keep an eye on the blog? Or is there some sort of docker alert system?

dawn flame
#

I just run docker-compose every week or two. Updates everything I haven't tied to a specific version.

high token
#

I mean main releases are always a set day every month

#

you should know when that is 😛

#

but generally there is a version integration

#

can use that in an automation

high token
modern basalt
#

Ahh cool, yeah a persistent notification based on version differences would be easy.

#

Oh wait, I don't think I can use Docker anyway. Think I remember reading somewhere that Synology has disabled USB passthrough for non-storage devices in DSM7 unless you use a VM.

high token
#

you don't use HA yet?

modern basalt
#

I do. I run it on a ESXi VM on separate hardware. Considering consolidating onto my NAS to save power. The PC that runs it is drawing about 70-90w constant.

modern basalt
#

Interesting, at least there's a workaround without needing to install VM.

dawn flame
#

I thought I saw something about you having a mini-pc you were thinking of using....

modern basalt
#

I already do run it on a old corp PC. Looking to consolidate because it looks like I have enough headroom on the NAS, and as mentioned - wanting to save power.

dawn flame
#

Ah. Full size PC or a micro?

modern basalt
#

It's an old Optiplex corporate desktop. So not full powered, but not a NUC.

dawn flame
#

Gotcha. I'm running on a ThinkCenter. It's about the size of an external drive and uses something like 65 watts or so. Pretty good for an i5 processor. Plenty of resources left for anything I can see putting on it. I have a DS418 Play Synology that I used to run it on, but decided to move it to it's own machine mostly so I controlled the environment. The DSM7 upgrade would have broken it, so I'm happy I was long past that...

storm sluice
#

then again its cpu is probably a lot better

#

then your nases

dense karma
#

Hello, Hugh in first-time mode. My Bluetooth connection dropped out yesterday and seems unwilling to return. The bot sent me to a cattery rather than tell me how to reconnect. I see there has been an update to the App, but no means to download to my year-old Android Samsung. Any help, please?

modern basalt
sly palm
#

This is just what I need to know. What else can be use be Etcher? The web page only mentions that utility. I am on a Mac. I ran Etcher. It says it flashed successfully, but the Mac says that the disk is unreadable. What else can I use to get the operating system?

narrow ginkgo
#

Hi I am new and trying to install HAOS on an old mac mini with VirtualBox. There is always an error that say Failed to start Wait Until Kernel Time Synchronized.... tried installing on old MBP as well with the same error. Appreciated if anyone can give some advice. Thank you so much

grand pivot
dawn flame
rustic quartz
#

My wifi name and password has changed. How do i change it in Home assistant windows portable? My version stopped working

grand pivot
#

that is an unsupported installation

rustic quartz
#

how do i install the supported version in windows? is there an easier way; HAWP was easy to install

grand pivot
#

and seems to be broken 🙂

crude inlet
#

@rustic quartz easy to install does not mean easy to run

rustic quartz
#

ugh. i'm not a software engineer and don't understand the steps to take now

#

yes, i'm missing the supervisor module that would have provided access to change wifi...frustrating because it's a great product

modern basalt
#

Grab a Pi or a NUC. The installation process is very well documented and maintained. Super easy to do.

umbral rampart
#

im having issue after the update, UI pops up for a sec but then will not load. I can SSH in but not sure what to do from there. Any ideas? Thanks

#

Error: 'Supervisor.restart' blocked from execution, system is not running - CoreState.STARTUP

#

Getting this after running ha supervisor restart

umbral rampart
#

ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config:

#

also getting this

narrow ginkgo
#

Hi I am now stuck at the preparing Home Assistant screen. How long do i have to wait? I have been waiting for over an hour

umbral rampart
#

anyone here have experience restoring a backupup from SSH?

#

side note /talking to myself.... Sucks when hass crashes but plus one for me I installed a fingerbot to reboot my nuc for me

manic bane
#

@simple iron if your python is out of date then you won’t be getting updates

manic bane
#

All HA versions have core. You just are running an old version of python so can’t have anything newer

humble mirage
#

Python 3.9 or newer

simple iron
#

I need to force my shared host to update python

manic bane
#

Either get access to docker or force the update to your shitty host

manic bane
humble mirage
simple iron
manic bane
#

As install

simple iron
humble mirage
#

Packages are likely available for your OS, whatever that is

simple iron
manic bane
#

You can download a package and install locally. For just you

humble mirage
#

"precompiled" means packages

simple iron
#

Oh

humble mirage
#

Frankly you seem to have managed to find the shittiest of hosts, providing the shittiest of servers

manic bane
#

But if you don’t have sudo get a new host

humble mirage
#

I mean, Oracle do virtual hosts for free...

simple iron
#

Can I install Debs without sudo

manic bane
#

Chances are whoever the host is, they’re probably stalking whatever you do

#

Looking at everything

humble mirage
#

When your host is providing you with something worse than a Pi2 you know you've hit rock bottom and are digging towards the planetary core

manic bane
#

Why do you run HA on a remote host anyway

simple iron
#

It's for Minecraft

manic bane
#

Again. Why in a remote host instead of locally

humble mirage
simple iron
humble mirage
#

Why in a shitty remote host at that. I could maybe get it with the folks who've got access to a proper host, that can VPN back to their home as if it was there (bridged VPN).

manic bane
#

Orrrr spend some money on a rPI or an old computer from eBay or other stores and use that so it’s local

#

Local is best as you have full control of everything

simple iron
humble mirage
#

Until you do something you're going to be stuck on an ancient version of HA, and we'll keep having this conversation because you keep forgetting why you can't upgrade

manic bane
humble mirage
manic bane
#

A basic HA instance doesn’t require anything

#

(Unless you’re @lavish anvil

lavish anvil
#

Anything is better than a pi in the end

simple iron
#

To fucking update python

humble mirage
lavish anvil
#

Well

manic bane
lavish anvil
#

Shared hosts are... Pretty cool in 2011

#

And make no sense for home automation

humble mirage
manic bane
#

But yes home automation should be local

simple iron
#

What's python 3.9 in debian repo

humble mirage
#

python3.9-full and python3.9-venv

simple iron
#

It does work

humble mirage
#

Once you've rebuilt your venv with Python 3.9, set a note in your calendar to remember to do this with Python 3.10 in December, and Python 3.11 next December, and ...

humble mirage
simple iron
#

Cz the whole acc is dedicated to hass

humble mirage
#

And Minecraft, and ...

simple iron
#

Mc separate host

humble mirage
#

Well, you still should use a venv

#

You don't have the experience to safely judge whether one isn't required

lavish anvil
simple iron
#

Does apt stop on invalid signature

manic bane
#

More proof this sort of install is not for you

simple iron
#

Debian 4.19 lol

humble mirage
#

I take back what I said about your hosting provider... they're so much worse than I thought

simple iron
#

What version is it
Linux cloud.libraryofcode.org 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux

humble mirage
#

And that's another sign of how out of your depth you are

lavish anvil
humble mirage
#

Check the files in /etc/ - there should be one called something like debian_version

simple iron
#

10.11

humble mirage
#

Almost current

simple iron
humble mirage
simple iron
#

I can pass a custom list though

humble mirage
#

You're on Buster, I doubt Python 3.9 is an option

simple iron
grizzled compass
#

Hi. Running HAOS on RPi3B. I wanted to upgrade to RPi4B but it seems the HAOS images on the release site are either for RPi3 or RPi4.
Is there a way to have a HAOS SDcard that can boot on RPI3 as well as RPi4? I want to run on the RPi4 and have the RPi3 as a quick standby.

humble mirage
#

Short answer, no

#

Buy a spare SD card and keep your backups off the Pi, like you should be doing anyway

manic bane
#

HA backups restore basically everything anyway. So you can be up and running in about <20 min

#

Including flash time

humble mirage
#

If you had it pre-flashed and with a dummy install it'd be up and running faster

green patrol
#

Hello guys
I was using homeassistant core on my rasp pi 4. Today I updated HA to 2022.5.0.

Rebooted my pi and after that HA is not loading.

I tried reinstalling HA but after typing hass at the terminal it's stuck at recorder error.

Plz help me fix this issue

humble mirage
#

Are you using an in memory database?

#

Because if so you didn't read the breaking changes

simple iron
humble mirage
#

Yeah, but your problems are self-inflicted

grizzled compass
humble mirage
#

Sadly not possible with your chosen install method

#

Of course, you can take regular backups automatically...

#

Mine gets done hourly

green patrol
abstract hearthBOT
#

Please don't say I have an error or describe an error. Share the whole actual error message so we can help you.

humble mirage
#

☝️

manic bane
#

In which case backups are even more important

#

Mine are daily because I do most of my HA work at night, backups happen at 3am or so. I only lose history really

grizzled compass
#

Backups are made twice a day on a seperate system, so no worries.

humble mirage
#

I've once seen a dead Pi that wasn't a dead SD card, and that was somebody applying 12V to the 5V input

manic bane
humble mirage
#

Funny as hell

green patrol
# humble mirage ☝️

Currently it's stuck at unable to find configuration creating default one... it's stuck at this point for the last half an hour

humble mirage
#

What on earth did you do to go from a recorder error to a completely broken install?

humble mirage
#

That won't have nuked your config folder

#

What's your install method? Core? Container? HAOS?