Opened 5 years ago

Closed 5 years ago

#586 closed Bug (fixed)

error when i auto-update

Reported by: willemijns Owned by:
Priority: major Milestone: RobotRock
Component: Core Keywords:
Cc: Sensitive:


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"

Change History (4)

comment:1 Changed 5 years ago by matt (mattab)

  • Milestone set to RobotRock

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

comment:2 Changed 5 years ago by willemijns

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) to autoupdate before ;)

comment:3 Changed 5 years ago by matt (mattab)

a user with a windows server had this error:

Error while copying file to D:\inetpub\vhosts\\httpdocs\piwik/config/

comment:4 Changed 5 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

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]

Note: See TracTickets for help on using tickets.