Fixing Matomo CLI Upgrade Errors After Failed Web Update to 5.6.1
When upgrading Matomo to version 5.6.1 via the web interface, the process fails if Composer is missing. Installing Composer and switching to CLI (console core:update) then triggers fatal PHP errors like Class ‘Piwik\Plugin\Manager’ not found in core/bootstrap.php:59. This happened to me on a production server with PHP 8.1. Symptoms and Root Cause Web upgrade to 5.6.1…
