@mattab opened this Issue on August 15th 2010 Member

I haven't verified yet, but have seen a few support requests which say that the auto update is not giving right feedback about which folders should be writable for the auto update to work.

I think the command should be a recursive writable chmod and chown on the main piwik/ folder.

eg http://forum.piwik.org/index.php?showtopic=14251

@robocoder commented on August 15th 2010 Contributor

My fault. I added a mini-check and the warning I gave (when suppressing the one-click update button) isn't very informative.

@robocoder commented on August 15th 2010 Contributor

Separate issue, but the aforementioned forum post is covered by #1295.

@mattab commented on November 24th 2010 Member

See also message for less permissive rights #1833

@mattab commented on June 7th 2011 Member

WE haven't received complaints recently, decreasing priority

@mattab commented on July 5th 2011 Member

Note that it seems other permissions are not necessarily checked, for example see this report: http://forum.piwik.org/read.php?2,78570,page=1#msg-78608

[2011-06-26 23:21:01] [9caab5b8] [11.58 Mb] LOAD DATA INFILE failed... 
Error was SQLSTATE[HY000]: General error: 13 Can't get stat of '/var/piwik/tmp/assets/piwik_archive_blob_2011_06-8da10daa4e8b4d7faed083fa25b8cecc.csv' (Errcode: 2)<br/> 

which was fixed with chmod 0660 tmp/assets

@mattab commented on July 11th 2011 Member

There is also a recurrent issue that templates are not automatically deleted on update, probably due to a permission issue. see for example: http://forum.piwik.org/read.php?2,79252

@mattab commented on August 8th 2011 Member

I just tried on a fresh piwik install, and saw message "Piwik is unable to overwrite your current installation. You can either fix the directory/file permissions, or download the package and install version 1.5.1 manually"

without explanations on permission, MUSTFIX + easy

@mattab commented on November 3rd 2011 Member
@mattab commented on February 26th 2012 Member

(In [5920]) Fixes #1590

  • Now displaying commands to run when the auto update is missing permissions
  • General change: now we recommend NOT to chmod 777 but to chmod 755 whenever such message is displayed in Piwik. Added the chown command line since chmod 755 would only work when files are owned by the web server user.
This Issue was closed on February 26th 2012
Powered by GitHub Issue Mirror