I have the temporary_file_upload => disk specified. But I still get the error with uploading:
Disk [tmp-for-tests] does not have a configured driver..
Context
I had this same thing when deploying an app to a Windows server. I ended up defining the following as a workaround:
In config/filesystems.php:
// below disks => local
'tmp-for-tests' => [
'driver' => 'local',
'root' => storage_path('app/livewire-tmp'),
],
After which the file upload problems disappeared.
@axit-joost this is working for me
@axit-joost I guess it would be storage_path('app'), livewire-tmp comes from config/livewire.php option temporary_file_upload.directory
Most helpful comment
I had this same thing when deploying an app to a Windows server. I ended up defining the following as a workaround:
In
config/filesystems.php:After which the file upload problems disappeared.