When upgrading Piwik, --dry-run should show all SQL queries including Plugins install queries #5806
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone
When upgrading from Piwik 2.3.0 to 2.4.0 we have noticed that the
--dry-run
does not show the queries that get executed when the DeviceDetection plugin is installed.Goal of this ticket is to ensure that the
core:update --dry-run
always shows queries from the installation of plugins. Currently, when a plugin will be installed/enabled the queries are not displayed in dry-run.Example of problematic 2.4.0 upgrade: the plugin was enabled in this upgrade file: https://github.com/piwik/piwik/blob/master/core/Updates/2.4.0-b6.php
When the plugin is installed it executes the following SQL queries: https://github.com/piwik/piwik/blob/master/plugins/DevicesDetection/DevicesDetection.php#L208-224 This created a huge load on the Database which Piwik admins could not plan for.
The text was updated successfully, but these errors were encountered: