Looks like your trying to read a directory? (Notice in the error Is a directory).
Jul 6, 2020
4
Level 1
File uploads failing on the server
Hi!
I am stuck with this weird issue:
Locally file uploads are working perfectly, but on the production server I get this error (from the logs) when uploading files:
production.ERROR: stream_copy_to_stream(): read of 8192 bytes failed with errno=21 Is a directory {"userId":28,"exception":"[object] (ErrorException(code: 0): stream_copy_to_stream(): read of 8192 bytes failed with errno=21 Is a directory at /var/www/jkaraoke-app/vendor/league/flysystem/src/Adapter/Local.php:159)
Info: Ubuntu, PHP 7.4, Laravel 7
Thanks everyone!
Please or to participate in this conversation.