Your software
My Mautic version is: 6.0.1
My PHP version is: 8.3.19
My Database type and version is: 11.4.6-MariaDB-deb12-log
Your problem
My problem is: I cannot figure out how to properly configure the maxmind settings in config/local.php for the mautic:donotsell:download cron job to work.
These errors are showing in the log:
[2025-05-27T02:52:14.499146+00:00] mautic.ERROR: Missing file path {“hostname”:“mautic.0”,“pid”:1682}
[2025-05-27T02:57:14.893440+00:00] mautic.WARNING: Command mautic:max-mind:purge
exited with status code 1 {“hostname”:“mautic.0”,“pid”:1715}
Steps I have tried to fix the problem:
This is what I currently have in my config/local.php related to the maxmind settings:
'maxmind' => array(
'license_key' => '<my-licence-key-string>',
'donot_sell_file_path' => '/var/www/html/private/maxmind.json'
),
When running the command directly, the only error information that is displayed is:
$ php bin/console mautic:donotsell:download
Automatically fetching Do Not Sell data failed.
Do I need more than the free MaxMind account to access this?
-mike