[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: indexer troubles (Massimo Gessa)



Massimo,

I think it means archive, inbox, etc 
(http://wiki.eprints.org/w/API:EPrints/DataSet). I think you mostly care 
about archive which are the publicly available eprints.

Try it, I think it'll work.



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


-- 
George Mamalakis

IT and Security Officer,
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)

School of Electrical and Computer Engineering
Aristotle University of Thessaloniki

phone number : +30 (2310) 994379


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150722/322d4df1/attachment-0001.html