title: Failed to open stream: No such file or directory Error
body: <p>First of all I do realize there are already questions like this here, my reason for making a new post about it is I have tried all the solutions I found on stackoverflow and none of them worked for me.</p>
  
  <p>My issues started when I installed <a href="https://github.com/eyewitness/eye" rel="nofollow noreferrer">eyewitness</a> package via composer. I installed it successfully without any errors by running <code>php artisan eyewitness:install</code>.</p>
  
  <p>However I have noticed that whenever my queue runs I get this error streamed to my slack channel:</p>
  
  <blockquote>
    <p>file_put_contents(/var/app/current/storage/framework/cache/data/0b/fd/0bfda67f938654155945b033c84634aaabaa08f3):
    failed to open stream: No such file or directory Level ERROR Exception
    ```{    "class": "ErrorException",    "message":
    "file_put_contents(/var/app/current/storage/framework/cache/data/0b/fd/0bfda67f938654155945b033c84634aaabaa08f3):
    failed to open stream: No such file or directory",    "code": 0,<br>
    "file":
    "/var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122",
    "trace": [
           "{\"function\":\"handleError\",\"class\":\"Illuminate\\Foundation\\Bootstrap\\HandleExceptions\",\"type\":\"->\",\"args\":[2,\"file_put_contents(/var/app/current/storage/framework/cache/data/0b/fd/0bfda67f938654155945b033c84634aaabaa08f3):
    failed to open stream: No such file or
    directory\",\"/var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php\",122,{\"path\":\"/var/app/current/storage/framework/cache/data/0b/fd/0bfda67f938654155945b033c84634aaabaa08f3\",\"contents\":\"1546808222i:1;\",\"lock\":true}]}",
           "/var/app/current/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122",
           "/var/app/current/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php:65",
           "/var/app/current/vendor/laravel/framework/src/Illuminate/Cache/Repository.php:195",
           "/var/app/current/vendor/laravel/framework/src/Illuminate/Cache/Repository.php:262",
           "/var/app/current/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:304",
           "/var/app/current/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:223",
           "/var/app/current/vendor/eyewitness/eye/app/Notifications/Notifier.php:31",
           "/var/app/current/vendor/eyewitness/eye/app/Scheduling/BaseEvent.php:236",
           "/var/app/current/vendor/eyewitness/eye/app/Scheduling/BaseEvent.php:283",
           "/var/app/current/vendor/eyewitness/eye/app/Scheduling/Event.php:55",
           "/var/app/current/vendor/eyewitness/e…</p>
  </blockquote>
  
  <p>Now following various solutions online I did the following:</p>
  
  <ol>
  <li>Navigated to my bootstrap/cache folder and deleted all the contents.</li>
  <li>run <code>php artisan cache:clear</code></li>
  <li>run <code>php artisan config:clear</code></li>
  <li>run <code>php artisan view:clear</code></li>
  <li>run <code>php artisan config:cache</code></li>
  <li>run <code>php artisan queue:restart</code></li>
  <li>run <code>php artisan queue:work &amp;</code></li>
  </ol>
  
  <p>After running all the above commands in exactly that order nothing has changed, the error is still being logged every minute and I do not know what to do at this point.</p>
  
  <p>I have the following settings in my .env file:</p>
  
  <pre><code>BROADCAST_DRIVER=log
  CACHE_DRIVER=file
  SESSION_DRIVER=file
  SESSION_LIFETIME=120
  QUEUE_DRIVER=database
  </code></pre>