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

Store sample SQLite file in a new location #4

Open
shntnu opened this issue Jan 14, 2022 · 9 comments
Open

Store sample SQLite file in a new location #4

shntnu opened this issue Jan 14, 2022 · 9 comments

Comments

@shntnu
Copy link
Member

shntnu commented Jan 14, 2022

https://github.com/cytomining/pipeline-examples/blob/main/0.download.sh

aws s3 cp s3://imaging-platform/projects/2018_05_30_ResistanceMechanisms_Kapoor/workspace/backend/2020_07_02_Batch8/218360/218360.sqlite data/218360.sqlite
is in Intelligent Tiering mode. We should move this to a new location that will not get (eventually) glaciered

@bethac07
Copy link
Member

(and is also public)

@shntnu
Copy link
Member Author

shntnu commented Apr 14, 2022

image
It seems to be public already unless you did this just now @bethac07

@bethac07
Copy link
Member

bethac07 commented Apr 14, 2022 via email

@bethac07
Copy link
Member

Hmmm, still getting this error though after I have removed my aws credentials -

wm57d-d6c: bcimini$ aws s3 cp s3://imaging-platform/projects/2018_05_30_ResistanceMechanisms_Kapoor/workspace/backend/2020_07_02_Batch8/218360/218360.sqlite /Users/bcimini/Desktop/test/218360.sqlite
fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden

@bethac07
Copy link
Member

bethac07 commented Apr 14, 2022

🤔

I added read to the "Object ACL" (was previously only in the "Object" column), still same 403 forbidden error.

image

(I ruled out just a typo in my string by re-getting the s3uri right from the web console.)

@bethac07
Copy link
Member

🤔

Ruled out the "and not blocked by Public Access settings" part of the clause in your screenshot

image

@bethac07
Copy link
Member

Ah; I had before just put in garbage credentials, when I put in good credentials that just can't access this account (a brand new set that I made in one of the new otherwise still unused AWS accounts for my lab, I can download fine. So this user just doesn't have any good credentials in there, probably.

@shntnu
Copy link
Member Author

shntnu commented Apr 14, 2022

Ah; I had before just put in garbage credentials, when I put in good credentials that just can't access this account (a brand new set that I made in one of the new otherwise still unused AWS accounts for my lab, I can download fine. So this user just doesn't have any good credentials in there, probably.

This is fixed in #5

@shntnu
Copy link
Member Author

shntnu commented Apr 14, 2022

  • figure out where this example data should live

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