{"action":"created","issue":{"url":"https://api.github.com/repos/rtCamp/nginx-helper/issues/133","repository_url":"https://api.github.com/repos/rtCamp/nginx-helper","labels_url":"https://api.github.com/repos/rtCamp/nginx-helper/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/rtCamp/nginx-helper/issues/133/comments","events_url":"https://api.github.com/repos/rtCamp/nginx-helper/issues/133/events","html_url":"https://github.com/rtCamp/nginx-helper/issues/133","id":199132600,"number":133,"title":"Multisite Purge All Not Working","user":{"login":"jwogrady","id":2075310,"avatar_url":"https://avatars0.githubusercontent.com/u/2075310?v=3","gravatar_id":"","url":"https://api.github.com/users/jwogrady","html_url":"https://github.com/jwogrady","followers_url":"https://api.github.com/users/jwogrady/followers","following_url":"https://api.github.com/users/jwogrady/following{/other_user}","gists_url":"https://api.github.com/users/jwogrady/gists{/gist_id}","starred_url":"https://api.github.com/users/jwogrady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwogrady/subscriptions","organizations_url":"https://api.github.com/users/jwogrady/orgs","repos_url":"https://api.github.com/users/jwogrady/repos","events_url":"https://api.github.com/users/jwogrady/events{/privacy}","received_events_url":"https://api.github.com/users/jwogrady/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-06T06:22:56Z","updated_at":"2017-03-13T14:55:12Z","closed_at":null,"body":"I have WP multisite setup.  The pages are purged on content updates, but the purge button in the menu bar and the red global site purge button do not work.  My assumption this is permissions related... perhaps the nginx user and php user are different?   Nginx says www-date and the php-fpm www pool config says owner and group are www-data.  Is there another place I might look? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rtCamp/nginx-helper/issues/comments/286131605","html_url":"https://github.com/rtCamp/nginx-helper/issues/133#issuecomment-286131605","issue_url":"https://api.github.com/repos/rtCamp/nginx-helper/issues/133","id":286131605,"user":{"login":"nserev","id":4789693,"avatar_url":"https://avatars2.githubusercontent.com/u/4789693?v=3","gravatar_id":"","url":"https://api.github.com/users/nserev","html_url":"https://github.com/nserev","followers_url":"https://api.github.com/users/nserev/followers","following_url":"https://api.github.com/users/nserev/following{/other_user}","gists_url":"https://api.github.com/users/nserev/gists{/gist_id}","starred_url":"https://api.github.com/users/nserev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nserev/subscriptions","organizations_url":"https://api.github.com/users/nserev/orgs","repos_url":"https://api.github.com/users/nserev/repos","events_url":"https://api.github.com/users/nserev/events{/privacy}","received_events_url":"https://api.github.com/users/nserev/received_events","type":"User","site_admin":false},"created_at":"2017-03-13T14:55:12Z","updated_at":"2017-03-13T14:55:12Z","body":"Just a note here, because I think I am experiencing the same issue. When php-fpm and nginx are running with different users the module always gives permission denied in case cache is being purged.\r\n\r\n2017/03/13 14:49:40 [error] 28052#28052: *1 FastCGI sent in stderr: \"PHP message: PHP Warning:  opendir(/tmp/cache): failed to open dir: Permission denied in /var/www/public/wp-content/plugins/nginx-helper/purger.php on line 772\" while reading response header from upstream, client: 127.0.0.1, server: example.com, request: \"GET /wp-admin/options-general.php?page=nginx&nginx_helper_action=purge&nginx_helper_urls=all&_wpnonce=4a338cd144 HTTP/1.1\", upstream: \"fastcgi://unix:/run/php/php-fpm.sock:\", host: \"example.com\", referrer: \"http://example.com/wp-admin/options-general.php?page=nginx\"\r\n"}}
{"actor":{"display_login":"nserev"}}