close

[Solved] Storage in laravel says symlink – no such file

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Storage in laravel says symlink – no such file in php. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

Today I get the following error Storage in laravel says symlink – no such file in php.

  1. How To Solve Storage in laravel says symlink – no such file Error ?

    To Solve Storage in laravel says symlink – no such file Error Make sure the APP_URL configuration in .env file is set correctly. after that run following command line:

  2. Storage in laravel says symlink – no such file

    To Solve Storage in laravel says symlink – no such file Error Make sure the APP_URL configuration in .env file is set correctly. after that run following command line:

Solution 1

if issue is not fixed yet. Do These Steps:

  1. Delete storage link from public folder or run these commands.

a)

cd public

b) rm storage

  1. Goto storage folder and check if app/public folder exists otherwise create new folder.
  2. Check if the error is fixed.
  3. If these steps not fixed your issue delete storage folder and create new storage folder containing all necessary folders on it.

storage folder contains: app, framework,logs

app contains: public framework contains: cache, data,sessions,testing, views

Solution 2

Make sure the APP_URL configuration in .env file is set correctly. after that run following command line:

php artisan config:cache
php artisan storage:link

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment