matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.87k stars 2.65k forks source link

Piwik updater: Add support for delta updates #8327

Open ieperlingetje opened 9 years ago

ieperlingetje commented 9 years ago

I run a piwik installation on a shared hosting account with limited resources (it's a small website after all, with not many visitors). I notice that for the last updates, I encounter more and more problems with updating, specifically the part where it has to extract the files. So I was wondering if the updates couldn't be kept smaller by applying delta updates, where you only serve the files/database update scripts that were changed since the previous version. I know this practice is common for smartphone and tablet apps (IOS and android do it), and I think it could also be useful for websites with limited resources.

mattab commented 9 years ago

Thanks for the suggestion @ieperlingetje - now I get it why Wordpress also implemented delta updates. this may become more and more important as I see users having issues at every update. These issues will affect even more users the further away from France they are (because our build server is located in France). Ideally, all users should have the same experience when updating Piwik and delta updates would help a lot reach this goal :+1:

mattab commented 9 years ago

Upgrades timing out is a common problem, also reported: http://forum.piwik.org/read.php?3,128742

For some reason with my host, the automatic updates almost always fail due to the script timing out. Would it be possible for the script to be broken in steps where it auto refreshes the page?

Studio384 commented 8 years ago

How about putting this in 3.0? Heck, why not 2.17. This is a terribly annoying issue.

mattab commented 8 years ago

@Studio384 we don't have enough time / resource / money, that's why