Bug 19445 - Add support for ES rebuild to koha-sandbox cron
Summary: Add support for ES rebuild to koha-sandbox cron
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: contribs.koha-community.org (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-11 13:00 UTC by Nick Clemens
Modified: 2023-09-30 20:39 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens 2017-10-11 13:00:39 UTC

    
Comment 1 Nick Clemens 2017-10-11 13:01:52 UTC
Added below on the BWS sandboxes, probably need to add a test for if ES enabled?

202     eval {
203         Run->new( qq|perl $koha_src_path/misc/search_tools/rebuild_elastic_search.pl -d| );
204     };
205     if ( $@ ) {
206         push @errors, "Cannot rebuild elastic: " . $@;
207     }
Comment 2 Katrin Fischer 2023-09-30 20:39:45 UTC
I believe this was about being able to reindex Elasticsearch in a sandbox - and we can do that now.