Report this

What is the reason for this report?

Symbolic link not allowed or link target not accessible in laravel (Plesk in ubuntu 18)

Posted on March 7, 2021

Hi all,

I am tryign to host my app in ubuntu server with Plesk. I also have ran php artisan storage:link command for create Symbolic for my storage folder in laravel. But I cannot access my images that I have uploaded to my storage folder Symbolic to public/storage folder. Its says 403 error. Then I check my server error log. It has below warning.

Symbolic link not allowed or link target not accessible

Anyone can help me on this?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @edexercom,

The Symbolic Link needs to be owned by the same user and group that’s owning the Website Folder otherwise you won’t be able to access it.

To give you the proper answer, I’ll recommend providing a little bit more information such as the permissions and ownerships of the folders that lead to the symbolic link. It’s 99% a permissions/ownership issue!

Regards, KFSys

Hi @KFSys

Here is the permission view Click Here

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.