Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3 connection issue #324

Open
Ardhendu100 opened this issue Jun 9, 2023 · 0 comments
Open

s3 connection issue #324

Ardhendu100 opened this issue Jun 9, 2023 · 0 comments

Comments

@Ardhendu100
Copy link

Ardhendu100 commented Jun 9, 2023

'dir' => ['storage'],

'disks' => [
    's3' => [
        'driver' => 's3',
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'region' => env('AWS_DEFAULT_REGION'),
        'bucket' => env('AWS_BUCKET'),
        'alias' => 'S3 Storage',
        'URL' => env('AWS_URL', null),
    ],
],


'route' => [
    'prefix' => 'elfinder',
    'middleware' => ['web', 'auth'], // Set to null to disable middleware filter
],

'access' => 'Barryvdh\Elfinder\Elfinder::checkAccess',
'roots' => [
    [
        'driver' => 'Flysystem',
        'path' => '/',
        'URL' => env('AWS_URL', null),
        'filesystem' => 's3',
        'alias' => 'S3 Storage',
        'uploadAllow' => ['image'],
        'uploadDeny' => ['all'],
        'uploadOrder' => ['deny', 'allow'],
        'accessControl' => 'Barryvdh\Elfinder\Elfinder::checkAccess',
    ],
],

`
this is config/elfinder.php , I am getting error "Invalid backend configuration.
Readable volumes not available
."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant