20.03 - Install issues with CrowdSec - /overlay 100% Full

I'm having issues with installing crowdsec. it seems to be consuming 100% of space in /overlay. How can I over come this?

Device: RT3200

Random Links

Install Process

opkg install crowdsec; cd /tmp                                                                                                                                                       
wget https://downloads.openwrt.org/releases/packages-21.02/aarch64_cortex-a53/packages/crowdsec-firewall-bouncer_0.0.21-3_aarch64_cortex-a53.ipk                                     
opkg install crowdsec-firewall-bouncer_0.0.21-3_aarch64_cortex-a53.ipk

Error

INFO[26-10-2022 10:17:03 AM] downloading data 'https://crowdsec-statics-assets.s3-eu-west-1.amazonaws.com/GeoLite2-City.mmdb' in '/srv/crowdsec/data/GeoLite2-City.mmdb' 
INFO[26-10-2022 10:17:41 AM] downloading data 'https://crowdsec-statics-assets.s3-eu-west-1.amazonaws.com/GeoLite2-ASN.mmdb' in '/srv/crowdsec/data/GeoLite2-ASN.mmdb' 
FATA[26-10-2022 10:17:47 AM] error while downloading crowdsecurity/linux : while downloading crowdsecurity/geoip-enrich: while downloading data for geoip-enrich.yaml: while getting data: write /srv/crowdsec/data/GeoLite2-ASN.mmdb: no space left on device 
rm: can't remove '/etc/uci-defaults/99_crowdsec': No space left on device

The internal space is only about 75 MB. To store those large databases will require a USB drive mounted on /srv.

Note that writing to /srv while the external disk is not mounted will fill up internal space.

I would not recommend to install crowdsec itself on the router. I only installed the bouncer as crowdsec itself required too much space.
Crowdsec itself would only be needed if you want to run local api or agent or to register the bouncer. the latter can be done manually on the lapi instance.

@ne20002 I don't understand. When i installed crowdsec it seemed to do everything for me automatically.. I think I need to spend more time reading. :slight_smile: