Auto Geoip Db update may fail, Tar library not loading in some server configs #4533
Comments
Please note there is a typo on the first line, my search replace for my actual URL borked, it doesn't in the log read the URL of the website twice, only once. |
I guess you are not using piwik 2.0.3 ? this bug should be fixed. Piwik does not require PEAR |
@mattab: The error message clearly states that this is Piwik 2.0.3. We should look into this. |
maybe you both are right :-) as far as I have noticed within earlier versions of piwik, so the problem may be there in 2.0.3 (early beta) and it was fixed in 2.0.3 too (later beta or final) => so we should show detailed beta version information in error messages too (if note already available) |
Actually, it does seem to require it. Look here: https://github.com/piwik/piwik/blob/master/libs/Archive_Tar/Tar.php Right at the top of the page, PEAR.php |
Indeed! can you edit "require_once 'PEAR.php'" to "require_once '../PEAR.php'" and check if it fixes it, the next time the task to "update geoip database" runs? you can see the next time it will run using the TasksTimetable plugin |
Actually, I think it needs to be
due to how the script is called form index.php I've submitted a pull request #207 Github.com hopefully it's right. |
It should be
|
…thout needing php-pear to be installed - bug matomo-org#4533
If you don't have php-pear installed on the system and use the GeoIP auto-updater it fails to download/unpack the new files with a error like this:
Once php-pear is installed the error goes away and the system works fine.
I've confirmed this bug several times on debain 6/7
The text was updated successfully, but these errors were encountered: