Skip to content

Disk named public cannot be accessed #3267

@Kokil

Description

@Kokil

I'm encountering an issue while using laravel-medialibrary version ^10.9 .
When i run php artisan media-library:regenerate it give:

Media id 1: Disk named public cannot be accessed

I have verified my filesystem configuration in config/filesystems.php and it appears to be set correctly:

'public' => [
    'driver' => 'local',
    'root' => storage_path('app/public'),
    'url' => env('APP_URL').'/storage',
    'visibility' => 'public',
    'throw' => false,
],

Could you please guide me in troubleshooting this issue? Is there anything specific I should be aware of when using laravel-medialibrary with Laravel 10.x?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions