Trouble setting up TriliumNext #5874
-
DescriptionI'm trying to deploy TriliumNext (0.94.1) on a Raspberry Pi 5 running Ubuntu Server 24.04 through Portainer Stacks. I followed the Docker Compose installation instructions and modified the docker compose file a bit to include my preferred data directory. Unfortunately I am getting a looping error whenever I start the container. The Error/Logs
Docker Compose File
The logs mention - P.S - I tried deploying it again without using Portainer, I am unfortunately getting the same error. Prior to starting this discussion I did a search and came across a similar issue - https://github.com/orgs/TriliumNext/discussions/1166, I wasn't able to get the solution marked in that thread to work. I'm a novice to all this and any help is appreciated, thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
Just remove the environment variable or change it to
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 |
Beta Was this translation helpful? Give feedback.
Just remove the environment variable or change it to
/home/node/trilium-data
since you're sticking to the default location inside the container.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
.