Laravel: symlink(): No such file or directoryI encountered an error while using Laravel and BitBucket. I accidentally pushed up the Public/Storage folder from my local to the server and then this stopped all my images working on the site. Whooops. I tried re-running the code:
This gave me the error:
$php artisan storage:link
OK, well this didn't help, after a bit of hunting I found the problem as mentioned above. To fix this, on your server in the root directory change to your public directory.
symlink(): No such file or directory
$ cd public
$ rm storage $ cd .. $ php artisan storage:link The [public/storage] directory has been linked.