Skip to content

Cannot connect S3 in server #75

@anodev9099

Description

@anodev9099
[], /* |-------------------------------------------------------------------------- | 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"]'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions