Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage Issue AWS EC2 #3917

Closed
jashanpj opened this issue Jan 26, 2019 · 9 comments
Closed

Storage Issue AWS EC2 #3917

jashanpj opened this issue Jan 26, 2019 · 9 comments

Comments

@jashanpj
Copy link

jashanpj commented Jan 26, 2019

screen shot 2019-01-25 at 10 23 48 pm
##Version
Laravel Framework 5.7.22
PHP 7.1.16

Description

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’t 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?

screen shot 2019-01-25 at 10 23 48 pm

@emptynick
Copy link
Collaborator

Please fill out the version informations, especially Voyagers.
There was a fix recently to this problem.

@jashanpj
Copy link
Author

jashanpj commented Jan 26, 2019

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"
},

@emptynick
Copy link
Collaborator

That's not the whole Voyager version. It's written in the footer

@jashanpj
Copy link
Author

That's not the whole Voyager version. It's written in the footer

  • v1.1.11

@emptynick
Copy link
Collaborator

Did you update from a previous version, or did you install 1.1.11 fresh?

@jashanpj
Copy link
Author

Did you update from a previous version, or did you install 1.1.11 fresh?

I installed fresh.

@emptynick
Copy link
Collaborator

emptynick commented Jan 26, 2019

Try to run php artisan vendor:publish --tag=voyager_avatar
But I'm a bit confused by the double-slash. Check your storage-config.

@jashanpj
Copy link
Author

Yes the issue is fixed,
I set the permission 775 to the root folder
then run the php artisan vendor:publish command.

@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants