Laravel-admin: Disk [admin] not configured, please add a disk config in `config/filesystems.php`.

Created on 16 Oct 2017  ·  8Comments  ·  Source: z-song/laravel-admin

  • Laravel Version: 5.5
  • PHP Version:7.0
  • Laravel-admin: ^1.5

Description:

Disk [admin] not configured, please add a disk config in config/filesystems.php.

Steps To Reproduce:

Most helpful comment

see http://laravel-admin.org/docs/#/en/model-form-upload?id=upload-to-local

All 8 comments

Hi,
Open 'filesystems.php' file under config folder and add this to the disk array :
'admin' => [ 'driver' => 'local', 'root' => storage_path('app'), ]

see http://laravel-admin.org/docs/#/en/model-form-upload?id=upload-to-local

thanks it working now

or edit admin.php under config directory, change the disk in upload array.

For me it works with adding this in 'config/filesystems.php' :

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

Check also if your storage link is ok with artisan's command :

php artisan storage:link

Hope it helps ;-)

on windows 2012 when laravel hosted on IIS

i config all of above but after restart the website it doest applied

i cant restart iis because all other websites stopped and i didnt want to restart them.

please help me

hi ,I followed the steps but still have the same problem

see http://laravel-admin.org/docs/#/en/model-form-upload?id=upload-to-local

I have another issues can you help me please ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

antranapp picture antranapp  ·  3Comments

piian picture piian  ·  3Comments

MarKco picture MarKco  ·  3Comments

wangwenfan picture wangwenfan  ·  3Comments

benny-sun picture benny-sun  ·  3Comments