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

What is the difference between "Local", "Local (default)", and "file" for the Storage option #98

Open
markwilkinson opened this issue Oct 10, 2024 · 2 comments

Comments

@markwilkinson
Copy link

Hi!

Running the vanilla docker, v. 5.13 build 1244-79d6e57

I'm configuring my root dataverse, and one of the options is "Storage". The dropdown has "Local", "Local (default)", and "file" as choices.

What is the difference between them? I thought that dataverse was, by default, file... so are they all the same thing?

My next question will be related to this one...

@pdurbin
Copy link
Member

pdurbin commented Oct 10, 2024

For what it's worth, we see the same confusion with our demo compose file at https://guides.dataverse.org/en/6.4/container/running/demo.html

Screenshot 2024-10-10 at 4 15 30 PM

Screenshot 2024-10-10 at 4 15 27 PM

I don't know about this dataverse-docker repo but over at https://github.com/IQSS/dataverse/blob/v6.4/docker/compose/demo/compose.yml we just have the one file store, which on the filesystem.

It's defined like this:

-Ddataverse.files.storage-driver-id=file1
-Ddataverse.files.file1.type=file
-Ddataverse.files.file1.label=Filesystem
-Ddataverse.files.file1.directory=${STORAGE_DIR}/store 

So that's where "Filesystem" is coming from in the upstream repo. In this dataverse-docker repo, I'm not sure where the "Filesytem" label is coming from. 🤔

As for "Local"... I'm not sure where it comes from.

For another view we can use http://localhost:8080/api/admin/dataverse/storageDrivers which shows this:

{
  "status": "OK",
  "data": {
    "Local": "local",
    "Filesystem": "file1"
  }
}

I added this to the agenda of our next Containerization working group meeting because I'm curious if anyone else there knows what's going on. 😅

(@markwilkinson you're welcome to come to these meetings if you like!)

@markwilkinson
Copy link
Author

@pdurbin I would probably enjoy that! But... you would have to arrange with the Supreme Being to add a few more hours to the day... ;-)

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