I'm getting this error when I uploaded my project on a centos server
(InvalidArgumentException(code: 0): Disk [public] does not have a configured driver
Everything is correct in filesystem.php:
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'public' => [
'driver' => 'local',
'root' => public_path('storage'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
and in voyager.php :
'storage' => [
'disk' => 'public',
],
what should I do?
I have uploaded the same config files to the server, literally with no change and it worked...