
Laravel Framework 5.7.22
PHP 7.1.16
Avatar is not loading in voyager deployed in aws ec2. storage/user/default.png file is returning a 404 error.
When I checked the directory such a file doesn鈥檛 exist. Then I manually created and tested, still the 404. I think some kind of permission problem with read/write.
How can I fix the issue?

Please fill out the version informations, especially Voyagers.
There was a fix recently to this problem.
Please fill out the version informations, especially Voyagers.
There was a fix recently to this problem.
Laravel Framework 5.7.22
PHP 7.1.16
Voyager - v1.1.11
this is what composer.json says
"require": {
"php": "^7.1.3",
"fideloper/proxy": "^4.0",
"laravel/framework": "5.7.*",
"laravel/tinker": "^1.0",
"tcg/voyager": "^1.1"
},
That's not the whole Voyager version. It's written in the footer
That's not the whole Voyager version. It's written in the footer
Did you update from a previous version, or did you install 1.1.11 fresh?
Did you update from a previous version, or did you install 1.1.11 fresh?
I installed fresh.
Try to run php artisan vendor:publish --tag=voyager_avatar
But I'm a bit confused by the double-slash. Check your storage-config.
Yes the issue is fixed,
I set the permission 775 to the root folder
then run the php artisan vendor:publish command.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Most helpful comment
Yes the issue is fixed,
I set the permission 775 to the root folder
then run the
php artisan vendor:publishcommand.