Skip to content

Trouble setting up TriliumNext #5874

Answered by sukarn-m
avinatempest asked this question in Ideas
Discussion options

You must be logged in to vote

Just remove the environment variable or change it to /home/node/trilium-data since you're sticking to the default location inside the container.

environment:
      - TRILIUM_DATA_DIR=/home/node/trilium-data

Node likes running with /home/node and has issues when it's told to use a different home directory or store data elsewhere on the filesystem. Your volume mount is already set to /home/avinatempest/Docker/TriliumNext/data:/home/node/trilium-data so your host system's /home/avinatempest/Docker/TriliumNext/data will be mounted in the container as /home/node/trilium-data.

Replies: 0 comments 2 replies

Comment options

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

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