Issues with Symlink after moving project folder using Voyager
- OS: Windows 10
- PHP: 7.1.7
- Laravel: 5.4.3
Issue Description:
As I moved my project folder (including all project files) to another location, I got the following on my dashboard:
"Missing storage symlink We could not find a storage symlink. This could cause problems with loading media files from the browser."
Moving it back to the original location, fixed the issue.
How it should be:
Still functional Symlink after moving project folder.
What I tried:
I tried to use the "Fix it" function which would result in
"Could not create missing storage symlink We failed to generate the missing symlink for your application. It seems like your hosting provider does not support it."
Afterward I tried "php artisan storage:link" but only got the error that it can not create a file when that file already exists. The [public/storage] directory has been linked.
Searching the issue in "filesystems.php" was no success either it seems.
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'visibility' => 'public',
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
's3' => [
'driver' => 's3',
'key' => env('AWS_KEY'),
'secret' => env('AWS_SECRET'),
'region' => env('AWS_REGION'),
'bucket' => env('AWS_BUCKET'),
],
],
Hope someone can help me. Thank you
Please or to participate in this conversation.