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.64k stars 2.62k forks source link

error when i auto-update #586

Closed anonymous-matomo-user closed 15 years ago

anonymous-matomo-user commented 15 years ago

Error while copying file to home/ftp/piwik/lang/ja.php. Please check that the web server has enough permission to overwrite this file. For example, on a linux server, if your apache user is www-data you can try to execute: chown -R www-data:www-data /var/alternc/html/a/admin/home/ftp/piwik chmod -R 0755 /var/alternc/html/a/admin/home/ftp/piwik

Update has been cancelled.


choosing "major"

mattab commented 15 years ago

this is expected if your files don't have the right permission, one click upgrade will fail. However we should make the feedback more clear: "One Click Upgrade will not work if the Piwik files are not writable by the webserver. Please check the following message for more information. If the one click upgrade doesn't work, please update Piwik using the manual update procedure (link to piwik.org/docs/update)

anonymous-matomo-user commented 15 years ago

I have seen the workaround of course, i do not apply it because IMHO i think noobs must do not do anything on a filesystem ;)

idea is to purpose a software which does not require SSH access no ? some webhost purpose "one click install"

FYI i use(d) www.willemijns.com/piwik.sh to autoupdate before ;)

mattab commented 15 years ago

a user with a windows server had this error:

Error while copying file to D:\inetpub\vhosts\AsianCakes4You.com\httpdocs\piwik/config/global.ini.auto-backup-before-update.php.

mattab commented 15 years ago

added the warning message below the error message: "Piwik One Click Update has been cancelled. If you can't fix the above error message, it is recommanded that you manually update Piwik.

Please check out the Update documentation [link] to get started!"

hopefully that's more clear and will minimize user frustration. fixed in [977]