{"action":"created","issue":{"url":"https://api.github.com/repos/sulu-io/sulu/issues/2001","repository_url":"https://api.github.com/repos/sulu-io/sulu","labels_url":"https://api.github.com/repos/sulu-io/sulu/issues/2001/labels{/name}","comments_url":"https://api.github.com/repos/sulu-io/sulu/issues/2001/comments","events_url":"https://api.github.com/repos/sulu-io/sulu/issues/2001/events","html_url":"https://github.com/sulu-io/sulu/pull/2001","id":133115621,"number":2001,"title":"[FEATURE] Clear local image cache via cache clear service and command","user":{"login":"patkar","id":993350,"avatar_url":"https://avatars.githubusercontent.com/u/993350?v=3","gravatar_id":"","url":"https://api.github.com/users/patkar","html_url":"https://github.com/patkar","followers_url":"https://api.github.com/users/patkar/followers","following_url":"https://api.github.com/users/patkar/following{/other_user}","gists_url":"https://api.github.com/users/patkar/gists{/gist_id}","starred_url":"https://api.github.com/users/patkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patkar/subscriptions","organizations_url":"https://api.github.com/users/patkar/orgs","repos_url":"https://api.github.com/users/patkar/repos","events_url":"https://api.github.com/users/patkar/events{/privacy}","received_events_url":"https://api.github.com/users/patkar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-02-11T23:28:32Z","updated_at":"2016-02-12T15:01:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sulu-io/sulu/pulls/2001","html_url":"https://github.com/sulu-io/sulu/pull/2001","diff_url":"https://github.com/sulu-io/sulu/pull/2001.diff","patch_url":"https://github.com/sulu-io/sulu/pull/2001.patch"},"body":"Simply renames the cache dir, deletes it as a whole and creates a new one. The command name is `sulu:media:cache:clear`\r\n\r\n__tasks:__\r\n\r\n- [x] Move cache clear into the dedicated format caches and execute them\r\n- [x] Add entry to `CHANGELOG.md`\r\n\r\n__informations:__\r\n\r\n| q             | a\r\n| ------------- | ---\r\n| Fixed tickets | fixes #808 \r\n| Related PRs | #1052 \r\n| BC Breaks     | none\r\n| Documentation PR | n/a\r\n\r\nReopens #1052 as the branch was deleted by accident and GitHub no longer allows reopening it after rebase :dizzy_face: "},"comment":{"url":"https://api.github.com/repos/sulu-io/sulu/issues/comments/183363514","html_url":"https://github.com/sulu-io/sulu/pull/2001#issuecomment-183363514","issue_url":"https://api.github.com/repos/sulu-io/sulu/issues/2001","id":183363514,"user":{"login":"patkar","id":993350,"avatar_url":"https://avatars.githubusercontent.com/u/993350?v=3","gravatar_id":"","url":"https://api.github.com/users/patkar","html_url":"https://github.com/patkar","followers_url":"https://api.github.com/users/patkar/followers","following_url":"https://api.github.com/users/patkar/following{/other_user}","gists_url":"https://api.github.com/users/patkar/gists{/gist_id}","starred_url":"https://api.github.com/users/patkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patkar/subscriptions","organizations_url":"https://api.github.com/users/patkar/orgs","repos_url":"https://api.github.com/users/patkar/repos","events_url":"https://api.github.com/users/patkar/events{/privacy}","received_events_url":"https://api.github.com/users/patkar/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T15:01:08Z","updated_at":"2016-02-12T15:01:08Z","body":"I see. In an deployment environment, where the write permission is only in the `web/uploads/media` folder this is bad since the system can't create a new folder within `web/uploads` :/"}}