Closed hackdna closed 5 years ago
So this only happens when doing an upload via the API (browser or FTP properly use /mnt/galaxy/upload_store
). The upload_file_from_url()
method works (as you mentioned in #47) but it uses /mnt/galaxy/tmp
for staging the data (which might be coming from here https://github.com/galaxyproject/cloudman/blob/8db478a8d777bcc48ed8c838f1f9de8519a11e60/cm/conftemplates/nginx_galaxy_locations.default#L58). I'm not sure that matters all that much but it would be nice to be certain why it's different than the other two upload options.
But does setting client_body_temp_path
actually work for you? For a 5GB file, I keep getting the error you reported in issue #47.
/etc/nginx/sites-enabled/galaxy.locations
containsupload_store /mnt/galaxy/upload_store;
. However there are no files present in/mnt/galaxy/upload_store
during file uploads and the use of the root volume increases:This is potentially problematic because the total size of the root volume is 20GB and genomic data files can be up to 10GB each or more.
Setting
client_body_temp_path
to/mnt/galaxy/upload_store
allows to avoid filling up the root partition but this may or may not be the right solution.