# Crowdsec-blacklists empty

**URL:** <https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57>\
**Category:** Uncategorized\
**Created:** [November 9, 2020, 11:18am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57 "2020-11-09T11:18:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![amahhou](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/amahhou/32/101_2.png) [@amahhou](https://discourse.crowdsec.net/u/amahhou)\
**Post date:** [November 9, 2020, 11:18am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/1 "2020-11-09T11:18:37Z")

</div>

Hi

I have a question, I can see an entry using `cscli ban list` but `ipset list crowdsec-blacklists` is showing no entries  
Thank you

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/crowdsec/original/1X/83415da5eb37ec5ce2d88d5fcf357686e5ecbb99.png)

---

<div class="post-metadata">

**Author:** ![thibault](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/thibault/32/2_2.png) [@thibault](https://discourse.crowdsec.net/u/thibault)\
**Post date:** [November 10, 2020, 8:11am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/2 "2020-11-10T08:11:28Z")

</div>

Hello @amahhou !

Can you :

- check/show that you have the netfilter bouncer service running ?
- check/show the logs of the netfilter bouncer service ?

Thanks !

---

<div class="post-metadata">

**Author:** ![amahhou](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/amahhou/32/101_2.png) [@amahhou](https://discourse.crowdsec.net/u/amahhou)\
**Post date:** [November 10, 2020, 8:34am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/3 "2020-11-10T08:34:43Z")

</div>

Hi @thibault

Below the netfliter status where can I find the log?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/crowdsec/original/1X/1c197a6874c9991062c3691d6c76d8d2f3d971eb.png)

---

<div class="post-metadata">

**Author:** ![thibault](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/thibault/32/2_2.png) [@thibault](https://discourse.crowdsec.net/u/thibault)\
**Post date:** [November 10, 2020, 8:36am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/4 "2020-11-10T08:36:20Z")

</div>

You can find the logs here : `/var/log/netfilter-blocker.log`

> **[crowdsecurity/cs-netfilter-blocker](https://github.com/crowdsecurity/cs-netfilter-blocker#troubleshooting)**
>
> netfilter blocker. Contribute to crowdsecurity/cs-netfilter-blocker development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![amahhou](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/amahhou/32/101_2.png) [@amahhou](https://discourse.crowdsec.net/u/amahhou)\
**Post date:** [November 10, 2020, 8:38am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/5 "2020-11-10T08:38:25Z")

</div>

Thank you, something is not working, last entries in october. Should I reinstall it?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/crowdsec/original/1X/4ee94435bd76f52fcc2cd66f40e74d48510040f3.png)

---

<div class="post-metadata">

**Author:** ![thibault](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/thibault/32/2_2.png) [@thibault](https://discourse.crowdsec.net/u/thibault)\
**Post date:** [November 10, 2020, 8:43am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/6 "2020-11-10T08:43:09Z")

</div>

Can you just try to restart the service ?

However I’d be interesting in knowing what when off 😛 Did you do changes to the database without restarting the service ?

---

<div class="post-metadata">

**Author:** ![amahhou](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/amahhou/32/101_2.png) [@amahhou](https://discourse.crowdsec.net/u/amahhou)\
**Post date:** [November 10, 2020, 8:45am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/7 "2020-11-10T08:45:24Z")

</div>

ok restarting did the trick  
No i have not change anything.  
Thank you for your help as always

---

<div class="post-metadata">

**Author:** ![thibault](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/thibault/32/2_2.png) [@thibault](https://discourse.crowdsec.net/u/thibault)\
**Post date:** [November 10, 2020, 8:48am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/8 "2020-11-10T08:48:28Z")

</div>

ok, I guess this kind of issue should go away with the upcoming release, let’s hope so !

---

<div class="post-metadata">

**Author:** ![grant-veepshosting](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/grant-veepshosting/32/24_2.png) [@grant-veepshosting](https://discourse.crowdsec.net/u/grant-veepshosting)\
**Post date:** [November 18, 2020, 12:31am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/9 "2020-11-18T00:31:44Z")

</div>

Can you try the command: sudo cscli api pull  
And see if the entries are refreshed?

I would like to know if there’s a way to automate this behaviour, eg automatic hourly or daily CRON task.

---

<div class="post-metadata">

**Author:** ![slubman](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@slubman](https://discourse.crowdsec.net/u/slubman)\
**Post date:** [November 25, 2020, 4:02am UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/10 "2020-11-25T04:02:06Z")

</div>

I had this issue of `cscli ban list` returning `And 0 records from API, 0 distinct AS, 0 distinct countries ` after some time.

I can confirm that running the `cscli api pull` command did recreate the records: `And 44 records from API, 28 distinct AS, 15 distinct countries`

---

<div class="post-metadata">

**Author:** ![Symbian001](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Symbian001](https://discourse.crowdsec.net/u/Symbian001)\
**Post date:** [November 28, 2020, 11:42pm UTC](https://discourse.crowdsec.net/t/crowdsec-blacklists-empty/57/11 "2020-11-28T23:42:20Z")

</div>

cela arrive de temps en temps (v3.7)
