Matomo Reports Not Updating (Archiving Cron Not Working)

Share
Fixed in latest version Matomo On-Premise Updated November 13, 2026Based on 4 user reportsHow we research

Quick answer

If visits show in the Visits log but reports are stale or flat, archiving is not running. Set up a core:archive cron job as the correct user, then disable browser-triggered archiving.

Most likely fix: Create the cron job

How to fix it

Try these in order — the most common fix is first.

  1. 1. Create the cron job

    1. As root, create /etc/cron.d/matomo-archive
    2. Add a line such as: 5 * * * * www-data /usr/bin/php /path/to/matomo/console core:archive --url=http://example.org/matomo/ > /home/example/matomo-archive.log
    3. Find the PHP path with 'which php'
    Did this fix it?
  2. 2. Test the command manually

    1. Run it as the cron user, for example su www-data -s /bin/bash -c "/usr/bin/php /path/to/matomo/console core:archive --url=http://example.org/matomo/"
    2. Read the output for errors
    Did this fix it?
  3. 3. Disable browser-triggered archiving

    1. Administration > System > General Settings
    2. Set 'Archive reports when viewed from the browser' to No and 'Archive reports at most every X seconds' to 3600
    3. Optionally add browser_archiving_disabled_enforce = 1 under [General] in config.ini.php
    Did this fix it?
  4. 4. Fix an old cron line

    1. Replace archive.sh calls with console core:archive
    2. Check that cron is on the new server after a migration
    Did this fix it?
  5. 5. Choose the right frequency

    1. Run hourly by default
    2. If a run takes an hour or more, run every 2, 6 or 12 hours
    Did this fix it?

Symptoms

Real-time and Visits log show traffic but summary reports, graphs and dashboards are flat, stale or empty.

Why it happens

  • Browser-triggered archiving disabled and no cron job configured
  • Cron still on the old server after a migration
  • Old cron entry using archive.sh instead of console core:archive
  • Cron user cannot run PHP or write to the Matomo directory
  • Archiving also still active in the browser, causing mismatches

This guide also covers

  • matomo archiving not working
  • matomo reports not updating
  • matomo core:archive cron

Still not working?

If Matomo keeps failing, you're not alone. See every Matomo problem users report or the alternatives people switch to.

Done fighting Matomo? Our small team builds your own Matomo alternative, made for how you work. On your domain or hosted by us. Price agreed together.

Get a quote
Fixed it? Share this guide

Other Matomo errors

All 11 Matomo errors and fixes →