Problems with geoip pecl

Hello,

I have a problem with geolocation using geoip pecl.

On the admin page I have:

 Note: The 'geoip.custom_directory' PHP ini option is set to '/var/www/piwik/misc'.

 Cette implémentation GeoIP a accès aux types de bases de données suivants: Ville. 

That’s true and the database is automatically updated too.
But when I want to test on the admin page, Piwik says that my place is unknown.

I don’t have any error anywhere neither in the interface nor the log.

Currently, Piwik can only find countries and continents, no region, city or ISP.

Did you make sure to install both the country and city dat files?

I installed this database:

http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

This is the good one, isn’t it ?

did you uncompress the file? I dont set mine up through the auto thing in Piwik. Just added to my server configs and all is kosher.

Yes, I uncompressed it and changed its name according to the documentation.

Here is the ls:

-rw-r–r-- 1 www-data www-data 19449866 24 avr 02:05 GeoIPCity.dat

As you can see with the date, it updated automatically (because at 02:05 I sleep).

Hello,

does someone can help me ?

Looking with phpinfo():

geoip
geoip support enabled
geoip extension version 1.0.8
geoip library version 1004007

Directive Local Value Master Value
geoip.custom_directory /var/www/piwik/misc /var/www/piwik/misc

So geoip is correctly enabled but when I load the page:

example.com/index.php?module=UserCountry&action=getLocationUsingProvider&id=geoip_pecl&idSite=1&period=range&date=last30

It displays: unknown