Skip to content

2 separate users in Trilium Next #1642

Answered by pano9000
9acca9 asked this question in Q&A / Support
Discussion options

You must be logged in to vote

the stuff ChatGPT was proposing seems to be just hallucinations unfortunately...

it looks like we are talking about the "baremetal" server installation here (i.e. without Docker).

In that case you should be able to achieve what you want by starting two instances, and supplying each with a different port and data dir.

You can use the following env variables for that:

e.g. instance A:

TRILIUM_NETWORK_PORT=8080 TRILIUM_DATA_DIR=/path/to/your/data-dir-A /opt/trilium/trilium.sh

e.g. instance B:

TRILIUM_NETWORK_PORT=8081 TRILIUM_DATA_DIR=/path/to/your/data-dir-B /opt/trilium/trilium.sh

you can then use each instance, by browsing to the different port number, e.g. http://your-domain.com:8080 f…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@9acca9
Comment options

Answer selected by 9acca9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants