Look at the nginx logs to see why the image is not found. Also, how are you accessing the image? You may be in need of checking that a beginning forward slash is in the path.
Jan 2, 2018
7
Level 3
Avatar working locally, but not on Forge / Digital Ocean... linking issue?
My avatar upload is working locally, and it looks like the upload on Forge is working as well, but I'm not able to access the avatar images on the server - locally no problem.
Files are being uploaded to ~/dev.site.com/storage/app/public/avatars I can see the link in the ~/dev.site.com/public directory:
lrwxrwxrwx 1 forge forge 46 Jan 2 20:30 storage -> /home/forge/dev.site.com/storage/app/public
I ran the php artisan storage:link command on the forge server, which I'm sure created that link.
Any ideas why can't access the images like I can locally?
Please or to participate in this conversation.