<div dir="ltr"><div><div><div><div>Ok tnx...<br>I'm sure about that! i've tryed to manually reindex single documents and it helped.<br></div>I'm planning to put the reindex in cron but the point now is in usage of /bin/epadmin reindex.<br><br></div>it ask for parameters:<br><br>epadmin reindex *repository_id* *dataset_id* [*eprint_id* *eprint_id*<br> ...]<br><br><br></div>ok about *repository_id* i know it, but what about *dataset_id*???<br><br></div>where should i find it?<br><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-22 11:42 GMT+02:00 <span dir="ltr"><<a href="mailto:eprints-tech-request@ecs.soton.ac.uk" target="_blank">eprints-tech-request@ecs.soton.ac.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Eprints-tech mailing list submissions to<br>
<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:eprints-tech-request@ecs.soton.ac.uk">eprints-tech-request@ecs.soton.ac.uk</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:eprints-tech-owner@ecs.soton.ac.uk">eprints-tech-owner@ecs.soton.ac.uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Eprints-tech digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. indexer troubles (massimo gessa)<br>
2. Re: indexer troubles (George Mamalakis)<br>
3. Re: indexer troubles (George Mamalakis)<br>
4. Re: Adding a custom field in abstract (I think :)) (Adam Field)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 22 Jul 2015 11:17:32 +0200<br>
From: massimo gessa <<a href="mailto:massimogessa@gmail.com">massimogessa@gmail.com</a>><br>
Subject: [EP-tech] indexer troubles<br>
To: <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
Message-ID:<br>
<CAJKENmzg6EUGgf=<a href="mailto:fG8FF148Hwnv95ftwiFF0f5gbXjG0jVU15Q@mail.gmail.com">fG8FF148Hwnv95ftwiFF0f5gbXjG0jVU15Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi all,<br>
i'm having troubles on simple search engine. New items does not appears in<br>
search results, but indexer process is up running.<br>
Looking on EPRINTS_HOME/var/indexer.log i can find this errors:<br>
<br>
UnissLaurea has encountered an error:<br>
Failed to connect to database<br>
[Wed Jul 22 10:47:16 2015] 6346 !! Could not open session for unisslaurea<br>
[Wed Jul 22 10:48:01 2015] 6177 *** Indexer sub-process stopped<br>
[Wed Jul 22 10:48:01 2015] 6177 ** Indexer process stopping<br>
[Wed Jul 22 10:48:15 2015] 7941 ** Indexer process started<br>
[Wed Jul 22 10:48:15 2015] 7941 *** Starting indexer sub-process<br>
/usr/share/eprints3/archives/unisslaurea/var/last_changed.timestamp has<br>
been modified since the repository config was loaded: reloading!<br>
Use of uninitialized value in subroutine entry at<br>
/usr/share/eprints3/bin/../perl_lib/EPrints/MetaField/Id.pm line 50.<br>
Use of uninitialized value in subroutine entry at<br>
/usr/share/eprints3/bin/../perl_lib/EPrints/MetaField/Id.pm line 50.<br>
[f6d945c0f730d13f2f831eefacdce27b] Event::RDF::clear_triples: eprint.32 is<br>
locked<br>
[4d3dcf7a50d6d7d8a2f3a58379490840] Event::RDF::update_triples: eprint.32 is<br>
locked<br>
<br>
<br>
i've updated to version 3.4, but this make not difference<br>
reading on web i've found anything that helped me!<br>
Tnx in advance<br>
Massimo<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150722/18d46b99/attachment-0001.html" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150722/18d46b99/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 22 Jul 2015 12:39:42 +0300<br>
From: George Mamalakis <<a href="mailto:mamalos@eng.auth.gr">mamalos@eng.auth.gr</a>><br>
Subject: [EP-tech] Re: indexer troubles<br>
To: <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
Message-ID: <<a href="mailto:55AF64DE.1090109@eng.auth.gr">55AF64DE.1090109@eng.auth.gr</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Massimo,<br>
<br>
Have you tried to recreate indices? Try:<br>
<br>
$./bin/epadmin reindex<br>
<br>
and see if that helps.<br>
<br>
George.<br>
<br>
On 22/07/2015 12:17 ??, massimo gessa wrote:<br>
> Hi all,<br>
> i'm having troubles on simple search engine. New items does not<br>
> appears in search results, but indexer process is up running.<br>
> Looking on EPRINTS_HOME/var/indexer.log i can find this errors:<br>
><br>
> UnissLaurea has encountered an error:<br>
> Failed to connect to database<br>
> [Wed Jul 22 10:47:16 2015] 6346 !! Could not open session for unisslaurea<br>
> [Wed Jul 22 10:48:01 2015] 6177 *** Indexer sub-process stopped<br>
> [Wed Jul 22 10:48:01 2015] 6177 ** Indexer process stopping<br>
> [Wed Jul 22 10:48:15 2015] 7941 ** Indexer process started<br>
> [Wed Jul 22 10:48:15 2015] 7941 *** Starting indexer sub-process<br>
> /usr/share/eprints3/archives/unisslaurea/var/last_changed.timestamp<br>
> has been modified since the repository config was loaded: reloading!<br>
> Use of uninitialized value in subroutine entry at<br>
> /usr/share/eprints3/bin/../perl_lib/EPrints/MetaField/Id.pm line 50.<br>
> Use of uninitialized value in subroutine entry at<br>
> /usr/share/eprints3/bin/../perl_lib/EPrints/MetaField/Id.pm line 50.<br>
> [f6d945c0f730d13f2f831eefacdce27b] Event::RDF::clear_triples:<br>
> eprint.32 is locked<br>
> [4d3dcf7a50d6d7d8a2f3a58379490840] Event::RDF::update_triples:<br>
> eprint.32 is locked<br>
><br>
><br>
> i've updated to version 3.4, but this make not difference<br>
> reading on web i've found anything that helped me!<br>
> Tnx in advance<br>
> Massimo<br>
><br>
><br>
> *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
> *** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
> *** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
> *** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br>
<br>
--<br>
George Mamalakis<br>
<br>
IT and Security Officer,<br>
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),<br>
PhD (Aristotle Univ. of Thessaloniki),<br>
MSc (Imperial College of London)<br>
<br>
School of Electrical and Computer Engineering<br>
Aristotle University of Thessaloniki<br>
<br>
phone number : <a href="tel:%2B30%20%282310%29%20994379" value="+302310994379">+30 (2310) 994379</a><br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150722/a57e4a05/attachment-0001.html" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150722/a57e4a05/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 22 Jul 2015 12:41:10 +0300<br>
From: George Mamalakis <<a href="mailto:mamalos@eng.auth.gr">mamalos@eng.auth.gr</a>><br>
Subject: [EP-tech] Re: indexer troubles<br>
To: <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
Message-ID: <<a href="mailto:55AF6536.8090604@eng.auth.gr">55AF6536.8090604@eng.auth.gr</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Massimo,<br>
<br>
Sorry, I forgot to write that you have to also declare your<br>
repository-id in your epadmin command, hence something like that:<br>
<br>
$./bin/epadmin reindex yourepoid<br>
<br>
<br>
On 22/07/2015 12:17 ??, massimo gessa wrote:<br>
> Hi all,<br>
> i'm having troubles on simple search engine. New items does not<br>
> appears in search results, but indexer process is up running.<br>
> Looking on EPRINTS_HOME/var/indexer.log i can find this errors:<br>
><br>
> UnissLaurea has encountered an error:<br>
> Failed to connect to database<br>
> [Wed Jul 22 10:47:16 2015] 6346 !! Could not open session for unisslaurea<br>
> [Wed Jul 22 10:48:01 2015] 6177 *** Indexer sub-process stopped<br>
> [Wed Jul 22 10:48:01 2015] 6177 ** Indexer process stopping<br>
> [Wed Jul 22 10:48:15 2015] 7941 ** Indexer process started<br>
> [Wed Jul 22 10:48:15 2015] 7941 *** Starting indexer sub-process<br>
> /usr/share/eprints3/archives/unisslaurea/var/last_changed.timestamp<br>
> has been modified since the repository config was loaded: reloading!<br>
> Use of uninitialized value in subroutine entry at<br>
> /usr/share/eprints3/bin/../perl_lib/EPrints/MetaField/Id.pm line 50.<br>
> Use of uninitialized value in subroutine entry at<br>
> /usr/share/eprints3/bin/../perl_lib/EPrints/MetaField/Id.pm line 50.<br>
> [f6d945c0f730d13f2f831eefacdce27b] Event::RDF::clear_triples:<br>
> eprint.32 is locked<br>
> [4d3dcf7a50d6d7d8a2f3a58379490840] Event::RDF::update_triples:<br>
> eprint.32 is locked<br>
><br>
><br>
> i've updated to version 3.4, but this make not difference<br>
> reading on web i've found anything that helped me!<br>
> Tnx in advance<br>
> Massimo<br>
><br>
><br>
> *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
> *** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
> *** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
> *** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br>
<br>
--<br>
George Mamalakis<br>
<br>
IT and Security Officer,<br>
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),<br>
PhD (Aristotle Univ. of Thessaloniki),<br>
MSc (Imperial College of London)<br>
<br>
School of Electrical and Computer Engineering<br>
Aristotle University of Thessaloniki<br>
<br>
phone number : <a href="tel:%2B30%20%282310%29%20994379" value="+302310994379">+30 (2310) 994379</a><br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150722/f40a99c5/attachment-0001.html" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150722/f40a99c5/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 22 Jul 2015 18:42:30 +0900<br>
From: Adam Field <<a href="mailto:af05v@ecs.soton.ac.uk">af05v@ecs.soton.ac.uk</a>><br>
Subject: [EP-tech] Re: Adding a custom field in abstract (I think :))<br>
To: <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
Message-ID: <<a href="mailto:A3629B2F-5FA4-4856-9AB7-B5DFEBDFC45E@ecs.soton.ac.uk">A3629B2F-5FA4-4856-9AB7-B5DFEBDFC45E@ecs.soton.ac.uk</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi George<br>
<br>
As Alan mentioned, adding fields to abstract pages is covered.<br>
<br>
Adding new fields to search results is all about citation styles, and those haven't been covered. I've added it to my list of things to do training videos on.<br>
<br>
--<br>
Adam Field<br>
Business Relationship Manager and Community Lead<br>
EPrints Services<br>
<br>
I am currently not working in the UK. Due to timezone differences (GMT -9) email responses may take longer.<br>
<br>
On 21 Jul 2015, at 21:16, George Mamalakis <<a href="mailto:mamalos@eng.auth.gr">mamalos@eng.auth.gr</a>> wrote:<br>
<br>
> Hi all,<br>
><br>
> I've added a custom field in my repository (collections - and, yes, in<br>
> my context I preferred it over the shelves plugin). I've added this<br>
> field in my custom advanced search form, and now, I want this field to<br>
> be shown in the details of an eprint, once the eprint is selected after<br>
> the search is performed (the items with the url pattern:<br>
> <a href="http://yourrepodomain/[0-9]+" rel="noreferrer" target="_blank">http://yourrepodomain/[0-9]+</a>).<br>
><br>
> I would also like to know how I could add it as a column in the search<br>
> results as well, but this is more optional.<br>
><br>
> In case I had to customise the abstract to achieve my goal (because this<br>
> is where I thought that this view was generated), I tried reading<br>
> cfg.d/<a href="http://eprint_render.pl" rel="noreferrer" target="_blank">eprint_render.pl</a>, but couldn't understand what to do, and the wiki<br>
> (<a href="http://wiki.eprints.org/w/HOW_TO:_Add_a_New_Field" rel="noreferrer" target="_blank">http://wiki.eprints.org/w/HOW_TO:_Add_a_New_Field</a>) was far outdated, at<br>
> least compared to my version (3.3.14). I also tried the<br>
> ./cfg/citations/eprint/summary_page.xml (which was proposed by<br>
> <a href="http://eprint_render.pl" rel="noreferrer" target="_blank">eprint_render.pl</a>'s comments), but I didn't seem to find where to start<br>
> from there either.<br>
><br>
> Any help would be greatly appreciated!<br>
><br>
> Thanks all in advance,<br>
><br>
> George.<br>
><br>
> PS. There, there Adam, maybe that's another idea for a video? :):):-P.<br>
><br>
> --<br>
> George Mamalakis<br>
><br>
> IT and Security Officer,<br>
> Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),<br>
> PhD (Aristotle Univ. of Thessaloniki),<br>
> MSc (Imperial College of London)<br>
><br>
> School of Electrical and Computer Engineering<br>
> Aristotle University of Thessaloniki<br>
><br>
> phone number : <a href="tel:%2B30%20%282310%29%20994379" value="+302310994379">+30 (2310) 994379</a><br>
><br>
><br>
> *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
> *** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
> *** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
> *** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150722/1c65610b/attachment.html" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150722/1c65610b/attachment.html</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Eprints-tech mailing list<br>
<a href="mailto:Eprints-tech@ecs.soton.ac.uk">Eprints-tech@ecs.soton.ac.uk</a><br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
<br>
<br>
End of Eprints-tech Digest, Vol 82, Issue 39<br>
********************************************<br>
</blockquote></div><br></div></div></div></div></div></div></div>