Bug 40325 - sanitize_records.pl can't find rebuild_zebra.pl
Summary: sanitize_records.pl can't find rebuild_zebra.pl
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-08 00:50 UTC by Pablo AB
Modified: 2025-07-08 00:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo AB 2025-07-08 00:50:41 UTC
After a `./sanitize_records.pl --verbose --auto-search --fix-ampersand --reindex --confirm` I get

Total: 123 records cleaned!
Now, reindexing using -b -v
sh: 1: /usr/share/koha/intranet/cgi-bin/misc/migration_tools/rebuild_zebra.pl: not found

Because it is on `/usr/share/koha/bin/migration_tools/rebuild_zebra.pl`.

Even if I change `<intranetdir>` on `koha-conf.xml`, `migration_tools` is not on `misc` but on `bin`. Maybe should simply point to `../migration_tools/`.