Your software
My Mautic version is: v4.4.10
My PHP version is: 7.4.33
My Database type and version is: 10.11.8-MariaDB-ubu2204-log
Your problem
Hello everyone! I’m trying to perform a cleanup on my Mautic instance using the command mautic:maintenance:cleanup --days-old=30
directly via SSH. Currently, if I run the command with --dry-run
, it shows me the following records:
However, when I run the command again without --dry-run
(which should perform the cleanup), it quickly returns to the SSH command prompt. Then, if I use --dry-run
again afterward, it displays the same records as before, suggesting that the command didn’t actually work:
// path hidden for security reasons
Server info:
ARM, 5Ocpu, 25Gb RAM.
Database info:
table_name size_MB
email_stats 6449.23
page_hits 1825.58
audit_log 442.72
lead_event_log 407.33
ip_addresses 238.28
Does anyone have a solution for this problem?"