mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
1.7 KiB
1.7 KiB
Manticore Search 28.4.4 maintenance upgrade
This upgrade rebuilds every configured Manticore table. Do not reuse data files written by 28.4.4 with an older daemon.
Before maintenance
- Set
SEARCH_INDEX_GENERATIONto a new value so cached results and cursors cannot cross the cutover. - Run
php artisan manticore:inspect --jsonand save its output. - Stop the processing engine with
php artisan tmux:stopand pause queue workers that update search documents. - Back up
/var/lib/manticore/datawith the container stopped, or use the supported Manticore backup tooling. Record the old image tag with the backup.
Upgrade and repopulate
- Pull and start
manticoresearch/manticore:28.4.4. - Confirm HTTP connectivity and optional username/password or bearer-token authentication with
php artisan manticore:inspect. - Run
php artisan manticore:create-indexes --drop. - Run
php artisan nntmux:populate --manticore --all(or explicitly populate every enabled releases, PreDB, movie, TV, and secondary metadata table). - Run
php artisan manticore:inspect, index reconciliation, and representative searches fromtests/Fixtures/Search/manticore-relevance-v1.json. - Resume queue workers and run
php artisan tmux:startonly after all tables report compatible.
Rollback
Stop Manticore, restore the pre-upgrade data backup, and start the exact image version recorded with that backup. Do not point the older image at files modified by 28.4.4. Restore the previous SEARCH_INDEX_GENERATION only if application code was also rolled back.
Local Docker may remain anonymous. Secured deployments use MANTICORESEARCH_USERNAME and MANTICORESEARCH_PASSWORD, or MANTICORESEARCH_TOKEN; never store credentials in Compose files.