Another PS: In the installation now when trying to upload a file through the web interface, the file is not staged (similar to the issue described here: https://groups.google.com/g/dataverse-community/c/7pbPBOnix7M/m/ZIznjSFqAwAJ), so no file upload is possible. Not sure if that is related?
Weird. Any errors in Payara's server.log? You could try docker logs dataverse-1 (I think it's dataverse-1. You can do a docker ps to get the name of the container.)
Sorry, again missed the reply due to the move to the new channel, and thanks for the hint: it says "Temp directory is not configured."
and before "Failed to create filesTempDirectory: /dv/temp"
The /dv-folder exists but creating a subfolder is not permitted (also not manually). There is no /dv/temp.
Hmm, yes, that would explain why you can't upload files.
Can you mount /dv differently, with write permission?
I'm not sure why you're seeing this. :thinking:
I tried a chmod, but it is not permitted
entered the container now as root, changed to write permissions on /dv and added a /temp, but now the new error is "Failed to process and/or save the file km3net_logo_trans.png; /dv/temp/tmp16526284070961205053upload"
OK, now I manually created /dv/temp from root, changed permission to a+w, and now it works
Oh, great!
But what happens the next time you spin up Dataverse in Docker? You'd have to do those steps manually?
I hope not :) Anyhow, with the changes from Oliver I try not to touch the containers again...
Thanks again for the help!
Sure. I wonder what's different about your setup. I'm on a Mac and it works fine. The test runners in GitHub Actions are Ubuntu and it works fine.
The main place where we're seeing problems in this area is Windows.
I am not so deep into containers, so not sure where the permission problems come from
Yeah, me neither. :sweat_smile:
Could still hope that it's only an issue because there is something strange in my setup...
well, the celebration was premature. Staging now works, but saving not - "Error. Failed to add files to dataset ..."
The error: "java.lang.RuntimeException: Error creating temp directory" and "failed to save the file"
Summary: After changing the permissions not only in /dv/temp but also for /dv to all, storage of the file works (in /dv/store). The java exception was caused by trying to upload a logo for the theme.
A theme for a collection/dataverse, I suppose.
for the root dataverse, yes.
There are probably even more places where temp directories are created so we should fix this. :sweat_smile:
I'm hoping one of the people who know Docker better (Oliver or Guillermo) can help next week.
Thanks! So far we can live with the dataverse logo :wink:
Last updated: Oct 30 2025 at 05:14 UTC