← ClaudeAtlas

trilium-server-opslisted

Deploy, automate, and troubleshoot a self-hosted TriliumNext Notes server on a Linux/cloud host — packaged install with systemd, ETAPI note automation (the v0.95 quirks), login/password verification over HTTP, firewall reachability debugging, and SSH-tunnel access. Use this whenever the user mentions Trilium or TriliumNext, wants a notes/knowledge-base/wiki server deployed, fixed, or scripted against, pushes/reads notes programmatically, or struggles to reach an existing instance on port 8080 — even if they never say the word "Trilium" but the context is a self-hosted notes server.
ZhenSiRong/trilium-server-ops · ★ 0 · DevOps & Infrastructure · score 67
Install: claude install-skill ZhenSiRong/trilium-server-ops
# TriliumNext Server Ops Trilium (TriliumNext) is a self-hosted hierarchical notes app. The "server" build is a Node/Express app listening on **:8080** by default (all interfaces) that keeps everything in a **data directory** (`documents.db` SQLite + `config.ini` + backups). Notes are rows in SQLite; the **ETAPI** (token-authenticated REST API) is how you automate them. Everything below was verified on a real **v0.95.0** server deployment (release assets `TriliumNextNotes-Server-v0.95.0-linux-x64.tar.xz` from the `TriliumNext/Notes` releases page). Quirks marked "verified" were hit and confirmed on that instance; newer versions may differ. ## 1. Fresh install on a Linux host (no Docker) 1. Create a dedicated unprivileged user — Trilium must not run as root: ```bash sudo useradd -r -m -d /opt/triliumnext trilium ``` 2. Get the tarball from `https://github.com/TriliumNext/Notes/releases` (asset names like `TriliumNextNotes-Server-v0.95.0-linux-x64.tar.xz`, also arm64): ```bash cd /opt/triliumnext curl -fLO https://github.com/TriliumNext/Notes/releases/download/v0.95.0/TriliumNextNotes-Server-v0.95.0-linux-x64.tar.xz tar xf TriliumNextNotes-Server-*.tar.xz # → TriliumNextNotes-Server-<ver>-linux-x64/ ``` **Slow egress to GitHub** (routine on CN-region cloud hosts — 1.4 MB in 150 s is normal there): download on your own machine and stream it over SSH instead, then checksum both copies: ```bash ssh user@host 'cat > /tmp/triliu