This can happen because of many reasons. But solution to this is very simple
Step to follow:
- Delete storage folder that is inside public folder. (Dont delete main storage function)
- Link again.
Steps to create Symlink
//On Cli
php artisan storage:link
// no need to do anything more. It should be working Now!
//without cli
Route::get('/link', function () {
Artisan::call('storage:link');
return Artisan::output();
});
// then open /link url in browser. It should be working Now!
Symlink should be working now!