Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log filled up with error Error in mail #2

Open
Toasterme opened this issue Dec 1, 2023 · 4 comments
Open

log filled up with error Error in mail #2

Toasterme opened this issue Dec 1, 2023 · 4 comments

Comments

@Toasterme
Copy link

Toasterme commented Dec 1, 2023

So i have this error that log a lot of the same thing over and over :

{"log":"\u001b[31m2023-12-01 07:42:01,493 - Error in mail: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.bluez was not provided by any .service files\u001b[0m\n","stream":"stderr","time":"2023-12-01T12:42:01.493840628Z"} {"log":"\u001b[37m2023-12-01 07:42:01,493 - Main loop started.\u001b[0m\n","stream":"stderr","time":"2023-12-01T12:42:01.493979216Z"} {"log":"\u001b[31m2023-12-01 07:42:01,495 - Error in mail: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.bluez was not provided by any .service files\u001b[0m\n","stream":"stderr","time":"2023-12-01T12:42:01.495993035Z"} {"log":"\u001b[37m2023-12-01 07:42:01,496 - Main loop started.\u001b[0m\n","stream":"stderr","time":"2023-12-01T12:42:01.496124154Z"} {"log":"\u001b[31m2023-12-01 07:42:01,498 - Error in mail: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.bluez was not provided by any .service files\u001b[0m\n","stream":"stderr","time":"2023-12-01T12:42:01.498534127Z"}

And it is pretty big
]# ls -al total 22212280 drwx--x--- 4 root root 4096 Dec 1 07:42 . drwx--x--- 15 root root 4096 Nov 8 15:09 .. -rw-r----- 1 root root 22745180274 Dec 1 07:42 6aa547ee43f40c9b1610ff7f43b6fd4b461cd84e1bfd5f6c0d7a26f33f13b524-json.log drwx------ 2 root root 4096 Nov 6 17:06 checkpoints -rw------- 1 root root 4884 Dec 1 07:42 config.v2.json -rw------- 1 root root 1654 Dec 1 07:42 hostconfig.json -rw-r--r-- 1 root root 13 Nov 13 18:51 hostname -rw-r--r-- 1 root root 150 Dec 1 07:42 hosts drwx--x--- 3 root root 4096 Nov 6 17:06 mounts -rw-r--r-- 1 root root 38 Nov 13 18:51 resolv.conf -rw-r--r-- 1 root root 71 Nov 13 18:51 resolv.conf.hash

@vijaygill
Copy link
Owner

@Toasterme - Are you running it in docker or natively on host? Do you have bluez installed in host environment?

image

Is the bluetooth service running on host?
image

@Toasterme
Copy link
Author

No, my bluetooth usb dongle is on my home assistant to be able to see the xiaomi device into it.
Okay so i need another usb dongle to this machine then? thanks.

@vijaygill
Copy link
Owner

vijaygill commented Dec 2, 2023

No, my bluetooth usb dongle is on my home assistant to be able to see the xiaomi device into it. Okay so i need another usb dongle to this machine then? thanks.

I am using raspberry pi's (a 4b+) built-in bluetooth, so I have not tested it with a dongle.

But should you really need another dongle just for this? I will try to find more details about bluetooth dongles and sharing of those in various applications.

I have home assistant running on one raspberry pi (again a 4b+ and using its built-in bluethooth). I will run this container on it and share the findings with you.

@vijaygill
Copy link
Owner

vijaygill commented Dec 2, 2023

@Toasterme -
I tried it on my raspberry pi where home-assistant is running and I see the container starts OK and also detects some bluetooth clocks.
image

Now, here the bluetooth is set as per Home-Assistant bluethooth integration. I have dbus-broker installed.
image

Also, I am not sure if it makes any difference, I have "--experimental" enabled for bluethooth service.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants