Deleting outdated files may not work during the upgrade and 1) fail silently, 2) not executed during manual updates #7986
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Usability
For issues that let users achieve a defined goal more effectively or efficiently.
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
The goal of this issue is to improve the update mechanism so that when outdated files cannot be deleted, an error or warning should be reported to the user so that the user knows to manually delete those files. This will help prevent bug reports and user frustration.
Imagine a user upgrades from Piwik version A to Piwik version B. Sometimes, a new Piwik version may actually have less files than a previous Piwik. For example when we refactor code and simplify APIs we sometimes delete files and classes. When this happens, the auto updater should notice that those files were deleted and then delete them from the user's server. This should work mostly fine but it's clear that sometimes files are not deleted. For example this caused this bug: #7985
The goal of this issue is to modify the upgrade mechanism and make sure that when files were not deleted, we report to the user the list of files she should delete eg.
The text was updated successfully, but these errors were encountered: