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.

docs(faq): add Proxmox LXC troubleshooting for Docker permission errors (#2382)

LearningCircuit2fbf5c91b0cf
diff --git a/docs/faq.md b/docs/faq.md
index 10ddc6dc14..9f9a9f9733 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -438,6 +438,37 @@ Check network configuration:
4. Check Unraid firewall if enabled
5. For multi-container setup, ensure all on same network (`ldr-network`)
+### Docker in Proxmox LXC: Permission Errors
+
+If you see either of these errors in container logs:
+```
+chown: changing ownership of '/data/logs': Operation not permitted
+```
+or:
+```
+error: failed switching to "ldruser": operation not permitted
+```
+
+This means Linux capabilities needed by the entrypoint are blocked by the LXC container. The `chown` error indicates missing `CAP_CHOWN`/`CAP_FOWNER`, while the `gosu` error indicates missing `CAP_SETUID`/`CAP_SETGID`.
+
+**Solutions (try in order):**
+
+1. **Ensure nesting is enabled** in your Proxmox LXC container:
+ - Proxmox UI → Container → Options → Features → check "Nesting"
+ - Or in config: `features: nesting=1,keyctl=1`
+
+2. **If nesting is already enabled**, your LXC may have a restrictive AppArmor profile. Try:
+ ```bash
+ # In /etc/pve/lxc/<CTID>.conf
+ lxc.apparmor.profile: unconfined
+ ```
+ Then restart the LXC container.
+
+3. **Use a privileged LXC container** (trades security for compatibility):
+ - When creating the LXC with Proxmox community scripts, select "Privileged" in advanced settings
+
+**Background:** The LDR container runs its entrypoint as root to fix volume permissions, then uses `gosu` to drop to a non-root user (`ldruser`) for security. `gosu` calls `setuid()`/`setgid()` which require these capabilities. In standard Docker this works out of the box, but Docker-inside-LXC inherits the outer container's capability restrictions.
+
## Platform-Specific Issues
### Windows filename errors (#339)