Matomo major version upgrade: what changes

Matomo 6.0.0 raises the PHP and database floors, and the update guide documents backups and a database update but no version-skipping rule and no rollback procedure. This page covers what to check before you move a self-hosted install.

On this page

Matomo major version upgrade: what changes for a self-hosted install

As of December 2026, the release this section describes is Matomo 6.0.0, published on GitHub on 2026-11-23, with 5.14.3 published on 2026-11-16. Matomo 6.0.0 needs PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer. Check those versions on your servers before anything else, because an install that runs Matomo 5 on an older database or PHP version will need its runtime upgraded before the Matomo change can happen. Confirm the current release on the Matomo changelog before you plan, since the latest stable version may have moved since this was written.

The upgrade itself is a file replacement followed by a database update. After you replace the files, a browser update screen appears if the database needs changes, and the update must not be closed or refreshed while it runs. For high-traffic servers, Matomo's update guide highly recommends running the database update from the command line with ./console core:update. Back up config/config.ini.php and the database before you start, and keep the tmp folder writable. The guide does not state a version-skipping rule or list major-version notes, and it points to the changelog for those, so read every entry between your current release and 6.0.0 and log each change that touches your plugins, reports or tracking.

Most of the planning effort goes into a staging test. Restore a copy of the production database and config/config.ini.php to a host that matches production's PHP and database versions, run the update there, and time it, because that duration on your real data sets your change window. Then check what a major version change most often breaks: tracking on each site, scheduled archiving, custom reports and every premium plugin you license. Confirm with InnoCraft that each premium plugin supports the target release before you commit. The update guide does not describe a rollback procedure, so write your own. Test the restore on staging using the pre-upgrade database dump and the old application files, and keep both until the new release has run in production long enough for your team to trust it.

Which Matomo versions are current and what each one requires

This table lists the Matomo releases and lines that are current as of December 2026, with their publication dates and the PHP, database and web server requirements the project publishes. Read the requirements column as the minimum for each line, then compare it with your current PHP and database versions before you plan the jump. The project's support windows are not stated here, so ask Matomo for them before you set an end-of-life deadline.

VersionPublishedPHP and database requirementsSupport status
Matomo 6.0.02026-11-23PHP 8.1 or newer; MySQL 8.0 or newer or MariaDB 10.6 or newerNewest major line. Ask the project for its support window before setting a deadline.
Matomo 5.14.32026-11-16PHP 8; MySQL 5.5 or later or MariaDB; web server Apache, Nginx, IIS or LiteSpeedCheck the changelog and ask the project for the support window before setting a deadline.
Matomo 5.14.12026-10-04PHP 8; MySQL 5.5 or later or MariaDB; web server Apache, Nginx, IIS or LiteSpeedEarlier 5.14 patch. Confirm with the project whether it still receives fixes before planning around it.
Matomo 4.16 and 5 lineNot listed here. Confirm dates on the releases page.PHP 8; MySQL 5.5 or later or MariaDB; web server Apache, Nginx, IIS or LiteSpeedNo end-of-life date given here. Ask the project for the support window or check the changelog first.

The documented Matomo major version upgrade path, step by step

This sequence moves an existing Matomo On-Premise installation to a target major version while keeping a backup and a written record of each check. Every step ends with an output you can verify, so a failed check stops the change before it reaches the live instance. Points the update guide leaves open are marked for you to confirm.

  1. Read the changelog and confirm the path

    The platform admin opens the Matomo changelog and reads the entry for the target version, including any notes on the major release. The Matomo update guide sets out no version-skipping rule and points to the changelog for major-version notes, so confirm whether a jump from your current release needs intermediate upgrades before you plan. Ask each premium plugin vendor whether its installed plugins support the target version. Done when you have a written list of changes that affect your setup and a documented answer on intermediate steps.

  2. Confirm PHP and database versions

    Check that the PHP version on the web server and the database server meet the minimum for the target release. For Matomo 6.0.0, the requirements FAQ lists PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer. Run php -v on the web server, query the database version from your database client, and record both results. Releases 4.16 and 5 have different minimums, so the check depends on the version you are moving to. Done when both readings meet the minimum for the target. If either falls short, upgrade that component as a separate change and complete it before going further.

  3. Back up config and database

    Copy config/config.ini.php and take a full database dump before you change any files. Store both copies outside the Matomo directory. The config file holds the database connection and instance settings, so it is the first thing you need to restore. The database backup lets you roll back data changes if the update fails. Matomo's update guide advises this step before updating. Done when both backups exist, are not empty, and you have tested a restore on a separate host.

  4. Confirm the tmp folder is writable

    Matomo's update guide advises keeping the tmp folder writable, so the web server user must be able to write to it during the update. Check the folder owner and permissions, then test by creating and removing a file as the web server user. Done when the test file is created and removed without error. If the update later fails with write errors, return to this step first, because a permissions problem is the cheapest cause to rule out.

  5. Replace the application files

    Put the files for the target release in place. Keep config/config.ini.php as you backed it up, and carry over any custom code, such as local plugins, that your setup needs. Consider putting the site in maintenance mode while files are replaced, and do not mix files from two releases in the same directory. Done when the Matomo directory holds only the target release files plus your retained custom code, and the config file matches your backup. If the database needs changes, the browser update screen appears on the next visit.

  6. Choose browser or command line update

    Matomo shows a browser update screen when the database needs changes. The update guide highly recommends running the database update from the command line with ./console core:update for high-traffic servers. Run the command from the Matomo directory, and keep the output so you can review it later. Confirm the path you chose before starting, because the browser route and the command route should not run at the same time. Done when the command finishes without errors and reports that the update is complete.

  7. Keep the browser open during update

    If you use the browser update screen, do not close or refresh the page until the update reports that it is complete. The update guide gives this instruction directly. If the session drops, do not start the update again right away. First check what state the instance and database are in against your backup, then decide whether to retry. Done when the screen shows completion and you have recorded the outcome in the change log.

  8. Verify the upgraded instance

    Log in to the admin interface and confirm the reported version matches the target release. Check that tracking records new visits, that core reports load, and that each premium plugin you use loads and works with the new version under the vendor's compatibility statement. Review the web server and Matomo error logs for new warnings after the update. Done when these checks pass on live traffic and the results, along with the backup location, are written up for the change record.

Which breaking changes are documented and what each one affects

Three of the four items below are documented and change the server stack or the upgrade procedure. The fourth lists what the official sources do not cover, which you must confirm before you start. Work through them in order, because runtime and database work must finish before any Matomo file is replaced.

PHP 8.1 floor for Matomo 6.0.0

Matomo 6.0.0 needs PHP 8.1 or newer. Any host still running PHP 8.0 or older has to move to a supported PHP version before any Matomo file is replaced, because the new code depends on that runtime. Check the PHP version used by the web server, the command line used for ./console, and any cron jobs, since each can resolve to a different binary. Also confirm the required extensions and web server settings on the new PHP version.

Matomo requirements FAQ

MySQL 8.0 or MariaDB 10.6 floor

Matomo 6.0.0 needs MySQL 8.0 or newer, or MariaDB 10.6 or newer. Matomo 5 accepted MySQL 5.5 or later, so older database servers are the most likely gap in an upgrade that otherwise looks routine. Confirm the server version before you set the maintenance window. Upgrading a shared database server also affects every other application on it, so schedule that work separately and test a restored backup on the new version before relying on it.

Matomo requirements FAQ

Database update step

After the files are replaced, Matomo shows a browser update screen if the database needs changes. Do not close or refresh that page while the update runs. For high-traffic servers, the update guide highly recommends running ./console core:update on the command line instead. Plan a window with no scheduled jobs competing for the database, and run the update inside a terminal multiplexer so a dropped connection cannot stop it.

Matomo update guide

Plugin compatibility and version changes

The update guide does not list major-version changes and points to the changelog, so the version-by-version list is not documented here. Plugin compatibility with Matomo 6.0.0 is also not documented here, and that includes premium plugins sold under the InnoCraft EULA. Read the changelog for each release between your current version and 6.0.0, and get written confirmation from each plugin vendor for every plugin you run. Treat each plugin as unverified until both checks are complete.

Matomo changelog

Why the PHP and database floors set the order of work

Check your current stack against the 6.0.0 floors before you download anything. Matomo 6.0.0 needs PHP 8.1 or newer, and on the database side MySQL 8.0 or newer or MariaDB 10.6 or newer. Read the PHP version that serves Matomo, because on many hosts the command line PHP and the web server PHP are separate builds. Run php -v as the web server user, or check the version in a phpinfo page served by the same PHP pool. For the database, run SELECT VERSION(); against the production server Matomo connects to. Keep in mind that the floors are set per engine, so a MariaDB host is judged against the MariaDB floor even if its MySQL-compatible version number looks close. Record the PHP, database and web server results in the change ticket so the go or no-go decision is written down.

If any check fails, the stack work comes first. A host below the PHP or database floor needs operating system, runtime or database work before the Matomo files are replaced, because the new release is not supported on the older runtime. Illustrative example: a host on an older Linux distribution may need an operating system upgrade before its package manager offers a PHP build at 8.1 or newer. After that, the PHP-FPM pool, extensions and configuration have to be rebuilt and tested. A database below the floor follows the same pattern, with a full backup, a tested restore and a rollback plan before the engine changes. The stack work often takes longer than the Matomo update itself. The Matomo step is a file replacement followed by a database update, while the stack work involves maintenance windows, change approval and checking custom plugins and tracking integrations on the new runtime. Plan the stack work as its own project with its own schedule.

Confirm the floors on the requirements page for the exact release you plan to install, and reread it on the day you schedule the change. The requirements FAQ also gives older floors for Matomo 4.16 and 5, such as PHP 8 and MySQL 5.5 or later, so values copied from an older install guide will understate what 6.0.0 needs. Confirm the web server too. The FAQ names Apache, Nginx, IIS and LiteSpeed for the older releases, so verify that 6.0.0 supports your server and its version. The update guide does not set a version-skipping rule and points to the changelog, so confirm in the Matomo requirements FAQ which release your current install must be on before you start.

How to plan a Matomo major version upgrade by environment before touching files

A single server runs the web server, PHP and the database on one machine, so every step of the upgrade touches the same disk and the same services. The project's sizing guidance for this model is at least 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month. These are the project's guidance figures and do not replace a plan for your own traffic.

  • Backups of config and database: Copy config/config.ini.php and take a full database dump, then store both off the server. A backup kept on the same disk is lost with the server it protects.
  • Staging copy: Restore the backup to a separate host with the same PHP and database versions, and run the upgrade there first.
  • tmp folder permissions: Confirm the web server user can write to the tmp folder before you start, because the update depends on it.
  • Plugin and integration inventory: List every plugin, including premium plugins sold under the InnoCraft EULA, and check each one's compatibility with the target version.
  • Sign-off: Name, in writing, who approves the staging result and who approves the production window.

The browser update screen is the path described for this model, so keep that session open and do not close or refresh it. The update guide does not set a version-skipping rule and points to the changelog, so read the changelog for each release between your current version and the target. Confirm free disk space and the steps against Matomo's update guide.

Matomo upgrades have two rollback points, and both restore paths are yours

The flow starts by backing up config/config.ini.php and the database, then checks PHP and database requirements for the target version. A failed check branches to OS, runtime or database upgrades, then moves on to staging. Staging on a copy comes before file replacement. The database update runs through the browser screen or ./console core:update, which Matomo recommends for high-traffic servers. The first rollback point sits before file replacement and restores the backup. The second sits after a failed database update and needs the database backup plus the previous files. The project does not document a rollback procedure, so both restore paths are your own process.

Upgrade sequence with two rollback points, both restored by your own process.

What rollback looks like when the project documents none

The Matomo update guide tells you to back up config/config.ini.php and the database before updating, and to keep the tmp folder writable. It does not describe a downgrade or rollback procedure, so the pre-upgrade backup is the only documented way back. Before the window opens, write down who makes the restore decision, what triggers it (for example, a browser update screen that stops partway, a failed ./console core:update run, or broken reports after go-live), and who carries out the restore. Give one named person the authority to choose between fixing forward and restoring, because a restore discards anything recorded after the backup was taken.

Define how the database is restored if the update changed it. The update guide says a browser update screen appears when the database needs changes, so the new release may have altered tables that the previous code cannot read. Restoring the old files against an upgraded database, or the reverse, can leave an install that does not start cleanly. Restore the database dump and the previous release files as a matched pair, then check that the config/config.ini.php you put back points at the right database. Ask your database administrator to confirm that the dump restores onto your current MySQL or MariaDB version, and that the version still meets the requirements for the release you are leaving.

Test the restore on a copy before the window. Load the pre-upgrade backup into a staging environment that matches production for PHP, web server and database versions, run the upgrade there, then carry out the rollback and confirm that logins, tracking and archived reports work on the old release. Measure the restore time in staging, because the project documents no duration and your database size and disk speed will determine it. Keep the previous release files and the pre-upgrade backup until the upgraded install is verified, and do not delete either on the day of the upgrade.

What buyers ask before they bring in help for a Matomo upgrade

What drives the cost of a Matomo major version upgrade?

The software is free, so the spend goes to the work around it. Matomo's pricing page lists the On-Premise Community edition as free forever with unlimited users and hits, so you pay for people, infrastructure and testing. The main cost drivers are staff time for planning and the upgrade itself, a staging host that matches production, test runs against your own reports and tracking, compatibility checks for any premium plugins you run, and any server work needed to meet the 6.0.0 floors of PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer. Ask any quote to separate one-time work (the upgrade, staging setup, plugin fixes) from recurring work (maintenance and any retained support), so you can see what you pay again each year.

How long does a Matomo major version upgrade take?

No duration is documented for a Matomo major version upgrade, so any number you hear is someone's estimate from a past project. Matomo's update guide covers the file replacement and database update steps, but it does not give a timeline. The effort depends on the size of the install, the number of plugins it runs, how many of those plugins need checking against the new version, and whether the server already meets the 6.0.0 requirements or needs changes first. Ask for a fixed-scope timeline in writing that names the systems, plugins and test steps it covers, and ask what would move the date. DeployOpen agrees scope, deliverables and timelines in writing before work starts.

What does a Matomo upgrade need from our team?

Plan for five inputs before anyone starts: server and database access, confirmed backups, a staging host, a plugin list and a named approver. Server and database access lets the engineer replace the files and run the database update, and Matomo's update guide highly recommends the command line, ./console core:update, for high-traffic servers. Backup confirmation means a copy of config/config.ini.php and the database, with a test restore done before the update starts. A staging host should be close enough to production to expose real problems. The plugin list identifies premium and third-party plugins that need their own compatibility check. The named approver signs off the test results and the go-live decision, so one person owns the outcome.

Can our own team upgrade Matomo without an implementation partner?

Yes, if your team can follow the documented steps and test a restore before the update. Matomo's update guide covers the core sequence: back up config/config.ini.php and the database, replace the files, let the browser update screen run or use the command line, and keep the tmp folder writable. The guide does not state a version-skipping rule or major-version notes and points to the changelog, so read the changelog for 6.0.0 before you plan. Two risks tend to decide the outcome. The first is undocumented plugin compatibility, since premium and third-party plugins need their own checks against the new version. The second is skipped staging, which moves the first failed update onto live reporting. Bring in help when no one on the team has run a restore or when the plugin list is long.

How does Matomo Cloud compare for upgrades?

Matomo Cloud moves the hosting work to the vendor, but confirm the upgrade handling for Cloud with Matomo before you decide. Cloud plans start at 29 per month excluding tax, according to Matomo's pricing page, for tiers from 50,000 to 10 million hits a month, with data stored in Frankfurt, Germany. Self-hosted Community is free, so the comparison is a monthly subscription on one side and your own staff time and infrastructure on the other. Ask the vendor who runs major version upgrades, when they happen, whether you get a staging environment to test your own reports, and how premium plugins are handled. The full comparison of Cloud and self-hosted upgrades is covered on a separate page.

What should a written quote for a Matomo upgrade include?

A written quote should follow from a written scope, so ask for the scope first. Expect it to list the systems covered, the current and target Matomo versions, the plugins included, the staging and test steps, backup and restore checks, rollback steps, handover documentation and what happens after go-live. DeployOpen does not publish a price list. A quote follows from the written scope, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask whether plugin fixes sit inside the scope or are handled as change requests, and whether post-upgrade support or a retainer for later upgrades is priced separately. Compare quotes on the same written scope so the price differences reflect the work, not gaps in what was covered.

How DeployOpen plans and runs a Matomo major version upgrade

DeployOpen plans a Matomo major version upgrade as a fixed-scope project inside your own infrastructure, starting from your current version, PHP and database stack, and plugin set. Before any change, the team checks Matomo's changelog and the requirements for the target version, then builds the upgrade steps and documents each one. The result is a procedure your operations team can follow and repeat.

How we scope

  • The written scope names your current and target Matomo versions, PHP and database versions, and every plugin in use.
  • Scope checks your hosts against Matomo 6.0.0 requirements: PHP 8.1 or newer, MySQL 8.0 or MariaDB 10.6.
  • Scope, deliverables and timelines are agreed in writing before work starts; ongoing support is available as a retainer.

How we build

  • Backups of config/config.ini.php and the database are taken before any file is replaced, as Matomo's update guide advises.
  • Database changes run from the command line with ./console core:update, which Matomo recommends for high-traffic servers.
  • Plugins and customizations are rechecked against the target version's changelog, since the update guide defers to it.

How we hand over

  • A written runbook covers the pre-upgrade checklist, the update steps, the rollback path and the post-upgrade checks.
  • The runbook covers the browser update screen Matomo shows when the database needs changes, and says not to close it.
  • Your team receives the documented steps and every configuration change, so it can repeat the procedure later.

How we support

  • Support after go-live covers questions on the upgraded instance, under a retainer if you want it on a standing basis.
  • Upgrades and continuous testing are available as retainers for later Matomo releases.
  • Before you start, confirm Matomo's support windows for your target version with the changelog and the project.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.