Sherry,
You shouldn’t need to do anything to the bucket definition – just create another S3 store (different id, different label) in Dataverse pointing to the same bucket and having a different max upload size.
With that second store, admins can use the UI (Dataverse/Edit/GeneralInfo) to select a different store or can use the API to change the store just for a single dataset. When this is done, new files go to the new store (which is the same bucket as before) – no existing files are affected.
-- Jim
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dataverse-commu...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/dataverse-community/b1b2c005-1be4-4a11-8479-e8a7e2dbfca9n%40googlegroups.com.
Sherry,
Sorry for the delay – hopefully you’ve solved this by now.
You need to duplicate all the entries you have for the other store, i.e. if your main store is called regular and you have jvm options like "-Ddataverse.files.regular.*=<value>” you can do your grep:
bin/asadmin list-jvm-options | grep regular
and just create new jvm options that mirror all your entries - except for the label which should still be unique. (There are some like dataverse.files.<id>.ingestsizelimit that you might also want different between the stores.)
The list of possible values fir these jvm options (hopefully complete) is at https://guides.dataverse.org/en/latest/installation/config.html#list-of-s3-storage-options. The ones related to profile and custom-endpoint are some that might result in an error like you saw.
The change in the max file upload size per store is all handled by the :MaxFileUploadSizeInBytes setting which can be configured to have different limits per store. Harvard has something like
{
"s3m":"5000000000",
"s3l":"10000000000",
"s3xl":"25000000000",
"s3xxl":"50000000000"
}
for that setting (there are some others – this is a subset).
To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/2ec5e530-e654-4efa-816b-bda284d7173fn%40googlegroups.com.