Re: [dspace-tech] Re: Dspace 7

2021-11-24 Thread Mariyapillai Jayakananthan
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
m.jayakanant...@cgiar.org, mjey...@gmail.com
+94773457556




On Thu, 25 Nov 2021 at 06:54, Inácio Oliveira  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 ing.nicola...@gmail.com
>>> 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 (
 mkpel...@gmail.com) 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 ing.nicola...@gmail.com
> 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+"
>>   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
>> 

Re: [dspace-tech] Re: Dspace 7

2021-11-24 Thread Inácio Oliveira
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 ing.nicola...@gmail.com 
>> 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 (
>>> mkpel...@gmail.com) 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 ing.nicola...@gmail.com 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+"
>   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)

Re: [dspace-tech] Discovery Date Range Queries (DSpace 6)

2021-11-24 Thread Sean Kalynuk
Hi,

You could try using the Solr range query syntax with the Equals comparison:

[2021-03-01 TO 2021-05-31]

DSpace 6.3 uses Solr 4.10.4, so additional information on range queries can be 
found in:

http://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.10.pdf

--
Sean

From: dspace-tech@googlegroups.com  on behalf of 
kpet 
Date: Wednesday, November 17, 2021 at 5:32 AM
To: DSpace Technical Support 
Subject: [dspace-tech] Discovery Date Range Queries (DSpace 6)
Caution: This message was sent from outside the University of Manitoba.
Hello,

I have a DSpace 6.3 installed on a linux machine, using tomcat 9, jre 1.8, ant 
1.10 and maven 3.3.9.

I want to be able to perform a search query via the Discovery interface on a 
date field (e.g. dc.date.available) but for a date range, for example objects 
returned should have dc.date.available between March and May of 2021, i.e. 
dc.date.available >= 2021-03-01 && dc.date.available <= 2021-05-31

I have read the documentation of Discovery on how to add custom search filters 
but the problem is I also want to add a custom relational operator, as in 
"greater than". Currently, I only see Contains, Equals, ID, Not Contains, Not 
Equals, Not ID.

Any help would be greatly appreciated.
--
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 
dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6d8c8661-d9e1-4e19-a6e6-93e17277e73fn%40googlegroups.com.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/YQBPR0101MB5404DCD23DD7AA6613C331F5E8619%40YQBPR0101MB5404.CANPRD01.PROD.OUTLOOK.COM.


[dspace-tech] DSPACE 7 REST API INTEGRATION

2021-11-24 Thread Nicolas Battaglia
Hi everyone

I am working on an integration between dspace and a proprietary system
through REST. My question is about the way to obtain the item_id after
depositing a workflow_item, since I need it for the trace of this
integration.

I can't see in the flow through the angular client inspection and in the
documentation how to do it.
Any ideas?

thanks a lot

Best regards
Nicolas

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAJVJSdAaMVYR9S2gNo06bRVt6%2BRo5nHJ8TCg1sY_1-7Wd-WBtw%40mail.gmail.com.


Re: [dspace-tech] Remove a workspace item

2021-11-24 Thread Alan Orth
Asking again here. Is there any way to delete "abandoned" submissions from
the database? Our editors sometimes accept submissions at the
"Accept/Reject/Edit" step that end up being duplicates or mistakenly
accepted for other reasons. Once they've accepted them there is no way to
reject them, only send them back to the task pool. We have thousands of
these as our repository is over ten years old!

Appreciate any help or stories from the SQL trenches...

On Mon, Oct 11, 2021 at 3:53 PM Alan Orth  wrote:

> Hi all,
>
> I've looked at both of these PRs and unfortunately they are for the
> configurable workflow (aka XML workflow). We are using the basic workflow
> so these won't work for us. That's a real shame because I have thousands of
> abandoned submissions from hundreds of editors over the past twelve years
> and I'd love to find a way to get rid of them. We are on DSpace 6.3.
>
> Regards,
>
> On Fri, Oct 1, 2021 at 7:06 PM 'Alexander Vielhauer' via DSpace Technical
> Support  wrote:
>
>> After testing and rereading the PRs, I can say that the workflow
>> administration (in DSpace7) is limited to workflow items which have been
>> submitted. Sorry for the confusion.
>> On 30/09/2021 18:06, 'Alexander Vielhauer' via DSpace Technical Support
>> wrote:
>>
>> Dear Hrafn,
>>
>> Thank you very much! From the PR I learned that DSpace7 has a handy admin
>> feature for browsing and deleting workflow items - another reason to push
>> for the upgrade! :)
>>
>> Best,
>> Alexander
>> On 24/09/2021 17:35, Hrafn Malmquist wrote:
>>
>> Hello Alexander
>>
>> To the best of my knowledge, there is currently no supported way of doing
>> this using DSpace UI.
>>
>> There are two PRs to DSpace 6 (assuming that's the version you're using)
>> intended to support such functionality:
>> https://github.com/DSpace/DSpace/pull/2200
>> and
>> https://github.com/DSpace/DSpace/pull/2076
>>
>> I've mostly looked at the latter one. It applies only to the XML
>> Configurable Workflow which I could not try out as our production servers
>> only use the basic workflow setup.
>>
>> Unfortunately I can't help you more.
>>
>> Good luck, Hrafn
>>
>>
>> On Fri, Sep 24, 2021 at 4:13 PM 'Alexander Vielhauer' via DSpace
>> Technical Support  wrote:
>>
>>> Dear list,
>>>
>>> what is your recommended workflow for deleting abandoned workspace items?
>>>
>>> We have a rather large dataset stuck in submission since the author
>>> started a new submission (which is now archived) instead of resuming his
>>> old submission.
>>>
>>> I cannot find a way though to delete workspace items via a command line
>>> operation or an admin feature in the UI. I'd rather not manipulate the
>>> database directly to allow the cleanup utility to take care of deleting
>>> the bitstreams.
>>>
>>> If anyone keeps track of this in their repo: How do you scan for "stuck"
>>> submissions and what are your thresholds and deadlines for notifying the
>>> authors and deleting the submission?
>>>
>>> Thank you and kind regards
>>> Alexander
>>>
>>> --
>>> Alexander Vielhauer
>>> Philipps-Universität Marburg | UB
>>> Digitale Dienste | Deutschhausstraße 9 | D226
>>> Tel. +49 06421 28-25290
>>>
>>> --
>>> 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 dspace-tech+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-tech/2b00b729-5b64-8f95-91b5-b3a6c9cb4b10%40staff.uni-marburg.de
>>> .
>>>
>> --
>> Alexander Vielhauer
>> Philipps-Universität Marburg | UB
>> Digitale Dienste | Deutschhausstraße 9 | D226
>> Tel. +49 06421 28-25290
>>
>> --
>> 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 dspace-tech+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dspace-tech/ae874de6-b24e-5a97-68e7-d4ff3ba96383%40staff.uni-marburg.de
>> 
>> .
>>
>> --
>> Alexander Vielhauer
>> Philipps-Universität Marburg | UB
>> Digitale Dienste | Deutschhausstraße 9 | D226
>> Tel. +49 06421 28-25290
>>
>> --
>> 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 

Re: [dspace-tech] DSpace index discovery not completed on DSpace 7.1

2021-11-24 Thread Lewatle Johannes Phaladi
Hi Tim,

Much appreciated!

Regards,
Lewatle 

On Tuesday, 23 November 2021 at 20:51:06 UTC+2 Tim Donohue wrote:

> Hi Lewatle,
>
> Solr 8.8 is what I've been using in Docker (and is in our out-of-the-box 
> Docker configs, which are used to run all our automated tests). So, it 
> works with DSpace 7. 
>
> See https://github.com/DSpace/DSpace/blob/main/docker-compose.yml#L62
>
> Tim
> --
> *From:* dspac...@googlegroups.com  on behalf 
> of Lewatle Johannes Phaladi 
> *Sent:* Tuesday, November 23, 2021 1:43 AM
>
> *To:* DSpace Technical Support 
> *Subject:* Re: [dspace-tech] DSpace index discovery not completed on 
> DSpace 7.1
> Hi Tim, 
>
> Is there any version of SOLR that is known as working, please share any 
> full version number that I could test.
>
> Regards,
> Lewatle 
>
> On Friday, 19 November 2021 at 09:05:25 UTC+2 Lewatle Johannes Phaladi 
> wrote:
>
> Hi Tim, 
>
> Thanks very much, I am now going to downgrade and use other 8.x version, I 
> will come back with feedback also will look at step 10 as mentioned.
>
> Regards,
> Lewatle 
>
> On Wednesday, 17 November 2021 at 18:24:27 UTC+2 Tim Donohue wrote:
>
> Hi Lewatle,
>
> I googled the error you received in your Solr log file, and found this 
> question on StackOverflow:
>
> https://stackoverflow.com/questions/68773301/solr-tomcat-integration-solrrequestparsers-couldnt-get-multipart-parts-in-o
>
> According to that person at least, they hit the same issue with Solr 8.9. 
> But after downgrading, the error disappeared.  So, it's possible there's an 
> odd issue in Solr 8.9 which you are hitting.  You could try to install a 
> different 8.x version and see if that fixes the issue.  (Obviously you'd 
> need to copy over the DSpace Solr core configs, see step 10 in the upgrade 
> process at https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace)
>
> Tim
> --
> *From:* dspac...@googlegroups.com  on behalf 
> of Lewatle Johannes Phaladi 
> *Sent:* Wednesday, November 17, 2021 7:05 AM
>
> *To:* DSpace Technical Support 
> *Subject:* Re: [dspace-tech] DSpace index discovery not completed on 
> DSpace 7.1 
>  
> Dear Tim and DSpace Team, 
>
> Currently we are struggling to remove solrcore initialization failure, all 
> other previous upgrade known errors have been resolved. Please note that 
> solr error came from out of box installation, and if anyone has ever 
> cleared this error please share the suggestion, we are only waiting to 
> re-index the site and complete this upgrade, please attached screenshots.
>
> Regards,
> Lewatle 
>
> -- 
> 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 dspace-tech...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/4cd65737-d302-4d11-9107-a23aa27f40aan%40googlegroups.com
>  
> 
> .
>
> -- 
> 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 dspace-tech...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/26636b6c-362a-4914-a2ea-b59402e56988n%40googlegroups.com
>  
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/5b880648-e03b-4443-9a08-ae12810ea3d7n%40googlegroups.com.