@anonymous-piwik-user opened this Issue on April 3rd 2013

Latest upgrade to piwik 1.11.1 had file permissions that caused piwik to trigger a server 500 error.

Setting file permission to 644 ot 755 resolves the problem.

Related forums threads;


Keywords: server 500, file permissions

@mattab commented on April 3rd 2013 Member

Thanks for the report. The problem is

The permissions on the files (not folders or directories) are not set correctly.
Simply change all the file permissions from 664 to 644 in the piwik main directory. Then you are done. 

That's interesting. Maybe it is a side effect of GIT migration.

I see that the files have 664 in GIT. When i chmod to 644, and then do "git status" the filemode change does not appear. I also tried:
$ git config core.filemode true

So I'm not sure, how we go to modify these file permissions back to 644 in git?

IDEAL Solution: Maybe the ideal fix is to recursively convert all PHP files in Piwik to 644 permission?

@mattab commented on April 4th 2013 Member

Could you please try with all files from the latest beta, I tried to change umask to 0022 which should fix it. Thanks Fabian for the hint! http://builds.piwik.org/piwik-1.12-b5.zip

This Issue was closed on April 4th 2013
Powered by GitHub Issue Mirror