In config/filesystems.php you can set the repository path. Try setting the path to the repository and see if it works. Please note that the example below is my suggestion as to what your config/filesystems.php should look like. Do not mind setting s3. This is part of my project.
Remember to remove $app->useStoragePath(getenv('STORAGE_PATH')); from app.php
return [ 'default' => 's3', 'cloud' => 's3', 'disks' => [ 'local' => [ 'driver' => 'local', 'root' => env('STORAGE_PATH'), ], 's3' => [ 'driver' => 's3', 'key' => env('AWS_KEY'), 'secret' => env('AWS_SECRET'), 'region' => env('AWS_REGION'), 'bucket' => env('AWS_BUCKET'), ], 'rackspace' => [ 'driver' => 'rackspace', 'username' => 'your-username', 'key' => 'your-key', 'container' => 'your-container', 'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/', 'region' => 'IAD', ], ], ];
source share