Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

Fix matplotlib cache directory permissions

tombii08f8a733a29a
diff --git a/scripts/ldr_entrypoint.sh b/scripts/ldr_entrypoint.sh
index 97b7ac9f0f..515132678c 100755
--- a/scripts/ldr_entrypoint.sh
+++ b/scripts/ldr_entrypoint.sh
@@ -23,6 +23,12 @@ chmod 700 /data/encrypted_databases
# This is safe because we're still root at this point (before USER directive takes effect)
chown -R ldruser:ldruser /data
+# Create matplotlib cache directory for ldruser
+echo "Setting up matplotlib cache directory..."
+mkdir -p /home/ldruser/.config/matplotlib
+chown -R ldruser:ldruser /home/ldruser/.config
+chmod -R 700 /home/ldruser/.config
+
echo "Starting LDR application as ldruser..."
# Switch to ldruser and execute the command