Hi There,,
We have a new installation using version 6.6 , and we need to use our NAS as our storage . We have mounted it to : say /home/dataverse_file_nas ,, but when i try to upload via web application, the files appeared after i uploaded it, but when i try to save, i got : Failed to save the file, storage id file://197c54bcb31-57a5d045ce55 (/home/dataverse_file_nas /20.5xxxxxx/xxxxxxx
in the mount directory, the folder named persistent identifier was created, and file appeared there with md5 name as usual but with 0 bytes. But, again, the file failed to save, and not appeared in dataset's files section.
can anybody help me? i tried to create, edit, copy, and delete file manually using dataverse service user on the server, there's no issue, dataverse user have enough permission to the directories .
Hmm, is SELinux enabled? It is preventing the saving of files on your NAS?
i disabled the SELinux , and sestatusshows me SELinux status:                 disabled but the upload is still failed
Can you double check what user your Payara server is running with?
Oliver Bertuch said:
Can you double check what user your Payara server is running with?
ps -ef result show this :
dataver+    2340       1  2 Jul01 ?        00:20:06 /usr/lib/jvm/java-17-openjdk                                                                                                             -17.0.15.0.6-3.el9.x86_64/bin/java -cp /usr/local/payara6/glassfish/domains/doma                                                                                                             in1/lib/ext/*:/usr/local/payara6/glassfish/modules/glassfish.jar -XX:+UnlockDiag
this is what i get after upload via web app :
# ls -lth
total 1.5K
-rwxr-xr-x 0 dataverse dataverse  0 Jul  2 10:20 197c926b1d5-6e93970258d0
if i try to edit the file with vim , it says permission denied :
"197c926b1d5-6e93970258d0" [Permission Denied]
Can you double check it's not SELinux causing you trouble? https://access.redhat.com/articles/2191331
Also, you're mounting the filesystem from a NAS. What are you using? NFS? SMB? iSCSI + FS? Something else?
we tried many settings but no result. Our case was using CIFS. Now we move to NFS and everything's running well.
Last updated: Oct 30 2025 at 06:21 UTC