I configured my NS 8 at the weekend so that I can now actually start replacing the NS 7. But I can only do this in deep sorrow. I have just installed CrowdSec, booted the machine once and then set up CrowdSec. When saving the settings, an alarm comes up. The message in detail looks like this:
<7>cscli parsers install crowdsecurity/whitelists
Error: no container with name or ID “crowdsec1” found: no such container
Traceback (most recent call last):
File “/var/lib/nethserver/crowdsec1/actions/configure-module/30Enable_ban_onlocal_network”, line 12, in
agent.run_helper(“cscli”, “parsers”, action, “crowdsecurity/whitelists”).check_returncode()
File “/usr/lib64/python3.11/subprocess.py”, line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command ‘(‘cscli’, ‘parsers’, ‘install’, ‘crowdsecurity/whitelists’)’ returned non-zero exit status 125.
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/3065be74-0217-445e-946f-89960b7e5bd0: configure-module/20configure is starting
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/3065be74-0217-445e-946f-89960b7e5bd0: configure-module/30Enable_ban_onlocal_network is starting
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] cscli parsers install crowdsecurity/whitelists
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] Error: no container with name or ID “crowdsec1” found: no such container
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] Traceback (most recent call last):
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] File “/var/lib/nethserver/crowdsec1/actions/configure-module/30Enable_ban_onlocal_network”, line 12, in
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] agent.run_helper(“cscli”, “parsers”, action, “crowdsecurity/whitelists”).check_returncode()
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] File “/usr/lib64/python3.11/subprocess.py”, line 502, in check_returncode
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] raise CalledProcessError(self.returncode, self.args, self.stdout,
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] subprocess.CalledProcessError: Command ‘(‘cscli’, ‘parsers’, ‘install’, ‘crowdsecurity/whitelists’)’ returned non-zero exit status 125.
2024-04-07T12:49:02+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/3065be74-0217-445e-946f-89960b7e5bd0: action “configure-module” status is “aborted” (1) at step 30Enable_ban_onlocal_network
2024-04-07T12:53:21+02:00 [1:crowdsec1:crowdsec1-upgrade-hub] Error: no container with name or ID “crowdsec1” found: no such container
2024-04-07T12:59:48+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/f1789566-3ffd-4661-8627-3e1ee19c0a37: get-status/20read is starting
2024-04-07T12:59:48+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/f1789566-3ffd-4661-8627-3e1ee19c0a37: action “get-status” status is “completed” (0) at step validate-output.json
2024-04-07T13:07:46+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/f28c46e5-a93d-48f3-a011-2eeb990a0489: get-configuration/20read is starting
2024-04-07T13:07:47+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/f28c46e5-a93d-48f3-a011-2eeb990a0489: action “get-configuration” status is “completed” (0) at step validate-output.json
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/c67f6d20-fa78-491f-8540-b28a45cbcc65: configure-module/20configure is starting
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/c67f6d20-fa78-491f-8540-b28a45cbcc65: configure-module/30Enable_ban_onlocal_network is starting
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] cscli parsers install crowdsecurity/whitelists
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] Error: no container with name or ID “crowdsec1” found: no such container
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] File “/var/lib/nethserver/crowdsec1/actions/configure-module/30Enable_ban_onlocal_network”, line 12, in
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] Traceback (most recent call last):
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] agent.run_helper(“cscli”, “parsers”, action, “crowdsecurity/whitelists”).check_returncode()
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] File “/usr/lib64/python3.11/subprocess.py”, line 502, in check_returncode
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] raise CalledProcessError(self.returncode, self.args, self.stdout,
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] subprocess.CalledProcessError: Command ‘(‘cscli’, ‘parsers’, ‘install’, ‘crowdsecurity/whitelists’)’ returned non-zero exit status 125.
2024-04-07T13:08:00+02:00 [1:crowdsec1:agent@crowdsec1] task/module/crowdsec1/c67f6d20-fa78-491f-8540-b28a45cbcc65: action “configure-module” status is “aborted” (1) at step