Matomo one-click update: fix NoName (-17) error
Today when I wanted to update Matomo, I ran into the following error:
Update error: Incompatible archive: NoName (-17): Filename [matomo folder]/tmp/latest/piwik/[some html special char code] is already used by an existing directory
The update was unsuccessful and Matomo suggested to update manually or fix the error to proceed.
The solution was rather simple: delete the folder [matomo folder]/tmp/latest/piwik/
and go through the update process again. If you’re not comfortable deleting the folder right away, you can also rename it and delete the renamed folder once the update was successful.