The Storage::download method seems broken. Might be an issue with flysystem-aws-s3-v3, but thought I'd start here.
composer require league/flysystem-aws-s3-v3 ~1.0.envreturn \Storage::disk('s3')->download( '/_testing/sample-image.jpg' );

Wondering if it's related to https://github.com/laravel/framework/pull/31163
Does downgrading to v6.11.0 fix the problem? And if so: does upgrading to v6.12.0 break it again?
Please give Laravel error logs file content.
@driesvints - Thanks for the suggestion! Can confirm. Going down to 6.11.0 resolves the issue, going back up to 6.12 breaks it again. @voyula - logs are empty/non-existent.
I think output buffering a problem for downloading data.
I was say. https://github.com/laravel/framework/pull/31163#issuecomment-575772897
We've reverted the pr that caused this.
Most helpful comment
We've reverted the pr that caused this.