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.
rm -rf ./tmp/latest,
rm -rf ./misc/DBIP-City.mmdb;
Stops user from downloading GeoIP database from the admin UI.
Thanks for creating that issue. I was able to reproduce and will check if I can quickly provide a fix for it.