#installation-archived
1 messages · Page 11 of 1
Sorry I don't know about "through ssd with usb boot"
i've tried both ssd and sd card
im running into a simlar issue, did you get yours working from the usb ssd
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
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
i can't get it to run through sd card or ssd. but i can get raspian to run. so the pi isnt bricked
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 ?
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
Did you flash the right image? The image for the Pi4 won't boot on a Pi3
The green activity LED flashes when you start it, and the red power LED is on solid?
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
Also, hooking up a keyboard and monitor can work wonders in tracking down problems 😉
Hi yes the red light is solid. the activity light on the ethernet is flashing green
i have tried that no new ips show up
will try that
Then keyboard and screen are in order. Probably has some boot issue.
Hi I'd like to downgrade from 2022.12.3 to 2022.12.1 in HAOS. Anybody know how to do this?
Thanks
yes, it's a "common task"
pick the one that matches your installation method: https://www.home-assistant.io/common-tasks/os/
is there anyone that running the home assistant os on an older bios based system ??
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
[supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2022.12.3.
I might just be impatient tho
If I hit control f and look for error it shows up with 46 results
Its not possible unless you install a different OS then run HAOS in a VM
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?
Thanks again!
Hey how do I setup the Sky Connect stick with home assistant? the website on the instruction pamphlet does not exist lol
I plugged mine in and it was automatically discovered
I'm running a container install, so I did have to pass the device in
It Just Worked
Do you know by any chance how to add zigbee devices with it? :o
I don't have any, but there's a big Add Device button at the bottom
thank you!
i did that
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
and waste loads of energy
basicaly all x86 computers made atleast in the last decade support efi
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?
why do you care?
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
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…
Because extra time and effort to develop for something that as mgolisch pointed out, is irrelevant for most machines being used nowadays
most servers are an exception to this rule...
my DL320e G8 V2 was produced in the Q4 of 2014
still on BIOS and no UEFI support either
A server is far better spent running HA as a VM or as a docker container not as HAOS
how do you set up the configuration and supervisor tabs?
Supervisor tab is gone, now under settings generally
oh, keep seeing it on how to videos for HA
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
@fallen violet now you know which videos are dated 👴
do not follow that guide
why ?
Important Please Read
Before continuing make sure you read and understand the following documents:
Installation method: Home Assistant Supervised
Define supported installation method
I hope you thoroughly read those
everyone is complaining but no one is helping
if so, you would determine that that is not a useful installation method
and there is no step by step
use the actual official instructions
i been trying the official bullshit for weeks
ok
im still no closer to having it run
that guide will not help
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
Why are you trying to use Supervised?
If you want #add-ons-archived, just use Home assistant OS
the server im trying to place it on is not UEFI
@glass ruin I'm running supervised, where are you getting stuck?
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
was my own mistake
just tired staring at this screen
forgot the sudo when i was attempting to run dpkg -i
but its up and running
awesome
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?
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...
On which platform runs your HA?
After updating to 12.4 operating System- my recorder no longer starts.
I use a NUC.
Anybody got any ideas?
The OS should have no impact on any integration - what does your log file say?
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
You want to look at the actual file too 😉
The UI summarises stuff for you, which isn't always helpful
Maria dB did not start ..
There you go
Stop got the problem …. Autostart was disabled 🙈🙈🙈🙈
Thx for your fast replying!!!!!
And sorry again for my stupid question
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?
Hardware > Add > USB Device and add the specific devices (2nd radio)
Did you enable the IOMMU ?? In Proxmox - or just plug them in and then ADD them? I was reading there are a few ways to add USB devices to a VM (SPICE and Direct) - just curious as to experience and any issues.
https://pve.proxmox.com/wiki/USB_Devices_in_Virtual_Machines
I had just added the devices through the VMs hardware panel, nothing w/ IOMMU.
iommu is for pci devices, you don't need those unless you want to pass through the whole usb controller
@edgy glen I converted your message into a file since it's above 15 lines :+1:
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
If you're running Supervised then you have to follow https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md exactly
Installing any software on the host or via Docker is likely to result in unhealthy
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.
I followed this exactly. Clean install. I had to flash the OS with ReTerminal build including drivers. I describe the things that I resolved post that which was cgroup and apparmor. https://wiki.seeedstudio.com/reTerminal-Home-Assistant/
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
Prepare a reTerminal with Raspberry Pi OS already installed
Well, that's a fail
Supervised is only supported on Debian Bullseye itself, do read the requirements
I am on Debian Bullseye (was on Ubuntu, thus reinstall). But installer has me pick a Machine Type
Now to check whether all the services are installed and are up and running, we need to install Portainer, which is a Docker management platform
Well, there's not just a fail, there's an utter fuckup
I had to flash as the default installation black screened after the first update
Been running Supervised since before it was deprecated and reinstated
@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).
oh fun...
Those instructions take the requirements and ignore them... a quick glance shows two obvious things that ensure it's going to be unhealthy and unsupported
If you follow them you're never going to get a stable, healthy, supported install
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
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.
If you want the monitor on the host running HA then use Container
Sadly... they made some terrible choices with those instructions
The grid that they supplied suggested that prevents features though
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
I see... yeah, it's hard to come up to speed without the background/context. I dont have a frame of reference yet
Thanks! I'll go with the container approach. I'm quite comfortable with that space.
What are the difference between the machine types available in Supervised ?
Ah, Can see here. Difference is very little. https://github.com/home-assistant/core/tree/dev/machine
Seems like Khadas-vim3 is containing most
@edgy glen I run ha in proxmox but don't passthrough. I use an external (eth) coordinator.
How does that work for you? How many dongles are you using? Was it difficult to setup?
Easy to setup, and I only just bought my first sensors, but they're crap. Unrelated to the coordinator I think.
I got one of these https://www.tubeszb.com/shop/coordinators/2
The guy is fairly active around the place.
Thanks -- looks like Zigbee only - I am mainly ZWave in my home.
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 🙂
if you're logged into HA via terminal addon, /config/configuration.yaml
hello. does the RPI boots from a ssd usb drive? or do i need a special usb sata adapter?
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.
Oh sorry. I meant RPI4. I just tried it and it worked. Intenso external SSD drive. (https://www.intenso.de/produkte/solid-state-drives/externe-SSD-premium)
Hi and Hello, does anyone know why with a fresh Installation on VirtualBox Docker say "no such image" and Error 404? I am followed the Instruction here: https://www.home-assistant.io/installation/alternative and used the HAssos 9.4.vdi
If those are errors from inside the VM then are you sure your VM has internet access
yes, I am. its set to bridged mode and the launcher also availabe from remote devices
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...
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
Hi everyone is home assistent os a installer or das it run on the sd-card you insert in the pc?
It runs on the SD card you write it to
ah oke do you know if it is possible to transver it to the ssd inside the pc??
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. ```
@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).
Yes, that part
alride thanks i will try
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
They're completely different
you mean the db structure!?
Yes
ok .. then i think its not possible to use the old data with HA .. thats bad
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
what is the prefered storing db with HA if i want to use grafana for visualization
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
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
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...
Are you trying to install HA Core, Container, or the trap that is Supervised?
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
The simplest approach is to install Docker - if you can - following https://docs.docker.com/engine/install/debian/#install-using-the-convenience-script and then follow https://www.home-assistant.io/installation/linux#docker-compose
ok i did
curl -fsSL https://get.docker.com -o get-docker.sh
DRY_RUN=1 sudo sh ./get-docker.sh
and
after How do I create the .yml file from the terminal?
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)
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
docker --version
``` what does that return?
Docker version 20.10.21, build baeda1f
Ok, that's good at least
What happens if you type docker compose config
you are in the folder with the compose file?
docker: 'compose' is not a docker command.
See 'docker --help'
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.
has now changed
root@orangepi3-lts:~# docker compose config
no configuration file provided: not found
That means you're not in the folder with the compose file
cd /docker
``` (assuming you followed what I said above)
root@orangepi3-lts:~# cd /docker
root@orangepi3-lts:/docker#
Now try the docker command again
docker compose up -d
This is also where we find out if you changed PATH_TO_YOUR_CONFIG
@placid sage I converted your message into a file since it's above 15 lines :+1:
You need to change PATH_TO_YOUR_CONFIG 😉
thank you very much for your help
I'd suggest you use
volumes:
- /docker/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
I am new to the linux world, what should I do then, should I just copy and paste?
Replace /PATH_TO_YOUR_CONFIG with /docker/homeassistant
From the terminal how can I do it?
Use nano again
when I do replace /PATH_TO_YOUR_CONFIG ..... not found
would this be the proper channel to ask about making a sensor from influxdb data?
Please share your current compose file
No, that'd be #integrations-archived
thank you!
@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:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docke r daemon running?
Did you actually follow the step to add your user to the docker group
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
ha os update --version 9.3 would put you at the previous OS rel
@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 😦
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
You want to run ha in virtualbox? Do you need to do other things on the box? I love proxmox for this
I wanted to run it in KVM to have it more lightweight, but I was getting to error after error until I landed on Cannot use direct socket mode if no URI is set and I can't find anything online about that.
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
In Settings > System > Backups you can create a partial backup of just core
But where do you restore it? In the onboarding process for haos there’s a restore option but it’s absent in container
you restore the contents of your ha backup to /config
yeah copy old /config to new /config. That's what a restore is.
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…
Nothing, I give up... there is no way I can get it to start on orangep
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 thedockergroup/that you didn't usesudo
no 🥲
If I cannot remember the password to my linux server, is there any other way to update HA Core to the latest?
Did you pip install HA?
i truly do not remember. It was so long ago
but is there not an easier method of installation? such as oracle virtual machine on windows?
I had already looked but on my aarch64 architecture type those programmes do not work
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
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
Yes, I misspoke
but I always arrive at the point I was at before, from there I cannot continue...
Well, that problem is solvable
How? 🥲
Are you still stuck at
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
yes
Did you start Docker?
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.
It tells you what to do ...
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
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
ok. That I do not remember
I dont even see a homeassistant user. It is running, though, inside of Docker
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
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.
@placid sage I converted your message into a file since it's above 15 lines :+1:
You're going to need journalctl to get more information
journalctl -u docker -n 100
``` and post the results to a code share site
@proper pier Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
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.
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?
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
root@orangepi3-lts:/docker# ls
docker-compose.yml 'udo lshw | grep cpu'
I only have this, no other files in the docker folder
That's ... that's not /etc/docker - that's /docker
OK I'm there!
Now, cat daemon.json and share the results
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
That's the content of the file, 404 not found
That's your problem... remove the file
sudo rm daemon.json
Ok, you know what to do now?
no 😂
Try to start Docker
with this? docker compose up -d
but always in the etc/docker folder or only in docker?
ok done, it started (I think) and gave no error
systemctl status docker
wow that's the first time I've ever seen green writing and not red!!!
@placid sage I converted your message into a file since it's above 15 lines :+1:
cd /docker
docker-compose pull homeassistant
docker-compose up -d
Hoping you fixed the path from yesterday 😉
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
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
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
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
Well, your log output already shows that docker starts on boot, so at worst docker-compose up -d
working!!!!!!!!!!!!!!!!!!!
Once you've done the onboarding, your next step is to set up backups 😉
really Thank you! I was just about to throw out the orange pi!
Don't forget the backups 😉
but can I do it directly from the url? or even from the terminal?
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
perfect! thank you so much
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
What are you trying to upgrade?
Home assistant Core / OS and Supervisor
Well... pick one of the three
Probably a network/DNS issue
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
So tell me more about that... I was assuming that it could be a change in the networking inside of docker but I don't know how to do anything with that
[supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.0:8099 ssl:default [Connect call failed ('172.30.33.0', 8099)]
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
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
how can i change it? Dont really want to shutdown the normal/first pi
The trick is to not set a static IP but to use DHCP leases
I believe you can use the command line though
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*
You'd need to unplug one so you can change the other
ahh thanx
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
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?
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
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
You can also just install Python manually, that's what I do, pyenv makes that trivial
You wanted #integrations-archived ... this isn't really related to installing Home Assistant
ah, this time this was an accident 😄
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?
Check earlier in the log file, and share what your recorder: configuration looks like
the recorder value in my configuration is not present, is mandatory to insert? o home assistant assign the default value of recorder?
Then you get the defaults, which means you have a local database
Check earlier in the log file
yes correct
It will tell you why recorder couldn't be set up
i have a default database, don't have create a specific database for HA
in the log indicate this?
Yes
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')
There's going to be something else, earlier in the file
before this have only warning after home assistant startup...
You're running HA Container, with the official container image, not the one from Linuxserver (lsio)?
this is the image:
ghcr.io/home-assistant/home-assistant:stable
Then it runs as root, so it shouldn't be permissions
Try deleting the old database file 
this home-assistant_v2.db right??
Yup
ok already delete but when restart HA the file is not recreated is normal??
probably i need to insert the "recorder" field in configuration?
in the log file have only already mentioned log 😦
What does you compose file/docker command line look like?
That's only necessary if you're using something like mariaDB. If you don't use that then you don't need to add recorder
this is my docker file
services:
home-assistant:
container_name: home-assistant
image: ghcr.io/home-assistant/home-assistant:stable
volumes:
- /home/homeassistant/.homeassistant:/config
- /run/dbus:/run/dbus:ro
environment:
- TZ=Europe/Rome
network_mode: host
restart: always
And /home/homeassistant/.homeassistant isn't a network share?
Does /home/home assistant/.homeassistant exist
It's a local ext3/4 file system?
thanks but the db file is not recreated... only now i have insert the recorder and the new file db has been created..
-rw-r--r-- 1 root root 4096 Dec 16 15:18 home-assistant_v2.db
-rw-r--r-- 1 root root 5945 Dec 16 15:19 home-assistant.log
-rw-r--r-- 1 root root 32768 Dec 16 15:19 home-assistant_v2.db-shm
-rw-r--r-- 1 root root 1075352 Dec 16 15:19 home-assistant_v2.db-wal
Does it work now
no is a normal file system
@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).
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??
Probably, but you haven't provided new log entries
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)
That's unrelated to recorder
Do you have anything about recorder now, after you restarted?
ok perfect is other error
i will try to restart now
thanks now is ok|!
thanks for the support
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
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
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
I'm pretty sure that 3.11 isn't officially supported yet
mhm, yet in 2 months the support for python 3.9 ends..
@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).
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
It's like a Christmas present that you have to make yourself
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
mhm, indeed. I'll reconsider eventually the deployment methodology 🙂 i'll stay then in the 3.10 version during this, thanks for your insights! 🙂
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
root@orangepi3-lts:~# docker inspect -f '{{ .Mounts }}' homeassistant
[{bind /docker/homeassistant /config rw true rprivate} {bind /etc/localtime /etc/localtime ro false rprivate}]
/docker/homeassistant
``` that's where your config folder lives
Have you sorted out backups yet?
no, I was looking at tutorials on how to backup to google drive
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
How much do you pay for B2?
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.
ahh. ok
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
ok, ty. i will try
If you want to install other software, then just use Container - no add-ons
I see the problem. I thought that raspian is a 100% debian version. seems to be the problem here
Raspbian is a Debian derivative, just like Ubuntu and others
The only thing that's actual Debian is Debian itself
You also understand that you cannot install anything else onto the Pi apart from Home assistant and add ons?
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
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
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
uh oh
... actually i think the SD is fried
perhaps this was my performance issues
(the reason i was trying to beef up hardware)
FML
SD cards do tend to fail
Industrial or endurance cards last longer, but on a Pi4 just use an SSD
😖 on closer inspection it's broken
like physically?
@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.
Google has a bunch of images of broken SD cards 😛
That's impressive ngl
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 😂
I can see why that one doesn't work any more
The front fell off
Nah, it was the back
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
This is why it's important to test your backups periodically, or at least have notifications when things fail
yeah i have a good backup of 6 months ago
Though, it is annoying to get woken by a message on your smartwatch at 03:00 because a backup failed
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
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?
I am surprised you of all people don't have do not disturb 😛
I do, but some notification channels bypass it deliberately. Adding my backups to that was an oversight 😄
i wanna know if someone is stalking around outside so i dont have dnd except work email
If somebody wants to annoy the hounds they're quite welcome, they could always do with a new chew toy
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 😆
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?
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
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
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
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
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
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
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
no idea, I think you will do more harm than good by going that route
what happens in dmesgwhen you plug it back in?
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'
Doesn‘t look very promising
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
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:
- Install package
SynoCLI Kernel Tools(required to install the next package) - Install package
SynoKernel USB Serial Drivers - Open a tty to your NAS, i.e. using
putty - Ensure that you're running with superman mode:
> sudo -i - Check your DSM version:
# uname -a - 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) - Copy the
cp210x.kopackage to yourlib/modulesfolder - Activate the driver by typing:
# insmod /lib/modules/cp210x.ko - 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.
For a noob that's still very impressive
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.
@copper frigate you're already running a copy of the ha os ecosystem, so those backups will work fine
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?
thanks
If you've got all that configured, you should just be able to provide the ssl_certificate and ssl_key to the http section in your config
https://www.home-assistant.io/integrations/http/#ssl_certificate
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.
It is that file... If you've got the defaults, that section won't exist
You'll need to add it
Aah OK, I was expecting to see some existing values somewhere, I'll give it a try, many thanks! :)
You'll also want to add external_url w/ a value of your domain to the homeassistant section
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.
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
This one? https://github.com/hassio-addons/addon-ftp/blob/main/ftp/DOCS.md
You've set all the flags appropriately to give your user access?
Does the user/password in the add-on config need to correspond to the HA admin user?
I'm thinking no.... it looks like that's a completely separate set of user/pass
I've tried both in any case and all I see is /media and /share
Neither of which I can write to
you added all the "true" values in as well?
You also restarted the add on after making changes?
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"?
I'm thinking the FTP add-on won't let you do that
Or wait sorry just etc: true
Could I copy the cert to /media and then use the terminal to move it to etc/?
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
OK I will give that a try, thanks once again for your patience! :)
Yep, you bet
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...
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
It looks like I can, also it works if I use https://homeassistant
"works"? Or you mean http?
The browser complains about the certificate but it does take me to the login screen.
(https)
So... no more ERR_EMPTY_RESPONSE?
Or you're saying... locally, it's fine
Using your domain isn't working
Yeah locally it's "accessible"
Did you add that external URL? <#installation-archived message>
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
I'm thinking something is wrong w/ your port forwarding
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
Ahh, you can add a CNAME for www to hit the base name
Aaah I see, mine's set to @, I think www would be what it defaulted to
@ = apex/base
Secure connection too! Thanks for steering me in the right direction, very much appreciated! 👍 😁
You bet, glad its working
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.
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 ?
Regarding remote access, is there any way to set both nabucasa AND a HTTPS duckdns connection?
Sure, use of one doesn't stop you using the other
Hey everyone noob to Hass and KVM, i followed this https://www.reddit.com/r/homeassistant/comments/klx7b7/how_to_setup_hassos_on_a_kvm_virtual_machine/ and i have HA running in the VM, but i am unable to load home assist.local.
Im at a wall i have tried everything with my limited knowledge.
That's a 2 year old post, did you try the docs on the website?
Yes
yes it didnt work so i started googleing it
Slow down. What precisely "didn't work"?
Does it work if you use the ip, not the mdns name?
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
@rough rivet have you tried a different SD card? I had a similar issue caused by a failed SD card once.
no I havent, dont have a spare one unfortunately. I can try a reinstall and see if that works?
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.
should the card be formatted or not?
fat I guess. It should get reformatted again when you image.
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.
I did a 64bit raspi3 install, maybe ill try a 32bit
Might as well give it a shot.
yep
Maybe it crashed for some reason. Can you ssh to the box?
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.
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
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.
thx for the advice both. much appreciated. great community.
@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
Hmm I’ll look into proxmox!
I believe I bridged it to the real network. It assigns an IP to!
@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)"
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
Is there a reason you installed it not as an add on given you went with HAOS?
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.
Did you install Mosquitto or another broker on whatever host is 192.168.1.200?
And did you split mosquito away from HAOS too? Since z2mqtt as it's name says uses mqtt to talk to HA
192.168.1.200 is where zigbee2mqtt is installed. It has only this installed on it, nothing else
Well, then I'm not sure how you expect anything to talk to the broker you didn't install
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
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

You can't connect because you didn't install the software you're trying to connect to
i should read again the documentation to make sure i understood well the way mosquitto and zigbee2mqtt work one with another
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
Z2M publish messages to mosquitto and with HA i read the topic with a subscription
am i right ?
Well, it works both ways
Mosquitto is the "bridge" that Z2M, HA, and many other things use to communicate with
ok i thought that z2m was dealing with the topic creation, and HA was only reading it.
Somewhat, but it needs somewhere to create it
(Also, if Z2M was the only one sending messages then HA wouldn't be controlling anything)
that's why i read it can replace my hue gateway or xiaomi gateway
It can
#zigbee-archived can tell you all about the Zigbee2MQTT side of that
But, you skipped right over the requirements and didn't install a broker
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
Mosquito is a protocol that requires a server to handle it. Install mosquito broker and you're in
(well and configure it too)
Technically MQTT is the protocol 😛
The simpler the betterer 😛
Just tried installing v9.3 of the operating-system and it has the same behavior.. hmm.
What are you running it on
It's an Intel NUC 6th Gen (I started tracking the issue here: https://github.com/home-assistant/operating-system/issues/2272)) Here's another clue: when I boot the NUC on a flash drive loaded with haos it has the same problem with time syncing, but it prints the "[WARN] dropping into emergency shell" after a few minutes. I was able to get that to move forward to the first part of the installation, but wanted to install to disk first
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 😆
why do you want to enter emergency mode?
you should make sure that it successfully finds into the internet and dns works
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?
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
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)
You should not need more action than fixing your dns ?
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?
You’ll probably want some power injection at that length. You need to decide what kind of LEDs you want - 12v or 5v, individually addressable, etc. the lights themselves are pretty standard within the specs, but controllers are where you get options. WLED seems popular and can integrate with HA, but I haven’t used it.
@unreal bane can i send you a pm ?
#hardware-archived or #diy-archived might be able to help you
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 🙂
Are you referring to "add-ons"?
I think so (sorry bit of a newb)
Then ... you don't get add-ons as you didn't use HAOS, but add-ons are just software running in a container
@manic bane thx i will ask in that topic
Sure. There are probably more people that can help if you post questions in #diy-archived or #hardware-archived though.
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
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? 🤣
Depends entirely on you
I'd not suggest a Pi as an upgrade from anything other than a toaster
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)
It didn't auto-log you in, it can't
You have to go through either onboarding or restore a backup
yeah it's odd as the onboarding screens never popped up - but i'm deffo logged into the main dashboard
I guess you looked trustworthy
Did you restore a backup? Or are you connected to someone elses HA instance
never used it before... pretty sure my neighbours wont be 😄
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
yep it's really weird - think I'll kill it and restart and see where I end up - Thanks for your intel folks 👍
Kill it and see whether you can also load it, if so then you've got another instance running on your network
cool - cheers - another thought, I can connect via browser url fine, but the HA App wont connect at all
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
It'll run on base clock as long as there is no demand for higher clocks I assume?
A DNS issue was just a guess on my part, and I tried adding the host to the DMZ on my router (so there shouldn't be any filtering) and it had no effect. I think getting into the emergency shell should help me further diagnose the issue
Cant i force it to run boost or a little over base?
all we can do here is guesswork without knowing any errors or your network
that... is not was this processor was made for so 🤷♂️
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. 👍
if you want you can run multiple yescommands for each core, will get you that juicy boost for sure
I agree, I’m not sure what the errors are because I can’t access the logs. That’s exactly why I’m trying to learn how to drop into the emergency shell explicitly.
hello, im having issues with Zigbee2MQTT - i add the repo but no button appears to install Zigbee2MQTT
You wanted the #zigbee-archived channel
ty
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
What values are you trying to set
net.ipv4.conf.wlan0.proxy_arp
If you're trying to set a HTTP proxy IIRC HAOS does not support them
Also running HA over wifi is not great either...
Ok, well, uh, everything that i got working so far works really well, actually, so I'd rather pursue this path.
You don't have any ethernet ports available to use?
I do. Let's say I switch to that. I still have to enable proxy_arp on eth0
What kind of network is this being used on that you need a proxy
the wifi is an access point using https://github.com/mattlongman/Hassio-Access-Point
No I meant, what network are you using that needs a proxy
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
Apologies I presumed it was, especially since I wasn't corrected
Wouldn't that be as simple as just connecting the Wiz devices to the house wifi on the app then connecting them to HA?
@raven frost can you please add an avatar so that the conversation is easier to track?
They have one, its just nearly the same colour as discord dark theme lol
Reason for light theme I guess 😛
Done
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
If I log back into the RPi to the host at port 22222 after a reboot and run the sysctl command, it starts working again
Overload the wifi? What the.
Also wouldn't it be firewall deciding how they talk across networks?
the firewall (if you mean iptables) allows the IoT devices to create outgoing connections that go from the IoT wifi to the Main wifi.
Proxy Arp allows connections to be created from the Main Wifi to the IoT wifi. Which is how the Wiz app connects to them
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?
Overload the WiFi? What’s pile of shit are you running?
Systemd, if it has it if you ssh directly… web ssh container can also run commands besides well.. ha automations
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
Found some useful tips on manually entering the emergency console for anybody else who's curious: https://github.com/home-assistant/operating-system/issues/2092#issuecomment-1231572414
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
i don't have a space issue, nice suggestion tho
Ah, I was just following up on my question from this morning, finally found how to drop into the emergency shell 🙂
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
Are you running HAOS or a Supervised install?
i am running the Hyper-V VM that uses the supervisor (aka docker is present inside the VM)
i think that is HAOS
You should be able to see the Supervisor logs in the UI
(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?
What's the most out of date?
And your NUT addon seems to be misconfigured, there are lots of errors.
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
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
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
let me try that again
Make sure to stop any running addons as well, just in case one is doing something odd and causing more problems
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...
Good luck 🙂
literally nothing in logs after that 😦
will restart and try doing core first next time
Well if it still says its updating it's worth giving it some time and checking the other logs too 😉
Well the fix is shared in that post
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
thanks for your help, i appreciated the support
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
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 🙂
no need to apologize!
there's a known upgrade issue from the beta
i should have checked github first
(which is where i found the bug with the link to the post)
Supervised has a supervisor, just also comes with the difficulty of managing an OS and all dependencies as well as following a strict rule of what to do (which a lot of people do not follow and fall into issues). Easiest way to tell you're on OS is you have an OS version
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....
i just removed them and re-installed and reconfigured, it was faster than troubleshooting
Is it possibly to run HA on VM ware and then access that system on the same laptop that runs the VM Ware ?
You would 'access' it like any other machine in your network
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.
Comcast, obviously
Their gear?
Did you stop the vm first? Is it wireless or wired?
The VM was stopped when i altered the settings.
Sorry I don't have vmware to compare. IIRC it worked ok in virtualbox when I last did it.
I probably f**ked up the settings somewhere 😅 this is all new for me
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"
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
ok, I will try it
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.
Well worth it redoing your house WiFi with something that works
Or mdns is going to be a thorn in your side
I think my problem may be related to: https://community.home-assistant.io/t/supervisor-november-beta-issue-impacting-users-on-home-assistant-beta-dev-channels/489895
That was it. Got it sorted.
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
did you flash haos fresh on that ssd?
no, I restored backup via cmd in HASS
you need to start from scratch with that backup
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
ok 🙂
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?
Hi, I want to install the addon-vscode-remote but don't find it in supervisor. Do I have to add a repository?
No idea. Haos on proxmox works well for me
yeah for me too, just the message telling me it's unsupported although it's not 😛 at least it shouldn't be
For me it's just in the edge repo, I don't know why ^^
HAOS in a VM or in an LXC?
And you are definitely running HAOS and not supervised?
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)
Does it say why it is unsupported?
do you have the url for the repo? It's not installed on my instance.
yeah sorry was not on pc. Here it is
https://github.com/hassio-addons/repository-edge
System is unsupported because additional software outside the Home Assistant ecosystem has been detected. Use the link to learn more and how to fix this.
But I didn't install anything via ssh^^
is there a cli command which gives better insights? Like a health check or whatever?
Thanks. Interesting enough, all addon from this repo are now available, but not the vscode-remote. Even though it appears on the github page...
If you open the console on proxmox does it show a HA > prompt?
yes
And you haven't tried to add any other docker containers that aren't add ons?
Like portainer
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.
I'll see if i find anything about it. Really strange.
Then that's why it's unsupoirted
You installed something additional
As the error says
but portainer is an addon
in the official repo or am I wrong there?
I installed duckdns too but that's not unsupported.
I don't believe portainer is an add on anymore or hasn't been in a while
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.
it just popup'd in supervisor.... Many thanks for your help!
nice 😉 I don't know why it's edge-only now but I'm happy I could help.
Anyone got a good docker compose with matter, esphome, mariadb etc they wanna share to get me startet, wanna try a complete docker install
Curious why we would use the generic image here? Shouldn't the ova image be better because it contains the ova-guest-agent? -- For my SCALE VM, I used the ova image and created it using all virtio drivers, without issue
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.)
What installation method do you use? (Core, supervised, OS, etc)
the core i gues, i used "pip3 install homeassistant" at the time.
https://www.home-assistant.io/common-tasks/core/#update should help you
Thanks, looking into it.
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.
If you click on "More" during the Onboarding, the page dims, but then nothing works anymore
You have to write HA to the internal drive not to the USB. There's instructions online with various methods (one such one is boot into a live Linux iso, then use that to write to the internal drive)
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
#cloud-archived can help you there
For posterity:
The way I got around this is by building a very simple personal add-on; it needs to run with lots of privileges; it has to remount /proc in a separate location, but afterwards, it runs “echo 1 > /remounted_proc/sys/net/ipv4/conf/wlan0/proxy_arp” and that works, and is a system-wide setting.
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?
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
Here is my output:
oh my 😄
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
alright, so either I find a way to solve my issue and never touch the system again, or I need to learn docker now 😄
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
I'd also suggest you buy an SD card adapter for the Pi, a spare SD card, and make regular use of https://github.com/billw2/rpi-clone to snapshot that SD card
alright, I'll look into that, thank you a lot!
oh well, the OS is not supported by docker anyway 😅
You may need to update it to Bullseye if it's ancient
Raspbian is fine, I installed Docker using that link on Raspbian this week
I'm still on version 9 though
back when it was still called raspbian, not raspberry pi os 🙈
@heady cloud I converted your message into a file since it's above 15 lines :+1:
Are you getting any errors displayed?
Just the information on the CLI that supervisor is waiting to startup and no info about the IP address...
Any other idea to solve this issue?
Well as it's the dev version, did you try the docker container as suggested on the developer site?
Yes it is, I know that. Regarding the Docker container I will check thank you for the suggestion.
@wise robin So you manually configured the network before swapping your router?
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
So... currently your only access is via direct terminal to the machine... can't access it any other way?
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
that is correct.
Is this HA OS?
it is. virtualized in Proxmox
Proxmox all good? Can you access that remotely?
yep. it's how I'm accessing the terminal
network info the interfaces section should tell you the ipv4 addr and the gateway
is that right?
yep. address is the 192.168.0.3 and gateway is my router
Was your network not in the 192.168.0 subnet before?
it was not. I previously used the 10/8 address space
Where are you seeing the MAC you're referring to in HA OS
You able to ping other devices in that subnet from HA?
and the gateway is 100% correct?
192.168.0.1, the router's address. I also tried my PC's IP
and in nmcli it says route4 default via 192.168.0.1... ?
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
on your network info command, does it show method: auto under ipv4?
it shows static
Any issue if you change that to see if that helps?
I am slightly struggling with the syntax of that. I'm not very used to the CLI
network update interface --ipv4-method auto should work
You just need to know the name of your interface and replace
So, hopefully that gives you a new, non-conflicting IP
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
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...
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?
add ons are just containers running alongside HA core (also a container) within HA OS. That addon has many of the volumes mapped to it that HA Core uses so that you're able to see them
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
and System Information