0
Is there any way to execute this command on a server like hostgator? on my pc I can only with administrative rights, but in connection with hostgator it is not possible to appear the following error
ErrorException : symlink(): No such file or directory
at /home4/dan18048/public_html/blog/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:252
248| */
249| public function link($target, $link)
250| {
251| if (! windows_os()) {
> 252| return symlink($target, $link);
253| }
254|
255| $mode = $this->isDirectory($target) ? 'J' : 'H';
256|
Exception trace:
1 symlink("/home4/dan18048/public_html/blog/storage/app/public","/home4/dan18048/public_html/blog/public/storage")
/home4/dan18048/public_html/blog/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:252
2 Illuminate\Filesystem\Filesystem::link("/home4/dan18048/public_html/blog/storage/app/public", "/home4/dan18048/public_html/blog/public/storage")
/home4/dan18048/public_html/blog/vendor/laravel/framework/src/Illuminate/Foundation/Console/StorageLinkCommand.php:35
I believe you have to access the terminal and create the symlink manually
– Leonardo Barros
I have access to the terminal, but I don’t know how to create the symlink manually. tried a few things here searching but don’t know how to tell the directories correctly tbm
– Daniel Santos
Something like that
ln -s /diretorio/storage /diretorio/public/storage
– Leonardo Barros
Thanks, I got :D
– Daniel Santos