My maxmind location database has never been updated, Matomo always fails with this error log:
GeoIP2AutoUpdater: failed to unzip ‘…/matomo/tmp/latest/GeoIP2-City.mmdb.tar.gz.download’ after downloading ‘https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&account_id=…&license_key=…&suffix=tar.gz’: Couldn’t list content for …/matomo/tmp/latest/GeoIP2-City.mmdb.tar.gz.download’: Invalid block size : 20 [Query: ?token_auth=removed, CLI mode: 0]
Matomo is installed on a shared hosting webspace. The Maxmind database download link set up in Matomo works when downloading manually, it’s using the account ID and license key correctly. There seems to be a 20B small download file in the temp/latest folder, so Matomo seems to try to download but fails. The temp folder has 755 permissions.
Any ideas on what is going wrong? I assume it has to be a permission thing…