DSpace 7.6.2 - An error occurred while creating this process

140 views
Skip to first unread message

Diego Brice

unread,
Sep 17, 2024, 3:19:13 AM9/17/24
to DSpace Technical Support
Hello everyone.

I have DSpace 7.6.2 installed on an Ubuntu 20 server. I had no problems installing it, and all the features seem to work: login, indexing, searching, importing SAF, etc. I can also connect to the HAL browser.

The incident is related to two particular features:

1- Modify access control to a collection


Screenshot 2024-09-17 144544.png

Screenshot 2024-09-17 144720.png

2- The same situation when requesting a copy using the User Interface.

Checking the dspace.log file, I see these lines:

2024-09-17 04:01:48,344 INFO  3e6d5308-d4dc-4221-8201-3a8f6da9f278 55ad848a-f8dc-4e2c-8a0a-0c77db1b9efc org.dspace.scripts.service.ProcessService @ anonymous::process_create:Process has been created for eperson with email x...@gmail.com with ID 21 and scriptName bulk-access-control and parameters [-f data.json, -u 5855f3d0-6a3c-42b8-a5b3-b325c75b0d9c]
2024-09-17 04:01:48,352 ERROR 3e6d5308-d4dc-4221-8201-3a8f6da9f278 55ad848a-f8dc-4e2c-8a0a-0c77db1b9efc org.dspace.storage.bitstore.DSBitStoreService @ put(51497908083867010478381507193054127156, inputstream)
java.io.IOException: No such file or directory


What file is missing?

Thanks in advance.

Diego

Diego Brice

unread,
Sep 18, 2024, 7:40:19 AM9/18/24
to DSpace Technical Support
Just to add more context, after installing DSpace, I submitted only a couple of documents, and I could execute both processes. Then, I imported 800 documents, and it no longer worked.

mw...@iu.edu

unread,
Sep 18, 2024, 8:20:11 AM9/18/24
to dspac...@googlegroups.com
On Wed, Sep 18, 2024 at 11:40:19AM +0000, Diego Brice wrote:
> You don't often get email from diego...@gmail.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
> Just to add more context, after installing DSpace, I submitted only a couple of documents, and I could execute both processes. Then, I imported 800 documents, and it no longer worked.
>
> El martes, 17 de septiembre de 2024 a la(s) 3:19:13 p.m. UTC+8, Diego Brice escribió:
> Hello everyone.
>
> I have DSpace 7.6.2 installed on an Ubuntu 20 server. I had no problems installing it, and all the features seem to work: login, indexing, searching, importing SAF, etc. I can also connect to the HAL browser.
>
> The incident is related to two particular features:
>
> 1- Modify access control to a collection
>
>
> [Screenshot 2024-09-17 144544.png]
>
> [Screenshot 2024-09-17 144720.png]
>
> 2- The same situation when requesting a copy using the User Interface.
>
> Checking the dspace.log file, I see these lines:
>
> 2024-09-17 04:01:48,344 INFO 3e6d5308-d4dc-4221-8201-3a8f6da9f278 55ad848a-f8dc-4e2c-8a0a-0c77db1b9efc org.dspace.scripts.service.ProcessService @ anonymous::process_create:Process has been created for eperson with email x...@gmail.com with ID 21 and scriptName bulk-access-control and parameters [-f data.json, -u 5855f3d0-6a3c-42b8-a5b3-b325c75b0d9c]
> 2024-09-17 04:01:48,352 ERROR 3e6d5308-d4dc-4221-8201-3a8f6da9f278 55ad848a-f8dc-4e2c-8a0a-0c77db1b9efc org.dspace.storage.bitstore.DSBitStoreService @ put(51497908083867010478381507193054127156, inputstream)
> java.io.IOException: No such file or directory
>
> What file is missing?

It *is* a bit obscure, yes. The name of the file is that long number
inside of 'put(...)' and the path is within the 'assetstore'
directory. The easiest way to know the assetstore directory is to run
'bin/dspace dsprop -property assetstore.dir'.

Files in an assetstore are distributed over a fairly shallow tree of
directories named for successive pairs of digits in their names. So
the path of the file named above, within the assetstore, is
'51/49/79/51497908083867010478381507193054127156'.

See
https://wiki.lyrasis.org/display/DSDOC7x/Storage+Layer#StorageLayer-BitstreamStore
or `BaseBitStoreService.java` and `DSBitStoreService.java`for the details.

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
library.indianapolis.iu.edu
signature.asc

Diego Brice

unread,
Sep 18, 2024, 11:30:02 PM9/18/24
to DSpace Technical Support
Thanks, Mark. The issue was related to a file access permission in the asset store folder.
Reply all
Reply to author
Forward
0 new messages