DSpace XMLUI Batch-Importer: Import fails (No such file or directory) / Error: Permission denied

285 Views Asked by At

So when i try to upload the zip file without changing the data sometimes it works and sometimes it does not, i get the following errors with the same data input:

ERROR org.dspace.app.itemimport.ItemImport @ AddItems encountered an error, will try to revert. Error: Permission denied ---> weird thing is sometimes it goes through and other times i get this issue. Which leaves me at a loss, permissions and everything was checked.

Has anyone had this issue?

OS : Ubuntu Application : Dspace Module : Import Batch Load (ZIP)

1

There are 1 best solutions below

1
On

Too bad it doesn't say where permission was denied. But my first guess would be: look through the assetstore directory tree for directories that are owned by some account other than the one that runs DSpace -- for example, root. Running the command-line ingestion tools as a different user can cause such issues, because this will create any necessary new directories with the wrong ownership.