matomo-org/matomo

Plugins Directory Permissions Notification Persists after Fixing

Open

#12,934 opened on May 18, 2018

View on GitHub
 (3 comments) (0 reactions) (0 assignees)PHP (2,847 forks)batch import
BugHelp wanted

Repository metrics

Stars
 (21,513 stars)
PR merge metrics
 (Avg merge 8d 11h) (106 merged PRs in 30d)

Description

Server: Ubuntu 16.04 running Nginx 10.3.3 Matomo version: 3.5.0 MySQL version: 10.2.14-MariaDB-10.2.14+maria~xenial-log PHP version: 7.0.30-0ubuntu0.16.04.1

This error was encountered on a brand new install. The error only appeared after attempting to install a plugin. It was not present before that.

2018-05-18 12_34_47-procycle us - friday may 18 2018 - web analytics reports - matomo

Originally I had perms set so the plugins directory was read only by the webserver

chown -R manager:www-data web/
chmod -R u=rwX,g=rX,o= web/
chmod -R ug=rwX,o= web/tmp
chmod -R ug=rwX,o= web/config
chmod -R ug=rwX,o= web/piwik.js

After trying to install a plugin I got this error, so I fixed the permissions.

chown -R www-data:www-data web/
chmod ug=rwX,o= web/
chmod -R ug=rwX,o= web/plugins

The error message still popped up.

I set 777 for the entire web directory to test and still the error message shows.

2018-05-18 12_40_43-matomoadmin procycleus-matomo_ _srv_www_usage procycle us_web

So I installed the plugin I was trying to install before and it installs perfectly fine. The error message still shows.

I cannot get rid of the error message and I don't know why.

Contributor guide