Cannot complete core installation

Newbie here!

I am installing Home Assistant Core in Debian but I cannot complete it.

I installed dependencies, created the virtual environment and installed all necessary libraries. However, when I am in the python3 environment and I type hass the installation does not complete. I only get the following cyclic warnings.

‘2023-10-28 16:37:31.049 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not reset the power state of the Bluetooth adapter hci0 [00:22:69:C7:B8:65] due to timeout after 5 seconds
2023-10-28 16:37:31.088 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not cycle the Bluetooth adapter hci0 [00:22:69:C7:B8:65]: [Errno 1] Operation not permitted
2023-10-28 16:37:31.093 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth management socket connection lost: [Errno 22] Invalid argument
2023-10-28 16:37:36.090 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth adapter hci0 [00:22:69:C7:B8:65] could not be reset:
2023-10-28 16:37:36.100 WARNING (MainThread) [bluetooth_auto_recovery.recover] Closing Bluetooth adapter hci0 [00:22:69:C7:B8:65] failed: [Errno 9] Bad file descriptor’

I check to see if the application is running and it is not. Can anybody help me? I cannot find any similar topic.

I noticed this is your second Topic created …With the same text, like copy/paste, open a new Topic …? , ok i get that you didn’t got any respond to your first, but this is not “The Way” to get attention !

Please read Below Post, in it’s whole, the you’ll get a better understanding of how to get “attention/responds” to you Questions

1 Which Debian ?
2 have you tried to disable your Bluetooth Device ? … important first step( Can you install with the Bluetooth disabled/unplugged )
3 in your “Unknown virtual environment” ?
4 on your “Unknown Device” ?

https://community.home-assistant.io/search?q=WARNING%20(MainThread)%20%5Bbluetooth_auto_recovery.recover%5D

Hello all,

I am installing HA in debian OS as core installations and despite all the troubles I managed to reach the point where I type the HASS command in the venv but I only het the following response without been able to start the application

2023-10-28 16:37:15.979 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not reset the power state of the Bluetooth adapter hci0 [00:22:69:C7:B8:65] due to timeout after 5 seconds

2023-10-28 16:37:15.987 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not cycle the Bluetooth adapter hci0 [00:22:69:C7:B8:65]: [Errno 1] Operation not permitted

2023-10-28 16:37:15.990 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth management socket connection lost: [Errno 22] Invalid argument

2023-10-28 16:37:20.991 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth adapter hci0 [00:22:69:C7:B8:65] could not be reset:

2023-10-28 16:37:21.001 WARNING (MainThread) [bluetooth_auto_recovery.recover] Closing Bluetooth adapter hci0 [00:22:69:C7:B8:65] failed: [Errno 9] Bad file descriptor

2023-10-28 16:37:21.012 WARNING (MainThread) [homeassistant.config_entries] Config entry ‘00:22:69:C7:B8:65’ for bluetooth integration not ready yet: hci0 (00:22:69:C7:B8:65): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress; Retrying in background

Any ideas what is going on?

Duplicate post merged here

Any reason you’re not just using Docker?

Hi @boheme61 thank you for your reply. Honestly I am new to programming with little experience to forums and I thought that my initial request was not written properly so people did not understand it. My may problem is that I do not understand if the fact that the Bluetooth is not recognised by HA is the real issue here and I was hoping for some more experienced person to point me to the right direction.

As per you questions please find below my feedback

  1. Debian 12
  2. I have disabled bluetooth via the bluetoothctl command set but this seems to be irrelevant to HA as the same message keeps cycling
  3. venv says the guideline I followed namely <<python3 -m venv .
    source bin/activate>>
  4. It is a Dell 910 (old i386) which runs Debian smoothly

I did search through the other posts but I did not find anything similar.

Thanks in advance

No reason. Would it be easier?

First , you are aware this is a 32bits Device, so does this mean you have installed a 32bits Debian 12 ??
How many GB Ram does this have ?
Does Dell 910 have UEFI ?

Yes true, there is not much of “help” on this specific question, seen quite a few who have same/similar issues with Bluetooth, AND i would assume a Device build for Windows XP, most of all don’t support BLE, and probably a very old BT version , will not make you future “Issues” less

I strongly suggest you look around for another cheap 64-bits laptop, with support for atleast 4-8 GB Ram, if you want to run Debian 12, and HA Core

PS: The Requirements for HA is " 2 CPU-Core / min 2GB Ram " , i would assume that Debian 12, also would like to have 2cpu’s+ min 2GB ram, to run smooth with a virtual evn.

Yes, it’ll be a lot easier for you.

In this case i doubt, what ever he tries, as the Dell910 has only 1 core

You are right, it is a 32bit device running on an Atom N270 processor @1.6 GHz with 512MB RAM. Debian sits very well actually (the command line interface). It does not have UEFI…

You can’t use it to any virtualization, it has 1 Core, and 512MB-Ram, Debian 12 needs it all, just run it’s own basic core, install a browser i.e firefox, and surf around open 2-4 tabs

:rofl:

That’s not going to work. You need to at least double that so that a minimal system will run (1 GB of RAM is just enough for HA itself).

Just to let you know that I managed to install docker in Debian 12 and this 32bit old machine. Moreover, I managed to install HA and is working flawless despite the lack of memory etc…

1 Like