FileManager icon indicating copy to clipboard operation
FileManager copied to clipboard

Cannot connect S3 in server

Open anodev9099 opened this issue 5 months ago • 1 comments

[], /* |-------------------------------------------------------------------------- | Filesystem disks (Flysytem) |-------------------------------------------------------------------------- | | Define an array of Filesystem disks, which use Flysystem. | You can set extra options, example: | | 'my-disk' => [ | 'URL' => url('to/disk'), | 'alias' => 'Local storage', | ] */ 'disks' => [ 's3' => [ 'path' => 'elfinder', ] ], /* |-------------------------------------------------------------------------- | Routes group config |-------------------------------------------------------------------------- | | The default group settings for the elFinder routes. | */ 'route' => [ 'prefix' => config('backpack.base.route_prefix', 'admin') . '/elfinder', 'middleware' => ['web', config('backpack.base.middleware_key', 'admin')], //Set to null to disable middleware filter ], /* |-------------------------------------------------------------------------- | Access filter |-------------------------------------------------------------------------- | | Filter callback to check the files | */ 'access' => 'Barryvdh\Elfinder\Elfinder::checkAccess', /* |-------------------------------------------------------------------------- | Roots |-------------------------------------------------------------------------- | | By default, the roots file is LocalFileSystem, with the above public dir. | If you want custom options, you can set your own roots below. | */ 'roots' => [], /* |-------------------------------------------------------------------------- | Options |-------------------------------------------------------------------------- | | These options are merged, together with 'roots' and passed to the Connector. | See https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options-2.1 | */ 'options' => [ 'debug' => true, ], /* |-------------------------------------------------------------------------- | Root Options |-------------------------------------------------------------------------- | | These options are merged, together with every root by default. | See https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options-2.1#root-options | */ 'root_options' => [], ]; This is my config/elfinder.php, I can connect and it functions properly on localhost, but it constantly throws "Invalid backend configuration. Readable volumes not available." when I try to push to the server. In S3 CORS, i already set "AllowedOrigins": ["*"], Connector API in network throw 'error:["errConf", "errNoVolumes"]'

anodev9099 avatar Jul 26 '25 08:07 anodev9099