TriliumNext
Set up your TriliumNext knowledge base on Cottage, sync the desktop app, protect notes, export everything and fix sign-in and sync problems.
Updated November 24, 2026
On this page
- Getting started
- Frequently asked questions
- How do I import notes from another app?
- Can I clip web pages into Trilium?
- How do I get my notes out?
- Does Trilium keep its own backups?
- I already have notes in the desktop app. How do I put them on the server?
- Can several people share one knowledge base?
- Is Trilium updated automatically?
- Can I use my own domain?
- Troubleshooting
TriliumNext is a note-taking app for large personal knowledge bases. Notes sit in a tree, can appear in several places at once, and can link to each other. It handles rich text, code, canvases, mind maps and diagrams, and it has a desktop app that syncs with your server.
Getting started
Trilium has one account, protected by one password. Until you finish the first-run setup, only you can open the app.
- Open your app. Open the app from its page in Cottage, or follow its address.
- Run the setup. Choose New knowledge base, pick demo content or an empty start, and set your password. Write the password down somewhere safe. Trilium can't send a reset email, and notes you protect can't be read without it.
- Open it to everyone. Back on the app's page in Cottage, choose Open it to everyone so anyone you share the address with can reach it. Until then, the app stays private to you.
- Add notes. Notes live in the tree on the left. Right-click a note to add a child note. Press Ctrl+L (Cmd+L on a Mac) inside a note to link to another one.
- Protect sensitive notes. Click the shield icon next to a note's title to protect it. Protected notes are encrypted with a key derived from your password, and Trilium asks for the password again after a period of inactivity (10 minutes by default).
- Turn on two-factor sign-in (optional). Go to Options → Password & Auth, make sure Sign-in with is set to Local password, and in the Two-factor authentication section choose Set up. Scan the QR code with an authenticator app and save the recovery codes.
- Connect the desktop app (optional). Install the TriliumNext desktop app for Windows, macOS or Linux. When it asks, choose to connect to an existing server, then enter your app's full address (starting with
https://) and your password. If you turned on two-factor sign-in, also enter a one-time code or recovery code when it asks. After the first sync the desktop app opens with your notes. See the synchronization guide for more. - Use it on a phone. Open your app's address in the phone's browser. Trilium switches to a layout for touch screens automatically, with fewer features than the desktop version.
Frequently asked questions
How do I import notes from another app?
Drag a file or archive into the note tree, or right-click a note and choose Import into note. Trilium has importers for Obsidian, Notion, Google Keep, Evernote, Anytype and Microsoft OneNote, and it imports HTML, Markdown and OPML directly. Imported scripts are held back by default through Safe import, so leave that on for files you don't trust.
Can I clip web pages into Trilium?
Yes. The Trilium Web Clipper extension for Firefox and Chrome saves selections, pages, screenshots and bookmarks. In the extension's options, enter your app's address and your password, then choose Login to the server instance. See the Web Clipper guide.
How do I get my notes out?
Right-click the top note in the tree, choose Export..., then This note & all descendants in HTML or Markdown to get a ZIP of everything. Cottage also backs up the whole app every night and keeps 14 days of backups, which you can download from Backups on the app's page in Cottage (how).
Does Trilium keep its own backups?
Yes. It saves a copy of its database once a day, once a week and once a month, and before an upgrade. Go to Options → Backup to see them, create one with Backup now, or download one from Existing backups.
I already have notes in the desktop app. How do I put them on the server?
The simplest way is to move them across as an export. In the desktop app, right-click the top note, choose Export..., then This note & all descendants, and save the ZIP. On your Cottage app, right-click where you want them, choose Import into note and pick that ZIP. After that, connect the desktop app to the server as in Getting started so both stay in sync. Trilium can also sync an existing desktop database into a brand-new server that hasn't been set up yet, but on Cottage the first visit already sets the server up, so the export is the way to go.
Can several people share one knowledge base?
Not with separate accounts. Trilium has a single account and password, so everyone who knows the password sees everything. For a separate knowledge base per person, deploy a separate app for each.
Is Trilium updated automatically?
Yes. Cottage installs updates for you, and Updates on the app's page in Cottage shows what changed. Update the desktop app when the server updates, so both sides run compatible versions.
Can I use my own domain?
Yes. See Custom domains.
Troubleshooting
I forgot my password
Trilium has no reset by email. Unprotected notes can be recovered, but notes you protected can't be read without the old password, even by Cottage. Resetting the password needs changes that can only be made on the server, so contact support at support@cottage.host. Say whether you have a recent backup.
The desktop app won't sync
- Check the address is your app's full
https://address, with nothing after it. - Make sure your computer's clock is accurate. Trilium needs the client and server clocks to be within five minutes of each other.
- If you turned on two-factor sign-in, connecting a new desktop app also asks for a one-time code. Use the current code or a recovery code.
- If you edited the same note in two places before syncing, the newer change wins and the older text stays in the note's revisions.
Two-factor sign-in is rejecting my code
Check that your phone's clock is correct, and wait for the next code, since each code works only once. If you've lost your authenticator, use one of the recovery codes you saved.
The app is slow or keeps restarting
Large imports and big databases use a lot of memory. Use Change size on the app's page in Cottage to add memory or disk, and choose Restart. The Technical log under Advanced there can show errors.
An import failed or never finishes
Check the Technical log under Advanced on the app's page in Cottage. A single item (a file, an attachment or a text note) can't be larger than about 374 MiB. Split very large imports into smaller archives.
Still stuck?
Email support@cottage.host. A person reads every message. If something seems down, check Cottage's status page.