Disk [videos] does not have a configured driver
i've tried on Laravel 6, it's shown : "InvalidArgumentException: Disk [public2] does not have a configured driver."
what I've tried on config/filesystem.php
'public2' => [
'driver' => 'local',
'root' => storage_path('app'),
'url' => env('APP_URL') . '/public',
'visibility' => 'public',
],
then tried :
composer dump-autoload -o
still shown exception error. May i know what I must todo ? Thank you a lot
SOLVED
php artisan config:clear
Open your config file config/filesystems.php
and check the key videos
, make sure it contains 'driver' => 'local'
or any other driver that you are wanting to use.
Example
'videos' => [
'driver' => 'local',
'root' => storage_path('videos'),
],
I had the same issue when trying to use FFMpeg in a Laravel Job.
I solved it by just restarting the queue using
php artisan queue:work