latest upgrade file permissions incorrect causing server 500 #3869

anonymous-piwik-user opened this Issue Apr 3, 2013 · 2 comments

2 participants


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;,102540,102570,102448

Keywords: server 500, file permissions

Piwik Open Source Analytics 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?

Piwik Open Source Analytics 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!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment