[dspace-tech] Auto-assign e-person to a group upon registration

2017-03-15 Thread admin
Hi,


I thought it's a simple task, but apparently not – is there any simple way 
to allow self-registering users being automatically assigned to specific 
group? I don't use LDAP authentication, I found some posts about using LDAP 
and auto-assignnement.


Thanks,

Peter

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


Re: [dspace-tech] PDFBox update in DSpace 5.4 - how difficult would it be?

2017-03-15 Thread helix84
Here's what's needed to upgrade to PDFBox 2:

https://github.com/DSpace/DSpace/pull/1273/files

Don't forget to do mvn clean to get rid of the old PDFBox 1.8.x jar.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Wed, Mar 15, 2017 at 7:07 PM, Ricardo Campos 
wrote:

> Hi All.
>
> We are using DSpace 5.4. We have some problems with media-filter while
> extracting texts from some PDF (OCRed) files.
>
> As I couldn't identify the error  I tried extracting the same text using
> PDFBox-2.x.x and had no problems.
>
> I'm reckoning the difficulties of updating PDFBox from 1.8.7 to 2.0.4
> while keeping the same version of DSpace.
>
> Any help will  be appreciated.
>
> Thanks.
>
> Ricardo
>
> --
> 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.
>

-- 
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] PDFBox update in DSpace 5.4 - how difficult would it be?

2017-03-15 Thread Ricardo Campos
Hi All.

We are using DSpace 5.4. We have some problems with media-filter while 
extracting texts from some PDF (OCRed) files.

As I couldn't identify the error  I tried extracting the same text using 
PDFBox-2.x.x and had no problems.

I'm reckoning the difficulties of updating PDFBox from 1.8.7 to 2.0.4 while 
keeping the same version of DSpace.

Any help will  be appreciated.

Thanks.

Ricardo

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


Re: [dspace-tech] rest api version 5, not responding with restricted items.

2017-03-15 Thread Jose Blanco
I have a user that's using our rest api sending a GET request on a
certain item that has 2 bitstreams - one has READ on Anonymous and the
other on a group that this user belongs to.  His response only
contains the bitstream that has READ on Anonymous.  He is issuing a
login, getting a token and passing that in to the GET request.  But
from what I can tell from looking at the log file and code, the token
is not being processed.  Is that so, and if so, is there a work around
( some patch )?

Thank you!
Jose

On Tue, Mar 14, 2017 at 4:28 PM, Jose Blanco  wrote:
> never mind. I found them in the log file.
>
> On Tue, Mar 14, 2017 at 4:22 PM, Jose Blanco  wrote:
>> I put some log statements in the rest api code but don't see them in
>> the log. Do I have to enable it somehow?
>>
>> On Tue, Mar 14, 2017 at 10:31 AM, Tim Donohue  wrote:
>>> Hi Jose,
>>>
>>> I think you are likely looking for the code that responds to
>>> [item_id]/bitstreams path, that'd be here:
>>> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java#L287
>>>
>>> In general, with the REST API, if you look at what URL you are requesting,
>>> you should be able to search the 'dspace-rest' code for an corresponding
>>> @Path statement. That would help you find the method that responds to that
>>> URL path.
>>>
>>> - Tim
>>>
>>> On Tue, Mar 14, 2017 at 9:04 AM Jose Blanco  wrote:

 If you make a request to the rest api for the bitstreams in an item
 and one of the bitstreams is restricted, the response does not include
 that bitstream.  This makes sense, but we do have a user that should
 be able to get that bitstream because he is the admin of that
 collection.  Could someone point me to where that logic takes place in
 the code?

 Thank you!
 Jose

 --
 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.
>>>
>>> --
>>>
>>> Tim Donohue
>>> Technical Lead for DSpace & DSpaceDirect
>>> DuraSpace.org | DSpace.org | DSpaceDirect.org
>>>
>>> --
>>> 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.

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


Re: [dspace-tech] oai metadaformat

2017-03-15 Thread Claudia Jürgen

Hi Eric,

we adjusted
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-oai/src/main/java/org/dspace/xoai/util/ItemUtils.java
in order to add missing information (the description of the bitstream
was missing in an older version).

Maybe the information about the owning collection and collections an
item is mirrored to might be usefull in general.
Best create a JIRA Ticket.

Hope this helps

Claudia Jürgen

Am 15.03.2017 um 16:02 schrieb eric.leclerc...@gmail.com:

Thank your for the confirmation,
have a great day

Eric Leclerc
Library and Archives Canada / Government of Canada

On Wednesday, March 15, 2017 at 9:56:02 AM UTC-4, Claudia Jürgen wrote:

Hello Eric,

you are right at this point the information is not available.
The base for the transformation is the xoai metadata format, which
contains only information about the item.

Hope this helps

Claudia Jürgen

Am 15.03.2017 um 14:49 schrieb eric.le...@gmail.com :

Hi,
we are adding a dissemination format to use in the `/oai` endpoint,
We cloned `marc.xsl` from

`dspace/config/crosswalks/oai/metadataFormats/`

and modified it to our needs. Now what I'm struggling with is a request

to

add information from the DSpace Collection linked to the items.
I don't seem to have access to this information from the xsl, I used
`` to see the source xml that I'm working with,
and I can't find anything relevant.
Am I heading in the right direction? is my assumption correct that this
info is simply not available at this stage?

Eric Leclerc
Library and Archives Canada / Government of Canada


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



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


Re: [dspace-tech] oai metadaformat

2017-03-15 Thread eric . leclerc . gc
Thank your for the confirmation,
have a great day

Eric Leclerc
Library and Archives Canada / Government of Canada

On Wednesday, March 15, 2017 at 9:56:02 AM UTC-4, Claudia Jürgen wrote:
>
> Hello Eric, 
>
> you are right at this point the information is not available. 
> The base for the transformation is the xoai metadata format, which 
> contains only information about the item. 
>
> Hope this helps 
>
> Claudia Jürgen 
>
> Am 15.03.2017 um 14:49 schrieb eric.le...@gmail.com : 
> > Hi, 
> > we are adding a dissemination format to use in the `/oai` endpoint, 
> > We cloned `marc.xsl` from 
> `dspace/config/crosswalks/oai/metadataFormats/` 
> > and modified it to our needs. Now what I'm struggling with is a request 
> to 
> > add information from the DSpace Collection linked to the items. 
> > I don't seem to have access to this information from the xsl, I used 
> > `` to see the source xml that I'm working with, 
> > and I can't find anything relevant. 
> > Am I heading in the right direction? is my assumption correct that this 
> > info is simply not available at this stage? 
> > 
> > Eric Leclerc 
> > Library and Archives Canada / Government of Canada 
> > 
>
> -- 
> 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...@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.


Re: [dspace-tech] Re: How to disable login / register users in JSPUI 5.6?

2017-03-15 Thread Claudia Jürgen

Hi Brendow,

this was via the database. We were using Postgres 9.1 then and set
default_transaction_read_only = on
in postgresql.conf
see https://www.postgresql.org/docs/9.4/static/runtime-config-client.html

What kind of migration are you planning?

Hope this helps

Claudia Jürgen



Am 15.03.2017 um 15:33 schrieb Brendow Adriel:

How to enable transaction mode to read only?

via database or application?

Em terça-feira, 14 de março de 2017 17:59:52 UTC-3, Brendow Adriel escreveu:

I need to do a database migration, but I want the repository stay
available to users. Disabling just user registration and authentication.




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


[dspace-tech] Re: How to disable login / register users in JSPUI 5.6?

2017-03-15 Thread Brendow Adriel
How to enable transaction mode to read only?

via database or application?

Em terça-feira, 14 de março de 2017 17:59:52 UTC-3, Brendow Adriel escreveu:
>
> I need to do a database migration, but I want the repository stay 
> available to users. Disabling just user registration and authentication.
>
>

-- 
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: How to disable login / register users in JSPUI 5.6?

2017-03-15 Thread Brendow Adriel
Thank you, But that was not what I was looking for.

Em terça-feira, 14 de março de 2017 17:59:52 UTC-3, Brendow Adriel escreveu:
>
> I need to do a database migration, but I want the repository stay 
> available to users. Disabling just user registration and authentication.
>
>

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


Re: [dspace-tech] Re: How to disable login / register users in JSPUI 5.6?

2017-03-15 Thread Claudia Jürgen

Hello Brendow,

for prior migrations we used to work with setting the transaction mode
for the database to read only.
Thus people could use the data, but nothing could be changed.
Maybe this is what you are looking for.

Hope this helps

Claudia Jürgen


Am 15.03.2017 um 14:59 schrieb Brendow Adriel:

Thank you, But that was not what I was looking for.

Em terça-feira, 14 de março de 2017 17:59:52 UTC-3, Brendow Adriel escreveu:

I need to do a database migration, but I want the repository stay
available to users. Disabling just user registration and authentication.




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


Re: [dspace-tech] oai metadaformat

2017-03-15 Thread Claudia Jürgen

Hello Eric,

you are right at this point the information is not available.
The base for the transformation is the xoai metadata format, which
contains only information about the item.

Hope this helps

Claudia Jürgen

Am 15.03.2017 um 14:49 schrieb eric.leclerc...@gmail.com:

Hi,
we are adding a dissemination format to use in the `/oai` endpoint,
We cloned `marc.xsl` from `dspace/config/crosswalks/oai/metadataFormats/`
and modified it to our needs. Now what I'm struggling with is a request to
add information from the DSpace Collection linked to the items.
I don't seem to have access to this information from the xsl, I used
`` to see the source xml that I'm working with,
and I can't find anything relevant.
Am I heading in the right direction? is my assumption correct that this
info is simply not available at this stage?

Eric Leclerc
Library and Archives Canada / Government of Canada



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


[dspace-tech] How to set multiple forms for different file types in JSPUI 5.6?

2017-03-15 Thread Brendow Adriel
I want to define a form for each file type on different forms. Is this 
possible?

For example:

Article - Form type - 1

Journal - Form type - 2

Game - Form type - 3

-- 
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] oai metadaformat

2017-03-15 Thread eric . leclerc . gc
Hi,
we are adding a dissemination format to use in the `/oai` endpoint, 
We cloned `marc.xsl` from `dspace/config/crosswalks/oai/metadataFormats/` 
and modified it to our needs. Now what I'm struggling with is a request to 
add information from the DSpace Collection linked to the items.
I don't seem to have access to this information from the xsl, I used 
`` to see the source xml that I'm working with, 
and I can't find anything relevant.
Am I heading in the right direction? is my assumption correct that this 
info is simply not available at this stage?

Eric Leclerc
Library and Archives Canada / Government of Canada

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


Re: [dspace-tech] DSPACE database migrate changing rows to

2017-03-15 Thread Arthur H L R S
Hi,

Im testing again and I saw this on 'dspace database info' : This database 
is NOT yet initialized for auto-migrations (via Flyway)

Im sorry, i did read "if you like to upgrade now, simply run 'database 
migrate' .

I guess there is some previous proccedures? I didnt found any on guides.

As I said, I run the script on etc/postgres/update-sequences.sql - it goes 
with 1 error, :: *  SELECT setval('handle_id_seq', max(handle_id)) FROM 
handle;*

So I change to   SELECT setval('*handle_seq'*, max(handle_id)) FROM handle; 
 to match the database.

But I tried with and without the change, with and without running this 
script.



Em terça-feira, 14 de março de 2017 18:00:11 UTC-3, Arthur H L R S escreveu:
>
> Hi Tim,
>
> Thank you for your answer.
>
> Here's the aditional info.:
>
> *1) What database type (e.g. Oracle, Postgres) are you using?  What 
> version?*
> Postgre 9.6.4
>
> *2) When you say "most of the rows" become "", what rows in what 
> tables are you referring to?  Does every table end up this way? Or is there 
> a specific table having issues?*
> Well, when I run dspace database migrate or start the tomcat it changes 
> the database, not only rows. For example, in the table 'bitstream' , it 
> deletes the columns 'name' , 'description', 'user_format_description', 
> 'source'. And on column 'uuid' it puts the "" on every row. 
> On the table 'bundle', the ids are the same, but it changes the column 
> 'name' to 'uuid' and its all filled with "" . The other column, 
> 'primary_bitstream_id' also is all "" , every row.
>
> The table bundle2bitstream has no changes on columns, but all data became 
>  
>
> Tables collection, community.. all got changes on columns and values went 
> to ". 
>
> Some tables didnt change, like eperson - Thats why I can log in xmlui and 
> see like 2 communities (originally, more than 100) and 7 wrong items 
> (Originally, 3000+). 
>
> Attaching image.
>
>  
> *3) Could you check your dspace.log files (from when the migration 
> occurred) and see if any errors are reported there?*
> No errors reported. I will attach the log.
>
> *4) You could also try running "./dspace database info" to see if it 
> reports issues or notes any migrations as having failed.*
>
> I do. It says the version, 4.x, and say I can run the migrate script to 
> start the proccess.
>
>
>
> *Ah, because of technical issues, Im trying it on Windows7.*
>
> If you need any other information, just tell me.
>
> Thanks,
>
> Arthur Heleno
>
>
>
>
> Em terça-feira, 14 de março de 2017 16:52:35 UTC-3, Tim Donohue escreveu:
>>
>> Hi Arthur,
>>
>> We'd likely need additional information to help you out, as this is a new 
>> issue to me. Could you send along the following to this mailing list thread?
>>
>> 1) What database type (e.g. Oracle, Postgres) are you using?  What 
>> version?
>> 2) When you say "most of the rows" become "", what rows in what 
>> tables are you referring to?  Does every table end up this way? Or is there 
>> a specific table having issues?
>> 3) Could you check your dspace.log files (from when the migration 
>> occurred) and see if any errors are reported there?
>> 4) You could also try running "./dspace database info" to see if it 
>> reports issues or notes any migrations as having failed.
>>
>> With a bit more info, hopefully we could help you figure out what may be 
>> going on. Thanks!
>>
>> - Tim
>>
>> On Tue, Mar 14, 2017 at 1:11 PM Arthur H L R S  
>> wrote:
>>
>>> Greetings,
>>>
>>> I am trying to upgrade my dspace instance from 4.2 to 6.0 . The problem 
>>> is: When I start the new DSPACE 6 and change to connect to my old DB, it 
>>> tries to run the flyaway migration to change the version of the DB - 
>>> running the 'dspace database migrate' and ruins the DB, changing most of 
>>> the rows to "" .
>>>
>>> Any leads?
>>>
>>> Thanks,
>>>
>>> Arthur Heleno
>>>
>>>
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to dspace-tech...@googlegroups.com.
>>> To post to this group, send email to dspac...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>>
>> Tim Donohue
>> Technical Lead for DSpace & DSpaceDirect
>> DuraSpace.org | DSpace.org | DSpaceDirect.org
>>
>>

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


Re: [dspace-tech] How to disable login / register users in JSPUI 5.6?

2017-03-15 Thread Monika Mevenkamp
Brandon 

I changed our JSPUI based repository to simply hide the login link  at the top 
and told my users to go directly to /mydspace  when they need to login 
If interested I can send you a patch 

Monika

 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Mar 15, 2017, at 8:09 AM, Brendow Adriel  wrote:
> 
> don't exist this resource in jspui, only in xmlui.
> 
> Em terça-feira, 14 de março de 2017 17:59:52 UTC-3, Brendow Adriel escreveu:
> I need to do a database migration, but I want the repository stay available 
> to users. Disabling just user registration and authentication.
> 
>  
> 
> -- 
> 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 
> .

-- 
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: How to disable login / register users in JSPUI 5.6?

2017-03-15 Thread Brendow Adriel
don't exist this resource in jspui, only in xmlui.

Em terça-feira, 14 de março de 2017 17:59:52 UTC-3, Brendow Adriel escreveu:
>
> I need to do a database migration, but I want the repository stay 
> available to users. Disabling just user registration and authentication.
>

 

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


Re: [dspace-tech] How to disable login / register users in JSPUI 5.6?

2017-03-15 Thread Alan Orth
When logged in as an admin you can set a system alert from the control
panel, with an option to prevent logins. This might be what you're looking
for?

Cheers,

On Tue, Mar 14, 2017, 22:59 Brendow Adriel  wrote:

> I need to do a database migration, but I want the repository stay
> available to users. Disabling just user registration and authentication.
>
> --
> 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.
>
-- 

Alan Orth
alan.o...@gmail.com
https://englishbulgaria.net
https://alaninkenya.org
https://mjanja.ch

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