#installation-archived
1 messages · Page 51 of 1
Okay so there's nothing listening and nothing answering (duh) on that port. I'd do the following
# Stop/remove the container
docker compose down
# Check for any remnants of previously created containers
docker ps -a
# Remove if found
docker rm ...
# Start without detaching so you can immediately check the console
docker compose up
Then open another SSH session and try the two commands again. Also check what the console says on the first session, of course.
Okay I will try that now thanks
It's kinda obvious from the path but I have to ask. You are running this on a pi, right?
yes
I have run the suggested commands, and removed one old container and restarted. I have the same results
What happens if you run
docker compose down
python3 -m http.server 8123
Can you access http://192.168.0.2:8123/ then and do the nc and ss commands show something different?
I can acess the webpage. nc -vz localhost 8123 now returns nc: connect to localhost (::1) port 8123 (tcp) failed: Connection refused Connection to localhost (127.0.0.1) 8123 port [tcp/*] succeeded! with ss -4ltpn | grep 8123 returning LISTEN 0 5 0.0.0.0:8123 0.0.0.0:* users:(("python3",pid=54592,fd=3))
Interesting. Not quite sure why the container doesn't work though but it's a data point hat might help narrow it down.
I see
Could be a Docker version problem
Docker was setup with rootless mode, running docker compose up -d homeassistant as root has fixed the issue
Thanks for the help in setting up HA
Hello fellow people of the internet;
I just ordered my first raspberry pi waiting for it to arrive, while doing my research on Home Assistant which I will be using for the very first time.
I looked at some of the installation options and I would like to use my raspberry pi for other things as well so I plan to use a "container" (?) setup for HA.
I learned that it doesn't support addons but it's not the end of the world cause "additions" may be installed manually to container version as well.
The reason I'm writing here is I'm wondering other people's opinions and hopefully hear their own experience on the subject.
I never used Linux before... I'm not a coder/developer but I tinker a lot and most of the time achieve stuff if I put my mind to it... Even if I'm a complete stranger to the subject.
But even with all that, would I be doing a mistake choosing container version, or is it actually "the way" to go for full control (If I ever be able to control that is)?
Sorry I wrote a lot but I appreciate ANY input, guidance and help. Thank you for reading.
If you want control and flexibility it's my recommended choice. I usually recommend buying a "real pc" and virtualize, that way you can run HAOS and still have that flexibility and control but that's even more involved for a linux beginner.
Also see here why I like it so much and don't recommend a pi: <#installation-archived message>
Hello,
I want to run HomeAssistant on my Proxmox but performance wise is it better on docker or install the "core" directly in the LXC ?
And what's the preferred OS for the LXC, I personnaly always use Alpine Linux is it fine ?
And What's the "supervised" ?
What are the advantages or disadvantages over the core
I use debian for all my servers and CTs. I'd recommend against core as updates can be a pain. Either use HAOS or docker in a VM.
Performance wise I very much doubt you'll notice anything.
I know it's a lot of questions sorry
Thank you so much for your response. I can't keep a PC on 24/7 thats why I went with pi.
I didn't mean your PC specifically. Just some "normal" PC. See here: <#general-archived message>
Heya, trying to decide if I should restart from scratch or if my install is worth saving lol. I'm having zwave issues, I'm running HAOS, on a Pi3 (SD, not solid state). Zwave regularly stops working, and I simply can't get Home assistant core updated from 10.5 to 11.2. I'm not sure where to start on troubleshooting.
Hi,
I installed the latest HA .vmdk image in Proxmox. It starts correctly but the default ip-address is 172.30.xx.xx which isn't usable/reachable in my LAN (using 10.200.x.x. IP Range). Trying to change the IP using the cli command "network update --ip-v4..." resulted in nothing but confusion. My L3-Switch does recognize the VM host and offers him a correct LAN IP-address but the VM doesn't acknowledge the DHCP IP offer. I'm totally confused how to tell the HA VM either to use a static IP or to acknowledge the DHCP offer.
Any thoughts on this problem?
It uses DHCP by default. What does ha network info say and what exact commands did you use?
Why use a .vmdk image for Proxmox when there's a readily available native .qcow2 image?
https://www.home-assistant.io/installation/alternative#download-the-appropriate-image
Hey! I was just gonna ask a question abt HA in proxmox. Well this is a different question: how do you upload the .qcow2 to proxmox?
Easiest way is to use the installation script.
What installation script?
https://helper-scripts.com
Home Assistant OS VM
SFTP would be one way but why upload? You can download it directly from the host
I was the script tteckster showed me.
I'm waiting for HA to be done.
That's a nice domain name. I initially thought that it was code for "scripts that help us steal all your data", but I see that it's yours 🙂
Unfortunately it doesn't really help you learn how to do what you asked: #1162789585894514748 message
These scripts can safe a lot of time but you should know what they do and not be dependent on them.
Well, it says "Preparing Home Assistant" now, in the web GUI, so I guess it works. 🤷
damnit
So much for not clicking random links 🤣
As I didn't exactly know, where I went wrong, I started over from scratch using (again) helper-scripts to create a new VM with the correct KVM image v11.1-stable.
Now the VM seems to get a correct ip-address from the L3-Switch DHCP and it is reachable through the browser.
Nevertheless thank you for the offered help.
Thank you for the advice. On the ha.io website there was only written KVM and I didn't recognize it to be the correct one for Proxmox VE. I'm really new and inexperienced in the Linux and VM world but I'm willing to learn every step it requires.
Hopefully I also can get advice on my next challenging task: I currently configured the switch port of the Proxmox Host machine to be untagged and to be member of my VLAN10. Therefore the HA VM also gets a IP within the VLAN10 IP-range which is fine - but I want also that HA recognizes the smart devices in my IoT VLAN and maybe Guest VLAN. I read about the possibility to add logical network devices to HA OS for the other VLANs but this requires (from my understanding) that the switch port of my Proxmox VE machine to be tagged and vmbr0 to be "VLAN aware" to work correctly .
I tried that, but the Proxmox machine wasn't reachable after I changed the switch port to tagged (vmbr0 is currently given a static ip-address of VLAN10). If I could configure that correctly I could create VMs that are only visible in the predefined VLANs which is what I want to achieve. Seems more to be a Proxmox related question than to be a HA question. Anyway some help on this?
Is it possible to avoid that my laptop shuts down/sleeps when I close the lid? I have installed HAOS directly on the HDD of the laptop.
That should already be the case: https://github.com/home-assistant/operating-system/pull/1100
Question: I've installed HomeAssitant on docker. But I can't find supervisor or Terminal/SSH.
Are there different version of HA or something?
The container install has neither of those things. You already have ssh to the host and you don't need the supervisor
There's also no 'add-on' store.
True
I need a way to install HACS
This was all spelled out in the installation page
That has nothing to do with addons
Follow the instructions
Which instructions?
Home Assistant Community Store allows for easy installation and management of custom unsupported integrations. They even have a Discord server for issues with HACS itself.
For the thing you wanted to install
So I am not sure what happened but I went to restart home assistant and ended up at the Waiting on CLI loop. The delay during the boot process is on "a start job is running for /dev/disk/by-label/hassos-overlay" I've seen the github thread for hassos-data but CTRL+ALT+F2 does not get me anywhere. Any thoughts or should I cross my fingers I have a recent full backup that wont require a ton of work to get back up and running (luckily I backup to a NAS share)
Hello.
I've got a CM4 mounted on a waveshare board with attached SSD.
Including controlled cooling, wifi, also UPS solution. This whole setup is mounted inside a electrical cabinet.
I don't have a way how to directly install the os on the ssd, so I wanted to try PINN to do that for me. I cannot just disassemble the device, if I need to reload the os or something.
I mounted the emmc with rpiboot which worked ok, i loaded PINN using the Raspberry pi Imager, set up a vnc share and that is as far as i got.
I tried to go through a PINN documentation, but apparently you need to have some jsons to get it to recognize to os etc.
Have someone tried to do this?
The best way to run a pi where you cannot change stuff is to boot it from nfs. You can then fix / replace boot storage without touching the pi
Thanks for the tip, however it is enclosed network for automation purposes without any kind of NAS device or something similar. Only PLCs and regulators.
Hi! Has anyone tried installing home assistant os on the odroid-m1s? Does it boot to emmc memory?
... and you put a whole computer in there? so you can also put a second one which provides pxeboot
Yes, however only one, that serves exactly one machine for testing. I cannot spin up a whole another server. It is an industrial network. Bla bla, they won't let me.
well then you're left with ssd/usb
just curius do homeassistant not work on brave browser
open the adres in edge, chrome or firefox it works on brave its infinate loading loop
#frontend-archived may know about that
sorry went to wrong channel because first i thought it was a install error but then tried a diverent browser sorry about that.
Beginner question, please be patient. Yes, I've searched threads and couldn't find. I've successfully installed HA Yellow Dashboard on my MacBook Air. I would also like to have a Dashboard on other devices, such as iPad and iPhone. How do I do this? When I try to access from a second device, HA seems to want to do a complete install there.
What does 'installed HA Yellow Dashboard on my MacBook Air' mean?
It doesn't make any sense to me
@ruby void Home Assistant is a server. You access it from any other device using a web browser from that device, or a client app if available. You may have installed the HA app client to your Air.
So you don't install the dashboards to other devices. It is being served by your HA server installation. You access it using the ip address and port HA has in a browser (ie, 192.168.1.20:8123 in the address bar)
Sorry to inturrup, but would anyone be able to help me with this issue? I loaded virtual box on the new windows pc and tried to restore home assistant from a previous backup (.tar file) but it failed to fetch. Is there a chance the backup is too old? It’s from January 2022. At this point I don't care if I have to star over, just want to keep my login and username
when I select the file, nothing happens, and then after awhile, if I try again it says failed to fetch.
Hey thanks. I think you are correct, it does seem like I went through a server install. As I understand, HA Yellow does not need to be installed on a separate device. And I'm only trying to "view" it from multiple devices. Really appreciate your support, I'm out of my comfort zone but want to be successful.
Yes, and HA Yellow is a reference to the device that HA Operating System is installed on. Otherwise it is simply referred to as HA OS, which can be installed on different devices. But you only need one HA installation. Everything else is connecting to that.
So I got a new modem/gateway from my ISP and am trying to set up access to Home Assistant. I did the port forward for 8213->8123 and 442->8123. I can access home assistant on my Android phone, but it won't connect on my laptop. Any thoughts?
I want to say when i originally set it up with my old hardware that I had issues with 443 and somewhere said to use a different port which worked. However, that was about 2 years ago, so I can't remember if that's accurate or not.
I can't seem to get myself into the command line so I really don't see many options but a reimaging the SD card and restoring from backup.
hello how to install home assistant on bigtreetech pi v1.2
thanks I will try
I don't have any data to make any guesses what caused this but that's probably the most pain free and long term stable solution.
hey need some help i installed docker and docker desktop on fedora and also the container for home assistant but after starting home assistant i dont get any errors and still can't connect to the home assistant server
yea I just did a DD backup of the existing SD card just in case. I can't recall if I've ever restored the entire environment from a backup so this might be a learning experience for me. I do plan to move the instance to a clustered environment in the future so probably need to practice anyway.
so I couldn't find a recent full backup and didn't want to roll back that far since too much has changed since then. I restored the image I took before and threw a fresh install on a smaller 8GB SD. I then imaged just the hassos-overlay partition by itself and restored that over partition7 on the original SD. I can now boot to a CLI and am doing core check and seeing if I can resolve the overlay2 error that comes up and restore web access
I may have made the last full backup local and not network
Fortunately the backups are in the hassos-data partition: <#installation-archived message>
well then that isn't my problem... I could have sworn I took a more recent manual backup
I've got my HA Yellow installed and cannot get Aqara devices to be found. I 'believe' I've enabled Zigbee on the HA Yellow and can search for Zigbee devices, but none are found. I have the Aqara Hub G3 and multiple motion and moisture sensors.
@ruby void you would either pair the devices to the yellow, or use the aqara gateway integration for a hub I believe. I don't know if the g3 is covered by that
Check #zigbee-archived
If your laptop is on your local network, you'd use the real ports, not the external one ... not sure if that's your issue or not
I was finally able to get it to work without 443. When I entered my DuckDNS urls, I just added :8123 to the end and it went through.
that sounds... very insecure
hi
Ciao a tutti
installed
Home Assistant
Core 2023.11.2
Frontend 20231030.2
on my QNAP.
Don't show add repository function.
I entered the web page for more than 1 hour did not welcome, so who can help me solve it, please. (I am Chinese, so I can't type so fast, please take care of me, thank you!)
You installed the Container version which does not support addons.
so do I have to install a different version? what can I do on qnap?
Depends on your NAS. Some of QNAP's models can run VMs no?
Or you can just run Docker versions of any application you want instead of addons.
You'll have to convey the issues you're running into first
ok thanks
Hi there. I have an Odroid N2 + that i was given as a gift a year or so ago. I want to set it up, but it's sitting on the "preparing home assistant" page for hours, and not doing anything else. I am assuming that something is keeping it from installing updates or whatnot. What should be my next step?
Or they could delete their post 🧠
Is there a circle? If yes try clicking it
With a haos install... If an update just doesn't work (start the update, and come back in 15 minutes and the system has rebooted, but it's still the same version) where would I look for logs?
The supervisor logs. There's a selection on the top right
@raven forge okay thank you
Yeah, there was, and I should have mentioned that I have accessed the logs. And it looks to me like it's trying and somehow failing to install a new version of Home Assistant. I should mention a couple of things:
- This is a Home Assistant Blue model. I think i got it in december 2021, or 2022. I didn't get a chance to use it until now. I am not surprised that it needs to update.
- I have attempted to turn it on several times, and each time it does the same thing, but also that means that there are a lot of logs. Nearly 160k lines in all.
- I opened it up last time, in hopes that there was an SD card I could just overwrite the new OS onto, but it doesn't seem to have one. I am at a loss as to how to proceed.
I have no experience with the blue but it seems like it uses a ODROID-N2+ so you can probably use the docs for that: https://www.home-assistant.io/installation/odroid
i installed homeassistant on a container but on settings > dashboard i cant see the three dots to add the resources. is this possible with a container? will i need to change to mode yaml on lovelace?
Open your Home Assistant instance and show your Home Assistant user's profile
Go to your profile and enable advanced mode
yeah that was it thanks 🙂
at least for the first configuration it is easier to set it up with the ui
Hi, I receive the following error when i try to setup Home Assistant Green. Hints to solve the issue are highly welcome. Greetings, Robert supervisor.docker.interface] Can't install ghcr.io/home-assistant/green-homeassistant:2023.11.2: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/green-homeassistant:2023.11.2/json: Not Found ("No such image: ghcr.io/home-assistant/green-homeassistant:2023.11.2")
@pallid cipher i had same. Just left it for few hours and it was installed.
Many thanks for your fast reply. I will try the same then. I will keep you informed regarding the result.
But it not my last problem) For now some addons not installs. SSH addon installed for 1 hour
HACS can't install at all. Stops on 99% downloading hacs.zip. From other VM on same server all file
Still no change in the current situation: supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/green-homeassistant with tag 2023.11.2. [supervisor.docker.interface] Can't install ghcr.io/home-assistant/green-homeassistant:2023.11.2: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/green-homeassistant:2023.11.2/json: Not Found ("No such image: ghcr.io/home-assistant/green-homeassistant:2023.11.2") [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
Got some Switchbot devices from BF sales. Hub 2 installation worked via Matter on HA Green, but the temp sensors don't show up (apparently on the roadmap by the end of the year). Ordered USB BT dongle from Amz, the dongle installation was a doddle and now 3 closest sensors are showing up on HA Green as well.
Did this sort its self? I am trying a brand new install and mine is doing the samething although i am using a rPi and its just attempting to pull the normal supervisor image
this is what im getting
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.2: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.2/json: Not Found ("No such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.2")
hi I have a docker compose hass installation that I would like to move to another machine. Is there somewhere a doc describing how to do that?
Hi, I try to install HA OS on a VM on my NAS (truenas scale). The installation looks good, when I try to launch it, the IP address indicated on the interface does not work (192.168.1.4:8123). On the other hand, that of the observer works (192.168.1.4357).
I can see this information:
Home Assistant observer
Supervisor: Connected
Supported: Supported
Healthy: Healthy
Anyone have any idea why the IP address isn't working?
following what is being said here:
https://community.home-assistant.io/t/move-docker-image-to-other-server/132673/13
I copied my config folder over to the other machine, but after launching it I'm greeted with the setup screen, my account is not recognized
Hi! I just installed HA on a RPi3 and wanted to know if there's any way to use the same Rpi I used for the instalation as a kiosk as it has a connected touchscreen
I've seen videos of the kiosk mode installation, but if I understood correctly, that is for another Rpi
Not with haOS
oof
can I install another os that would let me run the home assistant on the raspberry and use it as a kiosk?
oooooof
i would just want it to connect to an esp32
the pi would just work as something like an alexa with screen
Unfortunately not. The error is still the same. Band new HomeAssistant Green. First boot out-of-the Box with plugged in power and ethernet… 😦
i'm left it for night, not just 1-2 hours)
Maybe it's the date that's wrong. What if you try sudo docker pull ghcr.io/home-assistant/green-homeassistant:latest in a shell?
That'd pull the latest image, not one of a specific date. If the dated one is gone from the server, that would cause this issue.
So. I went to upgrade to the latest docker image, and I'm finding that the "restore" option doesn't show up, like a couple guides (recent) say it should. Does it only appear if the system detects an image to restore from, or is that gone from the onboarding.html page?
Hi All, I’m new to HA just wondering if there are any good YouTube playlists to guide me through the setup and use. I have it setup on a VM running Ubuntu and then docker and pertainer. Wanna integrate everything into apple HomeKit
Restore isn't supported on installations without the supervisor. On a container install, just extract the backup into your config directory
That's a solidly simple idea. I've decided I'm moving platforms, so I'll give that a shot once the migration is done. Thanks!
is there a decent, raspberry pi alternative that isn't super expensive, and can be quickly migrated to from a haOS install on a pi 3?
my pi3 is slow as f*** and I have to troubleshoot a bunch of crap, but it takes forever to even reboot the damn system
Buy a (U)SFF/Mini PC
I found a $100 dell on ebay
Just install linux mint or something else on it and there ya go, server
Or use an old laptop. Those have batteries in case your power goes out. You can track that.
Servers usually don't have desktop environments. Besides, they want to use HAOS.
update to this, figured I'd go through how I took care of this issue as I managed to figure it out:
- with VM off, with physical access to the server, I made a network bridge in Cockpit instead of doing so in CLI - making sure I erased previous attempts as well before doing so
- after doing so via Cockpit, I finally had a setup where it retained LAN access + full internet access, but had a new MAC and IP address
- my modem/router automatically reserves local IP addresses for devices - i had to delete the old DHCP reservation in its config for my server so it could re-obtain its original IP address later
- after I deleted the old DHCP reservation, I ran
ip addrto get the MAC address of the bridge device & put that into my modem to make a new DHCP reservation manually for the original IP - then I brought the link down & immediately back up again so it obtained the correct IP from the router's DHCP server (
nmcli con down br0, thennmcli con up br0) - used
virshto define + autostart a new network interface (host-bridge), then edit the guest config so it used that interface & a "virtio" model network adapter instead of "e1000" - booted the VM once again, logged into its terminal, ran
ip addrto get its IP and MAC. then I manually made a DHCP reservation in my router for it, as I wanted it to use an IP with only a 1-digit difference from the server that the VM runs on, and rebooted the VM so I could access it at that IP - solely for convenience lol, not absolutely necessary.
effectively, what I seemed to miss the entire time is that the bridge got a different MAC address & therefore gets a different IP - with how tired I was that day I probably was completely glossing over that & was still trying to reach my server itself at the IP assigned to its old MAC. so uh, if y'all have the same problem & use an ISP-provided modem/router (made by ARRIS, provided by Frontier Communications), check if that has a DHCP reservation feature on that saves IP addresses for devices
can i download the Home assistant OS with a USB-stick, I want to remove the usb stick after the installation if so which tutorial is it because i only find a tutorial for the internal medium
but that is for an internal medium right? I want to retrieve my usb stick after the instalation
external
Then what's the problem?
that if i remove the stick my computer doesn't run the HAOS
To write the HAOS image to the boot medium on your x86-64 hardware, there are 2 different methods
read that
(scroll up a little from the link above)
but that is the tutorial that i have already followed
The one about using Ubuntu?
and then it runs on my stick so if i were to remove the stick my pc doesn't have an OS
Then you didn't follow the right one, or you didn't follow it correctly
Yes
But it only tells me to insert it and restart, but i have already done taht
So, you didn't follow the rest of the HA instructions then?
The part about Then follow from step 2
External
Ill just take my hard drive from the server home and put it in my desktop to flash it to my hard drive directly
Im having problems right now, melcloud app works but not in home assistant
@gentle tiger @drn same for me too. I also had the issue a couple of days ago
Did is just solve itself after a while?
My HA container is rocking on my Raspberry Pi5. It works great. There was doubt some weeks ago. I can confirm that it works great.
Pi5 is blazingly faster than Pi4.
Using the same SSD, with the same Ubuntu installation it compiles my docker container at 3.5x the speed. Wow.
lately ive been having an issue where the docker logs are filling up, taking up the entire space of my docker image
it seems to be 'docker logs' for the container, not HA logs
hmm, it might actually be zigbee stuff.. trying to confirm now
yeah, seems i left zigbee debug logging on
The other day it just sorted itself out after a few hours. Randomly the melcloud app had signed me out and HA worked after I signed back into the app; not sure if that was coincidence. I tried signing out and back into the app earlier and it didn't help this time.
Hey everyone. I've got something I can't seem to figure out and was told this channel may be able to help.
I'm running haos in vmware workstation 17 and it doesn't seem like open-vm-tools is working.. i ran ps ax|grep vmware to see if they were running and it did come back with one vmware result that was running, so I'm assuming that they're installed and running.. I've done a bunch of google searches and have seen that open-vm-tools is supposedly installed during the buildroot process that builds the vm itself.. but the vm isn't acting like they're installed. i can't suspend the guest vm, and whenever i'm on the command line in the vm, it grabs my mouse/keyboard and I have to ctrl-alt to give them back to the host machine.. any thoughts?
Which disk file did you use? What does systemctl list-unit-files say? The grabbing is related to a desktop environment, no?
I believe HAOS disables suspending: https://github.com/home-assistant/operating-system/blob/dev/buildroot-external/rootfs-overlay/etc/systemd/logind.conf
I ran systemctl list-unit-files vm* and it returned vmtoolsd.service enabled enabled
not sure what disk file I used, is there somewhere I can look to find that info?
The name of the attached disk to the VM should help
and yes, grabbing is related to the destop env (window 11, in this case) of the host, but the guest needs to have vmtools installed for it to be seamless, otherwise you have to use ctrl-alt inside the guest to relinquish control
ok, give me a second and Ill look at the disk file name
ok, "hoas_ova-9.5.vmdk"
i've done a few os upgrades via the HA interface since installing it, so it may actually be running a newer version of the os, but thats the one I started from
What I meant is that there's no desktop environment in HAOS. I believe a VM has to run one for this to work. Not sure though.
The disk looks correct. The service is also there so that's fine.
aah, nope, it works fine in my other ubuntu/debian/etc linux cl only vm guests once I install open-vm-tools package
in regards to that github link, it looks like it's got the hardware suspend options modified a bit, HandleSuspendKey is ignored, but HandleSuspendKeyLongPress is still set to suspend, and SuspendKeyIgnoreInhibited is commented out, so it looks like suspend functionality in general is still in there somewhere. and since VMware workstation initiates suspend via a system command and not a virtual/physical button press, it shouldn't matter how the hardware options are modified. at least that's how I read it, I'm fully new to Buildroot and so I couldn't be wrong there
I'm not entirely sure either. I also don't use VMware
gotcha. thanks for the help so far, and if there's anything else I can try, please let me know. the keyboard/mouse issue is fairly minor as I don't spend a lot of time in the vm cli, but the suspend issue is one that's a little more annoying.. anytime that I have to reboot my host machine, I have to manually shutdown the haos vm, and then when it comes back up, I have a bunch of automations that fire off notifications that aren't accurate and I have to message family members to ignore them.
minor annoyance in the grand scheme of things, but still, figure it doesn't hurt to ask and try and get it figured out
how long should it take to restore a full backup to a fresh install of HomeAssistant?
Depends on backup size, disk speed, processor, etc.
You can check the log via ha supervisor logs with a keyboard and monitor or via SSH if it's running
Hi @feral drift, I have the same problems you encountered, but I'm not sure I understand your solution.
- I create the bridge from my NAS (Truenas) and not through Cockpit, does that change anything?
- The IP address is not entered on my modem, but is it mandatory for a VM even if we stay in a local network?
- I don't understand the point of the commands: nmcli con down br0, then nmcli con up br0
- I don't understand the point of the host-bridge either.
I am a beginner on these systems and I will need your advice to better understand and solve my problem.
As for the first question I can’t really answer, at least not right now - all I can note is:
- make sure you have physical access so you can enter your server’s terminal & delete the bridge, in case it breaks anything
- the “nmcli” commands are for NetworkManager - if what you’re running doesn’t use NetworkManager, use whatever the equivalent on your system is to shutdown the link & bring it back up again.
- the “host-bridge” is so the VM can access your LAN, as if it were another physical computer plugged into your network instead of a virtual machine. Effectively, it’s like a virtual network switch hub - you plug in one Ethernet cable from your router as a source, then however many devices you want, and all of them connect to the router with only one cable physically going to the router.
- It isn’t necessarily mandatory to reserve the DHCP addresses in your modem - I more or less did so for convenience. If you haven’t set up anything around your NAS already, just make the bridge, then run “ip addr” on your NAS to find what its new IP is, so you can then SSH into it again & continue setup without being physically present at the server.
does anyone know why everything is so slow to load both apps and web browser?
check the link speed on whatever you're running Home Assistant on? a damaged ethernet cable or driver problems with your NIC can cause a crappy low-bandwidth link of like 10mbps or less
there can be other factors, but get that out of the way first
you mean an ookla speed test?
i am using a mac mini btw
no, specifically check your server's link speed - on Linux you can run sudo ethtool enp4s0 | grep Speed in a terminal, don't know about macOS
an ookla speed test will mean nothing - that tests your speed against an external server, not the maximum capable speed that your network hardware has established as possible with the NIC
this?
yeah, that
one sec
if it's plugged into a switch you can also check the network switch itself, most Netgear switches will show a yellow light for 10/100 links but green for 1000/gigabit links
oh welp i cant do it for some reasons
when i open the app it says network utility is obsolete
Question at the Proxmox guys :
Better install via UEM or LXC?
Lxc(container ) had less features ?
Nice thx
there's a few options at the link below. looks like you have a few options for terminal commands, or from the System Information app. if you run the terminal commands and don't know how to read the info they return, you can post it in here and I (or someone else) can help.
ok thanks, but for now home assistant is running as normal after i restarted virtual box for the second time
so if it will happen again i will be back to you thank you though!
yeah this restore has been running for hours and nothing has changed.
I'd check the log then: #installation-archived message
Hi! is it possible to pull a current installation /configuration of HAOS on a PI into a VM on a windows machine, and have things actually work? Or do I need to start working toward a full rebuild from scratch?
Should be no problem
Is that as simple as... install HAOS on a vm, take a backup of the pi, restore said backup onto the vm, configure passthrough ports and VM stuffs, and presto?
Pretty much
sweet. I'll get started on that...
My general problem lies in the fact that there are a bunch of un-resolved issues with my install, but a reboot takes damn near 10-15 minutes before I'm back up and running, and everything is just slower that I'd like. I feel like moving it to a VM on my gaming PC would be much quicker to resolve these issues, and then at some point maybe push back to a small form factor PC (like a pi 5 or something, idk)
for example... I can't update home assistant core from 10.1 to 11.2. It just doesn't update, reboots a few times, and then still stays on 10.2. Tried using docker compose to pull a new version and force the update that way, but that doesn't work because I don't have docker compose, and the other method looks a little too intimidating with the time I have available
I have a 512Gb SSD i want to use with Raspberry Pi for install. Can you recommend which install I should do? Better to do docker?
It would be my choice for a pi.
I'm having a hard time nailing down any log-entries related to failed updates of home assistant core... this is closest I've found...
@sand frost I converted your message into a file since it's above 15 lines :+1:
5 weeks ago I started with HA. the installation was easy on a old Intel NUC. Almost all devices in my house were found and ready to be configured. Some where allready configured, like my Homewizard devices. All where easily recognisable because the serial numer was part of the entity.id like eg. energy-socket.abcd1234 and many in the dutch language eg. "Home wizard P1 slimme meter". Super easy to work with. Because this was test I used a old pc. Now I would like to start over and use a new faster PC. Yesterday I installed HA again using a newer and faster NUC. When the installation was complete all device where found like the first time but now all entity.id are English and the device serialnumber is not in the entity.id. so now the name is energy-socket.1 and energy-socket.2, "Home wizard P1 slimme meter" is now "Home wizard P1 smart meter" and "actueel vermogen" is now "active power". Terrible. Copying a dashboard (raw) to the new PC results in many error messages entity not found. I use the same install process on both machines, the only differnce is old is 10.2 and the new 11.1. I desperately looking for a answer, did I do something wrong or can I change setting to prevent this from happening. I really hope someone can help or point me in the rights direction to find a answer
I don't have an answer to your actual question I'm just curious why you didn't restore a backup of the old system.
Hi,
- I have physical access so it's not a problem.
- I can't get the new address. Here's what I do:
1 - I create my bridge
2- I run “ip addr”
3- the IP address of my NAS has not changed, that of the Bridge appears, but with an IPv6 address.
Is it normal to get an IPv6 address and not v4? How to access this IP address?
You are supposed to get a ipv4 address as far as I’m concerned - does the MAC address of the bridge differ from the one your interface has prior to making the bridge?
Unless you’re reading your terminal output wrong - the bridge should have an IPv4 address when you’ve added your primary interface to it, the primary interface itself shouldn’t display an IP when you run “ip addr”
Yes, the MAC address of the bridge is different to the MAC address of my NAS
So the bridge itself is getting an IPv4, or is it not?
no, but the primary interface yes
Just a little tip. If someone gives you a command to run they usually expect you to share the output of it
As far as I’m concerned, the primary interface shouldn’t have an IP address anymore after making a bridge - I’m not sure offhand how to unassign the IP from it on the server itself
You may also need to specifically tell your router to reserve an IP for the bridge’s MAC address in its DHCP settings
Isn't it risky to give the result of IP addresses?
ok I don't like the age of my last full backup which is something I plan to fix once I get up and running again. I do eventually plan to migrate to a clustered install. But until then I'm trying to get my pi4 install back up. I found the biggest issue stopping my boot was a corrupt hassos-overlay which I cloned from a fresh install. but I see errors on startup such as this:
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.2: 500 Server Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.2/json: Internal Server Error ("layer does not exist")
What I see wihout bridge:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 30:85:a9:9d:53:56 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.20/24 brd 192.168.1.255 scope global enp3s0
valid_lft forever preferred_lft forever
inet6 2a04:cec2:2d:3532:3285:a9ff:fe9d:5356/64 scope global dynamic mngtmpaddr
valid_lft forever preferred_lft forever
inet6 fe80::3285:a9ff:fe9d:5356/64 scope link
valid_lft forever preferred_lft forever
and with bridge:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UP group default qlen 1000
link/ether 30:85:a9:9d:53:56 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.20/24 brd 192.168.1.255 scope global enp3s0
valid_lft forever preferred_lft forever
...
21: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether d6:da:31:ed:2b:d3 brd ff:ff:ff:ff:ff:ff
inet6 2a04:cec2:2d:3532:d4da:31ff:feed:2bd3/64 scope global dynamic mngtmpaddr
valid_lft forever preferred_lft forever
On the physical access, I see IPV6 address for the bridge
I will try
Hey guys, hope this is the correct channel. I had to disconnect the breaker, on which my Pi that is running my HA installation is connected to, yesterday and ever since HA is not starting fully. All I get is the following message [WARN] Home Assistant CLI not starting! Jump into emergency console… I tried searching it up but couldn't find anything. Is that a sign that the SD card is toast or is there something to try to fix it?
Did you cleanly shut the host down first?
I did not, I was a bit stupid and forgot about it
May be time to do a fresh install and restore a backup, if you have one
So nothing I can do in the console?
I thought it might be possible to find out the problem. But guess not then
You get a console?
oh, that gives me an error message Error response from deamon: Container ... is not running but it also reports undervoltage on the power supply I have connected it to so I will be back
alright, since I only get that error message I think it is fair to assume I should check my back ups right? Or can I manually try to start the container?
If you're not in a rush somebody will be along later who knows HAOS
Either option will take a while for me. As long as I get it working again this week I am good. Thank you for now. May I request a ping from the next person trying to help, because I sometimes forget to check the channels xD
So it's better! I don't know why, but few minutes laters IPv4 appears and so the NAS is accessible from the new address. However, the Home Assistant IP address indicated on the interface does not work. Is there anything else to do?
hi Guys got aa question about Samba on Home Assistant am I right here?
Probably wanted #add-ons-archived if you're asking about the add-on
oh sure sry
Yeah, your adapter should not be holding an IPv4 when the bridge is added - the bridge should have the IPv4 instead
Enter your hassos VM, login by typing “root” into the terminal, run “ip addr” in there to get the IP of the VM.
With the bridge set up right, the guest VM will have a different IP address from the host. So visiting the host’s IP at 8123 will not do anything useful.
You may also instead want to try accessing the web UI by host name - try “homeasssistant.local:8123” instead of using its IP.
Is there someone on now that can help me with this?
anyone know the fix for
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.2: 500 Server Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.2/json: Internal Server Error ("layer does not exist")
I ran docker rmi and then did a new pull request
but still seems to be my error on startup
interesting quirk too on boot it shows Home Assistant URL with the port change in my config, but I get the url resolving on the default 8123
Home Assistant observer
Supervisor: Connected
Supported: Supported
Healthy: Healthy
@keen heart I converted your message into a file since it's above 15 lines :+1:
@keen heart you need to shut the VM down & edit its config to use the bridge instead - first, however, run virsh net-list --all
make sure you've made an alternate network to switch the VM to before you edit its config - if you haven't made "host-bridge" in virsh yet, make "host-bridge.xml" with the following contents:
<network>
<name>host-bridge</name>
<forward mode="bridge"/>
<bridge name="br0"/>
</network>
- make sure the bridge name matches the name of your actual bridge on your server
I have to run this command on my host?
yes
you can make the alternate network with virsh net-define host-bridge.xml, then virsh net-start host-bridge & virsh net-autostart host-bridge
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
do you have some other means of managing the VM via a web UI?
in that case, whatever this issue is needs to be resolved first - I didn't encounter this issue in my own setup so I can't really advise on what to do here, maybe verify that the upper directory "/var/run/libvirt" exists?
/var/run/libvirt --> this path exists
But libvirt-sock not exists
I'm not sure of anything ^^
check if it's running with that systemctl command, or whatever your server uses for managing running services
@keen heart I converted your message into a file since it's above 15 lines :+1:
it seems active but with some errors?
perhaps sudo systemctl restart libvirtd ?
then try to make the bridge network again
oh yeah, maybe systemctl enable libvirtd
I have to delete the bridge and restart from begining?
no, leave the bridge as-is - where we're stuck is trying to make the host-bridge network in QEMU with virsh, right?
after restarting libvirtd, continue from here
root@truenas[/var/run/libvirt]# systemctl enable libvirtd
Created symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service → /lib/systemd/system/libvirtd.service.
Unit /etc/systemd/system/libvirtd.socket is masked, ignoring.
Unit /etc/systemd/system/libvirtd-ro.socket is masked, ignoring.
root@truenas[/var/run/libvirt]# systemctl status libvirtd
● libvirtd.service - Virtualization daemon
Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; preset: disabled)
Active: active (running) since Tue 2023-11-21 21:50:48 CET; 3min 3s ago
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 1300765 (libvirtd)
Tasks: 20 (limit: 32768)
Memory: 14.2M
CPU: 283ms
CGroup: /system.slice/libvirtd.service
└─1300765 /usr/sbin/libvirtd --timeout 120
Nov 21 21:50:48 truenas systemd[1]: Starting libvirtd.service - Virtualization daemon...
Nov 21 21:50:48 truenas systemd[1]: Started libvirtd.service - Virtualization daemon.
...maybe you need to unmask them? how'd that happen lol - afaik a masked service shouldn't even be able to run
run systemctl unmask libvirtd, restart libvirtd again, then try to continue from virsh net-define... as showed further up in the channel
same:
virsh # net-define host-bridge.xml
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
libvirt-sock steel not present
does your system package list include qemu, qemu-kvm, libvirt-clients, libvirt-daemon-system, virtinst, and bridge-utils
(or, whatever the distribution-equivalents are? - these are package names for Ubuntu, your system may be using packages with different names that do the same thing)
on /var/run/libvirt?
Don't know how I managed to rollback to 11.1 but I am back up and running, I think I snuck the update command in just in time after startup
in any directory - check your system's list of installed packages for those particular packages. you may be missing some things for KVM
I found only qemu package
Anyone using Home Assistant from a ProxMox LXC?
People are... but they can't answer the question until you ask it 😉
I'm not sure I understand the restrictions I'll face if I run it as an LXC vs a VM
What will I not be able to do?
No meaningful difference
Ok, but LXC is theoretically less resource intensive, right?
Not that HA is a beast or anything...
It will probably save you a few hundred MBs of memory
Today my Home A is an unraid VM but I bought 3x Beelink EQ12 to mess with as a ProxMox High Avail cluster. Noodling if it's worth converting.... The HAHA part sounds fun 😊
Be aware that PVE's LXC containers can't be live-migrated: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#:~:text=Running containers cannot live-migrated due to technical limitations
Ah, that's good to know
<@&330946878646517761> ^
Is there someone rn, that can try and help me salvage my HAOS installation or try to get it running?
Did you fix your PSU problem and restart.... same issues?
Yes, same issue
Anything interesting in dmesg?
it is showing me a lot of stuff there, what am I looking for?
I couldn't really find anything concerning, but I don't know what type of thing is should be looking for
I am getting a few of these messages though docker0: port 1(vethc...) entered disabled state
is it supposed to be a read only fs?
I feel like trying to figure this out is too much of a hassle. If I reinstall from a backup, do I need to readopt my entire zha network? I've seen a backup option in zha but didn't ask before everything broke :/
No, the backup includes that
Do we have a feedback on this yet?
Alright, thanks. I will take your advice from yesterday then and just do a reinstall. At least this time I have backups xD
Hi guys, not sure if this is the right forum or not for this type of query but I have been trying for days to get my home assistant server up and running, finally got all the way to where I managed to run it using Hyper-V and it loads but wont connect. I have got the logs showing the error. Thanks in advance.
hyper-v?
yeah for my virtual server
is there a reason you're going the most painful route?
couldnt get it running with any of the others... oracle was my first choice but it gives me an error code on startup that i cant navigate around no matter what I have tried
Why are you using windows?
because I have a windows pc XD and I am new to all this
If you're just starting out and you don't understand virtualization, I recommend shelling out the cash to get a cheap dedicated computer to do this
otherwise you're not going to get much help going a full hyper-v route. Most people go virtual box
hyper-v will land you in 89237498729487239847298 random issues related to hardware once you get it up and running
i see. yeah i dont want to spend anything really on setting it up, have a solid pc this side that does run well and can run 24/7, i have very few items i want to actually add to this its mostly for NFC functionality XD
Then try running the containered version of HA using docker or go w/ virtual box which has a full guide on the website https://www.home-assistant.io/installation/windows
virtual box gives me following error on startup
Failed to acquire the VirtualBox COM object.
The application will now terminate.
Error in C:\Users\dylan.VirtualBox\VirtualBox.xml (line 21) -- UUID "{00000000-0000-0000-0000-000000000000}" has zero format.
D:\tinderboxa\win-7.0\src\VBox\Main\src-server\VirtualBoxImpl.cpp[830] (long __cdecl VirtualBox::init(void)).
Result Code:E_FAIL (0X80004005)
Component:VirtualBoxWrap
Interface:IVirtualBox {7682d5eb-f00e-44f1-8ca2-99d08b1cd607}
Callee:IVirtualBoxClient {d2937a8e-cb8d-4382-90ba-b7da78a74573}
you're running this on win7?
win 11
first time i opened it, it worked. played around a little and then next time i opened it i get this error, uninstalled reinstalled and same error no matter what
Sorry, It's been a few years since I've touched any VM. You'll have to wait for someone more knowledgeable to roll through.
Im looking at installing home assistant on unraid... I have frigate setup as its own docker container, my question is: should i install home assistant as a container and install frigate within the HA container?
Or should i just install HA as a container and keep frigate as its own container?
install home assistant as a container and install frigate within the HA container?
You can't do that
Or should i just install HA as a container and keep frigate as its own container?
You should do that
yeah, just stumbled across that. Is it better to run HA as a vm then? I dont have a spare nvme or ssd drive to run it on
not if you're comfortable spinning up your own containers for whatever you want to run
running HA as a container along with whatever else you want to use is fine
Ok perfect, the downside is i might just end up installing a bunch of containers vs having it all self contained in a vm?
all addons are containers anyway, but yes, they'd otherwise be contained in the VM and managed for you
ok sweet, might try find a spare nvme laying around and just get a vm going this weekend 😄
After the first backup restore didn't work at all for whatever reason I am back and running now. Thank you a lot for your advice
Are addons not being restored from backups?
they are
But they need a host reboot after a restore to work properly
Oh that makes sense
Hello! I've just started with this, I'm trying to install Home Assistant. I seem to have problems with Jinja2 contextfilter. Even though it's officially not supported, would there be a way to fix the error? I've updated python to 3.9.9... The error is ImportError: cannot import name 'contextfilter' from 'jinja2'...
Ummm, you need to be on Python 3.11, and not supported means just that... not supported
Yes, I understand you're not obligated to provide support, I was asking just in case because there is a guide for HA on raspberry pi zero w from an admin out there and i figured maybe someone here would know. I apologize if it was the wrong thing to do.
Nah, not that nobody's providing support, but #templates-archived don't support all Jinja2 filters
So, "not supported" means that HA doesn't have that, you can't "fix" that
Also python 3.11 is needed, 3.9.9 is also unsupported in that the latest home assistant core won't install on lower
And about 2 years out of support
it actually did not for me. I thought maybe I didn't use them, but minimum ESPHome is missing, and same for my backup solution. It is still added as a custom adon but not installed anymore
why docker uninstall homeassistant dont work ?
Not sure what you mean, but if its docker you dont uninistall (talking from a docker perspective, not HA)
Because it is not a valid Docker command
xd removed
Hey folks, anyone else having issues installing the new core update? I seem to be getting a host error that the image cannot be found for my device type so not sure where to raise or to maybe let the devs know? I see now that the download is failing as well with a end of field error and header errors
Don't describe the log/error, share it
I'm trying a fresh go now, will dump
@ebon stream Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.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.
Host log -> http://pastie.org/p/1TIPHa1mffVPkyr4TOgN2N
My instance obviously has connection though as I am accessing from public internet to it at the moment.
and supervisor log -> http://pastie.org/p/49e3cqiXzWERUdDvEuWx9g
I don't expect it to give more information in this case but can you try docker pull ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.11.3 via SSH?
Perhaps also try ping time.cloudflare.com. It seems like it can resolve DNS names but not really establish a connection.
hmmm I assume you mean ssh to the actual pi vs homeassistant?
I tried to use the terminal&sssh addon but I assume thats running in the container so won't help
Or is there a way to go from core-ssh to the respective directory/area?
ping is fine though
The Advanced SSH addon can run docker commands if you disable its protection mode.
wierd
I'm getting a similar error when trying to install the addon
also from the same repo ghcr
Failed to install add-on
Can't install ghcr.io/hassio-addons/ssh/aarch64:16.0.1: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=16.0.1&fromImage=ghcr.io%2Fhassio-addons%2Fssh%2Faarch64&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
Going to try a full reboot of the pi and see if that helps.
Hey all. I'm trying to pull together a .bat file to get my vmware instance to launch in headless mode.
The command is -nogui but when running
cd "C:\Software\VMware\VMware Player"
vmplayer.exe "C:\Home Assistant\Home Assistant.vmx" -nogui
VMware Workstation just opens with a GUI as usual.
I had this working previously but lost the bat file I wrote.
Try
"C:\Software\VMware\VMware Player\vmplayer.exe" "C:\Home Assistant\Home Assistant.vmx" nogui
No need to cd
Same deal, opened cmd.exe which then opened VMWare Workstation Player.
Is there a vmrun.exe in that folder?
Try
"C:\Software\VMware\VMware Player\vmrun.exe" start "C:\Home Assistant\Home Assistant.vmx" nogui
The examples I found also use the -T flag (-T player) but maybe it works without
I've had to restore a backup from 24 hours ago as my system became stuck in what seems like a broken install loop. Back to stable but still unable to access the ghcr repo's. I'll give it a couple of days , possibly a isp issue
Did you reboot after the restore?
"C:\Software\VMware\VMware Player\vmrun.exe" start "C:\Home Assistant\Home Assistant.vmx" nogui worked, thank you!
Yes and then tried the Advanced SSH addon and got the same message. Something between my HA and the repo is not happy
Other items are talking fine all over: weather, solar, internet, eWelink etc
specifically that repo address
And i have the notifications of the update etc, just can't action
Hi guys
I'm having troubles adding Netatmo camera. Could you please help me with it?
@frigid copper Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
Though, that's more a topic for #cameras-archived than here...
hi
Noob question... I've just installed HA for the first time on a docker. I can't access the http. here are some shell commands and output, including the command I used to install. It's on a windows with a WSL 2
xxx@Carbon:~/dev/homeassitant$ pwd
/home/xxx/dev/homeassitant
xxx@Carbon:~/dev/homeassitant$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3cb72782696d ghcr.io/home-assistant/home-assistant:stable "/init -p 8123:8123" 23 minutes ago Restarting (2) 4 minutes ago homeassistant
xxx@Carbon:~/dev/homeassitant$ docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ="Asia/Nicosia" -v /home/xxx/dev/homeassitant/:/config --network=host ghcr.io/home-assistant/home-assistant:stable -p 8123:8123
Well, WSL is the problem
HA isn't supported there, because host networking doesn't work
I see. (and thanks!) I think WSL was offered when I installed Docker. Should I reinstall without?
I also see an enabled "Use the WSL 2 based engine" in the seetings. should I simply disable it?
(I'm running docker for the first time, and using it only for HA)
Have you looked at the Windows install guide for HA?
(we know the answer is no 😉 )
Wouldn't that install the HAOS instead of the windows? I chose the docker route to avoid it
Did you actually read that page?
@solemn pine 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).
- HAOS in a virtual machine
- Core in WSL (note, no Docker)
I don't have any virtual machine setup. do I need one of these: VirtualBox (.vdi)
KVM (.qcow2)
Vmware Workstation (.vmdk)
Hyper-V (.vhdx)
?
I see. Can you recommend of those would be simple to install? assuming it would only serve HA?
VirtualBox is probably the simplest, there should be plenty of videos on that if you like those
The challenge is getting it to auto-start on Windows boot, but that should be documented too
I just want to play with it on my laptop until my dedicated mini pc arrives for the real installation...
I installed VirtualBox and HA on it. I'm able to connect to http://homeassistant.local:8123/ and now waiting for it to "prepare"...
Thanks for the help!
Happy Thanksgiving to All I have Home Assistant as a VM on Virtual Box running on Windows 11 Laptop. I had to restart the laptop for update the other day. After the laptop restarted HA was started and it obtained another IP Address. IN HA I set the network to static and saved that info but it still picked up new address. Can I change the address in HA to the previous address it had? Is there a way to use hostname?
Open your Home Assistant instance and manage your systems network configuration
How did you set the static ip?
Not entirely sure what you mean with Is there a way to use hostname?
If you use DHCP your router usually provides that functionality. You can also use the mDNS hostname (homeassistant.local) but I don't recommend that.
In Home Assistant went to settings then networks it was set to automatic I changed it to static. maybe I did not hit the save button . I see many save buttons in the network section So I changed the ip address back and saved it this time. Restarted HA and the ip address was what I set as sstatic in HA
Hopefully it sticks. I'd still recommend putting it into your router's DHCP reservation list even if it's outside its DHCP range if you didn't already.
Is there a way to manually download packages or updates?
ie: not in homeassitant but from another machine and put them on a lan share that it can access
I installed the advanced SSH addon ( not too sure how, it seems to have downloaded info in patches ) and managed to get on and do a docker pull. Watching the ui, a few files were already downloaded and then it got to a slightly larger one, that took a bit of time but then my system disconnected and died. Could it possibly be a bad sector on the sd card? Because the fact that it recieved more than half the files show its communicating. I did do the whole dns reset and force to 1.1.1.1 as well
Not sure. What did the monitor display while it disconnected and died?
I'm running it remotely but something seems to be dying when downloading the files
can't take it right now but it shows like
xxxxxxx: already exists
aaaaaa: downloading [--->]
but when my ssh reconnects I can see the process is going on in the background
but I think thats whats happening, the HA is restarting the whole time or something is
I'd connect a monitor so you can better see what's happening
yeah I ust want to see if it still progresses , otherwise I'll go fetch the board and psu and hookit up to my monitor, its tucked away
its a proper pi psu so not power starved
but I think the sd might be dying
With a SSD/HDD you could check its health. I don't think you can for most SD Cards.
You could check if the host logs contain something interesting.
logs are pretty clean, been going through them, only thing is the "timeout"
I do see some folks reckon to rather boot from USB vs SD due to large writes
Any idea what the phrase Pulling FS Layer means?
It's certainly a more reliable choice (when used with a powered USB hub) but I'm not sure what the issue is so I can't really recommend anything to fix it.
hmmm I' going to park it for now, force a cycle and then in Decemebr do a move to a USB boot away from the SD and see what happens,
@placid sage I converted your message into a file since it's above 15 lines :+1:
https://homeassistant.local:8123 will throw errors - that's how SSL works
You have to use your DuckDNS domain
unfortunately "this page is not accessible"
okay "IP HA" and forwarded port... it's closed
@proud panther 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).
Ok, so start by checking the WAN IP shown in the router's admin pages
Does that match what your DuckDNS hostname resolves to?
https://hexillion.com/ can help there
ok i have no idea what i have to check - sorry for that
Log in to your router's admin interface
yep
yes thats not matching with the duckdns one
Ok, that's the problem, now to work out why
What are the first two sets of numbers, eg 192.0.
100.65.
CGNAT.... you're fucked
Ask your ISP if there's a static IP option
Otherwise you need your own domain for Cloudflare Tunnel or you need to buy the Nabu Casa cloud service
Or use something like tailscale unless it has to be wide open.
okay thanks for the help - i need to go but i will try it tomorrow
I tried to install HAOS on an RPI5 8GB. So far the OS is not comming up. I see no network lights though the RPI is connected with ethernet. Is there something else I have to do?
You have to wait until January/February early 2024
With a bit of luck maybe less
Saying: it is not supported yet
ok
Hey ! I have reinstalled home assistant to do some more stuff. I again want to set it up via wifi. I know it's not recommended, but my wifi is good, and it would be much easier not to worry about the ethernet cable and where to plug it ( i dont have many spots i can plug it in).
Last time, I followed this guidehttps://community.home-assistant.io/t/guide-connecting-pi-with-home-assistant-os-to-wifi-or-other-networking-changes/98768
But I realise that now, you can set up wifi via the settings. Ive done this, it says its properly connected to the wifi, however, as soon as i unplug the ethernet cable, i can't get back into home assistant. I tried rebooting it, but same, until I plug the ethernet again. Is this normal or am I doing this wrong?
What address are you using to access Home Assistant? homeassistant.local or a numeric IP address?
The Wi-Fi connection has a different IP Address from the Ethernet IP Address.
well, I tried both. I now tried to follow the link's instruction. I've set the ip adress as ending by 22. When its plugged via ethernet, i can detecft on 192.168.1.22, but when I unplug it it first show as 192.168.1.191, and then disappears, so I don't know what to do now...
Actually I'm mistaken, it's back on 192.168.1.22, but I can't access it at all
Yup, I've tried again, but sitll can't connect without ethernet...
Okay, I've actually found changing to wifi works, it's just that when I set a specific adres with set ipv4.addresses, i lose any way of connecting via wifi, don't know why
where i found docker instalation mode to change default port without manual edition conf..yml ?
yo my windows setup isnt working
anyone know why this is happening? had to reinstall and trying to restore from a backup.
https://cdn.discordapp.com/attachments/1165422734755516518/1177751434050142288/Screenshot_2023-11-24_at_6.22.59_PM.png?ex=6573a57f&is=6561307f&hm=9f8b14dbcfe228144f07720e68c8b3160b5905b0c4ce3932ea81978647c208ee&
says its in a freeze state, whatever that means.
never heard of that on HA before
im not support but i think i know what to do try rebooting the server your HA is running on and try again
alright
i restarted ha but ill try to restart the whole vm
ok go from there
ok
alr now its seems to be letting me restore
ill update in a few minutes when this should be done
thx
your welcome
yo i was wondering if you can help me setup my windows home assistant ?
might be able to help
im using proxmox with a sh template to install everything for me
what are you having trouble with though
ive only installed ha on linux but i might be able to help
ok so i got htis error
BdsDxe: failed to load Boot0001 "UEFI UBOX CD-ROM UBO-01f003f6 " from
nd
BdsDxe: failed to load Boot0002 "UEFI UBOX HARDDISK UB5cc66c68-4ccc2746
ot Found
BdsDxe: No bootable option or device was found
BdsDxe: Press any key to enter the Boot Manager Menu
PciRoot (0x0)/Pci (0x1.0x1)/Ata (Primary,Master,0x0): Not Fou
from PciRoot (0x0)/Pci (0xD,0x0)/Sata (0x0,0xFFFF,0x0): M
M
VirtualBox
so you are using virtual box?
yeah
windows
virtualbox inside windows
did you use this? https://www.home-assistant.io/installation/windows
yeah and chat gpt got me as far as coverting vdi to iso
really?
like hard drive
yeah
iso is the format for installing an os
you download their vdi and use their tutorial to create a vm with that hard disc file they give you
ok imma look thru the site and brb if nothing works
alr
Im not able to get past this. this is the first time Ive loaded HA on a Raspberry Pi. 23-11-24 22:15:02 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/armv7-hassio-supervisor with tag 2023.11.3.
Any Ideas?
Can someone give me some insight on viewing my blink cameras? I have configured them but I have not been able to view the yet. Thanks in advance.
Hi, I've been using homeassistant for a long time and it has been working great. I'm using the container install on a vm. But the vm is an old version of Debian now. I was wondering is there any benefit to using homeassistant os instead of container? Because online I read alot of people are trying to do the opposite, os to container. What do you guys recommend? It's on an enterprise server btw so no worries about hardware
not if you're comfortable installing software in containers manually
Debian is usually very pain free to upgrade within 15 minutes or so. It's also risk free in a VM that you can easily snapshot. I'd keep everything as is.
You can also simply try out HAOS. You can import a docker backup into it. I don't really recommend it for advanced users though.
My entire setup has changed though, but I'll just make a new Debian vm then
Thanks for the advice!
I installed home assistant, but I'm not able to install additional modules like Plejd and my Sonoff Zigbee USB module.
I'm really confused about the different "versions" of the server. My linux knowledge is extremely rusty... like 20+ years old
I installed armbian on a radxa rock4 se board, and the OS itself seems fine
https://www.home-assistant.io/installation/#compare-installation-methods
If you use armbian you are either using a docker container or core. None of which have addons.
So, I broke my container, but have a backup of my config. I'm switching from container to HAOS. Is it possible to import that config?
Also: What're the suggested specs for HAOS if I run video through it? My spouse like viewing our Ubiquiti security cameras via HA, but they were always choppy when it was running on a Pi. I'm switching to x86 (e5-2660) and was thinking of giving it 4 vcpu/16gb ram. Anyone using it to view security cameras? If so, what're the specs on your instance (regardless of platform)?
@raven forge does it mean I cannot use armbian if I need addons?
That's right. It's possible the supervised installer will work but pretty much none of us recommends it
Do you happen to know if I can install Debian on the radxa rock 4, and get addons that way=
I have no experience with that device and don't know if packages are available for its architecture. Supervised is generally not recommended.
What is your recommended hardware if I need addons?
I have a old windows 8 minicomputer with 2 cores and 8 gig available 😉
I always recommend (U)SFF/Mini PCs to people. I also suggest virtualization if the hardware (and your will) is strong enough but it's not for everyone.
Here's a list of HAOS supported boards: https://github.com/home-assistant/operating-system/tree/dev/Documentation/boards
And here why supervised is a bad idea: https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md
ok, the windows machine is a generic x64 at least
it even was UEFI 🙂 Never than I feared
UEFI is quite old by now
It's a 2-kernel Gigabyte Brix from 2013 🙂
But it is running right now it seems, at least the CLI
2 core I mean - I should probably get a more powerful one for this
what can i do if i get this error An error occured while installing Home Assistant, check the logs below for more information.?
On a raspberry pi
[supervisor.store.git] Can't clone https://github.com/esphome/home-assistant-addon repository: Cmd('git') failed due to: exit code(128)
Has anyone tried these switches in the US ? SONOFF ZBMINI ZigBee Mini Smart Light Switch(2 Way), Compatible with Alexa, SmartThings Hub, Google Home & SONOFF ZBBridge, ZigBee 3.0 Hub Required, Neutral Wire Required, 2-Pack https://a.co/d/e3oxnPn
Question: I have HA on VirtualBox windows OS. I took a clone of my instance and when it was done, tried to start it, but I get a error which is similar to this https://community.home-assistant.io/t/cannot-boot-into-ha-anymore-stuck-in-uefi-interactive-shell/296605
Is the only reliable solution then to start a new VM instance? Should I try and export instead of clone to backup HA?
Please show screenshots of the Details page of both the VMs
similar
And the exact issue. I cannot reproduce this btw.
I keep getting Permission denied when I try to pull a new docker container. todd@HA:~/docker/homeAssistant $ docker pull ghcr.io/ome-assistant/home-assistant:stable
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=ghcr.io%2Fome-assistant%2Fhome-assistant&tag=stable": dial unix /var/run/docker.sock: connect: permission denied
Any Ideas?
Yes, I tried to use sudo as well with the same error
Im not sure how to use code blocks
' curl -sSL https://get.docker.com | sh'
Its on a RPI 3, I get the same errors with the pi imager version of Home Assistant as well
Did you log out and back in after adding your user to the group?
What does sudo ls -l /var/run/docker.sock say?
Very strange that it complains with sudo as well. Can you try sudo -i first and then run it again and show me?
Code blocks use backticks btw.
What OS are you running right now?
raspberian light 64
the log out and back in changed the error.
Now its todd@HA:~ $ docker pull lscr.io/linuxserver/homeassistant:arm64 Error response from daemon: Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
That's not an officially supported image. Please follow the docs. Does your network generally work reliably? nslookup ghcr.io, ping 1.1.1.1 and so on?
Also check systemctl status docker.service and journalctl -u docker.service
where should i be looking for the image?
Seems to be pulling now. Thanks for the help
What did you change. Just a different image?
Logging off and back on i think was the key. and using the official image
hi quick question, does the raspberry pi install support addons? is it considered OS install?
assuming you mean Home Assistant OS, yes
ok thanks
Also see here for what the different installation methods are and what they support: https://www.home-assistant.io/installation/#compare-installation-methods
How can I disable a custom integration (wiz) that I'm fairly sure was installed with hacs?
There's a built in integration for that
Anyway, you disable integrations from the 3-dot menu in
-> Integrations
My network doesn't have access to GitHub, so I can't complete the homeassistant installation. What should I do?
logs here: https://dpaste.org/Si4Y8
How should I use the proxy in the HomeAssistantOS console?
Describe how you tried to install home assistant.
Does your laptop support and is configured for UEFI booting?
I would've suggested to virtualize HAOS but that thing is too ancient (15+ years old) and too low specced.
I have a windows server 2012 r2 here. I wonder if it would work well to run haos virtualized on it
What hardware?
Can I set up HA on a raspberry pi and gift the set-up to a friend? Or would the setting up have to be done at thier place? Has anyone done this before?
Should work just fine, assuming a wired Ethernet connection, once you've setup everything you need to change the HA IP address to something that would be reachable on your friends home network, if you setup HA via wireless, youd need to change that setting prior to powering off and sending over as well
Anyone here have a flawlessly working dockerized HA setup behind Caddy configured with internal TLS ? If so I have questions. My setup is working, kinda, but I cant connect via HA mobile app (err too many redirects)
Thank you!
An old Phenom II 6-core w/24gig running as fileserver and NAT
It will probably work but not necessarily well. It's likely still faster than a pi. Can you tell me the exact model?
Trying to get a used gigabyte brix i7-10700u - it should do the job well as well as being noiseless
The phenom is a X6 1045T on an old asus board with SSD as systemdrive and a large adaptec raid
The Phenom should be like 3-4 times faster than a pi 4b
I'm trying to install HomeAssistant from VirtualBox image on Windows host, but getting this:
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemux86-64-homeassistant:2023.11.3: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/qemux86-64-homeassistant:2023.11.3/json: Not Found ("No such image: ghcr.io/home-assistant/qemux86-64-homeassistant:2023.11.3")
is there VirtualBox image with preinstalled HomeAssistant somewhere?
That can happen if there's network issues. Can you share a picture of your VM's Details page?
hmmm, doesn't seem like it accept pasting images
but network is in 'bridged' mode
ha, looks like it did finish installation while I was figuring out how to paste an image here :))
do I need to install any zigbee-specific extensions to get CC2531 zigbee dongle detected ?
got it 🙂
No. ZHA is included. If you want to use Z2M you need to install the addon, of course
Afaik WiFi doesn't necessarily work with bridging: #installation-archived message
then I guess I'm lucky 🙂
Now it can see zigbee coordinator, will it automaticlly detect any new zigbee device I plug? Also, is there any zigbee-specific docs to review?
I don't use ZHA myself but you probably have to put it in pairing mode first.
As for docs:
https://www.home-assistant.io/integrations/zha/
Docs here even if you're not using it: https://www.zigbee2mqtt.io/advanced/zigbee/01_zigbee_network.html
And the notes and pinned messages in #zigbee-archived
awesome, ty!
Does it take a while to restore Home Assistant to a new device from a Backup?>
Currently in the Restore in progress screen and Home Assistant is Waiting for the HOme Assistant ClI to be ready on my VM
That message is a confusing as it might still display even if the CLi is started.
Restoration time mostly depends on the hardware and the backup size.
I havent logged in or anything yet cause it all it asked New setup or restore from a backup to which i did
backup size is 38mb and on a lenovo i5 2.81ghz computer with 8gb ram
small computer
i5
There's 14 generations by now
i know but it was a work computer which i thought was pretty good to use since most people use RPI
It should be good enough. Still faster than the pi 4's CPU. I was just being a bit snarky 🙂
Afaik the best way at the moment still is to check the supervisor log via supervisor logs. A reboot after restore is usually recommended to get everything working correctly.
i stopped it and asked me to log in after refreshing the screen
now im back baby
i hope
crap alot of my addon isnt starting
i might need to do another backup?
i mean restore?
Reboot after a restore
done... all good except my camera are not shown on my dashboard hhhmmm my docker wyze bridge is on and i see the views
but not on the dashboard
I was running haos on pi4 32 bit version. I just built new install of haos on pi4 64 bit and restored from a full backup. Everything is working correctly. Is this a valid way to convert to 64 bit? Am I truly running ha core as 64 bit now? Or am I split with the os being 64 and the core still legacy 32 because it was restored from a backup?
im trying to install home assistant on proxmox and I got everything set up but ive been suck here for like 30 minutes without the console moving. last change was [supervisor.resolution.fixup] System autofix complete
do i need to just re install it?
What other logs are there
Hmm just built a box with an NVME to begin this journey. Currently the system is booting like a live distro from the USB, how do I install it to the NVME?
Oh, it has to be run in a VM?
Wait, I get it, I need to run a live distro then write hass to the NVME with balena
There's many options and ways. If you want to run HAOS bare-metal then the latter is correct.
Im not sure my Syno would be poky enough so have an AMD box doing nothing Ill repurpose
No I meant bare metal instead of VM like you said. You can do either if the hardware is strong enough. There's also many ways to get HAOS onto the disk. You could also temporarily use a external case to flash it for example.
Yeah I get ya, Would be VM if on my Syno (DS218+). Otherwise I have an old box I can run it "bare metal" (new term to me) on an AMD unit I can repurpose.
Meh, Im gonna go with the AMD box.
I don't really like the term but I was referring to running things directly on physical hardware. The AMD box might also be able to virtualize if that's your thing.
Hmm, jut read the edit. I think I do have a NVME external case somewhere
@fringe temple if the live usb is Ubuntu, use the disks utility to "restore" the HAOS image to the NVME. Skip Balena
Ive learnt to love Docker to be fair, was thinking of running ubuntu and popping hass into a container. Kinda seems a waste of a box to utilize the entire system to it when I could potentially run DIYHUE along side it aswell? (port 80 is tied up on my NAS and I dont have a managed switch)
VMs can get their own ip so that's not an issue. There's ways to give docker containers their own too but it seems a bit finicky.
MACVLAN aye, but I cant set up a vlan without a managed switch?
Been a while since I checked it out but I don't think you need one for this. There's also another *lan method. My point was that you could host VMs on that AMD box.
Got ya. Will have a ponder whether to Debian this bitch and run Docker.
Cheers for the advice
Or HAOS in a VM and docker on another 🙂
I currently run HA in a docker container as well. Well, HAOS users are too but I guess you know what I mean.
I do, mate. Running VM's are something I've never strictly done other than dicking about in Windows just to see it. I'd have to properly research that. Which would be a January job as times not so abundant this time of year.
Thanks for replying. Im going to read up a little more before I take any further steps
hello, during the installation on x86/x64 system i have this messagge "failed to start wait until kernel time synchronized" and restart the pc
kernel
Is a network cable connected?
Hey! I'm trying to download Home Assistant on my Raspberry Pi 3B, and I keep getting this error.
[322.665139] overlayfs: overlapping lowerdif path
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.11.3: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.11.3/json: Not Found ("No such image: ghcr.io/home-assistant/raspberrypi3-64-homeassistant:2023.11.3")
What size of SD card?
32Gb
That should be enough then
Also, i get the error
Error returned from Supervisor: System is not ready with state: setup
Some time ago when I setup HA, I downloaded "haos_ova-7.6.vmdk" and ran it as a VM in unRAID. Now I want to increase the disk size from 32G to 100G or so. But neither expanding by clicking the size and chaning it, nor using qemu-img resize works. What am I doing wrong?
What happens if you use the CLI tool? Did you shut down the VM first?
Yes, I stopped it first 🙂 Using CLI I get this error: qemu-img: Image format driver does not support resize
@dusty sierra I converted your message into a file since it's above 15 lines :+1:
I was able to see my backups by copying the files to config/backups but there is no way to restore them.
That should work. You can also upload them via the GUI. Where do you see them?
hi i have a zigbee device and i believe i can control it without wifi but how would i acces my home assistant without wifi?
Again, the Zigbee is not relevant to your problem
Have you set up working remote access for HA?
Whether the paid #cloud-archived service, or DuckDNS, or something else?
Duckdns
And that works?
Yes
Then what's the problem?
When i am home i want to be able to control my devices that don't need wifi like zigbee devices when i have no wifi for whatever reason
If that works then when you turn off wifi on the mobile it'll use mobile data, and you can connect to the DuckDNS hostname
Earlier you talked about turning off WiFi on your phone
if you do that and also cut HA off from the internet then clearly you can't reach HA
So there is no way to control these devices without having any ethernet myself
Sure there is, but your phone has to be able to reach HA somehow
Obviously automations will run regardless, but if you can't reach HA's UI then you can't interact with HA manually
Mhm alr
Hello, after a lot of researching at the HA forum, on the manual and on the web I havent found many information about installing HA server and KODI on the same device:
I'm going to start a new HA installation on a mini PC and I was wonderning wich would be the best aproach to install KODI on it too. I just can imagine one way, but for sure there is a better/ less resource consuming option and it is Install windows just for KODI and then HA on a VM. Is there any guide for installing KODI and HA on the same linux bsaed OS ?
yep, the addon is not a server, just can control a kodi installation as far as I know
that sounds like an integration
https://www.derekseaman.com/2023/10/home-assistant-proxmox-ve-8-0-quick-start-guide-2.html i'd suggest this guide then install kodi lxc or vm for it or whatever
Can someone help me with my home assitsnt installation I've tried everything I use a good oc with enough resources I'm installing ha os but I feel like there's problems with docker it takes a long time to start when booting and the home assitant overall is slow on the fronted I also rsn commands like ha core check which returned error with I didn't understand but said something in the lines of docker
Please dm me for picture of logs
This is also a brand new installation no adďons no integration all new when I start it I also get an error saying warn home assistant not starting jumping into emergency console after 15 mins of waiting I typed login it then goes to the home assistant banner it give me a up but still doesn't load I have to wait a bit more then type in banner then it starts to work but still really slow
Error is home assistant is not ready returned with state setup
Also cpu and ram usage is low
Ram is = 0.2/5gb
CPU = 0.5
Also I had ha is before then I stopped using it before it worked amazing fast at everything boot front-end even with 2gb ram and a intel atom processor should this be bugs in the latest version if so how can k downgrade to a older version and which version should I go to
I find it contradictory that so many seem to prefer ha os on proxmox rather than ha os stand alone. I’ve recently switched to stand alone because I kept running into async errors. Now my cpu temps and usage are cut in half, everything is more responsive, and so far no more disk errors.
Anyone know where to find the Vmware Workstation (.vmdk)
I was following a tutorial on YT Linux//
Install Home Assistant Operating System
But Vmware Workstation (.vmdk) is not there anymore for downloading...
I recommend not using a vm at all. If you don’t have to. But an easy google search gets you that answer https://customerconnect.vmware.com/en/downloads/info/slug/desktop_end_user_computing/vmware_workstation_player/15_0
Sorry for asking, but why you don´t recommend using a vm?
thx 🙂
Virtualization is awesome. Unfortunately the player can't do snapshots afaik, depriving you from one of its best features
I´m not sure if I´ll need that?! The reason for the Linux VM is my UNRAID server running 24/7 running mainly as a file server...
You can do snapshots before doing upgrades or testing something. If something goes wrong you can simply restore to the previous state within seconds.
Well you can't with the player but you likely wish you could at some point.
k got that
I’ve had issues with VMware and proxmox. Just seems to run smoother with just the os. I don’t care about snap shots since I can just backup home assistant
I am new to HA and have been adding various things. Today I opened the app on my iphone and it goes directly to HACS and I can't exit the screen
any ideas?
Got it figued out
You should share the solution for others that might run into a similar issue and those curious about what the issue was.
Did you follow the instructions?
Yes, the terminal just kept giving me an error code and then started replicating
@craggy vigil I converted your message into a file since it's above 15 lines :+1:
Unclear what all that is. Just copy and paste the command
If you tried to type it, you probably just screwed it up
Where do I find the download image
I downloaded my image from home assistant github page
That's the right place to download from
Please use a code share site to share the logs as text, and then maybe somebody can help
Great I'll do it as soon as I get home but 1 thing to say is that docker container application engine takes nearly 30 minutes to load so. I suspect itsnthat
What the log command for SSH
Hello
I try to use home assistant on old laptop
Installation is stuck on this screen
What do?
Has been like 2 hour
It won't let me add photo
But it's a black screen with big "home assistant"
Like dis
| | | | ___ _ __ ___ | | ()_ __ | | | | ___ _ __
| || |/ _ | ' _ \ / _ \ '_ \| | '_ \ / _ |/ ` |/ _ | ' \
| _ | () | | | | | | __/ | | | | | | | (| | (| | () | | | |
|| ||_/|| || |_|_|| |||| ||_,|_,|___/|| |_|
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.
This confuses so many people. Maybe it might be better to have the bot delete images and automatically respond with that or overthink the decision.
@humble mirage what
- You didn't even format that mess
- Use an image hosting site
It's like a cat walked on a keyboard composed solely of slashes, pipes, and underscores
@proper elk I converted your message into a file since it's above 15 lines :+1:
What's the actual error?
At the moment I get the error: Site not safe
Well... that's not a problem with HA, that's a problem with your domain and google 😉
There should be an option there to report that back to Google
Hello!
I've a question about updates of Home Assistant. Home Assistant Supervisor needs to be updated first. This is true when I want to upgrade Home Assistant Core but is this also the case when I want to update Home Assistant Operating System ?
No, you can usually update everything in any order you want - only rarely will one have to be done before another
Ok thank you for your reply
Hiya, I have a current haos install (raggedly, and sometimes not) running on a pi 3, and I just picked up a small form factor PC to rebuild or migrate. If migration doesn't really work, what is the best install on a dedicated headless machine? I was thinking I'd install Ubuntu, but it already has win10 on it. Thoughts? Opinions?
HAOS, overwrite the whole OS
if it's a win10 machine that was dedicated to windows, you can always switch back. There's likely a license imbedded into the mobo
I forget what they call it, but there's a name for it
either way, replace the OS and trash windows if you aren't going to use it.
@empty bloom Okay, works for me. I know it's in the name, but totally didn't realize haos was an actual full fledged os lol
Is that this in the docs? https://www.home-assistant.io/installation/generic-x86-64
I can set up haos in a headless setup so I can just ssh in as needed from another machine Right? Just won't have any UI (which is fine)... What about installing other things like grafana or influx for reporting? Current install uses docker for those
Only via addons. HAOS might not be the right choice for you
I'm not OPPOSED to using add-ons for those sorts of applications, but it's a pretty capable little machine. Is there a better install that would give more flexibility?
container on ubuntu or debian
I haven't done an install for years, and not up to snuff on the options pro/con
just keep in mind, you lose all addons and the "appliance like" software solution that HAOS provides
i.e. you have to manage it all
not a problem for people who use docker alot
Oh interesting. How do you do something like zwave js without add-ons?
Install proxmox VE on it and you have all the flexibility 🙂
Option 3
Ie, run haos in a VM and that'll leave other options still open?
That's one option, yeah.
Oh awesome. Similar set up for other things as well then, integration hooks to installed server or app running on the host machine?
Yup
I've never run HAOS and have, to date, never found anything I couldn't do myself
That doesn't sound that bad actually. Feels easier to troubleshoot issues since they're siloed better
The voice stuff was a little delayed, but not by much
I also like that I can do my own backups, and restores, and know when a restore has finished... unlike on HAOS 😛
I keep running into issues with haos and docker because everything has is own internal IP address and access to the host machine is weird.
I kind of like that. So then can I just install something like Ubuntu, and then install docker and run it there? Or is there a better way to approach it?
Got it. Any other tips that I won't run across in the docs? Probably tackle that this Friday
(also thank you!)
Personally, use a shared parent folder for your Docker files and all the container configs
eg
/data/docker - compose file and env files
/data/homeassistant - HA config folder
/data/mosquitto - Mosquitto config folder
Then you back up /data and get everything you need to rebuild from
I had some problem with HAOS so i tried reinstalling it, and in logs i got this
[asyncio] Task exception was never retrieved future: exception=CoreDNSJobError('Rate limit exceeded, more than 10 calls in 0:30:00')> Traceback (most recent call last): File "/usr/src/supervisor/supervisor/plugins/dns.py", line 270, in watchdog_container return await super().watchdog_container(event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/supervisor/supervisor/plugins/base.py", line 109, in watchdog_container await self._restart_after_problem(event.state) File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 276, in wrapper raise on_condition( supervisor.exceptions.CoreDNSJobError: Rate limit exceeded, more than 10 calls in 0:30:00
any possible solution???
tried restarting DNS getting this
Error: Cant't start CoreDNS plugin
Try this: #1176295714108747807 message
They can't see that 😅
Yeah just noticed. Thanks 😄
All I remembered was I had to search for jorg ha dns and picked the first without thinking.
is it possible to see current state of the backup recovery? my 400 mb running since 29 hours and im not shure maybe its stucked.
One low tech method would be to open a second browser tab/window and try to call HA in that. If it works, the one with the recovery just hasn't reloaded
Thanks it looks like it solved the problem 🙂 Cheers man
is this known problem, or should i report it somewhere??
it would save a lot of time to new people
I wouldn't call it a known problem - more a workaround when the CoreDNS plugin doesn't work as expected
ok seems i can create new ha normalyy weired :S
hiya, im having a problem running HASS in a VM in truenas scale, it says this, but from everything ive looked at on truenas there should be a internet connection
altho when i run net info in HASS it shows up as host_internet: false altho interfaces: -connected: true so im not too sure what i should do, any ideas?
23-11-27 06:02:39 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
23-11-27 06:02:39 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
(this loops for like 100 lines)
I have a picture of logs
Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.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.
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.
Hardly readable
Yes, I am still here
Is there like a way to reinstall docker
Application contsiner engine
That takes 30 mins to load on boot
I think thats the problem
I'm now in root console of os
You are at the console showing ha> correct?
No just #
You can try ha su repair
Home assitsnt os I rpeesend ctrl shift f2
I'll try that now
Loading.........
Still loading........
Still loading 😦
Recommended Memory amount on debian/docker install we talked about earlier? @humble mirage currently sitting with 8gb
fuuuuu, sorry =S
My HA docker container uses about 1G if that helps. You can check yours with docker r stats
Yeap. That helps. I'll even probably install a GUI then.
What for?
Mostly just in the event I want to use it for something else in tandem in the future...
Idk. "it's probably a comfort thing "probably is a better answer
safety blanket
Should've virtualized then 😉
You mean a DE or a docker web GUI?
Meant a DE, yep.
not docker web GUI, i'll probably go docker engine instead of docker desktop
There are light DEs that you can also only start on demand. Not sure exactly what other things you want to run though.
I don't either if I'm being honest. I ran ubuntu for years, but that was a few years back and so I'm just sorta jumping in with two feet
@raven forge why virtualize? What's the pro/con analysis there vs docker? backup snapshots?
oooooh I'm gonna HAVE to use mqtt now won't I. I'd been able to avoid it before, but I think I'm stuck with it if i'm gonna run this way
On the installation wiki page, there’s an entry for “expert” installation instructions on Linux via virtual machine, docker, or Python venv. It says that there are limitations to these methods as opposed to home assistant OS. It instructs the user to click a link to find out more, but there is no link: https://www.home-assistant.io/installation/linux
You don't get add-ons without HAOS
That means that you don't get a point-n-click software install in the HA UI and have to do it yourself
Core also means you need to ensure your host OS is kept up to date with the right package versions and that you'll be building Python from source most years
#hardware-archived message
Snapshots alone are a good reason. I use them daily when helping people here with my HAOS VM.
I run most of my things via docker containers too, mine just happen to be in debian VMs. You can also run other OSs, play around with networking and so much more.
i use Xpenology (Synology on my old gaming pc as server) and VMM Snapshots.
Hi, I can not seemto update the core to 2023.11.3. When pressing update, I get a loading bar for about a minuten it then just disappears again leaving me in the update dialog. I actually bought an 8gb pi because I thought it might be a ram issue, but that did not help. Also there is nothing in the logs.
I am on 2023.11.2
do you have enough free space on disk?
also check the supervisor logs, see what's stalling it
I have about 20GB left
I could probably get around this issue by installing HAOS on a virtual mache on my homelab, no?
```23-11-30 15:32:46 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.3: 404 Client Error for http+docker://localhost/v1.43/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.3/json: Not Found ("No such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.3")````
well that image does exist
well I am connecting via ddns, so it has internet
i can curl google
i can not curl ghcr.io
wtf
i can ping it tho
140.82.121.34 correct?
You're running into a common issue that hasn't been solved yet
We haven't had anyone who's had the issue have the capabilities to get information we need to fix it. Maybe you can be that guy. Someone may contact you.
I changed the dns to cloudflare, same issue OO
you can contact me now 😄
I am at sports later
it's not me, it's someone else and I pinged them
ok
do I need host ssh access to help (as I have not set that up)
I would assume its a docker networking issue
ok petro, that dude can just write me the questions he has, I will answer asap
but I am out for now
I am a software dev with ok'ish linux and docker knowledge
Excellent, just the person we need to encounter this issue
I'll make sure I note that to him
@mental umbra @empty bloom so this particular issue ("... Not Found .. No such image") is not DNS related but seem to be a corruption of the Docker image storage. I was able to reproduce that earlier today. I am currently looking into ways to detect this from Supervisor side and resolve it.
If you have host SSH access (on HAOS port 22222) you typically see overlayfs errors when using docker pull ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.11.3.
Did you had a power outage recently or otherwise removed power without shutting down maybe?
I feel newer Docker releases show that problem more often then older ones 😢
@tender wren its a jounral issue
im getting a picture one sec
systemmd dump : failed to start jounral services
im downgrading version to 2023.11.1
using ha core update --version x.y.z
ofcourse replacing xyz with 2023.11.1
Anyone know if the zwave devices follow/pair with the stick or the system? Ie, can I just use an old stick to get everything connected, then upgrade sticks when my new one comes in, or am I adding a bunch of extra work there?
Z-Wave pairs with the stick
You can but you'll have to wake things up
older sticks have a pair button
so you can pair w/o software
I think it is meant, if the paired devices are stored in the stick or in the software (like Zigbee)
I used to walk around my house w/ my zstick pairing crap left and right, then I'd plug it into HA and Off-Id-Go
If you are upgrading to another stick, you would have to re-pair the devices (except the sticks are compatible to each other and a NVM backup can be restored on the new one)
No.
But it depends on the type of coordinator and the integration, if it can use an older backup or not
My old system died, figured I'd upgrade sticks for both zwave and zigbee. New ha system is up and running, but my new sticks don't get here till Sunday. Trying to figure out if I can jumpstart, or if I should exercise that patience thing
im getting timeout errors for the update command
also getting timeout errrors for the repair command
any solutions?
home assitant dashobard shows it at version i downgraded to
not sure why cli says that
it also much faster
at everything so im conclduing theres a bug in the new update
if im wrong pls ping me
If there was a general bug then everybody would see it
Your logs would be useful here
@frank gale Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.
Open your Home Assistant instance and show your Home Assistant logs
Also available through the command line
thx and sorry
2023-11-30 21:31:27.537 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
does the os not have permisons?
Check the supervisor and host logs
how would i do that
Same way