{"action":"created","issue":{"url":"https://api.github.com/repos/PHPSocialNetwork/phpfastcache/issues/614","repository_url":"https://api.github.com/repos/PHPSocialNetwork/phpfastcache","labels_url":"https://api.github.com/repos/PHPSocialNetwork/phpfastcache/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/PHPSocialNetwork/phpfastcache/issues/614/comments","events_url":"https://api.github.com/repos/PHPSocialNetwork/phpfastcache/issues/614/events","html_url":"https://github.com/PHPSocialNetwork/phpfastcache/issues/614","id":330535657,"node_id":"MDU6SXNzdWUzMzA1MzU2NTc=","number":614,"title":"Randomly getting the phpFastCacheIOException ","user":{"login":"hriziya","id":4135216,"node_id":"MDQ6VXNlcjQxMzUyMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/4135216?v=4","gravatar_id":"","url":"https://api.github.com/users/hriziya","html_url":"https://github.com/hriziya","followers_url":"https://api.github.com/users/hriziya/followers","following_url":"https://api.github.com/users/hriziya/following{/other_user}","gists_url":"https://api.github.com/users/hriziya/gists{/gist_id}","starred_url":"https://api.github.com/users/hriziya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hriziya/subscriptions","organizations_url":"https://api.github.com/users/hriziya/orgs","repos_url":"https://api.github.com/users/hriziya/repos","events_url":"https://api.github.com/users/hriziya/events{/privacy}","received_events_url":"https://api.github.com/users/hriziya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-06-08T06:32:30Z","updated_at":"2018-06-13T09:54:53Z","closed_at":"2018-06-08T13:00:50Z","author_association":"NONE","body":"**Configuration**\r\n- **PhpFastCache version:** 6.0.2\r\n- **PhpFastCache API version:** 1.2.5\r\n- **PHP version:** PHP 7.0.30-0ubuntu0.16.04.1 (cli) ( NTS )\r\n- **Operating system:** Ubuntu 16.04\r\n\r\n**I am using this since more than a year, and getting such permission exception once in a month or so. \r\n It is completely random behavior and has no specific steps to duplicate it. Can anyone help with that?**\r\n\r\nI have checked the CacheManager class and the default setting is \r\n`     'default_chmod' => 0777,`\r\n\r\nhere are my doubts\r\n1) Should I use the `\"autoTmpFallback\" = true` in settings?\r\n2) If this is write permission issue, then it should trigger exception on every try of writing content to directory. so can anyone help me find the exact issue?\r\n\r\nhere is the detailed log of the exception message. \r\n\r\n`Fatal error: Uncaught phpFastCache\\Exceptions\\phpFastCacheIOException: \r\nPLEASE CHMOD /tmp/beta/Auto/Files/73/74 - 511 OR ANY WRITABLE PERMISSION! in /var/www/html/beta/web_services/vendor/phpfastcache/phpfastcache/src/phpFastCache/Core/Pool/IO/IOHelperTrait.php:157` \r\n\r\n**Stack trace:** \r\n`#0 /var/www/html/beta/web_services/vendor/phpfastcache/phpfastcache/src/phpFastCache/Drivers/Files/Driver.php(72): phpFastCache\\Drivers\\Files\\Driver->getFilePath('all_types') `\r\n\r\n`#1 var/www/html/beta/web_services/vendor/phpfastcache/phpfastcache/src/phpFastCache/Core/Pool/CacheItemPoolTrait.php(353): phpFastCache\\Drivers\\Files\\Driver->driverWrite(Object(phpFastCache\\Drivers\\Files\\Item)) `\r\n\r\n`#2 /var/www/html/beta/web_services/vendor/phpfastcache/phpfastcache/src/phpFastCache/Helper/Psr16Adapter.php(84): phpFastCache\\Drivers\\Files\\Driver->save(Object(phpFastCache\\Drivers\\Files\\Item)) `\r\n\r\n`#3 /var/www/html/beta/web_services/_HELPER.php(1257): phpFastCache\\Helper\\Psr16Adapter->set('all_types', Array, 1200) `\r\n\r\n`#4 /var/www/html/beta/web_services/service.php(417): HELPER in /var/www/html/beta/web_services/vendor/phpfastcache/phpfastcache/src/phpFastCache/Core/Pool/IO/IOHelperTrait.php on line 157`\r\n"},"comment":{"url":"https://api.github.com/repos/PHPSocialNetwork/phpfastcache/issues/comments/396882259","html_url":"https://github.com/PHPSocialNetwork/phpfastcache/issues/614#issuecomment-396882259","issue_url":"https://api.github.com/repos/PHPSocialNetwork/phpfastcache/issues/614","id":396882259,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Njg4MjI1OQ==","user":{"login":"Geolim4","id":1332071,"node_id":"MDQ6VXNlcjEzMzIwNzE=","avatar_url":"https://avatars0.githubusercontent.com/u/1332071?v=4","gravatar_id":"","url":"https://api.github.com/users/Geolim4","html_url":"https://github.com/Geolim4","followers_url":"https://api.github.com/users/Geolim4/followers","following_url":"https://api.github.com/users/Geolim4/following{/other_user}","gists_url":"https://api.github.com/users/Geolim4/gists{/gist_id}","starred_url":"https://api.github.com/users/Geolim4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geolim4/subscriptions","organizations_url":"https://api.github.com/users/Geolim4/orgs","repos_url":"https://api.github.com/users/Geolim4/repos","events_url":"https://api.github.com/users/Geolim4/events{/privacy}","received_events_url":"https://api.github.com/users/Geolim4/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T09:54:53Z","updated_at":"2018-06-13T09:54:53Z","author_association":"MEMBER","body":"It has to pe as per https://github.com/PHPSocialNetwork/phpfastcache/commit/ab15efd1dfe6b36e698d19a49df95dc210a59cde"}}
{"actor":{"display_login":"Geolim4"}}