When downloading free DBIP database this error is shown if tmp/latest
subdirectory does not exist:
WARNING: /core/Http.php(962): Warning - fopen(/var/lib/matomo/tmp/latest/DBIP-City.mmdb.gz.download): Failed to open stream: No such file or directory - Matomo 4.7.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: GeoIp2, Action: downloadFreeDBIPLiteDB, In CLI mode: false)
Directory is created and file is downloaded.
Error message is shown.
Add mkdir
call.
rm -rf ./tmp/latest
, rm -rf ./misc/DBIP-City.mmdb
;/index.php?module=UserCountry&action=adminIndex&idSite=1&period=day&date=yesterday
;Stops user from downloading GeoIP database from the admin UI.
Hi @abbradar
Thanks for creating that issue. I was able to reproduce and will check if I can quickly provide a fix for it.