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

WebApp blank, Incorrect ACL setting for Google Cloud Bucket #37

Closed
mixuala opened this issue Nov 27, 2017 · 2 comments
Closed

WebApp blank, Incorrect ACL setting for Google Cloud Bucket #37

mixuala opened this issue Nov 27, 2017 · 2 comments

Comments

@mixuala
Copy link

mixuala commented Nov 27, 2017

I followed the install/usage script closely and was able to get the demo to work. However, I had a problem with ACLs for the videos uploaded to Google Cloud

I used these commands to create my GCS Bucket

export RL_TEACHER_GCS_BUCKET="gs://rl-teacher-<YOUR_NAME>"
gsutil mb $RL_TEACHER_GCS_BUCKET
gsutil defacl ch -u AllUsers:R $RL_TEACHER_GCS_BUCKET

But the files in the bucket were not accessible to AllUsers. The human-feedback-api webapp would only display blanks where the videos were to appear. I went back and ran this command to allow AllUsers:R

gsutil acl ch -u AllUsers:R $RL_TEACHER_GCS_BUCKET
@nottombrown
Copy link
Owner

Interesting. Does this resolve #36 ? If so, please make a PR to update the README with the correct commands. Thanks!

@mixuala
Copy link
Author

mixuala commented Dec 5, 2017

It's the opposite, #36, resolves this bug. Perhaps the GCP bucket error message was not accurate

@mixuala mixuala closed this as completed Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants