symlink(): No such file or directory laravel ubuntu - solved

Laravel 6 , Laravel , Ubuntu



hi guys,

In this article, you will working on an application and wanted to implement image uploading to your application.Now you will display the symbolic link error on composer.

In this article, you will find the solution for issue:

ErrorException : symlink(): No such file or directory

at /home/forge/

248| */

249| public function link($target, $link)

250| {

251| if (! windows_os()) {

> 252| return symlink($target, $link);

253| }


255| $mode = $this->isDirectory($target) ? 'J' : 'H';


Exception trace:

1 symlink("/home/forge/", "/home/forge/")


2 Illuminate\Filesystem\Filesystem::link("/home/forge/", "/home/forge/")


Please use the argument -v to see more details.

Run Following Commands:

step 1 : Go to /public directory and run

rm storage

step 2 : Go to Laravel root directory and run

php artisan storage:link

It will help you...

Recommended Posts