This article is a mirror article of machine translation, please click here to jump to the original article.

View: 896|Reply: 1

Build a private note-taking knowledge base on Trilium

[Copy link]
Posted on 2025-5-15 11:19:54 | | | |
Requirements: For privacy reasons, you do not want to use shared note-taking services (e.g., Youdao Cloud Notes, Evernote, etc.). I want to privatize and build a personal online notebook. I saw Trilium as an open source project from the Internet.

Trilium Notes

Trilium Notes is a layered note-taking app that focuses on building a large personal knowledge base.

Open source address:The hyperlink login is visible.

Note: The project is in maintenance mode, refer to:The hyperlink login is visible.

Built on Docker

Docker, package management, K8S and other installation methods are officially supported, it is recommended to use Docker to build, address:The hyperlink login is visible.

First, to prevent permission denied issues, run the following command:

Otherwise, when starting the container, the following error will be reported:
Node.js v18.18.2
No USER_UID specified, leaving 1000
No USER_GID specified, leaving 1000
node:internal/fs/utils:350
    throw err;
    ^

Error: EACCES: permission denied, mkdir '/trilium-data/log'
    at Object.mkdirSync (node:fs:1398:3)
    at Object. <anonymous> (/usr/src/app/src/services/log.js:8:8)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions.. js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object. <anonymous> (/usr/src/app/src/services/session_secret.js:6:13)
    at Module._compile (node:internal/modules/cjs/loader:1256:14) {
  errno: -13,
  syscall: 'mkdir',
  code: 'EACCES',
  path: '/trilium-data/log'
}

docker-compose.yml The configuration is as follows:

The startup command is as follows:



Open it using a browserip:8085website, as shown below:



Set a password as shown below:



Log in, as shown below:



After the login is successful, as shown in the following figure:



(End)




Previous:C# 8.0 syntax uses index and range
Next:ETL data warehouse mainstream development tools
 Landlord| Posted on 2025-5-17 13:14:59 |
Trilium Chinese version (third party):https://github.com/Nriver/trilium-translation
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com