Error in metadata import or any other single upload from UI but it works through CLI

132 views
Skip to first unread message

GOOGLY

unread,
Apr 22, 2025, 7:36:58 AM4/22/25
to DSpace Community
Screenshot 2025-04-22 115342.png


Screenshot 2025-04-22 125109.png

Wbeimar Cano Restrepo

unread,
Apr 22, 2025, 8:43:22 AM4/22/25
to GOOGLY, DSpace Community
please, try upload pdf, maybe this error is for in folder name in tomcat, try upload file. and take a picture

El mar, 22 abr 2025 a las 6:36, GOOGLY (<omgup...@gmail.com>) escribió:
Screenshot 2025-04-22 115342.png


--
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 the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-community/ed409a3a-8561-4d4d-ae32-2f1b682244d5n%40googlegroups.com.


--
Wbeimar Cano Restrepo
Skype:wbeimar.cano.restrepo

GOOGLY

unread,
Apr 23, 2025, 1:38:28 AM4/23/25
to DSpace Community
Screenshot 2025-04-23 110623.png

Wbeimar Cano Restrepo

unread,
Apr 23, 2025, 11:13:16 AM4/23/25
to GOOGLY, DSpace Community
for this problem, the possible solution is this 

Specify the DSpace installation path to Tomcat. Open the following file,
1. nano /lib/systemd/system/tomcat9.service

Find the category, #Security,
Add the following line at the last portion,

2. ReadWritePaths=/dspace

Save and close the file.

Restart Tomcat,
sudo systemctl restart tomcat9.service

If it shows the following message,

Warning: The unit file, source configuration file or drop-ins of tomcat9.service changed on disk. Run 'systemctl daemon-reload to reload units.

Apply the following command,

4. sudo systemctl daemon-reload

Again try to restart the Tomcat,

5. sudo systemctl restart tomcat9.service

GOOGLY

unread,
Apr 24, 2025, 1:00:37 AM4/24/25
to Wbeimar Cano Restrepo, DSpace Community

After these changes, the file upload issue is resolved, but the metadata upload issue remains unresolved

GOOGLY

unread,
Apr 24, 2025, 1:07:05 AM4/24/25
to Wbeimar Cano Restrepo, DSpace Community

Thank you so much—all issues have been resolved

Wbeimar Cano Restrepo

unread,
Apr 24, 2025, 1:11:48 AM4/24/25
to GOOGLY, DSpace Community

What was the solution?”



Enviado con Gmail Mobile

GOOGLY

unread,
Apr 24, 2025, 1:14:47 AM4/24/25
to Wbeimar Cano Restrepo, DSpace Community

The ReadWritePaths directive was missing from tomcat9.service. After adding it, the issue was resolved.

Wbeimar Cano Restrepo

unread,
Apr 24, 2025, 1:15:33 AM4/24/25
to GOOGLY, DSpace Community
Thank you!
Reply all
Reply to author
Forward
0 new messages