Disk [tmp-for-tests] does not have a configured driver.
I'm not sure why, but the filament is using this drive instead of the public drive. I specified it in the upload field with ->disk('public'), but that doesn't work either.
14 Replies
Because you have set disk tmp-for-tests ?
no, i don't have that in my config.
Is this the disk in the Livewire config?
For temp files
search your files for tmp-for-tests.
Or try clearing your config.
i cleared my config serveral times.
don't find it
GitHub
Disk [tmp-for-tests] does not have a configured driver. · Issue #13...
Description 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.. Steps to reproduce Context Live...
i did this but how can i save this to the public folder and not the resource folder? without symlink
What’s the issue? It’s just for testing?
No, it doesn't take the public disk but it takes this 'tmp-for-tests'.
After adding this in the filesystems config it works but now i want to save the images in the public folder and not in the resource folder.
Is this an issue outside of tests? Can’t you just still select
public
after defining the new disk?yes and I candefine what ever i want it always use this tmp-for-tests disk.
Did you somehow set your environment to testing?! 🤔
Not that I am aware of.