AWStats country not showing

AWStats country not showing

  • Hestia v1.7.3
  • Ubuntu 20.04

Seems there was a closed topic, but still i have this issue.
Ref: AWStats | Country origin

I have not done any CLI tweaks as sugested. I thought it resolved in this new update, but seems not yet…

We don’t resolve by default as it costs about 30% extra service performance. So you need to run the command

Ooh, yeah. Understood. Thank you team.
But please, can you guide me which v-hestia-xxxx command (OR) something else to get it like…

  • AWStats ip>country resolved on-demand
  • AWStats update on-demand

OK, got it…

bash /usr/local/hestia/install/upgrade/manual/install_awstats_geoip.sh
sudo mkdir -p /usr/share/GeoIP && cd /usr/share/GeoIP && rm -f GeoIP.dat.gz && wget https://mailfud.org/geoip-legacy/GeoIP.dat.gz && gzip -d -f GeoIP.dat.gz
v-update-web-domains-stat [USER]

ref: How to get AWStats report with Country codes in hestiaCP? | Guest Blog Posting

To avoid this error during activation of the Awstats geoIP - “Error: Need Perl module Geo::IP or Geo::IP::PurePerl Ubuntu” - U need to add one more string to your commands.

sudo apt-get install -y libgeo-ip-perl

So, finally the full commands pool will look like:

sudo apt-get install -y libgeo-ip-perl
bash /usr/local/hestia/install/upgrade/manual/install_awstats_geoip.sh
sudo mkdir -p /usr/share/GeoIP && cd /usr/share/GeoIP && rm -f GeoIP.dat.gz && wget https://mailfud.org/geoip-legacy/GeoIP.dat.gz && gzip -d -f GeoIP.dat.gz
v-update-web-domains-stat [USER]

No need.
Not sure what do u meant ‘To avoid this error during activation…’ ?
The module you mentioning is already included in Hestia > install_awstats_geoip.sh --Ln:32'