symlink(): No such file or directory
1. Go to /public directory remove /storage folder
2. run command
ln -s /AnotherAppName/storage/app/public/ /AnotherAppName/public/storage
------------- OR RUN ---------------------
php artisan storage:link
symlink(): No such file or directory
1. Go to /public directory remove /storage folder
2. run command
ln -s /AnotherAppName/storage/app/public/ /AnotherAppName/public/storage
------------- OR RUN ---------------------
php artisan storage:link
symlink(): No such file or directory
Route::get('/linkstorage', function () {
$targetFolder = base_path().'/storage/app/public';
$linkFolder = $_SERVER['DOCUMENT_ROOT'].'/storage';
symlink($targetFolder, $linkFolder);
});
Adding this inside web.php and then hit this 'BASE_URL/linkstorage' url once.
now check the storage folder will be created inside the public folder. This will
resolve your issue.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us