#installation-archived

1 messages · Page 11 of 1

craggy cosmos
#

i've tried both hdmi ports on the pi. I assume switching it over to say a tv would be the way to test if that is the case

copper steppe
#

Sorry I don't know about "through ssd with usb boot"

craggy cosmos
#

i've tried both ssd and sd card

neat canopy
#

I am trying to install home assistant on a raspberry pi 4 ideally on a usb connected ssd using a micro sd card as a boot loader to direct the pi to read the SSD. I check to make sure both the usb adapter and ssd show up on raspian. wiped both and then used pi imager to install pi 4 home assistant OS on the SSD and Boot loader on the micro sd. I cannt seem to find it either on my routers list of connected devices or by connecting to the standard address that seems to be the response to every questions "homeassistant.local:8123 or homeassistant:8123

#

does anyone have any suggestions on what else i can try to get it up and running?

#

im avoiding directly running it on the sd card as multiple people i have watched and several i know who have an iteration running say that home assistant can "burn" through the sd card quickly

copper steppe
#

Seems to be some issues with the way in which it's booting? Can you try installing it on the SD card, just to check it installs OK? If that works, problem is in this bootloader thingy

craggy cosmos
#

i can't get it to run through sd card or ssd. but i can get raspian to run. so the pi isnt bricked

astral sequoia
#

Every now and then, I receive a warning that someone tried and failed to log into my HA instance. Sometimes it's family members, and I'm guessing sometimes it's hackers. But I can't tell, because it shows the IP of my inbound nginx instead of the real IP. a) where would I go about changing that b) can I somewhere see the IP of connected clients/accounts ?

polar jungle
#

Hi all, i have flashed an sd card for a Pi 3 and the flash was successful but the device does not connect to to my router and i cannot connect to it via homeassistant.local:8123 either. if anybody has suggestions i would greatly appreciate it thanks.

#

i am connecting via ethernet

humble mirage
#

Did you flash the right image? The image for the Pi4 won't boot on a Pi3

polar jungle
#

Hi yes downloaded the correct pi 3 image

humble mirage
#

The green activity LED flashes when you start it, and the red power LED is on solid?

alpine ridge
#

So you have connected the Pi via cable to your router and don't see the connected device via router UI? I'd recommend to try and find the issued IP from the router and use that for accessing. The ".local" might not work for all routers

humble mirage
#

Also, hooking up a keyboard and monitor can work wonders in tracking down problems 😉

polar jungle
polar jungle
alpine ridge
#

Then keyboard and screen are in order. Probably has some boot issue.

celest quartz
#

Hi I'd like to downgrade from 2022.12.3 to 2022.12.1 in HAOS. Anybody know how to do this?

#

Thanks

grand pivot
#

yes, it's a "common task"

glass ruin
#

is there anyone that running the home assistant os on an older bios based system ??

burnt cairn
#

Hey are some errors when preparing home assistant normal?

#

Ive been on preparing home assistant of a little and it seems to be stuck this

#

I might just be impatient tho

burnt cairn
manic bane
grizzled compass
#

I'm running HA as a python app on Fedora 37. While HA still works okay, I cannot upgrade to 2022.12.3 -- Fedora 37 has python 3.11 and aiohttp 3.8.1 cannot run with this python...
What can I do?

celest quartz
foggy kernel
#

Hey how do I setup the Sky Connect stick with home assistant? the website on the instruction pamphlet does not exist lol

grand pivot
#

I plugged mine in and it was automatically discovered

foggy kernel
#

hmmmm

#

Is it listed under devices for you?

grand pivot
#

I'm running a container install, so I did have to pass the device in

foggy kernel
#

Yeah i installed it directly so no container

#

nvm it popped up after replugging

grand pivot
#

It Just Worked

foggy kernel
#

Do you know by any chance how to add zigbee devices with it? :o

grand pivot
#

I don't have any, but there's a big Add Device button at the bottom

foggy kernel
#

thank you!

glass ruin
#

and i cant access half the stuff i need access to

#

i wanted a supervised install so i have access to the app store and make life easy

#

i just dont understand the need NOT to have an OS for bios systems as well

#

there's plenty of "low power" retired half depth servers that in comparison to a raspberrypi would run circles around it, now only in compute but also memory capacity as well as storage space and future flexibility ( add on cards )

#

call me old school but i like the idea of a piece of software running on a dedicated server for a dedicated purpose

storm sluice
#

and waste loads of energy

#

basicaly all x86 computers made atleast in the last decade support efi

valid forum
#

Supervisor has the wrong timezone (utc)
ssh homassistant "date" shows Mon Dec 12 22:25:33 UTC 2022
{{ now().tzinfo }} in the frontend shows Europe/Berlin

how do i set the supervisor timezone?

storm sluice
#

why do you care?

valid forum
#

good question 😄 i'm working with journalctl to debug some addons in development.

#

i noticed when --start and --end for journalctl weren't working as expected

storm sluice
#

ah so you are talking about the host os

#

dont think you can

valid forum
#

yeah i tried timedatectl set-timezone Europe/Berlin
but im getting
Failed to set time zone: Failed to set time zone: Read-only file system

#

anyway - i'll just have to keep that in mind…

manic bane
glass ruin
#

still on BIOS and no UEFI support either

manic bane
#

A server is far better spent running HA as a VM or as a docker container not as HAOS

fallen violet
#

how do you set up the configuration and supervisor tabs?

manic bane
fallen violet
#

oh, keep seeing it on how to videos for HA

craggy cosmos
#

I have made progress. I now am to the login screen and have connected to wifi. (Used Balenca etched instead of the official rpi imager)

#

But now the server refuses connection. I can use the observer url to see everything Is green. But can't connect

crude inlet
#

@fallen violet now you know which videos are dated 👴

glass ruin
#

OK

#

I installed debian

#

followed this guide

grand pivot
#

do not follow that guide

glass ruin
#

why ?

grand pivot
#

Important Please Read
Before continuing make sure you read and understand the following documents:

  1. Installation method: Home Assistant Supervised

  2. Define supported installation method

#

I hope you thoroughly read those

glass ruin
#

everyone is complaining but no one is helping

grand pivot
#

if so, you would determine that that is not a useful installation method

glass ruin
#

and there is no step by step

grand pivot
#

use the actual official instructions

glass ruin
#

i been trying the official bullshit for weeks

grand pivot
#

ok

glass ruin
#

im still no closer to having it run

grand pivot
#

that guide will not help

glass ruin
#

Please explain to the then why is it that it wont work

#

followed every step and everything installed so far without a hitch

#

this is fucked

#

like everyone is like that wont work

#

that wont worj either

#

like just explain why the hell not

#

this is fucking enfuriating

#

spent the past 2 days fucking around and this is the closest i been to getting HA up

brazen herald
#

Why are you trying to use Supervised?

glass ruin
cinder marsh
#

@glass ruin I'm running supervised, where are you getting stuck?

neat canopy
# craggy cosmos i can't get it to run through sd card or ssd. but i can get raspian to run. so t...

try this in this order. Flash an SD card with the bootloader from raspberry imager. Insert the sd card with a monitor attached, it wlll show a green image when done. Do not connect the SSD. Remove the sd card and flash the SSD with the raspberry pi version that is suited for your device to the SSD. connect the SSD. wait 5-10 minute and check for a new device. Do this while connected to ethernet as that is how you should be running home assistant. This is what i idd and it solved the problem you are having that i aslo was having

glass ruin
#

just tired staring at this screen

#

forgot the sudo when i was attempting to run dpkg -i

#

but its up and running

cinder marsh
#

awesome

thick tulip
#

I'm attempting to setup HA on a Mecer NetTop Mini PC that I haven't used in a while. I am however having difficulty in getting the Boot device to boot after flashing the HAOS image onto the SSD using Balena etcher. The BIOS does not have a UEFI.

When running the Linux commands as written in the installation "manual" it says that the "EFI variables are not supported on this system" - any idea what I can try?

brisk willow
#

You can't run HA OS on it if it doesn't support UEFI

thick tulip
# brisk willow You can't run HA OS on it if it doesn't support UEFI

After extensive web searches, some have found ways to get it working. Unfortunately, the same resolution steps aren't working for me. It's literally just a question of getting the HAOS flashed SSD bootable. The EFI Partition is visible, but it doesn't pick up the bootx64.efi file...

tiny heart
hazy cloak
#

After updating to 12.4 operating System- my recorder no longer starts.
I use a NUC.

#

Anybody got any ideas?

humble mirage
#

The OS should have no impact on any integration - what does your log file say?

hazy cloak
#

Logger: homeassistant.setup
Source: setup.py:202
First occurred: 15:39:08 (4 occurrences)
Last logged: 15:39:23

Setup failed for history: (DependencyError(...), 'Could not setup dependencies: recorder')
Setup failed for logbook: (DependencyError(...), 'Could not setup dependencies: recorder')
Setup failed for energy: (DependencyError(...), 'Could not setup dependencies: history, recorder')
Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: energy, history, logbook')

#

before update everything works fine.

#

Logger: homeassistant.setup
Source: setup.py:200
First occurred: 15:39:08 (4 occurrences)
Last logged: 15:39:23

Unable to set up dependencies of history. Setup failed for dependencies: recorder
Unable to set up dependencies of logbook. Setup failed for dependencies: recorder
Unable to set up dependencies of energy. Setup failed for dependencies: history, recorder
Unable to set up dependencies of default_config. Setup failed for dependencies: energy, history, logbook

#

Ahhh moment

humble mirage
#

You want to look at the actual file too 😉

#

The UI summarises stuff for you, which isn't always helpful

hazy cloak
#

Maria dB did not start ..

humble mirage
#

There you go

hazy cloak
#

Stop got the problem …. Autostart was disabled 🙈🙈🙈🙈

#

Thx for your fast replying!!!!!

#

And sorry again for my stupid question

edgy glen
#

Anyone running HA in Proxmox? How specifically did you pass-thru your USB ZWave and Zigbee dongles (if you have those)? Did you enable PCI Passthru 'iommu' (in Proxmox) or by some other method?

fallen lichen
edgy glen
fallen lichen
#

I had just added the devices through the VMs hardware panel, nothing w/ IOMMU.

low notch
#

iommu is for pci devices, you don't need those unless you want to pass through the whole usb controller

humble scaffoldBOT
#

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

orchid acorn
#

#1019482697187479552 message

I'm trying to utilize seeed directions for supervised. I've worked through a set of things but it says docker is in an unhealthy state yet I can't find exactly what to do about it. I checked logs got apparmor configd etc. Any ideas? I linked as it looked like the convention here is to file anything long.

(posted on seeed related to ReTerminal)
Join link ;
https://discord.gg/QqMgVwHT3X

humble mirage
#

Installing any software on the host or via Docker is likely to result in unhealthy

hollow steppe
#

Updated to december update today. I can't access Setting -> Add-ons anymore, The spiining loader is spinning forever, any ideas ?

#

nevermind, Ctrl-F5 fixed it.

orchid acorn
zealous kiln
#

Reinstalling supervised - What "hardware" should I pick for a TVBox on Debian Armbian ? qemuarm-64 or Raspberrypi4-64 ? U used to pick Rpi4 -64 but get some sound daemon crap running - impossible to remove

humble mirage
humble mirage
zealous kiln
#

I am on Debian Bullseye (was on Ubuntu, thus reinstall). But installer has me pick a Machine Type

humble mirage
orchid acorn
zealous kiln
#

Been running Supervised since before it was deprecated and reinstated

humble scaffoldBOT
#

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

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

orchid acorn
#

oh fun...

humble mirage
#

If you follow them you're never going to get a stable, healthy, supported install

zealous kiln
#

Supervised doc does not really tell what to use for generic aarch64 machine - like the many TV boxes that are cheaper and better than RPi

orchid acorn
#

I liked the idea of the touch monitor and running on that. I'm not tied to it. Just starting out with it. I'll look at the docs provided and see if I can make something work on it. Would be great if Seeed would collaborate on that though... it's essentially a use case that they are promoting through those instructions.

humble mirage
#

If you want the monitor on the host running HA then use Container

#

Sadly... they made some terrible choices with those instructions

orchid acorn
#

The grid that they supplied suggested that prevents features though

humble mirage
#

Well, yes, but no

#

add-ons are just Docker images for the Supervisor

#

The Supervisor is a Docker manager

#

So, you "lose" a UI to click and install/manage Docker containers

#

And, that they used that image shows that they made the choice to ignore the Supervised requirements, which pre-date that table...

#

That doesn't give me a positive feeling

orchid acorn
#

Thanks! I'll go with the container approach. I'm quite comfortable with that space.

zealous kiln
#

What are the difference between the machine types available in Supervised ?

#

Seems like Khadas-vim3 is containing most

copper steppe
#

@edgy glen I run ha in proxmox but don't passthrough. I use an external (eth) coordinator.

edgy glen
copper steppe
#

Easy to setup, and I only just bought my first sensors, but they're crap. Unrelated to the coordinator I think.

edgy glen
silent garnet
#

Setting up a new instance. I want to patch over some configs. If I have the SD card mounted, where could I expect to find the configuration.json? I want my influxdb config stanza 🙂

copper steppe
#

if you're logged into HA via terminal addon, /config/configuration.yaml

ebon wren
#

hello. does the RPI boots from a ssd usb drive? or do i need a special usb sata adapter?

humble mirage
#

You realise there's more than one model of Pi?

#

The Pi4 can, the Pi3b+ can, older Pi3 models can be configured to do so. Other Pis can't.

ebon wren
true fable
manic bane
true fable
true fable
# manic bane Launcher?

sorry, I sould say the "landingpage" from the installation. I have now tried it again and again, and now it's working. I still use the same *vdi file, i don't have changed any setting in the Virtualbox env. Just removed the *vdi File from Virtual box, decrompressed it and attached it again to the virtual Box. This i have tried two or three times and now it was booting flawless... i am not happy without knowing the reason for the problem...

true fable
# manic bane Launcher?

and now again this docker Error 404 when i want install a addon (reproducable)
Can't install homeassistant/amd64-addon-cec_scan:3.0: 404 Client Error for http+docker://localhost/v1.41/images/homeassistant/amd64-addon-cec_scan:3.0/json: Not Found ("no such image: homeassistant/amd64-addon-cec_scan:3.0: No such image: homeassistant/amd64-addon-cec_scan:3.0")

doesnt matter which addon/plugin I choose

alpine hollow
#

Hi everyone is home assistent os a installer or das it run on the sd-card you insert in the pc?

humble mirage
#

It runs on the SD card you write it to

alpine hollow
humble mirage
#

Sure ... write the image directly to the SSD

alpine hollow
# humble mirage <https://www.home-assistant.io/installation/generic-x86-64> covers that

Do you mean this part ```text
As a next step, we need to write the Home Assistant Operating System image to the target boot medium. The HAOS has no integrated installer. This means the Operating System is not copied automatically to the internal disk.

The “boot medium” is the medium your x86-64 hardware will boot from when it is running Home Assistant.
Typically, an internal medium is used for the x86-64 hardware. Examples of internal media are S-ATA hard disk, S-ATA SSD, M.2 SSD, or a non-removable eMMC.
Alternatively, an external medium can be used to boot HAOS such as a USB SDD (not recommended).
To install the HAOS internally on your x86-64 hardware, there are 2 methods:

Copying the HAOS disk image from your Desktop computer onto your boot medium (e.g. by using a USB to S-ATA adapter). This is not an option for a non-removable eMMC on your x86-64 hardware, of course. To use this method, follow the steps described in the procedure below: Write the image to your boot media.
Copying a live operating system (e.g. Ubuntu) onto a USB device. Then, insert this USB device into your x86-64 hardware and start the Ubuntu.
To use this method, follow the instructions of your Live distribution (e.g., this Ubuntu guide). Once you booted the live operating system, follow the steps described in the procedure below: Write the image to your boot media. ```

humble scaffoldBOT
#

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

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

humble mirage
#

Yes, that part

alpine hollow
#

alride thanks i will try

long stream
#

Hi guys, im using openhab 3 at the moment and i´m thinking about movement to HA .. one question is open for me. Is it possible to migrate the old data from OH3 to HA ?? all the data is stored in an influx db

#

or are the data lost until now if i move to HA

grand pivot
#

They're completely different

long stream
#

you mean the db structure!?

grand pivot
#

Yes

long stream
#

ok .. then i think its not possible to use the old data with HA .. thats bad

grand pivot
#

Maybe there's some way to transform it? You'd be on your own, and it has nothing to do with the state history in HA

long stream
#

what is the prefered storing db with HA if i want to use grafana for visualization

grand pivot
#

Influx is fine for use with grafana, it just has nothing to do with HA

#

and the process by which HA would store new data is surely different

long stream
#

not in any case .. HA is the base to connect measurement unit with influxdb

#

okkkayy .. then its not possible. Thought there could be a data migration process or something else

#

thanks

placid sage
#

Hi all! i am new to the home assistant world and wanted to install it on my orange-pi 3 lts. I have tried thousand tutorials but i can't in any way get it to start. Can anyone help me? o tried install arbiam, ubuntu debian etc...

humble mirage
#

Are you trying to install HA Core, Container, or the trap that is Supervised?

placid sage
#

I honestly wouldn't know where to start, I've tried them all . but I can't get it to start . I'd just need it to start, just to start working on it a little bit

humble mirage
placid sage
humble mirage
#

With whatever you want, if you're not at home with Linux use nano

#
sudo mkdir /docker
sudo chgrp docker /docker
sudo chmod g+w /docker
nano /docker/docker-compose.yml
``` (assuming your user is in the `docker` group)
placid sage
#

thanks! i was able to create it! now it tells me though
root@orangepi3-lts:~# docker compose up -d
unknown shorthand flag: 'd' in -d

humble mirage
#
docker --version
``` what does that return?
placid sage
#

Docker version 20.10.21, build baeda1f

humble mirage
#

Ok, that's good at least

#

What happens if you type docker compose config

#

you are in the folder with the compose file?

placid sage
#

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

humble mirage
#

That at least points to your problem

fallen lichen
#

I think also... it doesn't sound like you ran it w/out the DRY_RUN=1 env var. With that, running the shell script only will tell you what it's going to do. You've gotta remove that to actually have it install.

placid sage
#

has now changed

root@orangepi3-lts:~# docker compose config
no configuration file provided: not found

humble mirage
#

That means you're not in the folder with the compose file

#
cd /docker
``` (assuming you followed what I said above)
placid sage
#

root@orangepi3-lts:~# cd /docker
root@orangepi3-lts:/docker#

humble mirage
#

Now try the docker command again

#
docker compose up -d
#

This is also where we find out if you changed PATH_TO_YOUR_CONFIG

humble scaffoldBOT
#

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

humble mirage
#

You need to change PATH_TO_YOUR_CONFIG 😉

placid sage
#

thank you very much for your help

humble mirage
#

I'd suggest you use

    volumes:
      - /docker/homeassistant:/config
      - /etc/localtime:/etc/localtime:ro
placid sage
#

I am new to the linux world, what should I do then, should I just copy and paste?

humble mirage
#

Replace /PATH_TO_YOUR_CONFIG with /docker/homeassistant

placid sage
#

From the terminal how can I do it?

humble mirage
#

Use nano again

placid sage
#

when I do replace /PATH_TO_YOUR_CONFIG ..... not found

livid smelt
#

would this be the proper channel to ask about making a sensor from influxdb data?

humble mirage
livid smelt
humble scaffoldBOT
#

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

#

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

placid sage
#

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docke r daemon running?

manic bane
scenic hazel
#

hi, can someone tell me how to downgrade the OS. Latest OS is breaking bluetooth dependant intergration. I already rolled back the core using ssh : ha core update --version xx.xx.xx so I know the issue is with the OS and the docs also suggest the same

fallen lichen
#

ha os update --version 9.3 would put you at the previous OS rel

scenic hazel
#

@fallen lichen thanks , ill try it out

#

@fallen lichen is working .. thank you! ... hope it fixes my issues. seem like someone breaks every 3 months with HASS updates. I feel to stop updating it sometimes 😦

full sage
#

Okay, I'm starting my first install of HA on my home server which is just a old MBP I have. I tried KVM but we won't talk about that, so let's go to VirtualBox. It's just hanging at Booting 'Slot A (OK=0 TRY=0)' and nothing else. It's just doing absolutely nothing.

#

I'm not sure if it is working, I see no actual status so I don't know if I should just leave it

copper steppe
#

You want to run ha in virtualbox? Do you need to do other things on the box? I love proxmox for this

full sage
timber needle
#

is there a way to migrate from haos to docker? backup and restore. just core, nothing to do with add-ons

#

or does it work just to copy the contents of /config

fallen lichen
timber needle
#

But where do you restore it? In the onboarding process for haos there’s a restore option but it’s absent in container

low notch
#

you restore the contents of your ha backup to /config

crude inlet
#

yeah copy old /config to new /config. That's what a restore is.

full sage
#

Could I potentially just run HA Core within macOS? I don’t think running the VM is going to work

#

Oh shit, I just realized the MacBook I’ve been using as a server is a dual core so it’d suck either way… hm…

humble mirage
placid sage
#

Nothing, I give up... there is no way I can get it to start on orangep

humble mirage
#

I'm guessing you never got Docker working then?

#

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
That may just mean that your user isn't in the docker group/that you didn't use sudo

placid sage
#

no 🥲

mellow hazel
#

If I cannot remember the password to my linux server, is there any other way to update HA Core to the latest?

humble mirage
#

Did you pip install HA?

mellow hazel
#

i truly do not remember. It was so long ago

humble mirage
mellow hazel
#

ok maybe i do remember the password lol!

#

thanks

placid sage
#

but is there not an easier method of installation? such as oracle virtual machine on windows?

humble mirage
placid sage
#

I had already looked but on my aarch64 architecture type those programmes do not work

humble mirage
#

Umm

#

Did you not look at the Windows part?

#

If you click through there you'll discover documentation on using Oracle Virtual Box on Windows

placid sage
#

on my orange pi i can install only ubuntu,debian,android or linux

#

or armbian

humble mirage
#

but is there not an easier method of installation? such as oracle virtual machine on windows?
That's what you asked, and the answer is yes

#

On your Orange Pi, install Debian, then install Docker, and then with Docker you can install HA

placid sage
#

Yes, I misspoke

#

but I always arrive at the point I was at before, from there I cannot continue...

humble mirage
#

Well, that problem is solvable

placid sage
#

How? 🥲

humble mirage
#

Are you still stuck at

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

placid sage
#

yes

humble mirage
#

Did you start Docker?

placid sage
#

root@orangepi3-lts:/docker# sudo service docker start
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.

humble mirage
#

It tells you what to do ...

mellow hazel
#

yeah, i think im doing this wrong. I tried pip --upgrade homeassistant and it says im up to date but i do not see 2022.12 core updated on the ui

humble mirage
#

You only use pip if you used that to install HA originally

#

And if you did, you also need to ensure that your Python venv is on at least Python 3.9, if not 3.10

mellow hazel
#

ok. That I do not remember

#

I dont even see a homeassistant user. It is running, though, inside of Docker

humble mirage
#

If it's in Docker you don't use pip to upgrade

#

The question comes whether that's native Docker, HAOS, or the trap that is Supervised

humble scaffoldBOT
humble mirage
#

Go there, then dotsvertical and System Information

#

You want Installation Type

placid sage
#

root@orangepi3-lts:~# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2022-12-15 16:18:29 UTC; 7min ago
Docs: https://docs.docker.com
Process: 5373 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 5373 (code=exited, status=1/FAILURE)

Dec 15 16:18:29 orangepi3-lts systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
Dec 15 16:18:29 orangepi3-lts systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Dec 15 16:18:29 orangepi3-lts systemd[1]: Stopped Docker Application Container Engine.
Dec 15 16:18:29 orangepi3-lts systemd[1]: docker.service: Start request repeated too quickly.
Dec 15 16:18:29 orangepi3-lts systemd[1]: docker.service: Failed with result 'exit-code'.
Dec 15 16:18:29 orangepi3-lts systemd[1]: Failed to start Docker Application Container Engine.

humble scaffoldBOT
#

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

humble mirage
#

You're going to need journalctl to get more information

#
journalctl -u docker -n 100
``` and post the results to a code share site
humble scaffoldBOT
#

@proper pier 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.

placid sage
humble mirage
#
Dec 15 16:03:39 orangepi3-lts dockerd[5119]: unable to configure the Docker daemon with file /etc/docker/daemon.json: json: cannot unmarshal number int
#

What's in /etc/docker/daemon.json?

mellow hazel
#

trying to take a screenshot but it wont let me paste here ?

#

It says

Built using Python 3, Lit, Icons by Google and Material Design Icons.

Frontend version: 20220301.2 - latest

#

System Health
Version core-2022.3.7
Installation Type Home Assistant Container

placid sage
#

root@orangepi3-lts:/docker# ls
docker-compose.yml 'udo lshw | grep cpu'

#

I only have this, no other files in the docker folder

humble mirage
#

That's ... that's not /etc/docker - that's /docker

placid sage
#

OK I'm there!

humble mirage
#

Now, cat daemon.json and share the results

placid sage
#

root@orangepi3-lts:/etc/docker# cat daemon.json
404: Not Foundroot@orangepi3-lts:/etc/docker#

#

even if I open it with nano it tells me 404 not found

humble mirage
#

That's the content of the file, 404 not found

#

That's your problem... remove the file

#
sudo rm daemon.json
placid sage
#

i do

#

I checked and now the file is no longer there

humble mirage
#

Ok, you know what to do now?

placid sage
#

no 😂

humble mirage
#

Try to start Docker

placid sage
#

with this? docker compose up -d

humble mirage
#

No

#
systemctl start docker
placid sage
#

but always in the etc/docker folder or only in docker?

humble mirage
#

Just run the command

#

That starts the Docker daemon

placid sage
#

ok done, it started (I think) and gave no error

humble mirage
#
systemctl status docker
placid sage
#

wow that's the first time I've ever seen green writing and not red!!!

humble scaffoldBOT
#

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

humble mirage
#
cd /docker
docker-compose pull homeassistant
docker-compose up -d
#

Hoping you fixed the path from yesterday 😉

placid sage
#

Pulling homeassistant ...

#

seems to be loading...

humble mirage
#

It'll take a while on a toy like the Orange Pi

#

Eventually, once it starts the container, you'll be able to connect to port 8123 in your web browser

placid sage
#

I don't know how to thank you! You have been so kind! Super

#

now every time I switch it off, to restart it just do these commands?
systemctl start docker
cd /docker
docker-compose pull homeassistant
docker-compose up -d

humble mirage
#

Well, if your system is set up correctly when the host boots it'll start Docker, and HA will start

#

The point of HA is that you leave it running all the time though

placid sage
#

Yes, in fact HA will always leave it running. but now I may have to mount the case. and then disconnect it from the power. so in theory it should restart automatically? and if it does restart on its own, can I restart it with the previous commands?

#

root@orangepi3-lts:/docker# docker-compose pull homeassistant
Pulling homeassistant ... done
root@orangepi3-lts:/docker# docker-compose up -d
Creating homeassistant ... done

humble mirage
#

Well, your log output already shows that docker starts on boot, so at worst docker-compose up -d

placid sage
#

working!!!!!!!!!!!!!!!!!!!

humble mirage
#

Once you've done the onboarding, your next step is to set up backups 😉

placid sage
#

really Thank you! I was just about to throw out the orange pi!

humble mirage
#

Don't forget the backups 😉

placid sage
#

but can I do it directly from the url? or even from the terminal?

humble mirage
#

Backups?

#

Yes, but then you need to know how to restore them (which you need to know anyway)

#

I'd suggest you look into tools like rsnapshot and rclone, though there's many other options

#

The key thing is that they're not backups until they're on another computer

placid sage
#

perfect! thank you so much

ionic mauve
#

Sorry if this is considered cross thread but I'm having issues upgrading HA. I didn't see an upgrade channel but think this really belongs here vs general. When trying to upgrade, it keeps just hanging / Spinning.

#

Supervisor 2022.11.0
Operating System 9.0
Frontend 20221004.0 - latest

humble mirage
#

What are you trying to upgrade?

ionic mauve
#

Home assistant Core / OS and Supervisor

humble mirage
#

Well... pick one of the three

ionic mauve
#

all 3 fail

#

even add-ons fail

#

just spins

#

I've rebooted multiple times

grand pivot
#

Probably a network/DNS issue

ionic mauve
#

Errors found in Supervisor log

22-12-15 13:10:40 INFO (MainThread) [main] Running Supervisor
TypeError: Expected unicode, got RaucState
Exception ignored in: 'dbus_fast._private.marshaller.Marshaller._write_single'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/dbus_fast/aio/message_bus.py", line 103, in buffer_message

ionic mauve
#

[supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.0:8099 ssl:default [Connect call failed ('172.30.33.0', 8099)]

raven mist
#

is it possible to have 2 rasbery pis running with the same HA file? I have one running and i am restoring a backup on a second one to swap the sd card but after restoring the backup the 2nd (new) pi is unreachable

humble mirage
#

If that's a HAOS install and you set a static IP then the new Pi likely has the same IP as the old one

raven mist
#

how can i change it? Dont really want to shutdown the normal/first pi

humble mirage
#

The trick is to not set a static IP but to use DHCP leases

#

I believe you can use the command line though

raven mist
#

i am pretty unexperienced but where can i like enter it if i cant reach it with the ip adress

#

plug the xd card back into the pc?

#

sd*

humble mirage
#

You'd need to unplug one so you can change the other

raven mist
#

ahh thanx

copper steppe
#

You need to be careful if you're using http://homeassistant.local:8123/ (which is mdns). Both instances may be registering the same name, which can cause screwey cross-wiring issues.

#

ie: your browser/frontend may not be talking to the backend you expect

queen zodiac
#

Hello everybody, just faced a small issue with restoring from full backup. I am using VM and the restore process went smoothly but unfortunately my addons (official) did not start automatically, neither i can start them manually. Is this a known bug?

rapid warren
#

Huh, HASS after update says that python 3.9 will no longer be supported since 2023.2 and Debian stable (which is only other supported system that isn't HAOS) still ships with python 3.9.
What's more important is that debian 12 (where python 3.10 will be shipped) won't be even out by then.

That's rather interesting design decision I'd say

brisk willow
#

Run HA Container or OS and you don't need to worry about upgrading Python on the host

#

Also if you run HA Container it doesn't matter what Linux flavor the host is

copper steppe
#

100%

#

Either that or install >1 version of python. No biggie.

humble mirage
humble mirage
eternal marten
#

ah, this time this was an accident 😄

still star
#

hi guys, i have a problem with migration from HA core venv to HA core docker. I have already installed the HA and run correctly aparte the logbook and history stats. In dashboard don't view the menu on the left (an on single entity history) and this is the log file:

2022-12-16 11:52:12.870 ERROR (MainThread) [homeassistant.setup] Error during setup of component recorder
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 253, in _async_setup_component
    result = await task
  File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 151, in async_setup
    instance = hass.data[DATA_INSTANCE] = Recorder(
  File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 178, in __init__
    db_connected: asyncio.Future[bool] = hass.data[DOMAIN].db_connected
KeyError: 'recorder'
2022-12-16 11:52:13.022 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history_stats. Setup failed for dependencies: recorder
2022-12-16 11:52:13.029 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform history_stats.sensor: (DependencyError(...), 'Could not setup dependencies: recorder')
#

could you please help to found the root of this issue?

humble mirage
#

Check earlier in the log file, and share what your recorder: configuration looks like

still star
#

the recorder value in my configuration is not present, is mandatory to insert? o home assistant assign the default value of recorder?

humble mirage
#

Then you get the defaults, which means you have a local database

#

Check earlier in the log file

still star
#

yes correct

humble mirage
#

It will tell you why recorder couldn't be set up

still star
#

i have a default database, don't have create a specific database for HA

still star
humble mirage
#

Yes

still star
#

before the log i don't have any other log linked to this...

2022-12-16 11:52:00.711 WARNING (MainThread) [homeassistant.setup] Setup of automation is taking over 10 seconds.
2022-12-16 11:52:06.317 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Z-Wave JS' for zwave_js integration not ready yet: Failed to connect: Cannot connect to host localhost:3000 ssl:default [Connect call failed ('127.0.0.1', 3000)]; Retrying in background
2022-12-16 11:52:12.870 ERROR (MainThread) [homeassistant.setup] Error during setup of component recorder
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 253, in _async_setup_component
    result = await task
  File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 151, in async_setup
    instance = hass.data[DATA_INSTANCE] = Recorder(
  File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 178, in __init__
    db_connected: asyncio.Future[bool] = hass.data[DOMAIN].db_connected
KeyError: 'recorder'
2022-12-16 11:52:13.022 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history_stats. Setup failed for dependencies: recorder
2022-12-16 11:52:13.029 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform history_stats.sensor: (DependencyError(...), 'Could not setup dependencies: recorder')
humble mirage
#

There's going to be something else, earlier in the file

still star
#

before this have only warning after home assistant startup...

humble mirage
#

You're running HA Container, with the official container image, not the one from Linuxserver (lsio)?

still star
humble mirage
#

Then it runs as root, so it shouldn't be permissions

#

Try deleting the old database file shrug

still star
#

this home-assistant_v2.db right??

humble mirage
#

Yup

still star
#

ok already delete but when restart HA the file is not recreated is normal??

#

probably i need to insert the "recorder" field in configuration?

humble mirage
#

It'll be recreated

#

if it isn't, check the log file

still star
#

in the log file have only already mentioned log 😦

humble mirage
#

What does you compose file/docker command line look like?

manic bane
still star
humble mirage
#

And /home/homeassistant/.homeassistant isn't a network share?

manic bane
#

Does /home/home assistant/.homeassistant exist

humble mirage
#

It's a local ext3/4 file system?

still star
manic bane
#

Does it work now

still star
humble scaffoldBOT
#

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

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

still star
#

in the left panel of home assistant missing the menu (logbook, history..) and in the entities i don't view the history graph

#

probably is linked to this db problem??

humble mirage
#

Probably, but you haven't provided new log entries

still star
#

in the log file have this error new:

#
2022-12-16 15:19:11.473 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py",, line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 222, in forwarded_middleware
    return await handler(request)
humble mirage
#

That's unrelated to recorder

#

Do you have anything about recorder now, after you restarted?

still star
#

ok perfect is other error

#

i will try to restart now

#

thanks now is ok|!

#

thanks for the support

humble brook
# humble mirage You can also just install Python manually, that's what I do, `pyenv` makes that ...

in theory. They aiohttp 3.8.1 doesn't work with python 3.1x anymore and now HASS 2022.12.6 won't install anymore.
there is already an updated version to 3.8.3 which should work, but needs to be published first.
@still star i see you have python 3.10, you might wanna check this, maybe you're affected as well:
https://github.com/JensTimmerman/home-assistant/commit/b17c73613668893a8811f3c86ee092e77d94c3ad?diff=split

humble mirage
#

Well, given that the containers use Python 3.10... your problem is something with your setup

#

Oh, and I have a Python 3.10.8 venv with aiohttp==3.8.1

#
Version    core-2022.12.6
Installation Type    Home Assistant Core
...
Virtual Environment    true
Python Version    3.10.8
humble brook
#

any ideas how i can skip the aiohttp in the installation for now? I have already the python 3.11 + aiohttp 3.8.3 installed. This installation won't work after 20+ mins of compile, & co, problem is described in the Github linked above. Any tips welcome, thnks!
:/srv/homeassistant $ taskset -c 1,3 pip3 install homeassistant
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting homeassistant
Downloading https://www.piwheels.org/simple/homeassistant/homeassistant-2022.12.6-py3-none-any.whl (20.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.6/20.6 MB 4.3 MB/s eta 0:00:00
Collecting aiohttp==3.8.1
Downloading aiohttp-3.8.1.tar.gz (7.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.3/7.3 MB 6.0 MB/s eta 0:00:00
Installing build dependencies ... -^canceled

humble mirage
#

I'm pretty sure that 3.11 isn't officially supported yet

humble brook
humble scaffoldBOT
#

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

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

humble mirage
#

Right, but ... 3.10 support isn't going away

#

Not until next year

#

This is how it works if you use Core

#

Each December (or earlier) you get to create a new venv with a newer version of Python

grand pivot
#

It's like a Christmas present that you have to make yourself

humble mirage
#

Typically the containers switch around the middle of the year. The sane approach is to wait for that to happen before building a new venv

humble brook
#

mhm, indeed. I'll reconsider eventually the deployment methodology 🙂 i'll stay then in the 3.10 version during this, thanks for your insights! 🙂

placid sage
#

in home assistant from docker. where do i find the configuration.yaml file

#

thks

humble mirage
#

Wherever you mapped /config/ from

#

Look at your compose file if you were smart enough to use Docker Compose

#
docker inspect -f '{{ .Mounts }}' homeassistant
``` if you weren't
placid sage
#

root@orangepi3-lts:~# docker inspect -f '{{ .Mounts }}' homeassistant
[{bind /docker/homeassistant /config rw true rprivate} {bind /etc/localtime /etc/localtime ro false rprivate}]

humble mirage
#
/docker/homeassistant
``` that's where your config folder lives
#

Have you sorted out backups yet?

placid sage
#

no, I was looking at tutorials on how to backup to google drive

humble mirage
#

You don't have add-ons so those tutorials probably won't work for you

#

You can use rclone though

#

I use rclone with Backblaze B2 and run this command (using a shell script called by cron) hourly:

/usr/bin/rclone --fast-list --transfers 16 --bwlimit 2.5M --exclude-from /data/rclone/b2-excludes sync /docker/homeassistant DESTINATION_GOES_HERE
#

B2 supports revisions, so I can go back hourly for as long as I keep the revisions. That's no longer forever, as that was a touch excessive, but is now "only" 90 days. My local backups (using rsnapshot) I have going back to when I started using HA

pine ember
#

I'm trying to install supervised homeassistant on a rpi4b with debian bullseye. After installing all dependencies, it only says "[error] Raspbian GNU/Linux 11 (bullseye) is not supported!" if i try to use the install script. Is there a possibility to still install it or is the debian/rpi4 install not possible anymore? Docker and homeassistant OS are no option, i need addons and control over my rpi4, it has to also do some other tasks then homeassistant. hope you can help me.

humble mirage
#

Sure, it's possible - you have to install DEBIAN

#

Raspbian is not Debian

pine ember
#

ahh. ok

humble mirage
#

control over my rpi4
That however sounds like you're planning on ignoring the requirements and installing other software

#

If so, that'll end badly

#

How much do you pay for B2

pine ember
#

ok, ty. i will try

humble mirage
#

If you want to install other software, then just use Container - no add-ons

pine ember
#

I see the problem. I thought that raspian is a 100% debian version. seems to be the problem here

humble mirage
#

Raspbian is a Debian derivative, just like Ubuntu and others

#

The only thing that's actual Debian is Debian itself

pine ember
#

ok, will try with the real debian. ty very much for help

#

its clearer now, what to do

manic bane
pine ember
#

i only need to run two small scripts that collect data from my sensors. this needs to be made with scripts, i hope this will be possible

humble mirage
#

Technically against the requirements, though shouldn't cause issues if they're shell scripts that use standard utilities

#

You're probably better off building your own add-on for it

frosty valley
#

so I messed up today. I thought HA OS was compatible between pi3 and pi4 like a bunch of other OS

#

i put the SD in the PI4 it would not boot so i looked it up. I swapped the card back and it seems corrupt

maiden mesa
#

uh oh

frosty valley
#

... actually i think the SD is fried

#

perhaps this was my performance issues

#

(the reason i was trying to beef up hardware)

#

FML

humble mirage
#

SD cards do tend to fail

#

Industrial or endurance cards last longer, but on a Pi4 just use an SSD

frosty valley
#

😖 on closer inspection it's broken

maiden mesa
#

like physically?

frosty valley
#

correct

#

i cant post photos

#

but this card just fell apart into 2

humble scaffoldBOT
#

@frosty valley 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.

manic bane
#

Because I wanna see this now

#

We don't often see them failing like this 😂

humble mirage
#

Google has a bunch of images of broken SD cards 😛

frosty valley
manic bane
#

That's impressive ngl

maiden mesa
#

D:

#

it ain't got no gas

manic bane
#

I know the HAOS image isn't supported across a pi 4 to 3, but it's not meant to make it cut in half 😂

humble mirage
#

I can see why that one doesn't work any more

manic bane
humble mirage
#

Nah, it was the back

frosty valley
#

yeah.... for some reason my auto backups have not been working... soooo

#

well auto move them off of the SD card to something not the SD card

humble mirage
#

This is why it's important to test your backups periodically, or at least have notifications when things fail

frosty valley
#

yeah i have a good backup of 6 months ago

humble mirage
#

Though, it is annoying to get woken by a message on your smartwatch at 03:00 because a backup failed

frosty valley
#

unfortunately i moved all my notifications from hangouts to discord and build a discord bot in node red since then

#

but at least maybe i can restore most of my zwave

peak scroll
#

I have an issue with z2m where things freeze up. My specific scenario (Pi, SSD via USB + USB zigbee dongle) is mentioned in their FAQ and that suggests disabling USB suspend but the grub path it says /etc/default/grub doesn't exist on my hassos. Any idea where it's hiding?

manic bane
humble mirage
#

I do, but some notification channels bypass it deliberately. Adding my backups to that was an oversight 😄

frosty valley
#

i wanna know if someone is stalking around outside so i dont have dnd except work email

humble mirage
#

If somebody wants to annoy the hounds they're quite welcome, they could always do with a new chew toy

frosty valley
#

im back online at my configuration from may

#

on pi 4

frosty valley
#

all of the rest is now nice to haves and dashboard fixes and notification fixes. 🤪 could have been worse

#

i should backup now then again when im done 😆

civic canopy
#

After a upgrade of HomeAssistant OS it stopped booting for some reason. I took out the SD card and copied all the files from /supervisor/backup to my laptop. I bought a new SD card and flashed HomeAssistant OS on it and it booted. Now I'd like to restore from the backup, but I have 133 files there named like 00135a18.tar because I had it running for more than a year. But now I have no idea how to do a recovery from it, do I need to go through each and every file and recover?

fallen lichen
#

You don't necessarily have to restore each one, each one is a different backup. You probably have some from addon upgrades and core upgrades and whatnot. Hopefully you had taken full backups at times, and there is a ./backup.json file in those tar files that tells you the name and contents of the backup. I'd probably look for the most recently modified and largest file and start there

civic canopy
#

I never did a full backup somehow I thought that you just give it a directory with backups and it restores itself

#

meh, perhaps it's time to set up everything from scratch again anyway

brisk zephyr
#

I need some help, my HA is running in docker on Synology.
I have a zigbee stick that is showing as /dev/ttyACM0 but I forgot how to start HA and "translate" this device to ttyUSB0, can someone please help me with the correct way of doing this?

#

I tried this

services:
  hass:
    container_name: homeassistant
    image: homeassistant/home-assistant:latest
    restart: always
    tty: true
    stop_signal: SIGINT
    network_mode: host
    environment:
      - TZ=Europe/Oslo        
    devices:
      - '/dev/ttyACM0:/dev/ttyUSB1'

But got no love from it

low notch
#

you first need to find out how you created the container

#

not sure why you would translate the device, simply passing through the path usually works fine

brisk zephyr
#

so the container has been pulled with the regular Synology Docker UI. It creates a docker-compose file on disk that I had to modify to include device ttyUSB1. The problem now is that I upgraded Synology, and now all I see is a device named ttyACM0 and no USB devices. I do run the following script on startup:

/sbin/modprobe usbserial
/sbin/modprobe ftdi_sio
/sbin/modprobe cdc-acm

But I get no USB devices. I suspect that the synology update removed my usb drivers, but I forgot which ones they were

#

so doing ls /dev/ttyU* gives me nothing. All I see is a /dev/ttyACM0 which when I do a lsusb command, I see:

|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
  |__1-1         10c4:8a2a:0100 00  2.00   12MBit/s 100mA 2IFs (Silicon Labs HubZ Smart Home Controller 71500568)
  |__1-2         0658:0200:0000 02  2.00   12MBit/s 100mA 2IFs ( ffffffd1ffffffb2ffffffdbffffffad)
  |__1-4         f400:f400:0100 00  2.00  480MBit/s 200mA 1IF  (Synology DiskStation 7F00092AA813F250)
|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
#

I think it's the usb1.1-1 that I should forward, but I have no idea how to make it appear as a ttyUSB1

low notch
#

well its totally possible that synology removed the driver from the kernel altogether, so it would not show up in /dev and you can't use it anymore in container

brisk zephyr
#

I think I agree with you, how do I add the driver back? 🙂

#

I think I was using something from http://www.jadahl.com/ but that site appears to be down

low notch
#

no idea, I think you will do more harm than good by going that route

#

what happens in dmesgwhen you plug it back in?

brisk zephyr
#

I'm trying a package named SynoKernel USB Serial drivers now, to see if that helps

#

dmesg:

[ 6211.139794] usb 1-2: USB disconnect, device number 6
[ 6211.404601] usb 1-2: new full-speed USB device number 7 using xhci_hcd
[ 6211.546415] Got empty serial number. Generate serial number from product.
[ 6211.554863] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 6218.149627] usb 1-1: USB disconnect, device number 2
[ 6242.796842] usb 1-1: new full-speed USB device number 8 using xhci_hcd
#

And, of course, in HA, I get:

Retrying setup: [Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'
low notch
#

Doesn‘t look very promising

brisk zephyr
#

Restarting Synology now. With some luck, the SynoKernel drivers will help

#

nope, still only showing the /dev/ttyACM0, no usb

#
lsusb -ciu
|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
  |__1-1         10c4:8a2a:0100 00  2.00   12MBit/s 100mA 2IFs (Silicon Labs HubZ Smart Home Controller 71500568)
  1-1:1.0         (IF) ff:00:00 2EPs ()
  1-1:1.1         (IF) ff:00:00 2EPs ()

Guessing that this one is the one that isn't working, the empty sub things there indicate missing drivers right?

#

if it helps I have the nortek zigbee+zwave stick

#

I think what I need is a cp210x driver that works with this DSM

brisk zephyr
#

made som progress, I found the cp210.ko driver from SynoKernel, and have insmod' it. Now I see /dev/ttyUsb0 and /dev/ttyUSB1

#

Ok, problem solved. Here are my steps for anyone else having the same issue:
AFTER DSM update to Synology:

  1. Install package SynoCLI Kernel Tools (required to install the next package)
  2. Install package SynoKernel USB Serial Drivers
  3. Open a tty to your NAS, i.e. using putty
  4. Ensure that you're running with superman mode: > sudo -i
  5. Check your DSM version: # uname -a
  6. navigate to the matching folder: # cd /volume1/@appstore/synokernel-usbserial/lib/modules/geminilake-7.0/4.4.180+/drivers/usb/serial (geminilake in this case)
  7. Copy the cp210x.ko package to your lib/modules folder
  8. Activate the driver by typing: # insmod /lib/modules/cp210x.ko
  9. Verify by checking that you can now see your usb devices: # ls -l /dev/ttyU*

Ths worked for me, I'm a linux noob and have no idea if what I just did is a permanent solution or not, perhaps someone else can correct me or provide instructions for making this better.

manic bane
copper frigate
#

Currently running supervised on an old laptop, I'm upgrading to a nuc. I've recently been plagued by messages about unhealthy and unsupported installations so I guess going with hass os is better? Is there documentation on going from supervised containers to hass os so I don't lose my zwaveJS and zha entities, node red, etc. I have full and individual backups of each.

crude inlet
#

@copper frigate you're already running a copy of the ha os ecosystem, so those backups will work fine

safe anvil
#

Hello, I am trying to set up SSL for my Internet-facing HA instance.
The issue is most of the guides and documentation assume you don't have a certificate, domain, static IP etc. I already have these, and there doesn't seem to be any guide for this situation.

I have a domain which points to a static IP, with port 443 forwarded to the HA server (Raspberry Pi 4). I have an SSL cert from sectigo for the domain in .crt format and an Apache "bundle" file in .ca_bundle format. What do I need to do to bring it all together?

fallen lichen
safe anvil
#

Is this the /config/configuration.yaml file or a different file with the same name? I can't see any existing http entries in mine.

fallen lichen
#

It is that file... If you've got the defaults, that section won't exist

#

You'll need to add it

safe anvil
#

Aah OK, I was expecting to see some existing values somewhere, I'll give it a try, many thanks! :)

fallen lichen
#

You'll also want to add external_url w/ a value of your domain to the homeassistant section

safe anvil
#

Thanks, right now I'm struggling just to figure out how to copy the certificate onto it. Tried the FTP add-on but after connecting with WinSCP I have no permissions to do anything and no visibility of most directories.

fallen lichen
#

If you've got the SSH addon, you can enable SFTP, I haven't had any issues with that.... not sure why you'd be seeing perms issues though

safe anvil
#

Does the user/password in the add-on config need to correspond to the HA admin user?

fallen lichen
#

I'm thinking no.... it looks like that's a completely separate set of user/pass

safe anvil
#

I've tried both in any case and all I see is /media and /share

#

Neither of which I can write to

fallen lichen
#

you added all the "true" values in as well?

#

You also restarted the add on after making changes?

safe anvil
#

Aah thanks! I think I'm getting somewhere. If I wanted to see /etc for example, would I need to add a line "allow_etc: true"?

fallen lichen
#

I'm thinking the FTP add-on won't let you do that

safe anvil
#

Or wait sorry just etc: true

#

Could I copy the cert to /media and then use the terminal to move it to etc/?

fallen lichen
#

The 6 folders in the doc is all it'll let you get to

#

Put it in /ssl

#
ssl: true
allow_upload: true
allow_dirlist: true
safe anvil
#

OK I will give that a try, thanks once again for your patience! :)

fallen lichen
#

Yep, you bet

safe anvil
#

I added this to the configuration file and restarted:

http:
server_port: 443
ssl_certificate: /ssl/cert.crt
ssl_key: /ssl/private.key

Now the port definitely isn't on 8123 any more but unfortunately it doesn't open on 443 either, I get ERR_EMPTY_RESPONSE when trying to open in browser. The FTP service is still up though so it's definitely running...

fallen lichen
#

So... the FTP service isn't part of HA. Just because it's running doesn't mean that Core is running

#

One thing... the crt is likely only the leaf certificate, that'll need to be concated w/ your bundle and used

#

can you look at home_assistant.log in /config

safe anvil
fallen lichen
#

"works"? Or you mean http?

safe anvil
#

The browser complains about the certificate but it does take me to the login screen.
(https)

fallen lichen
#

So... no more ERR_EMPTY_RESPONSE?

#

Or you're saying... locally, it's fine

#

Using your domain isn't working

safe anvil
#

Yeah locally it's "accessible"

fallen lichen
safe anvil
#

I think I didn't put the homeassistant: part in

#

Restarting now

#

It's back on but still same issue.
ERR_CONNECTION_REFUSED when trying to access with the domain name

fallen lichen
#

I'm thinking something is wrong w/ your port forwarding

safe anvil
#

Oh hold on

#

It's working now! I think it might be the A record on my DNS I need to change?
It errors when using www.domain.com but if I take the www. part out it works

fallen lichen
#

Ahh, you can add a CNAME for www to hit the base name

safe anvil
#

Aaah I see, mine's set to @, I think www would be what it defaulted to

fallen lichen
#

@ = apex/base

safe anvil
#

Secure connection too! Thanks for steering me in the right direction, very much appreciated! 👍 😁

fallen lichen
#

You bet, glad its working

eager surge
#

Has anyone had success installing haos-ova-9.4.vdi (latest from installation instructions) with VirtualBox 7.0 (latest for MacOS). I am on a late 2012 quad core Intel Mac Mini running Catalina (10.15.7). Using instructions from Installation page. Booting the vdi hangs or crashes repeatedly. Any thoughts?

#

It usually fail with "Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected" over and over, but not necessarily.

acoustic steppe
#

DNS help: I am trying to register my local IP address on my DNS server locally, Issue I have is because it is in a Docker swarm I can't give it a static.. any help would be great. I have the "local ip" sensor setup and outputting the correct IP is there a way I can update Pfsesne or Adagaud with an automation ?

warm vine
#

Regarding remote access, is there any way to set both nabucasa AND a HTTPS duckdns connection?

humble mirage
#

Sure, use of one doesn't stop you using the other

fringe lily
#

Im at a wall i have tried everything with my limited knowledge.

brazen herald
#

That's a 2 year old post, did you try the docs on the website?

fringe lily
brazen herald
#

Yes

fringe lily
#

yes it didnt work so i started googleing it

copper steppe
#

Slow down. What precisely "didn't work"?

#

Does it work if you use the ip, not the mdns name?

rough rivet
#

hi helpful people. I am new and am doing a raspi 3 install. I have successfully installed and was able to see the initialisation screen (please wait up to 20 mins to configure) but then it disappears and I cannot reconnect. I have disabled all firewalls, I cannot ping the device (but could previously). Any ideas?

#

It appears with an ip address as an attached device, in the browser it says 'refused to connect'

#

correction - I can ping the ip address successfully, it is just refusing connection

unreal bane
#

@rough rivet have you tried a different SD card? I had a similar issue caused by a failed SD card once.

rough rivet
#

no I havent, dont have a spare one unfortunately. I can try a reinstall and see if that works?

unreal bane
#

You may try to reimage the installation onto the SD card and see if that helps.

#

Amazon has a good deal going on their micro SD cards going right now. I just ordered a couple because I am having a few weird issues on my RPi right now.

rough rivet
#

should the card be formatted or not?

unreal bane
#

I would format and then reimage with Balena

#

I think Balena can do that

rough rivet
#

ok. fat or ntfs?

#

its a 32gb

unreal bane
#

fat I guess. It should get reformatted again when you image.

rough rivet
#

yep thx

#

ill check out amazon too

unreal bane
#

The SD card problem is the biggest reason I’m contemplating moving to a NUC or similar. I go through about 1 or 2 SD cards a year.

rough rivet
#

I did a 64bit raspi3 install, maybe ill try a 32bit

unreal bane
#

Might as well give it a shot.

copper steppe
#

Are you opening port 8123 not 80/443?

rough rivet
#

yep

copper steppe
#

Maybe it crashed for some reason. Can you ssh to the box?

rough rivet
#

Ok reporting back. Now working. Rebooted it for the 4th time after doing nothing different and it’s all fine. The only difference is I had a monitor plugged in on reboot. I can only guess there were 3 crashes then it was fine.

copper steppe
#

IIRC, depending on your internet, it can take a long time to do the install. It downloads a bunch of images

#

a couple of GB at least

fringe lily
# copper steppe Does it work if you use the ip, not the mdns name?

It seems I got the VM to deploy successfully. When I view everything through Cockpit it shows me that HA is running. I can see it through Console view. It says you can access HA by going to mDNS or IP:8123 but it does not seem to be accessible on my local network.

I see port [8124 open popilo] (something like that)

But not able to access it.

One thing I noticed is I didn’t have a connection named “Home Assistant Supervisor” when editing the IP via nmcli

Just the Ethernet connection was visible.

rough rivet
#

thx for the advice both. much appreciated. great community.

copper steppe
#

@fringe lily no idea about running KVM natively, I use proxmox same as author of article you linked. SO much easier (one-liner in fact)

#

which ip address is it reporting? it may be a private container network, not bridged to the real network

fringe lily
copper steppe
#

@fringe lily proxmox is a type-1 virtualiser, like ESX. You install it natively on your box, then can run any VMs or containers you like; web interface etc.

#

I use the scripts from this guy to install stuff https://tteck.github.io/Proxmox/
Installing HA with default settings is a one-liner
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/haos-vm-v4.sh)"

steep portal
#

Hello there
I don't know if it's the right place to post. Sry about that
I had HAOS and zigbee2mqtt installed on a rpi3. Everything worked fined but i was a bit laggy.
So I installed HAOS on a proxmox VM. It works great
I installed zigbee2mqtt on another proxmox VM. Everything seems fine but i can't connect to the mqtt server from HAOS vm or from another computer.

here is my config yaml
https://paste.debian.net/1264358/

Here is the log when i start
https://paste.debian.net/1264359/

When i try to connect with mqtt explorer to 192.168.1.200:1883, nothing is happening

manic bane
steep portal
#

Yes i wanted to have multiple haos instance. One prod and one dev. So I can do some test without breaking my house domotic. To do so I need to separate haos from zigbee2mqtt.

humble mirage
#

Did you install Mosquitto or another broker on whatever host is 192.168.1.200?

manic bane
steep portal
humble mirage
#

Well, then I'm not sure how you expect anything to talk to the broker you didn't install

humble mirage
#

Either install the broker on the HA host and point both HA and Z2M at that, or install it on the Z2M host and point both HA and Z2M at that

steep portal
#

even if there is a broker installed on this host (192.168.1.200), i should be able to connect to it with mqtt explorer, and see that there is no topic

#

because i can't connect i didn't do the next step (install a broker), in my mind i should first be able to connect

humble mirage
#

You can't connect because you didn't install the software you're trying to connect to

steep portal
#

i should read again the documentation to make sure i understood well the way mosquitto and zigbee2mqtt work one with another

humble mirage
#

Z2M talks to your MQTT broker, which HA also talks to

#

It's even in the requirements for Z2M

#

No software works until you install it, that's kinda how the universe works

steep portal
#

Z2M publish messages to mosquitto and with HA i read the topic with a subscription

#

am i right ?

humble mirage
#

Well, it works both ways

#

Mosquitto is the "bridge" that Z2M, HA, and many other things use to communicate with

steep portal
#

ok i thought that z2m was dealing with the topic creation, and HA was only reading it.

humble mirage
#

Somewhat, but it needs somewhere to create it

#

(Also, if Z2M was the only one sending messages then HA wouldn't be controlling anything)

steep portal
#

that's why i read it can replace my hue gateway or xiaomi gateway

humble mirage
#

It can

#

But, you skipped right over the requirements and didn't install a broker

steep portal
#

it seems so

#

thx for the explaination

pearl vale
#

Is it possible to force home assistant to enter the emergency console? I'm on a fresh install and it's having trouble syncing the time (probably a DNS issue), but I can't get access to any interface that lets me make changes to rectify the situation. I tried switching ttys but that doesn't seem to work, and I'm just stuck at "Waiting for the Home Assistant CLI to be ready..." forever

#

it seems like I can press ctrl+c and it clears the screen, waits a while, and then "Waiting for the Home Assistant CLI to be ready..." comes back. This is with operating-system v9.4

manic bane
#

(well and configure it too)

humble mirage
#

Technically MQTT is the protocol 😛

manic bane
#

The simpler the betterer 😛

pearl vale
#

Just tried installing v9.3 of the operating-system and it has the same behavior.. hmm.

pearl vale
#

I've also noticed that the ethernet adapter appears to be working when I start the machine up, but when haos stats loading it goes dead. After it fails to sync time, it turns back on

#

tried switching the ethernet cable as well, that doesn't seem to have an effect

#

really wish I could view the logs 😆

low notch
#

why do you want to enter emergency mode?

#

you should make sure that it successfully finds into the internet and dns works

tidal cedar
#

Not sure if this is the right place to ask, but how can I change the logfile location when running Home Assistant Container? With Core I could just run hass --log-file <new location>. Is something similar possible with docker?

oblique river
#

Hello everyone i have a question i want to lower my ceeling its 9meter long 5 meters wide what led strip can i use the best to intergrate it easy on home assistant any tips on the brand ? And can i just connect them to one long led strip of 29M

pearl vale
# low notch why do you want to enter emergency mode?

so that I can take some action. Right now Im just sitting at a text prompt saying it’s waiting for the CLI to become ready. I can’t confirm that it has an ip address or that it has connectivity because I can’t do anything. (Though I can confirm externally that there is connectivity, since I can ping the machine)

low notch
#

You should not need more action than fixing your dns ?

bright panther
#

First time installer, I finally got the x86 generic image to work as a virtual machine on TrueNas with the help of Petricia's great write-up. Now, I can't access the HA server via homeasistant.local:8123, homeassistant:8123 or via IP:8123. Nothing separate from the NAS shows up in my router. Any ideas?

unreal bane
oblique river
#

@unreal bane can i send you a pm ?

kindred needle
#

hello - first time installing home assistant - managed to use Container Station on my QNAP NAS and got all set up, I can see the main page on my IP with port 8123 - but cant figure out how to get "settings" added on? Any help muchly appreciated - thanks 🙂

humble mirage
#

Are you referring to "add-ons"?

kindred needle
#

I think so (sorry bit of a newb)

manic bane
#

What are you trying to add

#

Like what do you mean by settings

humble mirage
#

Then ... you don't get add-ons as you didn't use HAOS, but add-ons are just software running in a container

oblique river
#

@manic bane thx i will ask in that topic

unreal bane
kindred needle
#

ahhh ok cheers - so I can't add 'add-ons' as I'm using a Container set up via QNAP - Thats cool... makes sense - do you know how I can set everything up? I'm looking on here: https://www.home-assistant.io/docs/configuration/ - but not making much sense 😄 🙃 thank

kindred needle
#

thanks - oddly, it auto logged me in - even though I don't have an account) (i didn't see any of the create an account screens) hmmmm

#

Is it easier/better with a Raspberry Pi? 🤣

humble mirage
#

Depends entirely on you

#

I'd not suggest a Pi as an upgrade from anything other than a toaster

kindred needle
#

haha...

#

i may kill the container and do a fresh one - seems odd it auto logged me in, and all I can see is 'TV' on the Home screen (thats not even my tv)

humble mirage
#

It didn't auto-log you in, it can't

#

You have to go through either onboarding or restore a backup

kindred needle
#

yeah it's odd as the onboarding screens never popped up - but i'm deffo logged into the main dashboard

grand pivot
#

I guess you looked trustworthy

manic bane
kindred needle
#

never used it before... pretty sure my neighbours wont be 😄

manic bane
#

You have to log into a HA instance, and you have to set it up first

#

If you're seeing a TV on the Dashboard then thats also been configured

kindred needle
#

yep it's really weird - think I'll kill it and restart and see where I end up - Thanks for your intel folks 👍

manic bane
#

Kill it and see whether you can also load it, if so then you've got another instance running on your network

kindred needle
#

cool - cheers - another thought, I can connect via browser url fine, but the HA App wont connect at all

placid sage
#

is there any way i can increase my cpu clock speed in home assistant os? its only clocking at 1.3ghz and its able to do about 2.5?
cpu is celeron N3060

low notch
#

It'll run on base clock as long as there is no demand for higher clocks I assume?

pearl vale
placid sage
low notch
low notch
placid sage
#

mstone#9474 | 12/18/22, 08:07:45 PM

that... is not was this processor was made for so 🤷‍♂️

I mean in Windows its possible so why not on Linux was my question man. But i understand. 👍

low notch
#

if you want you can run multiple yescommands for each core, will get you that juicy boost for sure

pearl vale
tall wraith
#

hello, im having issues with Zigbee2MQTT - i add the repo but no button appears to install Zigbee2MQTT

raven frost
#

How do I permanently, automatically edit values that need to be set via sysctl? Usually, you put them in a file into /etc/sysctl.d but that's on SquashFS on HAOS and is read-only

manic bane
#

What values are you trying to set

raven frost
manic bane
#

If you're trying to set a HTTP proxy IIRC HAOS does not support them

#

Also running HA over wifi is not great either...

raven frost
manic bane
raven frost
#

I do. Let's say I switch to that. I still have to enable proxy_arp on eth0

manic bane
#

What kind of network is this being used on that you need a proxy

raven frost
manic bane
#

No I meant, what network are you using that needs a proxy

raven frost
#

proxy_arp is not an http proxy

#

but, most of my devices are Wiz Connected, they connect to WiFi

#

in order to connect to them from the Wiz app on iOS (which is still necessary because not all Wiz things are configurable from inside HA) I need for them to be visible on the main house network

manic bane
manic bane
grand pivot
#

@raven frost can you please add an avatar so that the conversation is easier to track?

manic bane
#

They have one, its just nearly the same colour as discord dark theme lol

#

Reason for light theme I guess 😛

raven frost
# manic bane Wouldn't that be as simple as just connecting the Wiz devices to the house wifi ...

When connecting to the house wifi, they overload the Wifi. Otherwise I wouldn't have even bothered with HA, I would've just used the app directly. So, what I have is a separate Wifi network just for IoT. I've already gotten it to the point where everything works. The devices connect to the separate IoT network, and then when I enable proxy_arp, they are visiable from the main Wifi.

The issue is that all of this disappears if the RPi is rebooted.

The reason why it disappears is because the sysctl setting is not saved across reboots

raven frost
manic bane
raven frost
#

However, I feel like we might be getting off-track a little bit. Let's reorient the discussion in the following way:

How can I run a command on the host every time HAOS boots?

raw hedge
#

Overload the WiFi? What’s pile of shit are you running?

raw hedge
autumn vortex
#

I am having issues updating to latest core, supervisor and OS, just sitting with foreverl spining wheels. current on supervisor 2022.11.0, OS 9.3 and homeassitant 2022.11.2 (as pulled fomr ha > info

Is there a correct sequence to update each of these (i have not bothered with a sequwnce before, but just asking 'incase').

this is all the supervisor log shows, not sure if i should be looking at other for supervisor update logs?
https://pastebin.com/pVTYxvQ5

#

Is this an issue
2022-12-18 14:44:42.144 ERROR (Recorder) [homeassistant.components.recorder.core] Error during connection setup: (MySQLdb.OperationalError) (2005, "Unknown MySQL server host 'core-mariadb' (-2)")

#

hmm i am confused, i have always AFAIK use the mariadb in add ons, but when i started to manually (and it was set to start at boot and didn't) i got this

#
[14:46:58] ERROR: Got unexpected response from the API: There is already a MySQL service in use from core_mariadb
[14:46:58] INFO: Successfully send service information to Home Assistant.```
#

i restarted the VM and I am not just trying to update an add-on (ssh and web terminal) and it just spins forever too

pearl vale
autumn vortex
#

i think my issue is 100% database related, recorder, history, logbook, energy and default config all have an issue because the mariadb in addons is never starting at startup

#

i can manually start my mariadb instance, but that doesn't help

#

all my other addons fail to start so i can't use the terminal add-on etc

autumn vortex
pearl vale
autumn vortex
#

what can i do in that shell? does it give me access to normal command line (so i can see wtf is going on with docker, etc etc?

#

and more importantly see my config files....

#

for example when i try and start the studio code server I get Image ghcr.io/hassio-addons/vscode/amd64:5.4.1 does not exist for addon_a0d7b954_vscode

brazen herald
#

Are you running HAOS or a Supervised install?

autumn vortex
#

i am running the Hyper-V VM that uses the supervisor (aka docker is present inside the VM)

#

i think that is HAOS

brazen herald
#

You should be able to see the Supervisor logs in the UI

autumn vortex
#

(tbh after 2+ years the naming still gets me wrapped around the axle)

#

yes and i posted them above via a pastebin

#

should I update core, OS or supervisor first?

brazen herald
#

What's the most out of date?

#

And your NUT addon seems to be misconfigured, there are lots of errors.

autumn vortex
#

yes there are lots of errors and i don't understand why. everything was seemingly ok before failed updates and a restart

#

i am om supervisor 2022.11.0, OS 9.3 and core 2022.11.2

#

I am more concerned about the type error / exception on startup of supervisor than the warnings

#

also my logs vary, a lot on each start

brazen herald
#

I'd update core, supervisor, and OS personally. Not sure if that's the recommended order to be completely honest—but that's usually the order updates come in

autumn vortex
#

this is my current supervisor log

brazen herald
#

I would stop all of your addons from starting at launch before installing updates. It should allow you to see if there are other issues.

#

Then you can start one at a time, check its own logs and the supervisor as well as OS logs and see where the problem(s) are

autumn vortex
#

let me try that again

brazen herald
#

Make sure to stop any running addons as well, just in case one is doing something odd and causing more problems

autumn vortex
#

yup setting all of them to off except mariadb

#

i was trying too many things at once - and once i had an update with a spinning wheel even restart in the UI would work and then i needed to hard reset (no i don;t like doing that)

#

ooh that got rid of the supervisor exception

#

and first time i got a styartup complete

22-12-18 15:33:19 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-12-18 15:33:19 WARNING (MainThread) [supervisor.jobs] 'StoreManager.reload' blocked from execution, supervisor needs to be updated first```
#

is there a way to see the supervisor upgrade logs?

#

ok, trying supervisor first, it shows this

22-12-18 15:35:16 INFO (MainThread) [supervisor.supervisor] Fetching AppArmor profile https://version.home-assistant.io/apparmor.txt
22-12-18 15:35:17 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: hassio-supervisor
#

its been going 3 minutes so far...

brazen herald
#

Good luck 🙂

autumn vortex
#

literally nothing in logs after that 😦

#

will restart and try doing core first next time

brazen herald
#

Well if it still says its updating it's worth giving it some time and checking the other logs too 😉

brazen herald
#

Well the fix is shared in that post

autumn vortex
#

yup this was an issue for certain folks in beta back in Nov - i was laggard on updating and beta support channel is currently closed

i used the curl fix - worked perfectly

#

updating other items now

autumn vortex
manic bane
# autumn vortex (tbh after 2+ years the naming still gets me wrapped around the axle)

Theres a pinned post here showing what each layer does, but simple terms:
Core is the underlying python, Container is core inside a docker container, Supervised is a supervisor along with the docker containers and you manage the OS, and OS is an all in one easy package.

In order of least to most difficult: OS, Container, Core,......................................... Supervised (aka last one too difficult to bother with and don't use it)

#

Also apologies for not noticing the Supervisor version else could've directed you to that!! Forgot 11.0 was one of the beta issue ones

autumn vortex
#

yeah, i recall now that the version with supervisor is not the supervised version - i think thats where i stumble when i come back every few months 🙂

copper steppe
#

there's a known upgrade issue from the beta

autumn vortex
#

i should have checked github first

#

(which is where i found the bug with the link to the post)

manic bane
autumn vortex
#

i think i will do a full VM shurdown too, some of the addons are still funk and backup is too....

#

Hmm i am still getting an issue with a few addons where it is not offering me an update and won't start because there is no image for it...

like this

22-12-18 16:08:36 ERROR (SyncWorker_6) [supervisor.docker.manager] Image ghcr.io/hassio-addons/spotify/amd64:0.12.2 does not exist for addon_a0d7b954_spotify
22-12-18 16:08:36 INFO (SyncWorker_6) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REPAIR - ContextType.ADDON / a0d7b954_spotify
22-12-18 16:08:36 INFO (SyncWorker_6) [supervisor.resolution.module] Create new issue IssueType.MISSING_IMAGE - ContextType.ADDON / a0d7b954_spotify
#

when i go into the add-on store it gives me option to install - if i use that will it blow away my settings?

#

or are the settings held in state directory outside of the container?

#

(getting this for esphome, samba share containers/addons too)

#

ha addon info tells me they are installed and no update is available ha addon update <name of addon> tells me they are not installed....

autumn vortex
#

i just removed them and re-installed and reconfigured, it was faster than troubleshooting

slow sky
#

Is it possibly to run HA on VM ware and then access that system on the same laptop that runs the VM Ware ?

grand pivot
#

You would 'access' it like any other machine in your network

slow sky
#

So i tried some stuff already before coming here and here is where it gets weird. According to the documentation i need to selected “ bridged adapter “ under my network settings of the VM however when i do i can’t select an adapter.

raven frost
raw hedge
copper steppe
slow sky
copper steppe
#

Sorry I don't have vmware to compare. IIRC it worked ok in virtualbox when I last did it.

slow sky
raven frost
# raw hedge Their gear?

yea, it's not ideal, but I don't want for this project to keep expanding all the way to "and then I redid my entire house Wi-Fi"

tulip sage
#

Hi, I would like to ask if you could advise me what the problem could be. HASS worked perfectly fine for me abtou 1/2 year, but about 1 week after restarting for about 10 minutes everything is fine and then I get this message and it is no longer possible to log in to HASS... I don't know if there could be a problem, for example, in the size of HASS backups, now they have about 1.6GB, I really have a lot of data. I'm using a Raspberry Pi 4 and a 256GB SSD...

[81284.239429] blk_update_request: I/O error, dev sda, sector 350004480 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [81285.245125] blk_update_request: I/O error, dev sda, sector 350004480 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [81286.263115] blk_update_request: I/O error, dev sda, sector 350004480 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [81287.271120] blk_update_request: I/O error, dev sda, sector 350004480 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

low notch
#

that is data corruption

#

take your last backup and flash haos again

tulip sage
#

ok, I will try it

torn fulcrum
#

Hi, I noticed that I was still seeing 2022.11.2 as my most recent offered update. Checked the Blog saw there were more. Restarted host. Core didn't start automatically, and host wouldn't shutdown at console. Powered down/up. Still no core, but I had ha> command line. Did Core Start and finally got HA UI back. Lots of ZW devices unavailable. Now seeing latest update offererings. Tried to update OS, but got the following:
Error updating Home Assistant Operating System: 'OSManager.update' blocked from execution, system is not running - CoreState.STARTUP
Also, ZWave-JS integration reporting this: Retrying setup: Failed to connect: Cannot connect to host a0d7b954-zwavejs2mqtt:3000 ssl:default [Name does not resolve]
HA seemed to be functioning fine before I noticed updates were not showing and restarting. I would greatly appreciate any help one might offer.

raw hedge
#

Or mdns is going to be a thorn in your side

torn fulcrum
tulip sage
# low notch that is data corruption

so i restored backup, it was successfull, had working fo about 10 minutes and then this

[659.521920] overlayfs: failed to resolve '/mnt/data/docker/overlay2/1/UXQP7LEEMK5VV5I4LWFKTTFGAU': -Z [705.686348] EXT4-fs error (device sda8): htree_dirblock_to_tree:1072: inode #792051: comm docker: Directory block failed checksum

low notch
#

did you flash haos fresh on that ssd?

tulip sage
low notch
#

you need to start from scratch with that backup

cinder thorn
#

hi, i want to install home assistant again. but i can't access the home assistant server because of my country's new limited internet access (I'm from Iran) i have a VPN on my pc and i want to share it with my proxmox server to Access the home assistant server and install the home assistant. can anyone help me share my pc VPN to my server

tulip sage
cunning dragon
#

Hello guys:) My ha installation shows unsupported system in repairs but I installed it officially (running ha os on proxmox vm). Anyone knows a way to find out why this happens?

late vessel
#

Hi, I want to install the addon-vscode-remote but don't find it in supervisor. Do I have to add a repository?

copper steppe
cunning dragon
#

yeah for me too, just the message telling me it's unsupported although it's not 😛 at least it shouldn't be

cunning dragon
manic bane
cunning dragon
#

VM and yes i used the os image. It's my 3rd install and I'm using it over 2 years. At some point it started telling me this (before repairs were a thing it was just a red text in system info)

manic bane
#

Does it say why it is unsupported?

late vessel
cunning dragon
cunning dragon
#

But I didn't install anything via ssh^^

#

is there a cli command which gives better insights? Like a health check or whatever?

late vessel
manic bane
cunning dragon
#

yes

manic bane
#

And you haven't tried to add any other docker containers that aren't add ons?

#

Like portainer

cunning dragon
#

I installed portainer but just to look at the containers because I'm slowly migrating into a pure docker environment (for some additional stuff like entrypoints for adb and things like that) never touched a container inside ha.

cunning dragon
manic bane
#

You installed something additional

#

As the error says

cunning dragon
#

but portainer is an addon

#

in the official repo or am I wrong there?

#

I installed duckdns too but that's not unsupported.

manic bane
#

I don't believe portainer is an add on anymore or hasn't been in a while

cunning dragon
#

And I don't have it installed currently so that should not be a thing

#

you're right, it isn't ^^ didn't know that but as I said it's not installed. I did nothing special to my ha os because I wanted a supported installation at first. I might migrate to a docker version without supervisor at some time but for now it's just annoying, nothing more. I just want to know if it's a bug so I could report it.

late vessel
cunning dragon
#

nice 😉 I don't know why it's edge-only now but I'm happy I could help.

dry fern
#

Anyone got a good docker compose with matter, esphome, mariadb etc they wanna share to get me startet, wanna try a complete docker install

rough falcon
hearty cloak
#

i have been using google for a while now, but cannot find it.
I have an raspberry, running homeassistant, but i cannot seem to update the HA.
Does one off you know how to do it? (sudo apt-get update/upgrade does NOT do the trick.)

latent bear
hearty cloak
#

the core i gues, i used "pip3 install homeassistant" at the time.

latent bear
hearty cloak
distant bloom
#

Two questions team

#

I just booted up into HA with USB, at the end it gave me "Error returned from Supervisor: System is not ready with state: setup", what's that about?

#

I typed "banner" after that and the welcome page came back up.

#

second question, how do I make HA boot up from the HD, so far it's launching from USB.

true pawn
#

If you click on "More" during the Onboarding, the page dims, but then nothing works anymore

manic bane
obtuse cradle
#

As a newly onboarded user, Google integration isn't working for me. I go and successfully add "Home Assistant by Nabu Casa" in the Google Home/Assistant apps, but that doesn't actually appear to link it or add it to my Google Home account. What am I doing wrong? Screenshots here. https://i.imgur.com/y20rGWH.png

humble mirage
raven frost
shadow marlin
#

Alright, I've been trying to install this for hours now, time to ask for help 😄

I am trying to install Home Assistant Core on an RPI3 (no docker experience, that's why I chose this). The problem is that the RPI comes with python3.5 installed. I used pyenv to install 3.9.16 and set the pi to use that globally. Then I followed the install guide without issue. When I try to run hass though I get syntax errors that are also for some reason coming from a python3.5 environment? Can anyone maybe help me out here?

humble mirage
#

Well... do you want some "good" news?

#

HA is about to drop support for Python 3.9

#

This is a great time to get some Docker experience. It's really easy to write a compose file (it's just YAML) and get up and running in minutes. Well, it's a Pi, tens of minutes

shadow marlin
shadow marlin
humble mirage
#

It does this every year 😉

#

Next December Python 3.10 support will go away

#

2024 will see the end of Python 3.11 support

#

etc

#

Your problem above is that you didn't activate the (Python 3.9) venv

shadow marlin
#

alright, so either I find a way to solve my issue and never touch the system again, or I need to learn docker now 😄

humble mirage
#

Docker is easy to learn, at least to just use

#

I installed Docker onto a Pi the other day, took 10 minutes, another minute to write the compose file, and then it's just pull and up

shadow marlin
#

alright, I'll look into that, thank you a lot!

#

oh well, the OS is not supported by docker anyway 😅

humble mirage
#

You may need to update it to Bullseye if it's ancient

shadow marlin
#

yeah, its still raspbian

#

another rabbit hole it is, then 😛

humble mirage
#

Raspbian is fine, I installed Docker using that link on Raspbian this week

shadow marlin
#

I'm still on version 9 though

humble mirage
#

Yeah, that's ... a little old

#

Update to Buster, then Bullseye

shadow marlin
#

back when it was still called raspbian, not raspberry pi os 🙈

humble scaffoldBOT
#

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

manic bane
#

Are you getting any errors displayed?

heady cloud
#

Just the information on the CLI that supervisor is waiting to startup and no info about the IP address...

heady cloud
#

Any other idea to solve this issue?

brazen herald
#

Well as it's the dev version, did you try the docker container as suggested on the developer site?

heady cloud
fallen lichen
#

@wise robin So you manually configured the network before swapping your router?

wise robin
#

continuing the weird MAC stuff from general

#

kinda the opposite actually. in the old setup it was assigned an IP statically from the previous DHCP server, I don't think I set it up internally in HAOS

fallen lichen
#

So... currently your only access is via direct terminal to the machine... can't access it any other way?

wise robin
#

but it also did some weird stuff when I first set this up, like the ARP table on the router constantly switching between the two MACs

fallen lichen
#

Is this HA OS?

wise robin
#

it is. virtualized in Proxmox

fallen lichen
#

Proxmox all good? Can you access that remotely?

wise robin
#

yep. it's how I'm accessing the terminal

fallen lichen
#

network info the interfaces section should tell you the ipv4 addr and the gateway

#

is that right?

wise robin
#

yep. address is the 192.168.0.3 and gateway is my router

fallen lichen
#

Was your network not in the 192.168.0 subnet before?

wise robin
#

it was not. I previously used the 10/8 address space

fallen lichen
#

Where are you seeing the MAC you're referring to in HA OS

wise robin
#

nmcli

#

also listed in Proxmox as the network interface's MAC

fallen lichen
#

You able to ping other devices in that subnet from HA?

wise robin
#

no response from anything I tried to ping in the CLI

#

not even the gateway

fallen lichen
#

and the gateway is 100% correct?

wise robin
#

192.168.0.1, the router's address. I also tried my PC's IP

fallen lichen
#

and in nmcli it says route4 default via 192.168.0.1... ?

wise robin
#

I see two "route4" entries.
route4 192.168.0.0 metric 100
route4 default via 192.168.0.1 metric 20100

#

also does list "ethernet (virtio_net)" as the correct MAC address

fallen lichen
#

on your network info command, does it show method: auto under ipv4?

wise robin
#

it shows static

fallen lichen
#

Any issue if you change that to see if that helps?

wise robin
#

I am slightly struggling with the syntax of that. I'm not very used to the CLI

fallen lichen
#

network update interface --ipv4-method auto should work

#

You just need to know the name of your interface and replace

wise robin
#

there we go

#

I forgot to include the interface

#

that... what the hell?

fallen lichen
#

So, hopefully that gives you a new, non-conflicting IP

wise robin
#

assigned a completely different, non 192.168 address and the old 10.0.0.1 gateway

#

ugh. I know why it did that

#

my ISP gateway isn't in bridge mode because it's an asshole

#

and my family members are assholes and don't want me touching it

#

ugh

#

I gotta run for now. I'll look again later

wise robin
#

I have returned

#

also an update, given the time for the arp tables and caches to update, it successfully assigned homeassistant to a new IP and that appears to be working

#

but also it isn't actually on the LAN that my router is in charge of, which is a problem

#

mostly because it means it isn't going through my firewall, or accessible on the VPN, and it doesn't have a port forward for an external address...

tame holly
#

Hey guys... interesting question. I have HA installed on an RPi 4.

Home Assistant 2022.12.1
Supervisor 2022.11.2
Operating System 9.0
Frontend 20221208.0 - latest

Is HA running in a container on top of some base OS? That is, when I go to my "Terminal & SSH" add-on, is the stuff at the command line that I'm seeing the host OS AND HA or am I just looking at the file system of a container and not seeing the bare-metal file system?

fallen lichen
tame holly
#

OK. Yeah that checks with a discussion in the "add-ons" channel.

#

Trying to figure out how to get a file out of the Node-Red CT. I'm using a [File Write] node, but I can't figure out how to get at the file after writing to it.

#

Obviously NR can access HA entities, but I don't know how to tell it to write to a file that exists in the NR file system.

#

*in the HA file system

fallen lichen
#

Well... a lot of the entity access is through websockets

#

the NR addon has rw access to /config, /media, and /share, so if you write there, HA should be able to get at it, if that's what you're trying to do

tame holly
#

Hm.

#

stby