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

2018-03-09 Thread Arthur H L R S
Thank you for your time and sharing the experience. I will try to follow 
this steps.


Em sexta-feira, 9 de março de 2018 05:27:44 UTC-3, Michael Plate escreveu:
>
> 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.


[dspace-tech] Issue with handles without resource

2018-03-08 Thread 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?


Thanks in advance,



-- 
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: Search filter by subject returning the authority "codes"

2018-01-05 Thread Arthur H L R S
Anyone got any leads ?
I've been trying to solve by tweaking the schema.xml and 
dspace.cfg webui.browse.index properties... no luck yet..

Em segunda-feira, 18 de dezembro de 2017 15:41:40 UTC-2, Arthur H L R S 
escreveu:
>
> Hi. I'm having a issue - When I try to search by subject (clicking on the 
> default filter menu), it returns on numbers section a lot of results. 
> Looking forward to solve, I discovered it was because I'm using a authority 
> control to get  the subjects from a thesaurus. 
>
> If I check the "EDIT ITEM" the metadata subject has a "code" bellow the 
> subject text. Im attaching a image as a example.
>
> There is any way to make DSPACE only uses the text and avoid these numbers?
>
> Thank you.
>
>
> Arthur
>
>
>

-- 
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: Weird behavior when adding extra letters in browse pages (Mirage2 , v5.5)

2017-12-18 Thread Arthur H L R S
Did you execute index-discovery -b ?

Em sexta-feira, 26 de agosto de 2016 07:50:53 UTC-3, Evelthon Prodromou 
escreveu:
>
> Hello,
>
>
> I've done the necessary code changes in ConfigurableBrowse.java to add 
> extra letters. Browse by authors and subjects will display correctly all 
> letters. On the other hand, browse by title is not working correctly. The 
> first page displayed, displays only the stock 0-9 A...Z latin alphabet. Any 
> next page in the same browse context displays all characters, including the 
> added ones.
>
>
> This got me puzzled. Any ideas what I should look into?
>
>
> Thank you,
>
>
> Evelthon
>

-- 
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] Search filter by subject returning the authority "codes"

2017-12-18 Thread Arthur H L R S
Hi. I'm having a issue - When I try to search by subject (clicking on the 
default filter menu), it returns on numbers section a lot of results. 
Looking forward to solve, I discovered it was because I'm using a authority 
control to get  the subjects from a thesaurus. 

If I check the "EDIT ITEM" the metadata subject has a "code" bellow the 
subject text. Im attaching a image as a example.

There is any way to make DSPACE only uses the text and avoid these numbers?

Thank you.


Arthur


-- 
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: Querying Solr from XMLUI (Top downloaded items)

2017-03-22 Thread Arthur H L R S
I'm in the same boat.
I tried to follow the guide on  
https://wiki.duraspace.org/display/DSPACE/Solr#Solr-QueryingSolrfromXMLUI , 
but it won't work. 
Anyone got an example file? 

That would be much appreciated.

-Arthur


Em segunda-feira, 11 de julho de 2016 11:37:20 UTC-3, euler escreveu:
>
> Dear All,
>
> I wonder if any of you have a sample XLST on how to display the top 
> downloaded items in your repository. In the admin general statistics, the 
> top items with most views are displayed. I would like to display the top 
> items with most downloaded bitstreams. I've come across this SOLR query 
> given by Andrea Schweer as an example from this thread: 
> http://dspace.2283337.n4.nabble.com/DSpace-statistics-tp4664534p4664610.html
> , 
> http://localhost:8080/solr/statistics/select?indent=true&rows=0&q=type:0&facet=true&facet.limit=10&facet.field=owningItem&fq=-isBot:true.
>  
> Can someone share their XSLT code on querying SOLR from XMLUI such as these 
> example found in 
> https://wiki.duraspace.org/display/DSPACE/Solr#Solr-QueryingSolrfromXMLUI?
>
> Thanks in advance.
>
> euler
>

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


[dspace-tech] DSPACE database migrate changing rows to

2017-03-14 Thread Arthur H L R S
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+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.