symlink(): "File exists" or "No such file or directory"

Problem

This issue occurs when a Laravel project is moved or copied to another folder. Specifically, the problem arises when a website is transferred to a new server while carrying over the symbolic link /public/storage, which should not be copied between servers due to UNIX or DOS architecture differences.

Additionally, some compression tools may convert the /public/storage symlink into an actual folder rather than maintaining it as a symbolic link.

Solution

To resolve this issue, delete the symbolic link or folder located at /public/storage that was generated on a different server with an invalid path for your current environment.

The symbolic link will be automatically regenerated by the system.

If your server has restrictions preventing this action, consult the support article on image display issues for additional guidance.

Was this article helpful?

Thank you for your feedback!

Still need help? Create a support ticket

Create a Ticket

Common Issues

Mar 24, 2026