EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #10358


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Resetting failed event {id} to waiting.


Hi Agung Prasetyo W.,

In future versions of EPrints (v3.4.8 onwards) there will be extra buttons in the Admin web interface to retry and clear failed/stale* tasks.  For more details see:

https://github.com/eprints/eprints3.4/issues/579

Regards

David Newman

*stale == in progress tasks that have a start time well in the past.

On 23/04/2026 15:55, Alex Ball wrote:
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
As David says, the command line interface to the indexer is your friend here.

Depending on your setup you may want something like this:

sudo -u eprints ~eprints/bin/indexer stop
sudo -u eprints ~eprints/bin/indexer start --clear  # to forget all the failed jobs
sudo -u eprints ~eprints/bin/indexer start --retry  # to retry all the failed jobs

          
Bear in mind that if you typically start/stop the indexer from the web interface, you might be used to it running as the Apache user (e.g. www-data or httpd) instead of eprints.

Cheers,
Alex.

On Thu, 2026-04-23 at 21:22 +0700, Agung Prasetyo W. wrote:

I've tried deleting the failed indexed process, but the failed status reappears. There are still 24,000 queue tasks. Is there a way to complete the 24,000 queue tasks or reset them to 0?

If a task has failed in EPrints it will sit in the event queue until something is done about it.  You could delete it through the web interface or by stopping the indexer and starting it from the command line with the --clear option.

-- 
Alex Ball (he/him)
Research Data Librarian (Systems)
University of Bath, Bath BA2 7AY, UK
http://www.bath.ac.uk/library/

*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/