-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Importing files from user-defined AWS S3 bucket not working #18750
Comments
I briefly looked at the upload of data from a public S3 bucket, and it works fine. I added the same bucket, 1000genomes, to user preferences through The bucket name should be plain without the Can you give this a try? --EDIT--
Tracebacks from the handler logs would help debug your problems. |
Thanks a lot. Just specifying the bucket without This is quite a nice feature for my use-case. In my current set up, changes made to the S3 bucket (i.e. file deletions or creations) are not reflected in the Galaxy UI. Is there a way to force Galaxy to read in the file directory each time a user browses the bucket? |
@Slushy-seg the files should be visible as soon as they are created. Can you look with a different viewer into your S3 and see if the files are really there? |
You probably want to set a |
|
Any idea were to set this parameter @mvdbeek ? |
This would require a change in the s3fs file-source plugin likely in this class as a property that can be passed to the open_fs function, as a default value for everyone globally. |
I have set up a Galaxy to allow users to add their own remote storage locations (private and public AWS S3 buckets). For that I used the
file_source_templates_config_file
configuration and added the template for private & public AWS S3 buckets (from https://docs.galaxyproject.org/en/latest/admin/data.html#file-source-templates).On Galaxy, the user preference to set up a (private or public) AWS bucket is shown correctly and the set up works as intended. Now, the user can select files from the bucket through "Upload" => "Choose remote files". When selecting a file and triggering the import, the import fails.
Galaxy Version: 24.1
(same behavior on usegalaxy.eu)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Files imported from a user defined private S3 bucket are stored in the user's history.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
file_sources.yml
does work as expected. Using a public bucket also defined infile_sources.yml
(e.g. s3://1000genomes/) as a user defined bucket does not work with user templates.The text was updated successfully, but these errors were encountered: