Re: [Extern] [dspace-tech] oAuth 2 problem

2024-04-17 Thread Michael Plate

Hi,

Am 17.04.24 um 15:57 schrieb Χρήστος Κατσάνης (Χρήστος):
Hey, i m trying to create a login atemp with my university site with 
oidc but i have some difficults with endpoint on my server.


i have /server/api/authn/oidc as endpoint at gives me a message error 401
the endpoint /server/api/authn/login gives me 404

i can't understand what was wrong


you need the endpoint of the oAuth server from the university to use it, 
the realm, a client-id and a secret. See the 
[dspace]/config/modules/authentication-oidc.cfg .


Usually you can obtain some information (not the client-id, not the 
secret) from 
https:///auth/realms//.well-known/openid-configuration 
in JSON.


CU

Michael

--
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/2473f58f-64c2-44d0-b9f5-5a6aec375868%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] Re: [dspace-tech] Mode of upgrading a DSpace repository from version 6 to 7 or 8

2024-04-12 Thread Michael Plate

Hi,

Am 12.04.24 um 11:25 schrieb admin:
Okay, so apparently moving the site to a new url without manipulating 
database could be painless.

[…]

I'd say: partial.
Your metadata will presumably contain the full URL in "identifier.url" 
(select * from metadatavalue where metadata_field_id =34;) , but this 
does not break the approach - just remember to update that later on in 
the database and run index-discovery.


CU

Michael

--
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/b3716ff6-70dd-412a-b69c-3d130c58c354%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] [dspace-tech] Abstract visualization

2024-03-01 Thread Michael Plate

Hi Agustín,

Am 19.02.24 um 14:13 schrieb 'Agustín Alfieri' via DSpace Technical Support:

Hi Michael,

I like your solution. If the change for Dspace 7 is mainly made in 
Angular I should be able to set it up.



[…]

sorry for the long delay.

We also have done this into a component, so this here is a bit old 
and[…] limited.


This uses the ng-bootstrap NgbCollapse, so you need to include it in 
your themes' eager-theme.module.ts:




import { NgbCollapseModule} from '@ng-bootstrap/ng-bootstrap';

[…]

@NgModule({
 imports: [
[…]

 NgbCollapseModule
]


Look if it transpiles flawlessly.

In the theme

/app/item-page/simple/item-types/untyped-item/untyped-item.component.html

add the following code:





object.metadata['dcterms.abstract']| keyvalue">


{{ abstract.value.language }}


 {{ abstract.value.value }}










Beware our metadate for abstracts is dcterms.abstract , so change it in 
the above code. For flags instead of text a bit more work is needed…


CU

Michael





--
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/ef4f5352-ab70-4166-9101-fc459031e7d6%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] [dspace-tech] Abstract visualization

2024-02-15 Thread Michael Plate

Hi Agustín,

Am 15.02.24 um 12:56 schrieb 'Agustín Alfieri' via DSpace Technical Support:

Hi,

I'm using Dspace 7.6 and I have to minor problems with the way the 
abstract of the items is displayed.
First, I would like there to be a separation between different 
abstracts. For example, when having an English and a Spanish abstract, 
a line break between them would really improve readability.


we have a tabbed version to save space:

https://kobra.uni-kassel.de/handle/123456789/2008112425214

(this is a DSpace 5, but it is really easy to do in DSpace 7)

I can give a code-snippet for DSpace 7, if you like, but you have to 
have some basic knowledge how to put it in then theme…



CU

Michael

--
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/e093784d-a4e3-42e0-9e95-9189f30d5445%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] [dspace-tech] Re: DSpace 7 Customization - Show only the hostname for a field containing URL?

2024-01-24 Thread Michael Plate

try setting / returning a fixed value…
also use console.log()

Am 24.01.24 um 15:40 schrieb euler:

Hi Michael,

Thanks for your quick response. However, when I tried your suggestion, 
nothing was displayed. I'm not also sure if my helper function is correct.


--
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/ee6412de-2953-4b2d-8a53-b58d750b5a45%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] [dspace-tech] Re: DSpace 7 Customization - Show only the hostname for a field containing URL?

2024-01-24 Thread Michael Plate

Hi euler,

if I remember correctly, it has to be

{{ parseUrl(eURL.value.value) }}

maybe ? I'm 2 month out of that and forgot all the details…


Michael


Am 24.01.24 um 13:53 schrieb euler:

Dear All,

I would like to follow up on this. Here's what I have tried so far based 
on what I searched online. So I created a helper function in the 


[…]

--
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/9a230ad7-2c5e-4c86-be87-150b3dcb7dc1%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] [dspace-tech] Add string to ds-item-page-uri-field in DSpace 7

2024-01-22 Thread Michael Plate

Hi euler,

Am 21.01.24 um 23:42 schrieb euler:

Dear All,

I would like to ask how can I add a string to a ds-item-page-uri-field?


You have multiple opportunities:

doing it directly in the template, but this is sort of limited; I don't 
have an example that directly fits your problem, but you can do it like this


   

 {{'relationships.isEditorOf' | translate}}

 *ngFor="let authors of object.metadata['dc.contributor.editor']| keyvalue">


   style="border:1px solid 
#f0f0f0;border-radius:4px;background-color:#f0f0f0;margin:2px;display: 
inline-block;">{{ authors.value.value}}


 

   

This was as a test before writing a component, it checks for the 
existence of 'dc.contributor.editor' in the metadata (object.metadata) 
and renders this in a loop as an ULR…this is just an idea of how to 
achieve that.


The better possibility is writing an own component 
(https://wiki.lyrasis.org/display/DSPACE/DSpace+7+-+Angular+UI+Development) 
in a theme or changing the base theme; you will find 
./src/app/item-page/simple/field-components/specific-field/uri/item-page-uri-field.component.[ts|html] 
just to see it uses another component 'ds-metadata-uri-values' - but in 
the *ts you can extend the metadatavalue with 'http…', maybe.



I noticed that this will only work if the field is a URL. I'm trying 
to display the DOI of the item in the simple item page but all of our 
existing DOIs doesn't have the "https://doi.org/; which is what we 
really want because we will be using it later as value for altmetrics, 
dimensions or plumx.


We save all our PIs with its namespace, doi:, urn:nbn: e.g., so you 
thankfully remind me to look at it :) .


Michael

--
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/ff26c010-989f-4e82-896a-fe870f8028ee%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] [dspace-tech] Is it possible to insert html tags within the i18n labels?

2024-01-04 Thread Michael Plate

Hi Carolyn,

Am 04.01.24 um 15:49 schrieb Carolyn Sullivan:
[…]
(1)How do I escape quotation marks?  I kept getting syntax errors when I 
tried putting this line in the en.json5 file:
"submitinfo.step1.pt2": "Submit your thesis for your Thesis Supervisor's 
and Academic Unit's approval by using the service request "Approval of 
the final version of the thesis"",

Also tried:
"submitinfo.step1.pt2": "Submit your thesis for your Thesis Supervisor's 
and Academic Unit's approval by using the service request \"Approval of 
the final version of the thesis\"",
(2)Is there a way to insert html tags into labels so that they're 
interpolated as html and not as plaintext when they go through {{label | 
translate}} ?  Example--


it is possible, but some  work. Due to security reasons Angular does not 
render this in this way.

Principally spoken it works like this:

from

{{'submitinfo.step1.pt2' | translate}}

to



This means changing the source code…



Or is it simply that ALL the plaintext between the html tags is going to 
need a translation label? Just wanted to ask before creating a thousand 
labels!


Same procedure like above; with [innerHTML] you can use  e.g.

Hope it helps

Michael

--
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/8905100e-a318-46d4-9941-c2b293ce1d28%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] Re: [dspace-tech] Re: DSpace 7.6 slow server response

2023-11-20 Thread Michael Plate

Hi Andrew,

Am 20.11.23 um 08:39 schrieb Andrew K:
[…]

Still, even it it doesn't scale linear, 8 cores should overperform 4 
cores, right?

[…]
depends on the number of cores of the host.

I've running a private DSpace 7.6 on raw iron (i7-3770, 8 Cores) with 4 
cores for pm2, 16GBs RAM, HW RAID5  and it is the most responsive DSpace 
I've seen so far (does mot mean much) compared to those VMs I've seen 
here at work :) .


--
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/0a1e44f0-0e0c-42af-ab1a-8f5acd423366%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] [dspace-tech] Migrate Dspace to a new server and upgrade from 6 to 7 version

2023-11-08 Thread Michael Plate

Hi,

Am 08.11.23 um 08:19 schrieb 'Mikheil Makhviladze' via DSpace Technical 
Support:

[…]
I have dspace.ui.url = http://localhost:4000 in the configuration of 
local.cfg and, therefore, the URL of the site map is obtained 

[…]

that is the problem: this has to be the URL of your public interface 
(e.g. https://dspace.tsu.ge )


CU

Michael

--
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/34f852d1-efdb-4783-a415-0146082058f2%40bibliothek.uni-kassel.de.


smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Extern] [dspace-tech] Migration from 5.10 Oracle to 7.6 Postgres

2023-10-06 Thread Michael Plate

Hi,

Am 05.10.23 um 20:31 schrieb Luiz Antonio Cardoso Mendes:
Hello, I am trying to upgrade from 5.10 to latest 7.6 version. But my 
problem is a oracle database and trying migrate my data to postgresql 
using Ora2pg with Strawberry using the tutorial: 
https://wiki.lyrasis.org/display/DSPACE/DSpace+Oracle+to+PostgreSQL+migration


But this tutorial was used to migrate Oracle data in version 6.x the 
Dspace to 7.x. and may have different settings to be followed in version 5.

[…]

you could try to upgrade to DSpace6 the ususal way and follow the 
tutorial to upgrade then to DSpace7.


Just my 0,0,2€

CU

Michael

--
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/90150fd7-681f-f1d9-4677-a5528c6fcea4%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] Importing items via Simple Archive Format in Dspace 7

2023-09-08 Thread Michael Plate

Hi,

Am 08.09.23 um 10:48 schrieb Maksim Donchenko:
Congratulations to everyone. I have a need to import a large number of 
documents, could you suggest a software that will help me create a SAF? 
I am working with Dspace 7.4.




we use just a shell script for that (mass import of scans as PDF and a 
bit of OCRed metadata) but this might be helpful for you


https://github.com/DSpace-Labs/SAFBuilder

CU

Michael

--
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/e0fc329c-52f5-43fe-4107-418cccbc44a5%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] how to disable browse.comcol.by.srsc in 7.6?

2023-07-07 Thread Michael Plate

Hi,

Am 07.07.23 um 11:33 schrieb Michael Koch:
In the 7.6 user interface there is an additional tab in browsing 
communities and collections, using the srsc taxonomy?


got the same problem, this is not bug but a "feature".
Would prefer this to be configurable at the usual place…



Is there a way to switch this off?

https://wiki.lyrasis.org/display/DSDOC7x/Configuration+Reference#ConfigurationReference-HierarchicalBrowseIndexes

remove it from the submission forms :(

Michael

--
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/cb2cb1e4-28bb-f900-220c-ad9d19b38657%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] Display streaming video on DSpace 7

2023-06-26 Thread Michael Plate

Hi Joshua,

Am 26.06.23 um 15:45 schrieb Joshua Kim:

Hi,

With DSpace 7.3, I can see mp4. file for download on the web page. But 
how can I make it display on the site instead of being downloaded? I 
have searched the documentation but I can't find it.

[…]

look into the config.yaml of dspace-angular…at the end you will find 
settings "mediaViewer" for images and videos.


CU

Michael

--
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/eb04991f-354b-3ce9-a565-dca1ce3d4cec%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] Re: New Line in I18n Message Json

2023-05-12 Thread Michael Plate

Hi,

Am 12.05.23 um 14:23 schrieb iris.h...@zhaw.ch:


Hello Simon

I have the same problem. Does the suggested solution work for you?

The HTML rendering doesn't work for me at all.


if I remember it correct,

try  in the JSON and you have to change the template for that, 
instead of

{{some.i18n.string | translate}}

use



Michael

--
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/f8d99614-7459-888f-e297-697067819432%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] dspace-7.5. angular-ui gives no response

2023-05-11 Thread Michael Plate

Hi Christiane,

Am 10.05.23 um 18:06 schrieb Christiane Baier:

Hi there,

I installed dspace-7.5 angular frontend on a different server, than the 
backend. It is a ubuntu 22.04 and I did it as outlined in the Installing 
the frontend section in 

I set up a apache proxy like it says in the documentation. Backend 
(server/api) ist reachable.
I set up the config.prod.yml by taking the config.example.yml and 
changing the value for
host: api7.dspace.org to the name of the backend server. HAL-Browser 
answers at https://backend-server-name/server. So this is not the problem.
I set up pm2 (like stated in the documentation) to get more logs, 
started the application and gave https://angular-server-name-as 
configured in local.cfg on Backend and apache config on 
angular-server-name. DNS is working.
In the browser I get an error after waiting for minutes "The proxy 
server received an invalid response from an upstream server.


The proxy server could not handle the request

[…]

I had this problem, too - after a reboot.
I don't know what was - is - wrong, but resolving of 127.0.0.1 <-> 
"localhost" did not work.

I replaced "localhost" in the config.yml by 127.0.0.1 and it worked.

Workaround, no solution…

Michael

--
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/2284b4e0-8548-77e4-d27d-b62847880624%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] Rest Api Login

2023-05-09 Thread Michael Plate

Hi,

Am 09.05.23 um 13:50 schrieb Christoforos Korifidis:

Hello I am trying to login trough the rest api from curl.
I need to make server to server connection so I am using curl to emulate it.

I am following the guide
https://github.com/DSpace/RestContract/blob/main/authentication.md

First I make a call to get a csrf token:
curl -X POST https://x/server/api/authn/login?user=


[…]

you are using the creds as GET-Vars, you have to use it in the body of 
the POST


curl -v -XPOST https://yourserver/server/api/authn/login -d 
'user=USER=PASSWORD' -H "X-XSRF-TO………


--
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/d527215c-6bae-7e1b-036a-796c83a5951d%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] Re: Error 500 on submission

2023-05-08 Thread Michael Plate

Hi Tim,

this will get a longish one…

I tested the submission-forms.xml with xmllint against the DTD…and got 
around 50 errors - the order of the XML-Elements in the  
descriptions where "garbled".

After that, I tried again and got the same problem.
BTW, DSpace is very lax with the XML - forgetting a  around 
 does not produce an error (the fields are just not shown).



Am 05.05.23 um 18:24 schrieb DSpace Technical Support:

Hi Michael,

The ERROR text you shared seems like it might be cut off.  Was there any 
more info in the log?


I'd also highly recommend following the steps in our Troubleshooting 
guide.  Because DSpace 7 has a client side UI, there are some client 
side errors which will *never* appear in the logs.  So, it's important 
to look at the browser's devtools (both the console *and* the network 
tab) as you may be able to get more information about the 500 error.  
You also can turn on debugging temporarily to see even more details 
about the error in your browser's network tab.




The workflow…

item-submission.xml
In the form-definitons, there is a new form for the workflow named
"fb11_abschlussarbeiten_form"
It uses dc and dcterms schema.

item-submission.xml
In the submission-maps, there is a name-map wich ties two certain 
collections to submission-name.
submission-name="fb11_abschlussarbeiten_map"/>
submission-name="fb11_abschlussarbeiten_map"/>



There ist a step-definition
 mandatory="true">

submit.progressbar.describe.stepone

org.dspace.app.rest.submit.step.DescribeStep
submission-form



submisson-definitions







Hope it is not to confusing.



The collection with the id "22" has the follwoing roles:

Submitters
Default Item Read Access
Default bitstream read access
Final Editors

All include subgroups from LDAP.
There is an additional authorization TYPE_CUSTOM READ for the groups, 
else they get the form, but there is no metadata shown.


The items are scanned and OCR'ed files and automated converted to a SAF 
structure.
The dublin_core.xml only contains dc.title and dc.description, wich is 
the title page of the item as OCR.


The contents exists of three PDFs, an original, the recalculated OCR'ed 
and third single special page and thumbnails for all PDFs.


They are added via dspace import and an admin account to the workflow.

The editors got the task via E-Mail and see the item in the workflow 
tasks ( w/o a thumbnail, BTW, if choosing "View" the TN are there).


Now to the browser devtools… "Claim" -> "Edit":

[…]
cannot deserialize type workflowstep

Can't cache incomplete workflowstep: null, parsed from (partial) 
response: 
{"id":"finaleditstep","type":"workflowstep","_links":{"workflowactions":{"href":"https://HOST/server/api/config/workflowsteps/finaleditstep/workflowactions"},"self":{"href":"https://HOST/server/api/config/workflowsteps/finaleditstep"}},"_embedded":"..."}


cannot deserialize type workflowstep
[…]

Presumably this is responsible for the yellow exclamation mark in the 
head of the step wich tells "Warnings".


On the "Uploaded files" there are the 3 files - w/o thumbnails - where I 
can edit the access rights.

Opening this produces an error

ERROR TypeError: t.rows.find(...) is undefined
inCurrentSubmissionScope https://HOST/9179.1ab6f886663d4bbc.js:1
hasMetadataEnrichment https:/HOST/9179.1ab6f886663d4bbc.js:1
hasMetadataEnrichment https://HOST/9179.1ab6f886663d4bbc.js:1
updateForm https:/HOST/9179.1ab6f886663d4bbc.js:1
subscriptions https://HOST/9179.1ab6f886663d4bbc.js:1
next https://HOST/main.9c8d009a4093bd8e.js:1
_next https:/HOST/main.9c8d009a4093bd8e.js:1
next

but it is possible to set the  access condition type for all files, the 
error only occurs one time.
Sometimes on this the error occurs that the data could not be saved, 
"try again later"…


Now I can do "Save for later" - and this might work or not, and I can't 
find a rule on that…
At the time writing this I can't force that error :(, but I had it twice 
in the middle of the day and it only looks like this from dspace.log


2023-05-08 13:29:11,032 INFO  48146f53-5a43-4098-bffa-992f3c2c48a1 
393a9963-875e-4af5-a097-18e38bf6b0e7 
org.dspace.content.MetadataValueServiceImpl @ 
xxx::add_metadatavalue:metadata_value_id=3381
2023-05-08 13:29:11,034 INFO  48146f53-5a43-4098-bffa-992f3c2c48a1 
393a9963-875e-4af5-a097-18e38bf6b0e7 
org.dspace.content.MetadataValueServiceImpl @ 
xxx::delete_metadata_value: metadata_value_id=3381
2023-05-08 13:29:11,034 INFO  48146f53-5a43-4098-bffa-992f3c2c48a1 
393a9963-875e-4af5-a097-18e38bf6b0e7 
org.dspace.content.MetadataValueServiceImpl @ 
xxx::add_metadatavalue:metadata_value_id=3382
2023-05-08 13:29:11,036 INFO  48146f53-5a43-4098-bffa-992f3c2c48a1 
393a9963-875e-4af5-a097-18e38bf6b0e7 
org.dspace.content.MetadataValueServiceImpl @ 
xxx::delete_metadata_value: metadata_value_id=3348

[dspace-tech] Error 500 on submission

2023-05-04 Thread Michael Plate

Hi,

we are facing a serious error on submitting a workspace item
First: the item gets into the system via SAF and is added like this

~/bin/dspace import --add --eperson=X --collection=123456789/22 
--source=. --mapfile=map -w -n -p


Metadata contains a title and some text from OCR an 3 PDF files.

Then the metadata is edited through the workflow and extended by author, 
date of submission, language and so on.


The interface is set to German lang.

There is always a yellow circle atop right in the step with an 
exclamation mark, but this only says "warnings" - nothing more or less.


Very often, bu not always, the Item cannot be saved for the next step 
with an  error like "could not be submitted, try later".


In the browser console is a 500 internal error and the log says

2023-05-04 18:02:25,920 INFO  43d49670-c5d7-454f-a2df-068371ebcf88 
881b078e-6bd7-4658-91ba-c619dfaed9fe 
org.dspace.content.MetadataValueServiceImpl @ 
xx::add_metadatavalue:metadata_value_id=3172
2023-05-04 18:02:25,921 ERROR 43d49670-c5d7-454f-a2df-068371ebcf88 
881b078e-6bd7-4658-91ba-c619dfaed9fe 
org.dspace.app.rest.submit.SubmissionService @ [Assertion failed] - this 
collection must not be empty: it must contain at least 1 element
java.lang.IllegalArgumentException: [Assertion failed] - this collection 
must not be empty: it must contain at least 1 element
at org.springframework.util.Assert.notEmpty(Assert.java:470) 
~[spring-core-5.3.20.jar:5.3.20]


Sometimes one can try later (means: edit it again), some times it works 
ootb .


Just at the moment I was able to submit it w/o reediting by setting the 
lang to English on the fly (reloads and keeps the data).


Anyone else ?

Michael

--
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/5b82eb26-e16b-c69a-ac6c-a2706307f6d2%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] Re: [dspace-tech] [DSpace Angular] Adding new modules & routes to RouterModule from a theme

2023-05-04 Thread Michael Plate

Hi,

Am 04.05.23 um 11:38 schrieb schul...@effective-webwork.de:
We have the exact same requirement in one of our projects - including 
the need to edit the menu to include the static pages (and ideally to 
edit the pages themselves) in DSpace directly. Does anyone know, if some 
kind of (minimal) CMS-functionality is planed or has been discussed?

[…]

we had that problem a while ago, mainly I was to lazy to change the 
static pages often :) …so we decided to use WordPress with its WYSIWIG 
editor and include the contents via WPs REST interface - this we did for 
DSpace 5.10, but this should be possible for DSpace 7 via Angular…



Michael

--
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/fb4b670c-09e4-730f-4e1d-9a8897524250%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] display custom dc inside the item page

2023-04-19 Thread Michael Plate

Hi,

Am 18.04.23 um 23:32 schrieb Costantino, Fernán:

Hi people,

Is there a way to display a custom dc data into item page? 

[…]


Go to [DSpace-angular]src/app/item-page/simple/item-types/untyped-item
and open

untyped-item.component.html

The "ds-generic-item-page-field" should be a good introduction on how to 
display metadata fields.


You can create a theme to avoid changing the main tree 
(https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Customization).
You can play a bit in the template before writing - if anyway - your own 
components.
This is a short test(!) of ours for a clickable list of editors 
(metadate: dc.contributor.editor):


   

{{'relationships.isEditorOf' | translate}}
*ngFor="let authors of object.metadata['dc.contributor.editor']| keyvalue">
style="border:1px solid 
#f0f0f0;border-radius:4px;background-color:#f0f0f0;margin:2px;display: 
inline-block;">{{ authors.value.value}}




Hope it helps


Michael

--
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/8f874c1f-fb20-575d-4da9-57a726cb0e9f%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] Re: [dspace-tech] Is it possible to update jQuery in xmlui in dspace 5?

2023-03-21 Thread Michael Plate

Hi,

Am 21.03.23 um 16:03 schrieb Mark H. Wood:

On Mon, Mar 20, 2023 at 12:02:35PM -0700, cpgr...@gmail.com wrote:

We have been notified by campus network authorities that our dspace server
is vulnerable because it is running outdated versions of jQuery. We are in
the process of creating a new dspace 7 server to replace this server, but
that will not happen in the short time that we have been given to fix this
vulnerability.

How can we quickly upgrade jQuery on our server? Where can I find
instructions on updating the jQuery software in our xmlui in our instance
of dspace 5? Can our built process be modified to bring in more up to date
jQuery packages?

EOL/Obsolete Software: jQuery 1.x and 2.x Detected

-

EOL Software:jQuery Version 1.x or 2.x Detected.

jquery/jquery-1.4.4.min.js


I don't know how much work is required to update to jQuery v3.
Updating across two major releases might break a number of things.

[…]

ist seems to be we have the same problem; ours ist jQuery 1.10.2 (by 
package.json) , and a good place to start seems to be scripts.xml in the 
theme folder.


Searched a bit and found this

https://www.cvedetails.com/vulnerability-list/vendor_id-6538/Jquery.html


and this


https://www.computerminds.co.uk/articles/upgrading-jquery-1x-version-3x

Presumably DSpace 6.x is affected to ?

I'll try inspecting on our test-version tomorrow…

--
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/052efc19-b4ab-936d-849a-65dae678ee08%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] java 17 and DSpace 6.3

2022-12-02 Thread Michael Plate


Hi,
Am 02.12.22 um 19:19 schrieb Cameron, Jacob:

The handle server wasn't running for me on OpenJDK 8.  Does your handle server 
run on OpenJDK 11?

[…]

No idea - we are not running a handle server.
I'd try 11 first.

CU

Michael

--
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/78020cb3-f8f9-f164-ca63-cc787b8845b3%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] java 17 and DSpace 6.3

2022-12-02 Thread Michael Plate

Hi,

Am 02.12.22 um 18:57 schrieb Cameron, Jacob:

Hi All,

Oracle is trying to bill us for using JDK8 for DSpace 6.3.  Does anyone know if 
Java 17 works (cause it's free to use) with DSpace 6, the handle server, etc?

[…]

we are using OpenJDK 11 with DSpace 5. Despite some warnings it runs.

CU

Michael

--
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/dd73f058-7a78-71da-b459-1caa05be59f1%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] Re: DS7.x: Item page customization and custom themes

2022-11-22 Thread Michael Plate

Hi Karol,

Am 22.11.22 um 13:39 schrieb Karol:

Hi,

Have you been able to customize the item display page? I am trying to 
edit the file: untyped-item.component.html but without effect.

[…]

yes, I have.
First I tried it in the main tree w/o a theme, after the DSpace 7.4 
workshop last week I made it in the theme…


You'll find the slides here:
https://docs.google.com/presentation/d/1mRrq-lM_cntHP7iTAVYA_9Nkw-WU07B-IHRpvRG2xOE/edit#slide=id.g18742d32e1c_2_12

CU

Michael

--
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/4a6bfd58-70fa-941a-b09a-e992ce5d895e%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] Re: Dspace 7.3 and HTTP

2022-11-18 Thread Michael Plate

Hi Sonia,

Am 17.11.22 um 20:12 schrieb Sonia R Thompson:
servername:443:0 server certificate does NOT include an ID which matches 
the server name


this is a warning - Apache should be running (try to open der 
REST-backend /server.


Anyway the name of the server in the certificate (CN) does not match the 
"ServerName" directive in your Apache config, I think.


CU

Michael

--
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/7219ddb2-a565-9765-5e25-5e2591ade232%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] Re: Dspace 7.3 and HTTP

2022-11-17 Thread Michael Plate

Hi,

Am 17.11.22 um 18:16 schrieb Sonia R Thompson:

SSLPassPhraseDialog builtin is not supported on Win32

[…]

I assume your key is protected by a password,
maybe this helps:

https://bobcares.com/blog/sslpassphrasedialog-builtin-is-not-supported-on-win32-how-we-fix-this-error/

and I have the "RequestHeader set X-Forwarded-Proto https" enabled.

CU

Michael

--
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/4221d5f5-2adf-47ab-fe6e-5d693000e5cf%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Extern] [dspace-tech] can´t connect ldap

2022-10-27 Thread Michael Plate

Hi Bryan,

Am 27.10.22 um 02:29 schrieb Bryan Delgado:
[…]

authentication-ldap.object_context = "OU=All MyOU\,DC=mydomain\,DC=com"

[…]

look into the log and give it a try w/o the quotation marks.


CU

Michael

--
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/91a120af-2afb-577b-0078-76e6b2588c91%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] dspace 7 default license

2022-08-10 Thread Michael Plate

Hi,

Am 10.08.22 um 14:13 schrieb 'Bill Tantzen' via DSpace Technical Support:

Right, and I really don't want markup in a txt file...

[…]

we have the same problem with some metadata fields where we like to have 
\n converted to .


I still have no time to start with Angular in DSpace, but my idea was a 
pipe for that, so I just use <…| nl2br> in the template…

Or is that a wrong idea ?

Michael

--
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/67fc5137-20e5-9893-d0ad-43bd72ee485b%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Duplicate key after restoring server from AIP backup

2022-07-14 Thread Michael Plate

Hi Sean,

at least this you might correct this by setting the handle_seq to a 
value greater than the last handle.

I don't recommend that for important systems :)

Michael


Am 14.07.22 um 08:02 schrieb Sean Carte:
I restored an entire site from an AIP backup, and now, when I attempt to 
submit an item, I get this error:


Caused by: java.sql.BatchUpdateException: Batch entry 0 update 
public.handle set 
resource_id='26a7cedb-76e7-4acc-a515-37708a3e1c7b'::uuid, 
handle='123456789/9', resource_type_id=2 where handle_id=264 was 
aborted: ERROR: duplicate key value violates unique constraint 
"handle_handle_key"
   Detail: Key (handle)=(123456789/9) already exists.  Call 
getNextException to see other errors in the batch.


I think this is because I haven't run the update-sequences.sql that the 
documentation suggests I should, but I can't find that script; there 
isn't even a /dspace/etc/ directory:


ls /dspace/
assetstore  exports        log       solr         upload
bin         handle-server  reports   temp         var
config      lib            sitemaps  triplestore  webapps

This is the documentation I've been using:

https://wiki.lyrasis.org/display/DSDOC7x/AIP+Backup+and+Restore#AIPBackupandRestore-RestoringEntireSite 



DSpace version:  7.3-SNAPSHOT
   SCM revision:  e5f316c9adf78e59d8277a271a0fc2a2d21da0f8
     SCM branch:  main
             OS:  Linux(amd64) version 5.4.0-120-generic
   Applications:
      Discovery:  enabled.
            JRE:  Private Build version 11.0.15
    Ant version:  Apache Ant(TM) version 1.10.7 compiled on October 24 2019
  Maven version:  3.6.3
    DSpace home:  /dspace

Sean

--
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/CA%2BxAuhMkoCiM%2BRJafRddPpH15wU%2BfB%3DJBwnAYA6m_OmogX9OhA%40mail.gmail.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/cd567e6a-5b3d-23fd-a83c-a5bd32073dd7%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: DSpace 7.2 behind a F5 internal firewall with wildcard certificate

2022-07-08 Thread Michael Plate

Hi Sean,

Am 08.07.22 um 11:24 schrieb Sean Carte:
Ah, but wait, I remembered the chain of events that led to me installing 
the cert, whose chain is broken:


The F5 firewall seems to provide certification through its wildcard 
certificate. So if you visit our current DSpace-CRIS 5 repository at 
https://openscholar.dut.ac.za/   and 
check the connection security for that site, you will see that it is 
verified by Sectigo Ltd. However, on that server, I'm using a 
self-signed certificate. (It used to be LetsEncrypt before the F5.)

[…]

I'm not sure if I can follow you…we only have IP-based FWs, the 
encryption is done always on the host.
You have a self-signed cert and the F5 decrypts inside - like a browser 
/ proxy- and encrypts again with another cert to outside ?


Michael

--
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/550e7ada-9d67-00bd-8eb7-0b24fb0dc867%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


WAS: [dspace-tech] DSpace-Cris 7 Create Collection error

2022-07-01 Thread Michael Plate

Hi,

well I've successfully imported a bunch of docs via simple archive 
format and it works.

Maybe it is easier to start from scratch ?
I always do snapshots on my VMs before the "next big step" on DSpace…

Michael


Am 30.06.22 um 12:02 schrieb Eldridge van der Westhuizen:

Thanks.

dspace database info shows all success, except one that is Ignored:  
  Versioned | 5.99.2020.12.28 | cleanup old dspacecris5 
                          | JDBC


  My ReadWritePaths do contain my dspace directory as well:
ReadWritePaths=/etc/tomcat9/Catalina/
ReadWritePaths=/var/lib/tomcat9/webapps/
ReadWritePaths=/var/log/tomcat9/
ReadWritePaths=/dspace/

[…]

--
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/463f040d-2bec-8111-b141-6f6e9d4de5b3%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] DSpace-Cris 7 Create Collection error

2022-06-29 Thread Michael Plate

Hi,

Am 29.06.22 um 09:38 schrieb Eldridge van der Westhuizen:
Michael, i just want to confirm what version of the backend and frontend 
you installed?


Here is what i used:
1. Backend 
-  https://github.com/4Science/DSpace/archive/refs/tags/dspace-cris-2022.01.01.zip

2. Frontend  - https://github.com/4Science/dspace-angular.git

Also, did you perhaps do any specific CRIS steps that i might have missed?



OK - I'm here again - this is live and in colour…
DSpace is DSpace-dspace-cris-2022.01.01, and after ant fresh_install 
(database error, but continues to end) the database is indeed empty:


psql dspace
psql (13.7 (Debian 13.7-0+deb11u1))
Type "help" for help.

dspace=# \d
Did not find any relations.

dspace database info tells everything is "Pending"…

dspace database migrate

after that "Pending" is replaced by "Success" - all relations are in the 
database.


[copying the solr-stuff to /var/solr/data/configsets, creating admin]

Continuing with CRIS-Install at end of page #9

./dspace dsrun org.dspace.app.util.InitializeEntityTypesOnly -d
/dspace dsrun org.dspace.app.util.InitializeEntities -f 
../config/entities/correction-relationship-types.xml
./dspace dsrun org.dspace.app.util.InitializeEntities -f 
../config/entities/hide-sort-relationship-types.xml


maybe this is already enough for you - I have to install frontend tomorrow.

Michael

--
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/42bcda31-ee91-0cf0-4645-39b1fcf0f5df%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] DSpace-Cris 7 Create Collection error

2022-06-29 Thread Michael Plate

Hi Eldridge,

Am 29.06.22 um 09:38 schrieb Eldridge van der Westhuizen:
Michael, i just want to confirm what version of the backend and frontend 
you installed?


Here is what i used:
1. Backend 
-  https://github.com/4Science/DSpace/archive/refs/tags/dspace-cris-2022.01.01.zip

2. Frontend  - https://github.com/4Science/dspace-angular.git

[…]

I believe yes - I have to set up a new VM this day here at work, so I 
will do steps again.


Michael

--
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/6180998d-cc8d-deb8-ef50-1de3d9fcc610%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] DSpace 7 SSL - ui and backend on one domain name

2022-06-21 Thread Michael Plate

Hi Karol,

Am 21.06.22 um 15:43 schrieb Karol Sokalski:
I am in the process of installing DSpace 7 as a production. (Debian 11, 
apache2, tomcat9)


same in dev environment here (real hosts, IPs, certs)

I have a problem with SSL ( I have a trusted SSL certificate). 
Unfortunately I cannot run the backend and frontend on the same domain 
name.


Everything works when I create 2 vhosts with two different domain names: 
frontend.test.pl and backend.test.pl in apache and certificates for 
them. But when I try to do everything in one vhost and one domain name  
e.g. dspace.test.pl, it won't work for me, because in apache vhost you 
can add only one proxy-pass.e.g.


ServerName dspace.test.pl

         ProxyRequests On
         DSpace backend
         ProxyPass /server http://localhost:8080/server
         ProxyPassReverse /server http://localhost:8080/server
         RequestHeader set X-Forwarded-Proto https

         DSpace FRONTEND
         ProxyPass / http://localhost:4000/
         ProxyPassReverse / http://localhost:4000/

that is exactly what i I have, too, despite 127.0.0.1 instead of 
"localhost".


What is your exact problem ?
Do you have the  _real_ servername in local.cfg of the backend 
(https://dspace.test.pl) ?



Michael

--
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/67e0761f-7407-7ce4-9dcd-c93092a16960%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Demo Backend unavailable

2022-06-20 Thread Michael Plate

Hi,

https://api7.dspace.org/server
https://api7.dspace.org/server/api

works from here (German Science Network)

Maybe temporary problem ?



Am 20.06.22 um 12:53 schrieb Teemu Nuutinen:

Hello,

The demo backend https://api7.dspace.org/server/api has been really 
useful while I've been waiting for our backend to be set up. However I 
noticed on Friday 17th that browsing or trying to do anything now gives 
500 Service Unavailable error. It seems the backend is not found:


  status: 404,
   statusText: 'Not Found',
   url: 'https://api7.dspace.org/server/api',
   ok: false,
   name: 'HttpErrorResponse',
   message: 'Http failure response for 
https://api7.dspace.org/server/api: 404 Not Found',
   error: 'HTTP Status 404 – 
Not Foundbody {f
ont-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b 
{color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {fon
t-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} 
.line {height:1px;background-color:#525D76;bord
er:none;}HTTP Status 404 – Not Foundclass="line" />Type Status Report >Message Not foundDescription The origin server 
did not find a current representation for the targ
et resource or is not willing to disclose that one exists.class="line" />Apache Tomcat/9.0.31
html>'

Any idea when it will be back up? Thank you!
-
Teemu Nuutinen

--
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/950f0751-d50e-4cc8-bbc4-87a8a5e0967en%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/13ee6920-7280-64cd-1ecc-ff13d64f95a6%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] NOTICE: DSpace 7 is impacted by new "Spring4Shell" zero-day vulnerability. Does not impact DSpace 6 or below.


Hi,


Am 01.04.22 um 16:33 schrieb 'Tim Donohue' via DSpace Technical Support:

[…]

*IMMEDIATE QUICK FIX OPTIONS*

  * Patch your DSpace 7 backend by applying the changes in this small
PR: https://github.com/DSpace/DSpace/pull/8231

[…]

I got an error when starting the build (sorry, the message has gone… :) 
) about the spring Release.


Clearing the maven cache helped.

https://frontbackend.com/java/how-to-clear-maven-cache

Michael

--
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/66371370-3623-b680-e514-17f9c10521f6%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Dspace 5.5 to new Dspace 7 server


Hi,

Am 31.03.22 um 17:13 schrieb Thiago Moreira:

Hello everyone,

We are currently trying to change our Dspace data to a new installation, 
but I don't know how we should proceed.


We tried running the AIP tutorial (-r -k and -s) but we can't import the 
data. It always shows us 1 or 0 dspace objects imported.


according to my log it is

~/bin/dspace packager  -a -r -k -u -e  -p 123456789/0 -t AIP -f 
-o skipIfParentMissing=true sitewide-xxx.zip


AFAIK it bails out after some days :) .

The next way is the step-by-step way. Start with "123456789/0" Handle
~/bin/dspace packager  -r -k -u -e  -p 123456789/0 -t AIP -f -o 
skipIfParentMissing=true sitewide-xxx.zip


After that, try every top-level community recursively

~/bin/dspace packager  -a -f -r -u -e   -p 123456789/0 -t AIP -f 
-o skipIfParentMissing=true commun...@123456789-.zip





Don't know if it's relevant but we have close to 2 gb of data.

Is there another way to run the migration or what's the best way to do it?


You could do the upgrade way: clone your system, change ip / names 
,database (!) and try 
https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace


For us this succeeded after a manual "dspace database migrate ignored".

But is it just a test system, so.

Michael

--
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/9b5059ee-050c-8eb0-a0ff-3744be49987c%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: Problem with AIP while running the flag '-o skipIfParentMissing=true'


Hi,

Am 25.03.22 um 03:44 schrieb euler:

Hi,

Have you tried:
dspace packager -r -a -f -t AIP -o createMetadataFields=true 

[…]

AFAIK createMetadataFields does not work after DSpace 5.x .

Michael

--
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/d74d9ed1-6641-6957-c6a1-a1d0b534e0a8%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Database space used


Hi Sarah,

Am 22.03.22 um 13:05 schrieb Sarah Butash:

Hello DSpace Community,

I've been asked to report the amount of space used for our DSpace data.  
I can report the size of the volume allocated for the database, but this 
doesn't give me the actual data used space.  We are on DSpace 5.10 on a 
linux server.


If you have any helpful hints, it would be great if you could share.


log into the database via psql and do this query, assuming the name of 
your database is 'dspace':



select pg_size_pretty(pg_database_size('dspace'));


Michael

--
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/9eb72c97-e186-6939-bed8-814b10765b06%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: DSpace 7.1 frontend only loads header and footer


Hi,

this problem is because of a broken certificate chain:

openssl s_client -connect  kyuspace.kyu.ac.ug:443
CONNECTED(0003)
depth=0 CN = *.kyu.ac.ug
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = *.kyu.ac.ug
verify error:num=21:unable to verify the first certificate
verify return:1
depth=0 CN = *.kyu.ac.ug
verify return:1
---
Certificate chain
 0 s:CN = *.kyu.ac.ug
   i:C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, 
CN = Sectigo RSA Domain Validation Secure Server CA

---

CU

Michael


Am 11.01.22 um 16:12 schrieb 'Tim Donohue' via DSpace Technical Support:
Have you been able to get the "yarn config:check:rest" command to 
succeed after applying the SSL certificates?  Or is it still failing?


If it's still failing, you might look at some of the suggestions in 
these "Common Installation Issues" sections in the Install Docs:


First, how to find additional errors (in frontend or backend) when the 
frontend doesn't 
load: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-UserInterfacestartstoloadbutthenspins(neverfullyloads)


Also, see the notes about SSL certificates in these two "Common 
Installation Issues", as I suspect you might be hitting one of these 
since it sounds like a possible SSL issue:

https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-%22No_linkssectionfoundat...%22errorfromUserInterface
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-UsingaSelf-SignedSSLCertificatecausestheFrontendtonotbeabletoaccesstheBackend

If none of those help, please look more closely for additional errors in 
the UI (see the first link for a guide to find UI errors via your 
Browser's DevTools) or the Backend (in the dspace.log file). Then let us 
know on this list what you've found, or check that list of "Common 
Installation Issues" if your error is already listed there.


Tim

On Tuesday, January 11, 2022 at 6:51:24 AM UTC-6 mukisavi...@gmail.com 
wrote:


Dear Support Team,
We are running DSpace7.1 on the https://kyuspace.kyu.ac.ug/
 front-end and
https://dspace.kyu.ac.ug/server/ 
backend respectively.
However, the frontend the header and footer sections only.

The web server setup is Apache -> Tomcat via some proxy rules fixed
in the 2 config files for both backend and frontend.

On loading the frontend the system returns an endless preloader on a
blank page and hides the login form.

when I issue *yarn config:check:rest *on the CLI.
it returns the following error */ERROR connecting to REST API/*
*/Error: unable to verify the first certificate./*
*/
/*
*/dspace.JPG
/*
*/
/*
We applied the SSL certificates via apache VHOST files.
Further, the *mod_jk.log* file returns the following error.

/[Tue Jan 11 13:06:21 2022] [23175:140419000716224] [error]
extension_fix::jk_uri_worker_map.c (582): Could not find worker with
name 'jk-status' in uri map post processing.
/
/
/
/
/
how do we go about this? We are so stuck.
/
/

--
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/19981f18-8523-4606-b9d2-23149b326093n%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/c6fed2b1-26ea-7b43-6b4f-2dadf69b19e5%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] REST API DSpace 7.1


Hi Kosmas,

Am 08.11.21 um 08:48 schrieb Kosmas Kaifel:

Good morning,

can someone give me an example, how can I login into the REST-API via curl.

[…]

tried upgrading our DSpace5 last Friday and tested the login to the API:


curl -c - -XGET https:///server/api/login

You will get a Cookie named "DSPACE-XSRF-COOKIE" and its value.

Now try

curl -i -b "DSPACE-XSRF-COOKIE=" -H "X-XSRF-TOKEN: 
" -XPOST https:///server/api/authn/login -d 
'user=YOUR-USER=YOUR-PASSWORD'


In the answer you will receive a new DSPACE-XSRF-TOKEN and a Bearer 
Token you need for further access.



https://wiki.lyrasis.org/display/DSPACE/REST+Authentication
https://github.com/DSpace/RestContract/blob/main/csrf-tokens.md

CU

Michael

--
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/d84c4ab4-959e-8e43-8a93-76faa24b06b6%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Repository identifier and Sample identifier


Hi,


Am 28.10.21 um 16:38 schrieb Iltifat Ibrahimov:
[…]

C:\dspace-5.5-src-release\dspace\config\crosswalks\oai\description.xml

[…]

this should be the right place.

Restart DSpace, presumably you may need to clear the oai-cache .

CU

Michael


--
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/af723771-cef3-56d7-d7dc-ecbde3d65bcb%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] How to use packeger to copy/restore structure of a big repository?


Hi Veronica,

Am 08.10.21 um 11:57 schrieb Veronica Fernandez:
I try to migrate a very big repository to a new fresh install of 6.3, 
but I'didn't get it because I cannot "cut" it into communities because 
the import of them return me errors of dependencies at collections 
administrative groups.
You cannot restore collections if groups doesn´t exists but how can i 
get all epersons and groups created ??
If I try to export the entire site I have a lot of problems of memory 
and timeout. I think a posibility is to export excluding boundles or 
something similar, the target is to get the same "structural 
information" in both installations

Has somebody experience with packager and a big repository?

[…]

I think you have to split !

I've done this 3 years ago during an upgrade from 1.7.x, and this took a 
around a week (on 3500 items) w/o split.


However, I did this lately more often with the beta of DSpace 7, and it 
was horrible (~6000 items).


I have a lengthy description on behalf of a part of our disaster 
recovery, and its weird.


Try with the sitewide.zip w/o recursive (-a), this should give you the 
groups and the epersons (at least they are in the mets.xml).

Then try from top to bottom the first level communities.

If you have added own metadata fields, create them first in the empty 
repository, else DSpace 6 will fail (in contrast to DSpace 5, which will 
autocreate them).


Hope this helps,

Michael

--
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/aaff5b4b-7de4-68bc-e3ec-5bbe83f5045f%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Dspace 6.3 blank page


Hi Juan,

Am 22.09.21 um 16:44 schrieb Juan López:

Hi Hrafn,

to answer your questions:

1. I have Apache in front of Tomcat
2. it happens every friday nigth until saturday.

[…]

- look for the load of the system
- use netstat -napt for network connections
- when does your system / provider backups
- look on the cron jobs

this reoccuring leads to something like that

Michael


--
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/92de8726-1180-84b2-d5f6-a40ca1b09228%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Configuring Custom Authentication using JWT Token (Json Web Token)


Hi Charlotte,

Am 01.09.21 um 10:47 schrieb Charlotte:
Hello, I am trying to integrate Dspace 7 into my web portal but am stuck 
at the authentication customisation. My web portal uses a JWT Bearer 
Token for authentication verification and I am not sure if the same JWT 
bearer token can be used for Dspace.
Is there any guides regarding Dspace custom authentication using JWT 
bearer Token?

[…]

I had the same idea with an external service, but unfortunately the JWT 
is not signed (this is enough for my service, a valid / signed and 
unexpired token), so you have to verify it back on "/api/authn/status" 
of DSpace - this is theory, I will give it a try in the next weeks, but 
I'm keen to know your progress :) .


https://github.com/DSpace/RestContract/blob/main/authentication.md

Since X-mas is nearly there…
Couldn't we have a signed token ?
Couldn't we have OAUTH integration anyway :) ?

CU

Michael

--
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/3d5df3a4-0863-3b83-059d-f7ae2eb2fbf9%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] dini certification


Hi Paul,

Am 20.08.21 um 10:42 schrieb paulw...@gmail.com:

Hello,

FYI, we are running DSpace 6.3 with Postgresql.

Here is an update:

I have not solved the configuration problem with xoai.xml, in trying for 
a virtual set based on the presence of the string 'openAccess' in the 
metadata field dc.rights. 


I can send it, but we have changed much of that file.


[…]

Metadata FormatConfiguration referred as oaidc does not exist

[…]

look carefully for "oaidc" in xoai.mxl,e.g.



in the different Contexts - ours is currently only in the "driver" Context.




However, I had some success with the exception when updating the oai 
index.  When running


bin/dspace oai import -co

I had first gotten an out of memory error, which I mentioned above.  I 
raised the allotment for java in the dspace script, and that eliminated 
the memory error.  It allowed the process to go further however, to the 
point at which it ran into a null pointer exception:


java.lang.NullPointerException
         at org.dspace.xoai.app.XOAI.willChangeStatus(XOAI.java:441)
         at org.dspace.xoai.app.XOAI.index(XOAI.java:368)
         at org.dspace.xoai.app.XOAI.index(XOAI.java:280)
         at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:227) the
         at org.dspace.xoai.app.XOAI.index(XOAI.java:134)
         at org.dspace.xoai.app.XOAI.main(XOAI.java:560)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

         at java.lang.reflect.Method.invoke(Method.java:498)
         at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
         at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)


I looked at willChangeStatus in XOAI.java, and found it was checking the 
ResourcePolicy for the current item, and it was clear from the code that 
the null pointer exception occurred when it ran policy.getGroup().  I 
checked our resourcepolicy table in the database, and found 45 instances 
in which an entry had a null for the epersongroup_id column.  I do not 
know why this error happened, but these were special cases instantiated 
by my colleague (who is on vacation at the moment, so I cannot ask her.  
:-)  ).  I added a check in the willChangeStatus method if 
policy.getGroup() were null, to print out the item uuid.  This confirmed 
that these items with the nulls in the resourcepolicy table were the 
culprits.  I filled these nulls with the Administrator group id, and was 
able to run the full import successfully.


Cool :) .

CU

Michael


--
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/91e6d609-b477-3e9e-db23-a3c07b33995e%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re:[dspace-tech] dini certification


Hi Paul,

Am 17.08.21 um 17:31 schrieb paulw...@gmail.com:

Hello,

We are applying for dini certification, and we need an OAI-set for the 
open access documents.  I have attempted two things:


1.
I have created a collection named Open Access and put one of our open 
access documents in it as a test.  This document belongs to another 
collection.  After running discovery to update the solr index, the 
document now appears in both places.


do you really want that ? Or do you want just to have any oa doc in a set ?



But in the oai inteface, the collection appears, but the document does not.

[…]

sounds like you missed updating the OAI cache:

[bin]/dspace oai -h

--
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/4661a662-7fb6-8dfc-0c88-8543c1444f19%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: {Suspected Spam?}Re: [dspace-tech] JavaUpdate


Hi,

Am 30.07.21 um 10:59 schrieb Maya Zbitneva:

Good day!

 > did you install / use the management interface of tomcat (I do not know
 > much about it, because I don't use it) and have you changed the
 > "tomcat-users.xml" ?

Yes, I used management interface of tomcat. I created several users in 
Apache Tomcat which I see in tomcat-users.xml. Have I change passwords 
to users from tomcat-users.xml to improve safety?

[…]

should not be accessible from Internet.

Hopefully you do not have a the default password "tomcat" somewhere - 
this could be the way of the intrusion.


CU

Michael


--
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/6d85efde-0dba-1778-5bd3-f0154a31f4c3%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: {Suspected Spam?}Re: [dspace-tech] JavaUpdate


Hi,

Am 29.07.21 um 13:12 schrieb Maya Zbitneva:

Good day!

Michael, thank you very much for your professional recommendations!
I will try to realize all of them.

 > Do you have the user of the running process (ps -xau) ?

Yes, My cryptominer process was runned under "tomcat" user.

[…]

did you install / use the management interface of tomcat (I do not know 
much about it, because I don't use it) and have you changed the 
"tomcat-users.xml" ?


CU

Michael


--
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/109fc4c1-6b03-53fd-80f8-7e5662a71987%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Customizing Item Summary View


Hi Sarah,

Am 29.07.21 um 13:47 schrieb Sarah Butash:


    


^^
there must be a colon ":", not a dot "."  between "dim" and "field" :




CU

Michael


--
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/af4776fd-36d1-1429-bc73-6b2f8047b27a%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] JavaUpdate


Hi,

Am 28.07.21 um 13:16 schrieb Maya Zbitneva:

Good day!

Michael, thank you very much for your professional consultation. It was 
real cryptominer in OS Ubuntu!


Outch.

I succedeed to kill it. 


Do you have the user of the running process (ps -xau) ?


But I have the question about it.
How to find the vulnerability from which the malware got in?


That is the hard part. You can try http://www.chkrootkit.org/ (should be 
in Ubuntu) but this also can produce false positives. It might also be 
not the right tool…


If you have no idea, no log files or anything, IMHO:

> Install a new machine !! <

Make a new machine, setup (Apache / Nginx), Tomcat and after basically 
running, copy the DSpace files.

Change passwords and hope nothing awful is copied to the new machine.
Keep it closed - only https and ssh, keep the logins local (no Windows 
join).


Because even if I removed the malware, it can come again using the same 
vulnerability it exploited earlier.


This is what makes admins sleep bad.

Help me please, what security measures need to be taken to prevent the 
virus from entering the operating system again?


I only can give you some simple tips, because I don't know you 
organization, and there are standards you should keep on any machine 
running on the internet.


Do not expose any service to the internet which you don't need there - 
if you are behind a network firewall, only https (port 443) for DSpace 
needs to be accessible from outside - no ssh, no network files systems 
etc. Try a port scan from outside.


Update your OS regulary, on DSpace especially Java.

Backup - and restore ! Try the restore on a new machine an get a feeling 
for that, note down the steps.


If your DSpace is also file-, mail- and print-server, there is something 
really wrong - try to split that.


Find a local Linux community to get better help.

But maybe you made everything OK - this still can happen :( .

CU

Michael


--
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/2b270aeb-a996-e1cd-4887-2db20a9577a8%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Customizing Item Summary View


Hi Sarah,



Am 27.07.21 um 16:10 schrieb Sarah Butash:

Hello,

Just following up to see if anyone can give any advice

[…]

could you please share the template ?

CU

Michael

--
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/fdc67ced-0e66-1879-3020-53a853ed8a74%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] error at the time of executing the command "ant fresh_install" in cmd


Hi,

Am 27.07.21 um 09:46 schrieb Shrikant Rajbinde:

*Please suggest your guidance to sort out the   this error*


  [java] java.sql.SQLException: Cannot create Poolable Connection 
Factory (FATAL: password authentication failed for user "dspace")

[…]

first line states it: your password for the database is wrong.
Look in dspace.cfg / local.cfg (local.cfg supersedes dspace.cfg) for the 
database user / password, setup an (empty) database before DSpace install.


CU

Michael

--
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/b22ac72e-a27d-779a-4ee5-85113ab82e98%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] JavaUpdate


Hi Maya,

Am 23.07.21 um 14:45 schrieb Maya Zbitneva:
Thank you for the answer. I have Ubuntu web server. I installed openjdk. 
This process JavaUpdate consumes lots of hardware resources. I do not 
know how to kill forever this process. I found only how to decrease its 
priority.

[…]

I'd say this is a windows machine because on Linux there is no such process.
However, asking Google…

https://www.digitalocean.com/community/questions/javaupdates-taking-99-9-cpu-utilization-in-this-case-java-is-not-running-how-to-kill-the-event-permanently-or-alternate-solution

You might have a crypto miner on your machine.

CU

Michael

--
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/7f5d1c57-d50a-7299-c760-8c231ef4290e%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Where does text (specifically email address) on the /contact form come from?


Hi Kelly,

Am 15.07.21 um 18:44 schrieb Kerry Bouchard:
I've been beating my head against a wall trying to figure out where to 
change the email address that appears on the "Contact us" form on our 
DSpace 5.9 site - the repository.tcu.edu/contact form. It isn't any of 
the email addresses entered in our dspace.cfg file. And it isn't the 
email address of any of our user accounts. I need to change it from the 
current "libsystems" address to our "LibSpecialCollections" address.


On our server, in the /opt/projects/dspace directory, I did a:
   grep -R --exclude-dir={assetstore,log,solr} "libsystems"
command, it it does not find that text in any of the files. Can anyone 
point me to where that is set?




I only have the complete change of that page for you.
If you do not have your own *xsl file for changes, try if it works in
[your theme]/xsl/core/page-structure.xsl

match="//dri:div[@id='aspect.artifactbrowser.Contact.div.contact']">



YOUR HTML HERE




CU

Michael

--
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/a3d018a4-d069-398b-ee01-136f887367c5%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] mvn package command error


Hi,

Am 03.05.21 um 14:11 schrieb Compte Messagerie:

hello,
thank you for response,
with java8 i had this (below) error, and where i googled it i found that 
i must upgrade to java11

[…]

I'm not to deep in Maven and Java building, but

Caused by: 
org.apache.maven.wagon.providers.http.httpclient.ConnectionClosedException: 
Premature end of Content-Length delimited message body (expected: 93,370,598; 
received: 15,819,508)


sounds like a network problem to me (not 100 % sure)

in the help to that problem

https://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

you might find a solution by passing by the cache:


In Maven 3 if you just had a failed download and have fixed it (e.g. by 
uploading the jar to a repository) it will cache the failure. To force a 
refresh add -U to the command line.


Michael

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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/fcfd7563-da47-f87b-816a-63713919a7d5%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] mvn package command error


Hi,

Am 03.05.21 um 13:45 schrieb Compte Messagerie:


hello ,
i try to install dspace 6.3 on centos8 with apache-maven-3.8.1 and  
openjdk11

^^^

DSpace < 7 does AFAIK not build on Java 11 - you need Java 8 for that.
It might run on Java 11 e.g. in Tomcat (at least 5.x runs on 11, tested 
that) .


openjdk8 is supported until May 2026 - no need to hurry.

Michael




--
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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/0531823c-1a4b-bc88-13be-d0d207c68431%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Highest level of Java supported by DSpace?


Hi Alan,

Am 19.04.21 um 09:59 schrieb Alan Orth:

Dear dspace-tech,


can you please share your JAVA_OPTS from ~/bin/dspace ?



As I wait eleven seconds (!) for my `dspace index-discovery -h` command 
to complete, I saw this blog post¹ about newer Java versions last week 
and found it compelling:




I made some tests on production and testing systems and it made a 
difference on the JAVA_OPTS.


So these figures are from the standard JAVA_OPTS (JAVA_OPTS="-Xmx256m 
-Dfile.encoding=UTF-8"), approx. mean of 4 measures from the "real" time:


# time ~/bin/dspace index-discovery -h
~ 2,3s - 3,5s production Java 8
~ 3,65s testing Java 8
~ 4,15s testing Java 11

(testing is same system using Debian 10 and update-alternatives with 
Java 8 and Java 11).


[…]
Not to mention the improvements in garbage collection and of course new 
language features. So I ask: what is the highest version of Java that 
DSpace 6 and 7 officially supported? I recall seeing people running with 
Java 9 at least...


DSpace 5 (and 6 presumable, too) run on both Java 8 and Java 11 (with 
warnings, not tested in production), but at least DSpace 5 only compiles 
with Java 8.


Michael

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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/bb833476-a0d3-a3cd-b3bb-cde1bf90c40b%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] How to create Virtual Sets in OAI?


Hi,

I struggled with a similar problem some weeks ago and found this

http://dspace.2283337.n4.nabble.com/Create-OAI-Set-td4690783.html

helpful.
At least we now have sets with DDC and dc.type an some more.


Am 17.03.21 um 03:56 schrieb euler:

Dear All,

I did not find any documentation on how to create virtual sets in the 
OAI: https://wiki.lyrasis.org/display/DSDOC6x/OAI. I would like to 
create virtual sets based on the metadata such as those implemented in 
Open Knowledge 

[…]

CU

Michael

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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/38a2dbfd-aa99-7234-ac71-d620dad7b3f5%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] dspace-angular / DSpace 7 beta 4.1 / Bug with metadata schemes ?


Hi Tim,

Am 04.03.21 um 19:31 schrieb Tim Donohue:

Hi Michael,

We'd recommend testing the new DSpace 7 "main" branch (latest code) if 
you'd like to do thorough testing & bug reporting.  Several of those 
bugs have already been fixed there (e.g. the out of memory build error 
is fixed by upgrading to Node 12 or 14, which we now require). 


Yes, works now.

I'm not 
sure about the metadata schemes issue, but it'd be best to re-test with 
the latest code.


With any that are still reproducible on the "main" branch... If you are 
willing, it'd be wonderful if you could log each bug in our Issues (with 
steps to reproduce).  That way, I can get them scheduled for analysis 
from one of our developers.

[…]

I'll do the github stuff on monday - I checked out the current version 
(I hope, just https://github.com/DSpace/DSpace.git), and after a short 
try these problems still exists.


Nice weekend,

Michael

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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/334d2544-5277-d00f-e95e-a2a9217ff2cc%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


[dspace-tech] dspace-angular / DSpace 7 beta 4.1 / Bug with metadata schemes ?


Hi,

dspace-angular (e4454de from git), dspace 7 beta 4.1.

dspace-angular:
Could not compile prod, ends up out-of-memory (FATAL ERROR: Ineffective 
mark-compacts near heap limit Allocation failed - JavaScript heap out of 
memory), using the package.json from the build before (with 
--max_old_space_size=8192) works.


Creating a new metadata scheme creates, but does not list after that 
(same on build before).
Changing and  revisiting urls does not help, reloading 
/admin/registries/metadata helps.


Metadata fields with empty qualifier created in any scheme are written 
to PostgreSQL as empty string, not "null".


I exported ind DSpace 5 via

~/bin/dspace packager -o filterBundles=TEXT,THUMBNAIL -t AIP -d -a -i 
123456789/2013093044022 -e …


and copied the files to the new DSPace 7.

When ingesting via

~/bin/dspace packager -r  -u -a -e  -p 123456789/0 -t AIP -f 
-o skipIfParentMissing=true -o createMetadataFields=true 


I get the following error:

org.dspace.content.crosswalk.CrosswalkException: The 'price.null' 
element has not been defined in this DSpace instance.
at 
org.dspace.content.crosswalk.CrosswalkMetadataValidator.checkMetadata(CrosswalkMetadataValidator.java:107)

[…]

"price" is the element, the qualifier is not set - short solution is

update metadatafieldregistry set qualifier = null where qualifier = '';

in PostgreSQL.


Michael


--
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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/4bc78481-125f-3cd2-85cd-775127f5bbb2%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Using DSpace7 and dspace-angular behind Apache proxy


Am 26.02.21 um 18:30 schrieb Sten Aus:
Is there someone from Atmire team here to possibly see my request or am 
I alone in the dark? :D

[…]

well, I got it running partially behind a simple Apache reverse proxy - 
means, I had CORS errors in FF.


It however worked with Chrome (google-chrome-stable 
--disable-web-security --disable-gpu --user-data-dir=/tmp) and I was 
able to login (in prod mode, dev does not work because of websockets).


Michael


--
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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/d69d5f12-acc8-626f-6605-7c7fa9040ba7%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: Unable to login to new DSpace 7 installation


Am 25.02.21 um 11:50 schrieb Sten Aus:
I've discovered that Docker was running in "development". After building 
with the same configuration, only using yarn start:dev login works.



fascinating facts - now I have the same problem, and indeed yesterday I 
started it with "yarn run start:dev", later on just "yarn start".


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/713cf613-2e76-622c-ff6b-1d3e4cc952bb%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: Unable to login to new DSpace 7 installation


Hi Sten,

Am 25.02.21 um 10:24 schrieb Sten Aus:

Hi all
After using docker installation for test, I've discovered that 
dsAuthInfo cookie is not saved on my DSpace7 installation after 
"successful" login.

[…]

try to check out dspace-angular via git - after hours of frustration 
this helped me.


Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/66419a93-b0c9-0920-a598-f1e47be4bd43%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] DOI functionality


Hi Jose,

Am 03.11.20 um 16:47 schrieb Jose Blanco:
I have configured our test area to use DataCite to mint doi using the 
dspace documentation, and everything is working fine.

[…]
Any suggestions about how 
to accomplish this with the out of box dspace 6.3?


No, not out of the box (we use 5.10)
We had the same requirements: get a PI before submit.

Solution is fetching the DOI by a web service and pre-filling the field 
in the first step, so the submitter can note it down an put it inside 
their file.
Save the submission, after that there is a DOI, so don't fetch an new 
one on reopening (we have one user where this not works, gets a new one 
every time, needs further investigation).


Disadvantage: you need your own scripts to register with DataCite…

I can give you the snippet for XMLUI, if you like.

Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/10b8e751-2c6e-9be7-6f34-0f006f4a4e5f%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Mapped items not appearing in the OAI Set of the collection holding mapped items


Hi,

Am 22.09.20 um 13:36 schrieb Nason Bimbe:
I have noticed that items that have been mapped to a collection do not 
appear in the OAI set of the that collection. Is this the correct 
behaviour of DSpace or am I missing something? DSpace version is 6.2.



[…]


did you run - or have it in the crontab - "dspace oai import" ?

Michael

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/59f4bc10-094a-0c00-6e9f-d3e059b22b0a%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: Total records in the news-xmlui


Hi,

Am 14.09.20 um 16:38 schrieb Ayuka Phanuel:

Any help with this is highly appreciated.

[…]

did you try


https://wiki.lyrasis.org/display/DSPACE/Solr#Solr-AccessingSolr

Your SOLR-URL with the link

/solr/search/select?q=search.resourcetype:2=0

should return a result with the "numFound" qualifier.

Not sure if this works in the news-xmlui…


Michael

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/29b5e10b-7608-8024-7e89-117636a58258%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Insight into DSpace 7


Hi Tim,

Am 10.09.20 um 15:53 schrieb Tim Donohue:

Hi David,

The quick (and simple) answer is that we chose to use Angular Universal 
to support better SEO (Search Engine Optimization).  Angular Universal 
allows spiders (or other tools) that cannot run Javascript to still work 
with DSpace 7.  Without Angular Universal, if something could not 
support Javascript, it would not be possible to use DSpace 7and that 
would even include screen readers or specialized browsers (or similar 
tools) that do not support Javascript.   With Angular Universal, if you 
are using a tool that doesn't support Javascript, you are still able to 
interact with the application as if it were plain HTML (though not all 
features are available).

[…]

in other words… for Angular we need a HTTP-Server which proxies Node / PM2 ?

Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/94f182fb-341f-7c7f-f834-c5497019a7af%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: problems with dspace-angular-beta3


Hi Paul,

I was curious about DSpace 7 (and your problems) and installed the 
latest 7.3ß, backend and frontend (same machine, as stated).


I had errors similar to those of you (500 Internal Server Error).

It came from Solr, latest version 8.
https://issues.apache.org/jira/browse/SOLR-14768

I switched back to the 7 series of Solr and the errors are gone.

But this sounds to easy…

Michael


Am 01.09.20 um 04:32 schrieb paulw...@gmail.com:

Dear Tim,

Sorry, this was my bad: I had failed to start solr.  So sorry to waste 
your time on this one.


It does bring something to mind, though.  My DSpace 7 instance is not 
allowing me to create a collection in the browser after logging in, 
because it does not find the two communities I have installed.  Am I 
missing something in my solr config, or is there a way to refresh the 
solr index to read the stuff in DSpace?  I have copied the files over 
and restarted solr, but that doesn't sound like a new index.  Maybe solr 
does not see these communities of mine, and that is the source of this 
problem.


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/262fa74b-a9e5-f16a-504c-57d9ae26fbf1%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: DSpace7 Rest Server - two installations, one works, one does not


Hi Paul,

Am 19.07.20 um 12:40 schrieb Paul Warner:

Hello everyone,


sorry for the delay…


I have 2 DSpace 7 installations running on Ubuntu 18.04 machines, and 
have concluded that something among the software requirements for DSpace 
7 is not well-supported by Suse SLES 12 patch 2.  I haven't got any 
evidence for this theory, because there is nothing in any of the logs to 
explain what is happening.  I do know that some new-ish software cannot 
be installed on SLES 12, so, it seems reasonable.


I'm not running DSpace 7 currently, however I did much with REST lately 
and nobody else answered you… so I stepped forward.


some points:
- Postgres 9.6 should be OK, but you might enable SQL-Logging to be sure
- laptop uses "localhost" as hostname ? server uses what ?
- tomcat versions on laptop and server ?
- log files you checked, e.g. tomcat's log files

CU

Michael

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/a08aec36-87be-d438-d2a4-3f6a76ae0886%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] JAVA_OPTS


Am 14.02.20 um 10:40 schrieb Майя Збитнева:
I use ubuntu 18 and tomcat 9. I couldn`t found file 
/etc/default/tomcat9. But I found in Internet the following 
recommendation: "/etc/systemd/system/tomcat.service". Is that right?



Don't know Ubuntu 18, sorry.
You might get problems anyway with tomcat9 and Java newer than Version 8 
- you can run DSpace with Java 11, but can't install presumably.


CU

Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/316c7aeb-24ec-80ee-39f8-a2edabffcdd0%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] JAVA_OPTS


Hi Maiia,

Am 14.02.20 um 08:58 schrieb Maiia Zbitnieva:
Good day! Could you please help me to install quickly Dspace 6.0 binary 
release. Promt me please where (in which file) to set the following 
parameter JAVA_OPTS:
"You need to ensure that Tomcat uses UTF-8 as its default file encoding 
for international character support. So ensure in your startup scripts 
(etc) that the following environment variable is set: 
/JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8"/"

[…]

depends on your OS.

Linux usually keeps it in /etc, Debian based (Debian, Ubuntu) in

/etc/defaults/tomcat8

Else this thread might help:

https://serverfault.com/questions/79641/how-can-i-configure-tomcat-java-options-in-a-config-file

CU

Michael

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/93ce1210-83d7-bc93-4531-d9df5654af6c%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] CC Service is down


Am 02.10.19 um 11:54 schrieb Michael Plate:

Hi,


https://api.creativecommons.org/


[…]

up and running.

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/d9e99d99-6b65-a572-6f0f-5180ab73323d%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


[dspace-tech] CC Service is down


Hi,


https://api.creativecommons.org/

is currently (11:55 CEST) down (503 Service Unavailable)- if you have 
the CC-license step in your submission the submission will fail and 
produce a stack trace (at least on Dspace 5.x, XMLUI).


CU

Michael

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/7b9d5dfd-6248-ee29-e40d-883f32195d71%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Auto generated number in Dspace


Hi Amit,

Am 24.06.19 um 11:04 schrieb Amit Gupta:

Hi All,

For one of our clients we have created the item type - Conference 
Proceedings, as per the custom fields defined by the client.


The client is seeking a self-generated sequence number for a custom 
field called 'control number', with the following format: 
MyRepository/current date/CP/01


Example values for this will be as follows:
MyRepository/23-Jun-2019/CP/01
MyRepository/24-Jun-2019/CP/01
MyRepository/24-Jun-2019/CP/02

Is this possible in DSpace?

[…]

AFAIK not out-of-the-box.
Generally spoken, you can use a modified template in the XMLUI and fetch 
a number from a service in the background.

Or use Javascript in the web site (security !).

But you need a service (program) to generate the numbers and to keep 
track of them (database, e.g.).


CU

Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/f1d83c2e-abd3-3dfa-9749-ce97d7cb56b7%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] full item view mirage 2


Hi Massimiliano,

Am 13.06.19 um 20:45 schrieb Massimiliano CILURZO:

Hi Michael,
       There is somthing very strange with the same messages.xml of my 
previous version 5.6 we can't see the correct label
I tried the original messages.xml and messages_lang,xml of the mirage2 
theme and we have the same error.
Another strange thing is that In the short view we see the correct label 
for Author.

In dspace 6.3 we have to do a different configuation?

[…]

I'm  out of inspiration now.
We upgraded from 1.7.2 to 5.10 ½ year ago, and also tested 6.x - but we 
felt not satisfied, we had much of performance problems, so we used 5.10 
instead.

But I can't remember any problems with the message files, so.

Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/85be21c4-ab60-7ea1-4708-f99f0e7280a8%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] full item view mirage 2


Hi Massimiliano,

Am 13.06.19 um 14:36 schrieb Massimiliano CILURZO:

Hi Michael,

       I haven't touched the item-view.xls.
I have modified the file messages_mylanguage.xml.
But in english or in my language
The system when I click on "show full item record" the system visualize:
dc.contributor.author   

dc.date.accessioned 
dc.date.available

etc.


I'd like to show "Author" and not dc.contributor.author as in my 
previous dspace server 5.6.


and you have double checked the correctness (well formed) of the 
message*xml file ?

Sorry if I insist on that, we had strange errors, too.
Did you try the original message-files from DSpace again, just to narrow 
down the problem ?


CU

Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/858e098a-5ff7-4fda-3cf4-c194075f3b8f%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] full item view mirage 2


Am 13.06.19 um 12:15 schrieb Massimiliano CILURZO:

Hi Michael.
      I tried to clean the cache but without succes.
Even in the control panel I see the label 
"xmlui.administrative.ControPanelTabs.Java Information"
As if the system don't see the value of   "key="xmlui.metadata.dc ...>" in the messages_xx.xml end messages.xml 
files.

Thanks



not sure, if I understand the problem right..you have customized 
item-view.xsl and the usual key is


xmlui.dri2xhtml.METS-1.0.item-author

for "Author" in */webapps/xmlui/i18/messages.xml

and the file messages*.xml is OK (xmllint) ?

CU

Michael

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/dad9200a-6114-2229-a618-141873a93ffe%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] full item view mirage 2


Hi  Massimiliano,

Am 13.06.19 um 11:31 schrieb Massimiliano CILURZO:

Dear All,
     We are costumizing our mirage 2 theme on dspace 6.3, but we noticed 
that for the "full item view" we have some visualization problme, for 
example the label for the author is dc.contributor.author  and not author.
The file messages.xml it is ok and we tried to translate  in our 
language some field but even if the messages_xx.xml is correct the 
visualization of the full item view doesn't change.

If we see the JSPUI page the full item view is correct.
What we can do?


tried to clear the cache (Administrative / Control Panel / Cocoon Info / 
 (Clear Cache Immediately) ?


CU

Michael

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/8df29db2-a21d-2c68-5353-d03a80c2821d%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Use REST to make Item Private


Hi Ayuka,

Am 20.05.19 um 10:57 schrieb Ayuka Phanuel:
I have approximately 4000 items i need to make private in the 
repository, Is there a way I can do this using the REST API.
The *edit this item and make private* in the XMLUI seems to be not very 
feasible with the number of items I have.

[…]

login as admin and below "Access control" choose "Authorization".
On the top of the page you will find the line

"Advanced authorizations tool: 	Click here to go to the item wildcard 
policy admin tool"


Click on it, it should be sufficient.
Remember items and bitstreams - you can set rights for both, but you 
have to run each independent from the other.


On large numbers of items you have to be patient :) .


Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/707e1418-f267-1c6e-2fdf-38a51d133310%40bibliothek.uni-kassel.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Multiple domain LDAP Authentication


Hi Hernán,

Am 09.05.19 um 21:55 schrieb Hernán Lagos:

Dear All,

It can be configure multiple domains and different IP for LDAP 
Autentication?

[…]

AFAIK not.

If you need that, look for an LDAP Proxy wich combines multiple domains 
(OpenLDAP can).


CU

Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/e926edd8-f2b2-418e-b7da-9feadd345907%40bibliothek.uni-kassel.de.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


[dspace-tech] Ingest AIP with embargo end


Hi,

I tried to import an AIP with an embargo end into our test site exported 
by packager from production site (both sites DSpace 5.10)

It is part out of a "full" recursive export done via

dspace packager -a -d -e XXX -t AIP -i 123456789/0 -o 
filterBundles=TEXT,THUMBNAIL all.zip


(XXX is admin email)
I tried a single import

dspace packager -p 123456789/2016063050540 -t AIP -e XXX 
i...@123456789-2018092456425.zip


but failed on  embargo:

java.lang.NullPointerException
at 
org.dspace.embargo.DefaultEmbargoSetter.setEmbargo(DefaultEmbargoSetter.java:89)
at 
org.dspace.embargo.EmbargoManager.setEmbargo(EmbargoManager.java:101)

at org.dspace.content.InstallItem.finishItem(InstallItem.java:253)
at org.dspace.content.InstallItem.installItem(InstallItem.java:80)
at org.dspace.content.InstallItem.installItem(InstallItem.java:44)
at 
org.dspace.workflow.WorkflowManager.archive(WorkflowManager.java:907)
at 
org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:623)
at 
org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:459)
at 
org.dspace.workflow.WorkflowManager.pool(WorkflowManager.java:843)
at 
org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:610)
at 
org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:444)
at 
org.dspace.workflow.WorkflowManager.pool(WorkflowManager.java:843)
at 
org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:601)
at 
org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:426)
at 
org.dspace.workflow.WorkflowManager.pool(WorkflowManager.java:843)
at 
org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:592)
at 
org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:407)
at 
org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:355)
at 
org.dspace.workflow.WorkflowManager.start(WorkflowManager.java:189)
at 
org.dspace.workflow.WorkflowManager.startWithoutNotify(WorkflowManager.java:207)
at 
org.dspace.content.packager.PackageUtils.finishCreateItem(PackageUtils.java:529)
at 
org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:510)
at 
org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:228)

at org.dspace.app.packager.Packager.ingest(Packager.java:570)
at org.dspace.app.packager.Packager.main(Packager.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)
at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)



Debug :

2019-02-06 13:04:42,484 INFO  org.dspace.content.WorkspaceItem @ 
XXX::delete_workspace_item:workspace_item_id=4050item_id=4105collection_id=184
2019-02-06 13:04:42,484 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running query "delete from workspaceitem where workspace_item_id = ? " 
with parameters: 4050
2019-02-06 13:04:42,492 INFO  org.dspace.embargo.EmbargoManager @ Set 
embargo on Item 123456789/2018092456425, expires on: 2019-02-24


The line in the mets.xml is

  lang="">2019-02-24


If I remove the line, import works.

mets.dspaceAIP.ingest.crosswalk.METSRIGHTS = NIL
mets.dspaceAIP.ingest.crosswalk.DSPACE-ROLES = NIL

in dspace.cfg set or not seem to make no difference.

The ingested document is available in DSpace (with embargo), can be 
referenced by selecting the item_id in "Find item".


It has no "owning_collection" in table item.


Any ideas ?

Michael



--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Suddenly Sword Says "Unauthorized Credentials"


Hi Glen,

Am 23.01.19 um 17:55 schrieb librarysystems.t...@gmail.com:
We are using Vireo 3.0.6 (with Sword v1) and publishing to a DSpace 6.3 
repository.  Since updating the operating systems on both servers, Vireo 
can’t connect to the DSpace repository to deposit theses and 
dissertations.  The DSpace server is running Amazon Linux kernel 
4.14.88-72.73.amzn1.x86_64, Tomcat 7 and Apache 2.2.  At first, the 
error message indicated a certificate error.  I replaced the cacerts 
files and the operating system CA files with the ones that existed prior 
to the update.  That fixed the certificate error, but now we get 
“unauthorized credentials” when testing the connection.

[…]

did you check the cert chain via openssl ?


openssl s_client -connect your.server.name:443 -showcert


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] A way to alter metadata values for display?


Hi Gabe,

Am 10.01.19 um 16:13 schrieb tuf04...@temple.edu:
[…]
We are using DSpace 6.2 with XMLUI.  We haven't selected a theme, but 
are interested in using one down the line, and it would be great to know 
how our selection would affect this.

[…]

bad news: DIY .
It can be done like this, e.g. for DDC:

let's say you have category 004 ("Data processing and computer science").
In the metadata field (ours is "subject.ddc") is just "004".

In your messages.xml files for i18n enter something like this:

Data processing and computer 
science


and for german messages_de.xml e.g.

Informatik

Note the numeric category after the "xmlui.subject_ddc.".

In the template in the xsl-file it can look like this:
---


[…]
select="concat('xmlui.subject_ddc.',./node())"/>

[…]

---

In this loop, ./node() contains the contents of the metadata field, is 
appended to a static string "xmlui.subject_ddc." replaced by your 
message from messages???.xml via "" by the current selected 
language.


Disadvantage: there is no text indexed to be searched, just the numeric 
category.


Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Re: RESTaip listing collections


Hi Jose,

Am 10.12.18 um 23:18 schrieb Jose Blanco:

I see in the code that 100 is the default when doing collections.



append a

?limit=XXX

to the URL, e.g.


RESTapi/collections?limit=500

Works with other limits of the REST-API, too.


CU

Michael

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] streamlined upload with standalone app ?


Hi Monika,

Am 28.11.18 um 16:12 schrieb Monika Mevenkamp:
We would love to set something up where researchers can upload a 
publication to a simple online form, where they fill in a couple fields, 
title, abstract, … and upload a file  then push submit. Ideally the form 
would push the data to a DSPACE instance’s workflow. Alternatively the 
data would be stored and a script would be able to grab it and transfer 
to designated DSPACE instance – aka a workflow.


Does anybody know of an implementation of this or something similar ?

[…]

when setting up our new DSpace (5.10) I thought about this, too.
But due to lack of time..
We once had the possibility to upload via SWORD by a different system, 
but only three persons ever used it in a couple of years.


So SWORD may be a solution.


Michael


--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] HTTPS and SOLR


Hi Jake,

in Tomcat 8 a rewrite is possible.

In the context in server.xml define



Add a rewrite.config to the path of e.g. 
[tomcat-path]/xmlui/WEB-INF/rewrite.config with this contents



RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]

and restart tomcat.

Or just google around for "tomcat 8 rewrite valve", there are some 
samples which might fit your config.



CU

Michael




Am 06.11.18 um 16:09 schrieb Cameron, Jacob:
We don’t want SOLR available publically, and it is secured only to the 
localhost.  However, when I forced HTTPS our DSpace instance in Tomcat, 
it started causing the 302 errors with SOLR.  I guess I’m going to have 
to install Apache httpd or nginx to handle the certificate.  I was 
hoping to get away with just using tomcat.





--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] WORM submissions?

Hi Tony,


Am 02.11.18 um 10:45 schrieb Tony Brian Albers:
> No, not about actual living beings, but Write Once Read Many.
> 
> Is it possible to make a collection only accept deposits and not let
> the owner delete what he/she has deposited?
[…]

it is possible, if I understand you correct.
We use a LDAP-based group wich can only submit to one collection and
there is no read access by default.

I think it was this way, but you have to fiddle around a bit...
- create a collection
 after that, assign roles - you should have a COLLECTION_XXX_SUBMIT and
 COLLECTION_XXX_DEFAULT_READ group after
- add some steps for the people to work with the workflow
- use Access Control / Authorizations and add a new policy "ADD" for the
  group or users who should submit
- set DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ to the people doing
  the workflow
- remove READ for Anonymous

after submission and workflow you have to move the item to the target
collection, check "Inherit policies" and move it.

I hope this is the right way, I struggled a bit with it.


-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


[dspace-tech] Re: DOI via Proxy

Hi Paul,

Am 22.10.18 um 12:55 schrieb Paul Münch:
> Hello,
> 
> I figured out that the Proxy configuration is not the problem. Somehow
> it is not possible to do anything with the 'doi-organiser'. Everytime I
> tried to reserve, register or update all for test purposes, I got these
> error message: There are no objects in database that could be ...
> I configured our DSpace-Instance how descriebed in the documentation.
> The database connection is fine. Can anybody help me?
[…]

do you have entries in the "doi" table ?

CU

Michael


-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Move section on item-view.xsl

Hi Javier,

Am 10.05.2018 um 01:30 schrieb Javier Távara:
> Hello!
> 
> I've been customizing a little bit the item view.
> 
> I want to move the "Files in this item" section to the middle of the
> metadata section (right after the abstract).

don't know what theme you are using, I'm using Mirage2.

In the template



is a call-template



Just move it below the




CU

Michael

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] supportedLocale string in pageMeta

Hallo Claudia,

Am 17.04.2018 um 11:12 schrieb Claudia Jürgen:
> Hallo Michael,
> 
> I'm not that familiar with the xmlui but take a look at:
> https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/viewArtifacts/Navigation.java#L138
> 
> and here is where the name to display is set:
> https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/viewArtifacts/Navigation.java#L143
> 
> 
> Hope this helps
[…]

thanks for the help.
After further digging, it seems to be a feature of the Java Locale API
(not tested, but makes sense).

Greetings,

Michael


-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


[dspace-tech] supportedLocale string in pageMeta

Hi,

it is an absolute mystery to me where the string of the locale shown in
the navbar ist taken from.

In the DRI, it shows up in the pageMeta section as

Deutsch

or

English

but where are the strings "Deutsch", "English" taken from ?

Michael

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] New dublin Core Type

Hi Rodrigo,

not sure about Your question it, but...

Am 15.04.2018 um 22:46 schrieb Rodrigo Sebastian Hidalgo Avila:
> I have reviewed the dublin-core-types.xml file to see if there is any
> type to use in a new field for the thesis approval grade, but none of
> the ones there are convincing.
> Can a new dublin core type be added?


login as administrator and look in the menus for metadata reference list
(sorry, only have xmlui version here).

You will see a list of at least three namespaces

http://dublincore.org/documents/dcmi-terms/ (dc)
http://dspace.org/eperson   (eperson)
http://purl.org/dc/terms/   (dcterms)

preferred would be adding your own namespace, but you can extend "dc" of
course.
After adding the new field, remember when using it in the
input-forms.xml to set the correct namespace int the  tag.

Hope it helps,

CU

Michael

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Issue with handles without resource

Hi,

Am 08.03.2018 um 22:40 schrieb Arthur H L R S:
> Greetings,
> 
> In my base, I have some handles that have no resource - accessing them
> will show this error: org.apache.cocoon.ResourceNotFoundException: Page
> cannot be found
> 
> The problem is: The logs are getting insanelly huge as, I believe, the
> discover is trying to reach them and generating too much erros, like*2GB
> *console log/day.
> 
> The erros are pretty similar for all the *handles* wich has no
> *resource_id*.
> 
> What is the best approach to this problem? deleting the handles manually?
[…]

I have the same problem at the moment with converting a DSpace 1.7.x to
a newer version.
While exporting several errors showed up.
We had 57 handles without resource_id and I cloned the VM an deleted
them with just

delete from handle where resource_id is null;

Rebuilding the index (it is not Solr in this version) worked fine and
exporting finished.

CU

Michael


-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] DSpace java.lang.NullPointerException on DescribeStep.readText()

Am 08.03.2018 um 15:48 schrieb Leonardo Piccioni de Almeida:
> I'm configuring a DSpace XMLUI installation, adding some metadata
> (custom namespace) and editing the input form (adding and removing fields).
[…]

looks like some fields are not in the metadata registry.

CU

Michael


-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [dspace-tech] Slow performance Dspace 6.2

Hi,

Am 25.01.2018 um 16:46 schrieb Bill T:
> I am recently experimenting with v6.2 as well, and I am experiencing the
> same problems with community pages.  This is possibly not the best
> layout, but we essentially have 1 top level community which contains all
> other collections and communities which number about 1000. Performance
> loading this community was satisfactory in version 5.x, but has become
> extremely slow in v6.x.  Anonymous users see a load time of
> approximately 20 seconds.  Admin users see a somewhat faster load time,
> approximately 18 seconds.  Non-admin logged in users see a page load
> time of over 1 minute.  Any of these times prohibit us from going into
> production with DSpace 6.
[…]

testing this,too - with the same problems; caching does not affect this
to much (xmlui.community-list.cache = 12 hours).

Our number of Communities & Collections is around 800.
In DSpace 6.2 the full view (with strength) ...xmlui/community-list
takes 75s in XMLUI.
...jspui/community-list takes < 3s in JSPUI.

Getting /rest/hierarchy (no strength, so maybe not really comparable):

real0m0,867s


When starting debug-log of Postgresql, I can see that JSPUI uses ~ 5500
SQL-queries for community-list.
XMLUI uses ~ 23000 SQL-queries.

The structure is like

https://kobra.bibliothek.uni-kassel.de/community-list


> Our setup is
> RHEL 7
> 8 cores, 32 GB
> java 1.8.0, tomcat 8.5.14
> postgresql 9.6.2
[…]
ours is nearly same on Debian 9 with open-jdk (on XenServer VM).

CU

Michael



-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature