DSPACE 7.4 Upload failed

133 views
Skip to first unread message

Jan Broulím

unread,
Feb 13, 2023, 4:43:47 AM2/13/23
to DSpace Technical Support
Hello,
I am currently testing managing collections in DSpace 7.4. When I try to upload a new file (New -> Item within some collection), it crashes with "Upload failed" announcement.
Tested in several browsers.
Any suggestion for this will be useful.
Thank you!
Jan

Tim Donohue

unread,
Feb 13, 2023, 1:53:14 PM2/13/23
to DSpace Technical Support
Hi Jan,

Please use our "Troubleshoot an error" guide to try to locate the underlying error message: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

The "Upload failed" announcement is just a user-facing notice, and it doesn't tell us what the core problem may be.  So, you should look for more specific error messages on either the frontend or backend by following the troubleshooting guide.  Once you find the detailed error, if you cannot figure out a solution, you can send it this email list and someone here may be able to help.

Tim

Jan Broulím

unread,
Feb 16, 2023, 5:13:43 AM2/16/23
to Tim Donohue, DSpace Technical Support
Hi,

I did it. In browser I could see the following:
 
ERROR TypeError: Cannot read properties of undefined (reading 'fields')
    at B.inCurrentSubmissionScope (8791.36a9645826b35dd8.js:1:86666)
    at 8791.36a9645826b35dd8.js:1:86100
    at Array.forEach (<anonymous>)
    at B.hasMetadataEnrichment (8791.36a9645826b35dd8.js:1:86027)
    at B.updateForm (8791.36a9645826b35dd8.js:1:87648)
    at Object.next (8791.36a9645826b35dd8.js:1:88694)
    at y.next (main.5740e328184b19c8.js:1:2546224)
    at E._next (main.5740e328184b19c8.js:1:2545908)
    at E.next (main.5740e328184b19c8.js:1:2545603)
    at main.5740e328184b19c8.js:1:2558942

Jan

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/7YrTSCU-FQc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/6ea6bd74-0555-42e8-bf16-0e4c4960a54dn%40googlegroups.com.

Matúš Formanek

unread,
Feb 17, 2023, 3:47:07 AM2/17/23
to DSpace Technical Support
Hello. Check the ownership of the folders in dspace assetstore. Tomcat maybe cannot write there. 

sudo chown tomcat:tomcat /dspace/assetstore/ -R
Dátum: štvrtok 16. februára 2023, čas: 11:13:43 UTC+1, odosielateľ: Jan Broulím

Jan Broulím

unread,
Feb 23, 2023, 3:45:23 AM2/23/23
to Matúš Formanek, DSpace Technical Support
Hi,
thanks for the idea, it helped. The main problem was not the ownership, but the following:
/etc/systemd/system/tomcat9.service.d/override.conf has to contain a ReadWrite path for assetstore (for Debian systems).
Jan

Reply all
Reply to author
Forward
0 new messages