[dspace-tech] Re: When deleting a sub community or collection it is instead moved to the community list.

2017-03-24 Thread Bolivar O.
Hi Javier,

Did you solve the problem?  We are facing a similar problem.

-- 
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.


[dspace-tech] Subcommunity creation issue

2017-03-24 Thread Bolivar O.
Hi, we are facing a strange situation with our Dspace 5 installation.  We 
have different administrators in each top level Communities.  Sometimes 
(not always), when a Community Administrator creates a subcomunnity within 
its Community, it appear as top level community instead a 
subcommunity...Community Administrators are not in the default Dspace 
Administrator Group and they don't have authorization to create top level 
communities, they have only administrator role in the community he/she 
manages.

For example, lets say we have three top level Communites with its 
respective Community Administrator:

DSPACE
- Community-X (admin1)
- Community-Y (admin2)
- Community-Z (admin3)

Lets say the admin1 user creates a subcommunity (SubCommunity-X) within its 
community (Community-X).  The expected results would be:
- Community-X
--- SubCommunity-X
- Community-Y
- Community-Z

But we sometimes get this results:
- Community-X
- SubCommunity-X1
- Community-Y
- Community-Z

I can't find errors in dspace log about this...

Any clue about what can be happening? or what do we need to check?

Thanks!

Bolívar O.

-- 
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.


[dspace-tech] Re: i'm trying restore an community with dspace packager -r -s -k -a -t AIP

2017-03-24 Thread Brendow Adriel
As it was critical situation in the system, and there was the need to 
restore the community in time by the unavailability of the system. I ended 
up doing a backup of the file and i removed it in the restore worked 
normally. I will do a new backup simulation and I will try to restore it in 
the community and report the problem. Thank you.

Em quinta-feira, 23 de março de 2017 13:49:30 UTC-3, Brendow Adriel 
escreveu:
>
>
> Returning this error:
>
> Also ingesting all referenced packages (recursive mode)..
> This may take a while, please check your logs for ongoing status while we 
> process each package.
> org.dspace.content.crosswalk.MetadataValidationException: Bad number value 
> in PREMIS object/objectCharacteristics/size: 2237780334
> at 
> org.dspace.content.crosswalk.PREMISCrosswalk.ingest(PREMISCrosswalk.java:122)
> at 
> org.dspace.content.crosswalk.PREMISCrosswalk.ingest(PREMISCrosswalk.java:88)
> at 
> org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1193)
> at 
> org.dspace.content.packager.METSManifest.crosswalkBitstream(METSManifest.java:1310)
> at 
> org.dspace.content.packager.AbstractMETSIngester.addBitstreams(AbstractMETSIngester.java:814)
> at 
> org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:494)
> at 
> org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:228)
> at 
> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:145)
> at 
> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:195)
> at 
> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:195)
> at org.dspace.app.packager.Packager.ingest(Packager.java:515)
> 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)
> Caused by: java.lang.NumberFormatException: For input string: "2237780334"
> at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:583)
> at java.lang.Integer.parseInt(Integer.java:615)
> at 
> org.dspace.content.crosswalk.PREMISCrosswalk.ingest(PREMISCrosswalk.java:112)
> ... 17 more
> org.dspace.content.crosswalk.MetadataValidationException: Bad number value 
> in PREMIS object/objectCharacteristics/size: 2237780334
>

-- 
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.


[dspace-tech] Re: i'm trying restore an community with dspace packager -r -s -k -a -t AIP

2017-03-24 Thread Mark Wood
I answered this in 
http://stackoverflow.com/questions/42982637/im-trying-restore-an-community-with-dspace-packager
 
but for the list, a quick summary:  PREMISCrosswalk can't deal with the 
number 2237780334 because it uses an int rather than a long to compare the 
declared size with the long returned by Bitstream.getSize(), and that 
number is greater than 2**31 - 1.  It's a bug.

-- 
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.


[dspace-tech] Internal Server Error in DSpace 6 /jspui/tools/collection-wizard

2017-03-24 Thread Genzmehr, Matthias
Hi DSpacer's,

I'm new to DSpace and i'm running DSpace 6.0 on Debian 4.9.13 with  Tomcat 
8.5.9 and PostgreSQL 9.4

Most seem's to work perfect but i'm running into an Internal Server Error when 
I'm trying to create a new collection (/jspui/tools/collection-wizard).

It seems that DSpace is creating a StackOverflow caused by an endless loop in 
the recursive method


org.dspace.eperson.GroupServiceImpl.getChildren(GroupServiceImpl.java:642)

The dspace.log is attached below.

Do you have any ideas how to fix that?

dspace.log:

2017-03-24 12:14:31,324 INFO  org.dspace.authenticate.PasswordAuthentication @ 
anonymous:session_id=790DE4F13AC2591C85D0037655D1CFAE:ip_addr=134.93.236.34:authenticate:attempting
 password auth of user=m.genzm...@ub.uni-mainz.de
2017-03-24 12:14:31,328 INFO  org.dspace.authenticate.PasswordAuthentication @ 
m.genzm...@ub.uni-mainz.de:session_id=790DE4F13AC2591C85D0037655D1CFAE:ip_addr=134.93.236.34:authenticate:type=PasswordAuthentication
2017-03-24 12:14:31,328 INFO  org.dspace.eperson.EPersonServiceImpl @ 
m.genzm...@ub.uni-mainz.de:session_id=790DE4F13AC2591C85D0037655D1CFAE:ip_addr=134.93.236.34:update_eperson:eperson_id=182d7662-456c-45de-92a3-29bbe763bf96
2017-03-24 12:14:31,339 INFO  org.dspace.app.webui.servlet.PasswordServlet @ 
m.genzm...@ub.uni-mainz.de:session_id=790DE4F13AC2591C85D0037655D1CFAE:ip_addr=134.93.236.34:login:type=explicit
2017-03-24 12:14:31,451 INFO  org.dspace.app.webui.servlet.MyDSpaceServlet @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_mydspace:
2017-03-24 12:14:48,114 INFO  org.dspace.app.webui.servlet.CommunityListServlet 
@ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_community_list:
2017-03-24 12:14:48,264 INFO  org.dspace.app.webui.servlet.RetrieveServlet @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_bitstream:bitstream_id=b90f958c-4fe4-40e8-8c0a-362d989c1e6f
2017-03-24 12:14:48,264 INFO  org.dspace.usage.LoggerUsageEventListener @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_bitstream:bitstream_id=b90f958c-4fe4-40e8-8c0a-362d989c1e6f
2017-03-24 12:14:48,266 INFO  org.dspace.app.webui.servlet.RetrieveServlet @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_bitstream:bitstream_id=517f9339-f71d-4173-9a0d-290d3497366a
2017-03-24 12:14:48,267 INFO  org.dspace.usage.LoggerUsageEventListener @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_bitstream:bitstream_id=517f9339-f71d-4173-9a0d-290d3497366a
2017-03-24 12:14:52,621 INFO  org.dspace.app.webui.servlet.HandleServlet @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_community:community_id=45b4eb45-3998-4d7a-b5d2-e5a5717c16b9
2017-03-24 12:14:52,622 INFO  org.dspace.browse.BrowseEngine @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:browse_mini:
2017-03-24 12:14:52,635 INFO  org.dspace.app.webui.discovery.DiscoverUtility @ 
facets for scope, org.dspace.content.Community@b8825798: 4
2017-03-24 12:14:52,664 INFO  org.dspace.usage.LoggerUsageEventListener @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_community:community_id=45b4eb45-3998-4d7a-b5d2-e5a5717c16b9
2017-03-24 12:14:52,922 INFO  org.dspace.app.webui.servlet.RetrieveServlet @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_bitstream:bitstream_id=517f9339-f71d-4173-9a0d-290d3497366a
2017-03-24 12:14:52,922 INFO  org.dspace.usage.LoggerUsageEventListener @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_bitstream:bitstream_id=517f9339-f71d-4173-9a0d-290d3497366a
2017-03-24 12:14:52,925 INFO  org.dspace.app.webui.servlet.RetrieveServlet @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_bitstream:bitstream_id=b90f958c-4fe4-40e8-8c0a-362d989c1e6f
2017-03-24 12:14:52,925 INFO  org.dspace.usage.LoggerUsageEventListener @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:view_bitstream:bitstream_id=b90f958c-4fe4-40e8-8c0a-362d989c1e6f
2017-03-24 12:14:56,199 INFO  org.dspace.content.CommunityServiceImpl @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A280E45:ip_addr=134.93.236.34:add_collection:community_id=45b4eb45-3998-4d7a-b5d2-e5a5717c16b9,collection_id=f3fda954-233e-44f3-8379-2f8e3dd35ee0
2017-03-24 12:14:56,202 INFO  org.hibernate.dialect.Dialect @ HHH000400: Using 
dialect: org.hibernate.dialect.PostgreSQL82Dialect
2017-03-24 12:14:56,212 INFO  org.dspace.content.CollectionServiceImpl @ 
m.genzm...@ub.uni-mainz.de:session_id=9F063D877097EE508D68D1DC3A28

Re: [dspace-tech] update-handle-prefix fails to update the metadata table

2017-03-24 Thread Claudia Jürgen

Hi Hardy,

are you using the handle system so your identifiers are like:
http://hdl.handle.net/YOURPREFIX/NUMBER
and have you checked whether your metadata values were updated in your
database?

cu

Claudia Jürgen



Am 23.03.2017 um 20:01 schrieb Hardy Pottinger:

Hi, I'm using DSpace 6.x on PostgreSQL. This morning I ran the
update-handle-prefix script with the following results:

---

dspace update-handle-prefix 20.500.11930 20.500.11991

Getting information about handles from database...
In your repository will be updated 1004 handles to new prefix 20.500.11991
from original 20.500.11930!

Servlet container (e.g. Apache Tomcat, Jetty, Caucho Resin) must be running.
If it is necessary, please make a backup of the database.
Are you ready to continue? [y/n]: y

Updating handle table... 1004 items updated
Updating metadatavalues table... 0 metadata value updated
Handles successfully updated in database.

Re-creating browse and search indexes...
Browse and search indexes are ready now.

All done successfully. Please check the DSpace logs!

---

Which is curious: "0 metadata value updated" why would that be? Has anyone
else noticed this? Before I dive into the code in search of a bug, I
thought I'd ask.

--Hardy



--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
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.