Update in place
Updating RustSearch
Keep the existing plugin installed. Upload the new KPZ, then follow its current server setup instructions for the intended Koha instance.
Before updating
- Read the release notes for version-specific requirements.
- Upload the new KPZ through Koha’s plugin manager. Do not uninstall the existing plugin.
- Open Configuration → Update RustSearch and copy its bundled SSH command with the Copy button. The page fills in the name of the Koha instance it belongs to; if it shows
INSTANCE instead, replace that with the actual instance name. - Run
--check-only to inspect prerequisites and existing engine compatibility.
Server updates run over SSH as the normal administrator with sudo access. The web process does not execute them.
Update the engine and plugin
Use --update to build and test the bundled engine, back up the deployment, install matching components and verify native search. Uploading a KPZ alone does not replace the engine executable.
Compatible same-schema updates retain existing indexes. The service account, index paths, tenant port and enabled optional features are preserved. Expect a brief search interruption during the switch.
Keep the printed backup paths and installation log. Validate staff and OPAC searches, indexing status and enabled features after updating.
Upgrading from schema 6
A schema-6 engine cannot serve the current plugin, and --update refuses it. Run the bundled setup command with --rebuild-index instead. Setup checks free space, installs the schema-7 engine, moves the old index aside (kept for inspection, never put back into service) and queues the whole catalog and all authorities.
From the KPZ upload until the rebuild completes, searches use the fallback engine chosen in the plugin configuration, or Zebra if none is chosen. Results pages say which engine answered. Indexing runs at about 500 records a minute; RustSearch takes over automatically when it finishes. Records that keep failing are listed in the plugin and do not hold it back.
Several instances on one server
Upload the KPZ in each instance, then run the update command once with --instances followed by the instance names in place of INSTANCE, for example --instances library1 library2 --update. The engine is built and tested once and reused for every listed instance. Instances update one at a time; the run stops at the first failure and reports which instances finished.
Disk space and cleanup
Building the engine needs about 5 GB of free space in your home directory. The launcher checks this before extracting anything, and --check-only reports it too. Logs are written to ~/rustsearch-logs/.
After a successful run the temporary build folder and launcher copy are removed. After a failure the build folder is kept for investigation and the launcher prints the command to remove it. Folders left by earlier runs are reported with their size but never removed automatically.
Refresh the plugin and integration only
Use --existing-engine only when the release instructions do not require a new engine executable. This refresh retains the engine binary and indexes; engine changes are not applied.
This is not a transactional engine replacement. Completed steps may remain installed if a later step fails. Incompatible engines are refused; a schema-6 engine is upgraded with --rebuild-index.
Automatic indexing and paused jobs
Setup and updates ensure managed authority schedules exist and start a bounded cycle when both jobs are active. Scheduled processing continues larger backlogs after setup exits. Installation success and queue completion are reported separately.
An explicit operator pause remains paused and produces a warning. To resume deliberately, append --resume-authorities to the appropriate bundled command. The selected SearchEngine is preserved; the OPAC enable flag is separate.
If an update stops
Keep its log and backup paths. Read the underlying error and verify the recorded rollback status before retrying. Installation-file backups do not undo catalog edits. Follow the matching recovery instructions and preserve the library’s selected SearchEngine through a compatible update.
Production deployments require schema 7 or newer. Validate the library’s catalog and configuration in staging before production use.
Installation access guide — prerequisites, account checks and diagnostic behavior.