Thanks, it worked for me when I was sorting out the error 500 too, "You can fix this problem by adding "ReadWritePaths=[dspace]" to tomcat service file under the service section. For ubuntu, you can find at /lib/systemd/system/tomcat9.service. Then, please execute the following commands:
systemctl daemon-reload service tomcat9 restart After this operation, I uploaded files successfully" On Sunday, January 2, 2022 at 6:18:20 PM UTC+3 [email protected] wrote: > You can fix this problem by adding "ReadWritePaths=[dspace]" to tomcat > service file under the service section. For ubuntu, you can find > at /lib/systemd/system/tomcat9.service. Then, please execute the following > commands: > > systemctl daemon-reload > > service tomcat9 restart > > After this operation, I uploaded files successfully > > On Thursday, November 25, 2021 at 8:33:42 AM UTC+3 [email protected] wrote: > >> Dear All, >> I had the same problem. Try the following just give permission to >> your dspace angular folder >> >> *chown -R tomcat:tomcat /home/dspace-7-angular/* >> >> Then it worked for me. >> >> >> Thanks >> >> M. Jayakananthan (BSc, MSc) >> Research Data Librarian >> International Water Management Institute >> 127, Sunil Mawatha, Pelawatte, Battaramulla, Colombo, Sri Lanka >> [email protected], [email protected] >> +94773457556 <+94%2077%20345%207556> >> >> >> >> >> On Thu, 25 Nov 2021 at 06:54, Inácio Oliveira <[email protected]> wrote: >> >>> Hello everyone, >>> >>> Someone managed to fix this problem. I have the same problem. I >>> installed Dspace7 on ubuntu 20 on AWS, the api and UI interface are working >>> on https perfectly, but I can't upload. >>> >>> Em segunda-feira, 25 de outubro de 2021 às 10:07:52 UTC-4, Zhongping Yan >>> escreveu: >>> >>>> Make sure DSpace backend has write permission on the server. >>>> >>>> On Monday, October 25, 2021 at 5:22:39 AM UTC-4 Anda wrote: >>>> >>>>> Hello! >>>>> >>>>> Maybe someone has found a solution for this problem. We use Ubuntu, >>>>> but can not upload files. >>>>> >>>>> Thanks! >>>>> Regards, >>>>> Anda >>>>> >>>>> trešdiena, 2021. gada 18. augusts 18:40:38 UTC+3 >>>>> [email protected] rakstīja: >>>>> >>>>>> Hi Mathieu! Not really. I had that problem using Debian, and the only >>>>>> way I found after several hours of trying was to install dspace on >>>>>> windows >>>>>> >>>>>> El mié, 18 de ago. de 2021 a la(s) 11:45, Mathieu Pelletier ( >>>>>> [email protected]) escribió: >>>>>> >>>>>>> Hi there, Nicolas, >>>>>>> >>>>>>> Did you ever find your solution? I am struggling with this problem >>>>>>> as well. Everything else seems to be working okay, but I cannot upload >>>>>>> a >>>>>>> file when creating an item. The browser console is not yielding >>>>>>> anything >>>>>>> helpful. >>>>>>> >>>>>>> All the best, >>>>>>> Mathieu >>>>>>> >>>>>>> On Friday, 2 July 2021 at 18:28:56 UTC+2 [email protected] >>>>>>> wrote: >>>>>>> >>>>>>>> Hello, i've an issue after installing dpsace, while trying to >>>>>>>> upload a file in a new item. >>>>>>>> After progressbar finished, apperas an error message (Upload >>>>>>>> failed), and in the browser console gets this response, with 201 >>>>>>>> status >>>>>>>> code. >>>>>>>> >>>>>>>> 1. {id: 33, errors: [{message: >>>>>>>> "error.validation.required",…},…],…} >>>>>>>> 1. errors: [{message: "error.validation.required",…},…] >>>>>>>> 1. 0: {message: "error.validation.required",…} >>>>>>>> 2. 1: {message: "error.validation.filerequired", paths: >>>>>>>> ["/sections/upload"]} >>>>>>>> 3. 2: {message: "*java.io.IOException: *No existe el >>>>>>>> fichero o el directorio", paths: ["/sections/upload"]} >>>>>>>> 1. message: "java.io.IOException: No existe el fichero >>>>>>>> o el directorio" >>>>>>>> 2. paths: ["/sections/upload"] >>>>>>>> 2. id: 33 >>>>>>>> 3. lastModified: "2021-07-02T16:04:41.403+0000" >>>>>>>> 4. sections: {license: {url: null, acceptanceDate: null, >>>>>>>> granted: false}, upload: {files: []},…} >>>>>>>> 5. type: "workspaceitem" >>>>>>>> 6. _embedded: {,…} >>>>>>>> 7. _links: {,…} >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I've installed dpsace in a debian server, following all the >>>>>>>> installation steps, without any problem. But, in my dspace log havnt't >>>>>>>> any >>>>>>>> file. After this, change log4j2 log level to debbug but nothing >>>>>>>> happens, >>>>>>>> and in catalina.out log file gets this 2 errors: >>>>>>>> >>>>>>>> >>>>>>>> 1) >>>>>>>> >>>>>>>> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,223 main ERROR >>>>>>>> Null object returned for RollingFile in Appenders. >>>>>>>> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,236 main ERROR >>>>>>>> Null object returned for RollingFile in Appenders. >>>>>>>> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,292 main ERROR >>>>>>>> Unable to locate appender "A1" for logger config "root" >>>>>>>> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,294 main ERROR >>>>>>>> Unable to locate appender "A1" for logger config "org.dspace" >>>>>>>> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,295 main ERROR >>>>>>>> Unable to locate appender "A2" for logger config "org.dspace.checker" >>>>>>>> >>>>>>>> >>>>>>>> 2) >>>>>>>> java.lang.IllegalArgumentException: Se encontró un carácter >>>>>>>> inválido en el nombre del método. Los nombres de métodos HTTP deben >>>>>>>> ser >>>>>>>> tokens >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:416) >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:260) >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>>>>>> [2021-07-02 12:13:55] [info] at >>>>>>>> java.base/java.lang.Thread.run(Thread.java:829) >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> any idea? >>>>>>>> Thanks in advance >>>>>>>> >>>>>>>> >>>>>>>> Nicolás >>>>>>>> >>>>>>>> -- >>>>>>> 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/6VIGe9xk2oY/unsubscribe >>>>>>> . >>>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>>> [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/dspace-tech/fec1a3fc-5f53-4cbd-b79f-cf512e8aa568n%40googlegroups.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/dspace-tech/fec1a3fc-5f53-4cbd-b79f-cf512e8aa568n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>> -- >>> 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 Technical Support" group. >>> >> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/dspace-tech/5d9c603c-73b7-415e-881d-d12663105c7dn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/dspace-tech/5d9c603c-73b7-415e-881d-d12663105c7dn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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 Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/391661eb-6903-422b-b152-3809b59cdfa1n%40googlegroups.com.
