Get no Heartbeat from Home Assistant Crowdsec AddOn

Hey there, I installed the Crowdsec AddOn on my Home Assistant Server. The server is a Raspberry Pi with the Home Assistant OS. I disabled the LAPI via the GUI and registered the Home Assistant instance by the following commands. The commands were executed via the Crowdsec Terminal on the GUI.
sudo cscli lapi register -u http://192.168.1.1:8080
sudo cscli lapi register -u http://192.168.1.1:8080
The machine was confirmed on the LAPI host with
sudo cscli machines list
sudo cscli machines validate XXXX
sudo cscli machines list
sudo cscli machines validate XXXX
Afterwards the Home Assistant server is listed correctly, however the Heartbeat shows a yellow sign. Crowdsec on the Home Assistant complains of missing information in the GUI:
[22:04:06] INFO: Running Crowdsec addon
[22:04:07] INFO: Crowdsec config directory already persistent...
[22:04:07] INFO: Crowdsec data directory already persistent...
[22:04:07] INFO: Disabling Local API and checking credentials...
[22:04:07] ERROR: When disabling lapi, you need to provide remote 'remote_lapi_url', 'agent_username' and 'agent_password'
if: fatal: unable to spawn s6-test: No such file or directory
[22:04:06] INFO: Running Crowdsec addon
[22:04:07] INFO: Crowdsec config directory already persistent...
[22:04:07] INFO: Crowdsec data directory already persistent...
[22:04:07] INFO: Disabling Local API and checking credentials...
[22:04:07] ERROR: When disabling lapi, you need to provide remote 'remote_lapi_url', 'agent_username' and 'agent_password'
if: fatal: unable to spawn s6-test: No such file or directory
Which makes no sense to me, because cscli lapi register stated, at the end, that a local_api_credentials.yaml file was created. /config/.storage/crowdsec/config/local_api_credentials.yaml I am looking forward to your feedback!
6 Replies
CrowdSec
CrowdSec10mo ago
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type /unresolve
© Created By WhyAydan for CrowdSec ❤️
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Erik Steiner
Erik SteinerOP9mo ago
I've implemented it yesterday and it works. Could you describe, why I unistall the collection from the Home Assistant server?
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Erik Steiner
Erik SteinerOP9mo ago
Thanks for the explanation. I was in shock for a second, that I already forgot that step for my other servers. Good to read, that everything is fine then
CrowdSec
CrowdSec9mo ago
Resolving Get no Heartbeat from Home Assistant Crowdsec AddOn This has now been resolved. If you think this is a mistake please run /unresolve

Did you find this page helpful?