Threat shield update error

hello at all for some time trying to update the dns blacklist part i get this error

Error updating settings
The following command failed:
nethserver-blacklist / ipsets / update
Unfortunately we were unable to catch the error. Please click the button to copy the failed command to the clipboard, paste it into the Terminal and send the result to the developers.
I wanted to know if anyone has this problem
thanks

when you see this error, you must copy the link inside the button and paste it inside the terminal, check if you have something wrong in the console, then you can have a go to /var/log/messages and check what is wrong (eg which script has failed and what is the line of the error)

Without this we have no clues

1 Like

thanks for the reply I am attaching the command message
“steps”: 4,
“pid”: 6305,
“args”: “ipsets”,
“event”: “nethserver-blacklist-save”
}
{
“step”: 1,
“pid”: 6305,
“action”: “S05generic_template_expand”,
“event”: “nethserver-blacklist-save”,
“state”: “running”
}
{
“progress”: “0.25”,
“time”: “0.082612”,
“exit”: 0,
“event”: “nethserver-blacklist-save”,
“state”: “done”,
“step”: 1,
“pid”: 6305,
“action”: “S05generic_template_expand”
}
{
“step”: 2,
“pid”: 6305,
“action”: “S20nethserver-blacklist-conf”,
“event”: “nethserver-blacklist-save”,
“state”: “running”
}
{
“progress”: “0.50”,
“time”: “0.128068”,
“exit”: 256,
“event”: “nethserver-blacklist-save”,
“state”: “done”,
“step”: 2,
“pid”: 6305,
“action”: “S20nethserver-blacklist-conf”
}
{
“step”: 3,
“pid”: 6305,
“action”: “S30firewall-adjust”,
“event”: “nethserver-blacklist-save”,
“state”: “running”
}
{
“progress”: “0.75”,
“time”: “2.334532”,
“exit”: 0,
“event”: “nethserver-blacklist-save”,
“state”: “done”,
“step”: 3,
“pid”: 6305,
“action”: “S30firewall-adjust”
}
{
“step”: 4,
“pid”: 6305,
“action”: “S90adjust-services”,
“event”: “nethserver-blacklist-save”,
“state”: “running”
}
{
“progress”: “1.00”,
“time”: “0.204848”,
“exit”: 0,
“event”: “nethserver-blacklist-save”,
“state”: “done”,
“step”: 4,
“pid”: 6305,
“action”: “S90adjust-services”
}
{
“pid”: 6305,
“status”: “failed”,
“event”: “nethserver-blacklist-save”
}
{
“id”: “1609152611”,
“type”: “EventFailed”,
“message”: “See /var/log/messages”
}
[root@firewall ~]#

Like you have written it

In logs we trust

nethserver-blacklist-save ipsets
Dec 27 18:27:49 firewall esmith::event[11578]: expanding /etc/dnsmasq.conf
Dec 27 18:27:49 firewall esmith::event[11578]: expanding /etc/cron.d/nethserver-blacklist
Dec 27 18:27:49 firewall esmith::event[11578]: expanding /etc/pihole/dnsmasq.conf
Dec 27 18:27:49 firewall esmith::event[11578]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.084087]
Dec 27 18:27:49 firewall esmith::event[11578]: [ERROR] Can’t update blacklist repository: fetch failed
Dec 27 18:27:49 firewall esmith::event[11578]: Action: /etc/e-smith/events/nethserver-blacklist-save/S20nethserver-blacklist-conf FAILED: 1 [0.139353]
Dec 27 18:27:49 firewall esmith::event[11593]: Event: nethserver-firewall-base-save nethserver-blacklist-save
Dec 27 18:27:49 firewall esmith::event[11593]: Action: /etc/e-smith/events/nethserver-firewall-base-save/S02providers-cleanup SUCCESS [0.053196]

what is the url you set ?

https://github.com/firehol/blocklist-ipsets.git \Whitelist

Probably not compatible with treat shield, however I must admit I have no skill with it

For what I know we use a list on our github

Tested myself with

ip blacklist with firehole list
dns blacklist with nethserver list

so far no error

thanks for help stephdl
i solved thanks again

How did you solve.?

hi i solved it using the correct gifthub commands
for dns blacklist: https: //github.com/NethServer/dns-community-blacklist.git
for blacklist ip: https: //github.com/firehol/blocklist-ipsets.git
to me it works correctly