-
Notifications
You must be signed in to change notification settings - Fork 14
Troubleshooting
Tips and solutions for common issues when running LrGeniusAI.
LrGeniusAI surfaces errors directly in Lightroom rather than hiding them in log files. If something fails during a batch task, a Task Completion Dialog shows which photos succeeded, which failed, and why. For more persistent errors, check the log file via Plug-in Manager → Show logfile or Copy logs to desktop.
Since LrGeniusAI installers are not currently code-signed, your OS may block them.
- Symptom: "Windows protected your PC" or "LrGeniusAI.pkg cannot be opened because it is from an unidentified developer".
- Resolution: Refer to the Getting Started guide for OS-specific bypass steps. This is a one-time requirement during installation.
Using a newer plugin with an older backend (or vice versa) causes API errors.
- Symptom: Errors like "Failed to initialize database", "API request failed", or unexpected 500 errors immediately after an update.
-
Resolution: Make sure both the plugin (
.lrdevplugin) and the backend server are updated to the same release version. Download both from the same GitHub release. If you updated the plugin only, re-run the backend installer from the same release.
Two features run their own model on the backend machine: smart photo search (SigLIP2) and species identification (BioCLIP 2). Neither model ships with the installer — you fetch them once from Plug-in Manager → LrGeniusAI → On-device AI models → Download AI models, which is also where their readiness is reported. Roughly 3 GB in total.
-
Symptom: Enable smart photo search or Identify animal and plant species is greyed out in the Analyze & Index dialog, an indicator under On-device AI models stays red, or indexing reports
species: model not downloaded. -
Resolution:
- Click Download AI models and leave the progress bar running. It fetches only what is missing, so it is safe to press again after a failed attempt — an existing installation that already has the search model will only download the species one.
- Check your internet connection on the machine running the backend, not the one running Lightroom. If they are different machines, the models must be downloaded on the server.
- Make sure the backend has write permission to its model cache:
~/.cache/lrgenius/models/, or%USERPROFILE%\.cache\lrgenius\models\on Windows. It is the home directory of the account the backend runs as, which is not necessarily yours if you installed it as a service. - If a download fails part-way, the error is reported verbatim in the Lightroom dialog and in the backend log — worth reading before retrying, since a 404 means the release assets could not be reached rather than anything wrong with your setup.
- If an indicator stays red after a download that reported success, restart the backend so it re-checks the files on disk.
Face detection is fetched by the same button as everything else. It was not
always: until the pipeline moved to YuNet + FaceNet, it ran InsightFace's
buffalo_l weights, which are licensed for non-commercial research only and so
could not be published here — they had to be installed by hand and were excluded
from the overall "all models are ready" state. If you are upgrading from such a
version, press Download AI models once to fetch the new face models, then
re-run indexing over photos with people in them: the two model families produce
embeddings that are not comparable, so previously detected faces are set aside
as unassigned until they are re-detected. Named people are restored as the
re-detection proceeds.
-
Symptom: The plugin reports a model is missing, but it was previously working or you can see the files on disk.
-
Resolution: This can happen if the backend was updated and the model cache path changed, or if the files were only partially downloaded. Delete the affected model's files and download again:
- macOS/Linux:
~/.cache/lrgenius/models/ - Windows:
%USERPROFILE%\.cache\lrgenius\models\
The search model is
siglip2_*plustokenizer.json; the species model isbioclip2_*. Delete only the family that is failing, restart the backend, and press Download AI models — the healthy family is skipped. - macOS/Linux:
If you are using cloud providers (Gemini, ChatGPT), authentication failures block all analysis.
- Symptom: "Unauthorized", 401/403 HTTP errors, or "Gemini API not configured" despite entering a key.
-
Resolution:
- Double-check the key in Plug-in Manager → API Keys. Copy-paste directly from the provider dashboard to avoid whitespace.
- Ensure the key has not expired and has sufficient billing quota attached.
- For Gemini: make sure the Gemini API is enabled in your Google Cloud project.
- After saving a new key, restart the backend (the backend reads keys from configuration at startup).
The backend can run models itself, in two independent engines: llamacpp
(GGUF) and mlx. Releases ship exactly one per platform — MLX on macOS,
llama.cpp on Windows — so you only ever see the section that applies. See
Local AI Models for the full guide.
-
Symptom: The Local AI Model section says "This backend does not
support MLX".
-
Resolution: Expected on Windows, where the section is llama.cpp instead
and offers the same model families as GGUF. On macOS it means a build
without the MLX helper — reinstall with the official
.pkg.
-
Resolution: Expected on Windows, where the section is llama.cpp instead
and offers the same model families as GGUF. On macOS it means a build
without the MLX helper — reinstall with the official
-
Symptom: MLX is unavailable on an Apple silicon Mac, with a reason naming
a missing helper.
-
Resolution: The
lrgenius-mlxhelper ships next to the server binary in the macOS.pkg. Reinstall the backend with the official installer; if you build from source, the helper needsxcodebuildplus the Metal toolchain (see Server README).
-
Resolution: The
-
Symptom: "This backend build has no local-model support".
-
Resolution: The binary was compiled without the
llamacppfeature. Official releases include it — reinstall from the release page, or rebuild withcargo build --release -p lrg-server --features llamacpp.
-
Resolution: The binary was compiled without the
-
Symptom: A downloaded model does not appear in the model dropdown.
- Resolution: Check the Installed line in the Plug-in Manager. An interrupted download is discarded rather than offered as a broken model, so simply run the download again.
-
Symptom: Analysis runs but Ollama shows no activity (
ollama psis empty), or connection errors tolocalhost:11434. -
Resolution:
- Make sure Ollama is running before starting the task. Start it with
ollama serveif needed. - Verify the Ollama Base URL in Plug-in Manager matches where Ollama is listening (default:
http://localhost:11434). - Make sure at least one vision-capable model is pulled:
ollama pull qwen3-vl:4b-instruct-q4_K_M. - If Ollama runs on a different machine, use its network address instead of
localhost. - Check that no firewall or VPN is blocking the connection between the backend and Ollama.
- Make sure Ollama is running before starting the task. Start it with
- Symptom: Errors connecting to LM Studio, or model list shows no LM Studio models.
-
Resolution:
- Open LM Studio and confirm the local server is running (green status in the "Local Server" tab).
- Ensure a vision model is loaded (or enable "on-demand model loading").
- Verify the LM Studio Base URL in Plug-in Manager (default:
http://localhost:1234). - On Apple Silicon, the MLX variants of models perform significantly better than GGUF builds — try the MLX version if performance is poor.
Local AI models can take significantly longer than cloud APIs, especially without a dedicated GPU.
- Symptom: Lightroom displays a timeout error during image analysis.
-
Resolution:
- Ensure the model is fully loaded into memory before starting the batch. With Ollama/LM Studio, run a test prompt first; with the built-in engines, the first request of a session loads a multi-gigabyte model and is always the slowest.
- Process smaller batches (10–20 photos at a time) to avoid cumulative timeouts.
- Switch to a smaller model (4B instead of 12B) if your hardware can't sustain the load.
- For the built-in llama.cpp engine: lower Photos in parallel to 1, and check Layers on the GPU — a model that does not fit in VRAM partially runs on the CPU and is far slower.
- Symptom: Analysis completes without errors but no keywords/title/caption appear in Lightroom.
-
Resolution:
- In the Analyze & Index dialog, confirm Generate AI metadata is enabled.
- If Regenerate all data is disabled, photos that already have metadata in the backend won't be re-generated. Enable regeneration to force a fresh run.
- Check that Apply to Lightroom catalog (or equivalent write option) is enabled — without it, metadata is generated on the backend but never written to Lightroom.
- After generation, you can always use Retrieve Metadata from Backend to pull generated data back into Lightroom manually.
- Symptom: Advanced Search runs but the results collection is empty or sparse.
-
Resolution:
- Make sure photos were indexed with Create search embeddings enabled.
- Set the Lightroom collection sort order to Custom Order — without this, best matches are not sorted to the top.
- Try a broader or more descriptive query.
- Confirm the backend is running and returning a valid response (check Plugin Manager → Status).
-
Symptom: Lightroom shows a filesystem permissions warning on startup after installing or updating LrGeniusAI.
-
Resolution: Run Adobe's permission repair script: Adobe: Fix Lightroom user account permissions (macOS)
This is a known macOS quirk when a third-party plugin installer writes to certain directories. Running Adobe's script resolves it without any data loss.
AI Edit builds every recipe from your saved training examples and never calls a language model, so its failures are about the style profile, not about models or prompts.
-
Symptom: "Style engine inactive: only N training example(s) available".
-
Resolution: Save more edits via Save Edits as AI Training Examples. Five is the minimum; ten or more gives a usable match. The plugin normally stops before the run and tells you this — seeing it per photo means examples were removed while the run was in progress.
-
Symptom: "Style engine could not produce a result" or "Style engine returned an empty recipe".
-
Resolution: Your training examples carry no usable develop settings for this photo — most often because they were all saved from photos on the other side of the raw/JPEG divide, which keeps their white balance (and little else) from being carried over. Save examples edited from the same kind of file you are trying to edit.
-
Symptom: Low confidence in the review dialog, edits that don't feel like yours.
-
Resolution: The photo did not resemble anything you trained on. Make sure the photos are indexed (Enable smart photo search) so the visual match has an embedding to work with, and train on the kind of material you want edited.
-
Symptom: "HTTP status: 500" with "database not initialized".
-
Resolution: The backend has no catalog database bound yet. Open the Plug-in Manager and let it initialize, then retry.
- Symptom: "Failed to initialize database at the selected path" error when starting the backend or when Lightroom connects.
-
Resolution:
- Ensure the plugin and backend are the same version (see Version Mismatch).
- Check that the backend has write access to the configured data directory.
- If the path was changed in a previous version, verify the new path in Plug-in Manager → Backend Server.
- As a last resort, create a DB backup first (Plug-in Manager → Download DB backup), then let the backend re-initialize with a fresh database.
- Symptom: "Check for Updates" or backend restart from within Lightroom fails on Windows.
-
Resolution: This is a known issue on Windows with the
/restartendpoint. Restart the backend manually:- Close Lightroom or stop the backend process.
- Run
lrgenius-server/lrgenius-server.cmdagain.
If you need to report a bug on GitHub, include the following:
- Plugin log: Plug-in Manager → Copy logs to desktop (or Show logfile)
-
Backend log: The terminal output of
geniusai-server, or the log files in the backend's working directory - Environment: OS version, Lightroom Classic version, LrGeniusAI version (plugin + backend)
- Steps to reproduce: What you did before the error occurred
Submit bugs at: https://github.com/LrGenius/LrGeniusAI/issues