Probelms setting up crowdsec on OPNsense 25.1.5:5

It works now after uninstalling the plugin and deleting the directory /usr/local/etc/crowdsec/. Then I reinstalled the plugin and everything worked.