From 49a584607b1327dbf07322fa4fb96e27760deebb Mon Sep 17 00:00:00 2001 From: stumpylog <797416+stumpylog@users.noreply.github.com> Date: Wed, 29 Jul 2026 12:33:24 -0700 Subject: [PATCH] Docs: add migrate to document_llmindex choices and bare-metal upgrade steps --- docs/administration.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/administration.md b/docs/administration.md index 8e27df982..fbc636935 100644 --- a/docs/administration.md +++ b/docs/administration.md @@ -212,6 +212,16 @@ following: This is a no-op if the index is already up to date, so it is safe to run on every upgrade. +5. Migrate the LLM index if needed. + + ```shell-session + cd src + python3 manage.py document_llmindex migrate + ``` + + This is a no-op if the index schema is already current, so it is safe + to run on every upgrade. + ### Database Upgrades Paperless-ngx is compatible with Django-supported versions of PostgreSQL and MariaDB and it is generally @@ -532,7 +542,7 @@ index is updated automatically on the schedule set by can manage it manually: ``` -document_llmindex {rebuild,update,compact} +document_llmindex {rebuild,update,compact,migrate} ``` Specify `rebuild` to build the index from scratch from all documents in the database. Use