Laravel: 404 for /storage/file.jpg — symlink(): No such file or directory / The [public/storage] link already exists
Uploaded files stored in storage/app/public aren't reachable because the public/storage symlink doesn't exist or points to the wrong place.
The [public/storage] link already existssymlink(): No such file or directory storage:linkERROR The [public/storage] link already exists.storage link 404 Laravel images not showingsymlink(): Protocol error Meaning
Run php artisan storage:link on each environment (it isn't committed). If the link already exists but is broken (moved server/path), delete it and recreate. On shared hosting without shell, create the link via a route or copy files; on Windows needs privileges.
Common causes
storage:linknever run on this server- Broken symlink after moving the project
FILESYSTEM_DISK/APP_URLmismatch- Symlinks disabled on the host
- Public folder deployed separately
⚡ Quick fix
php artisan storage:link- If it exists:
rm public/storage && php artisan storage:link - Set
APP_URLcorrectly for generated URLs
Detailed fix by platform
Laravel
ls -l public/ | grep storage && php artisan storage:link
How to diagnose
- Link — public/storage exists and resolves?
- Disk — public disk used?
- URL — APP_URL correct?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Laravel
- MassAssignmentException Laravel: Illuminate\Database\Eloquent\MassAssignmentException: Add [x] to fillable property to allow mass assignment
- The GET method is not supported for route Laravel: The GET method is not supported for route x. Supported methods: POST (MethodNotAllowedHttpException)
- Route [login] not defined Laravel: Symfony\Component\Routing\Exception\RouteNotFoundException: Route [login] not defined
Other ways to find it
Where this error sits
Origin: Application & API. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 4 Nov 2026