Trilium Server Quadlet / Podman installation #4085
Unanswered
jwhonce
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
User space safe installation and setup
No need for root access or privileges to run a trilium sync server. Some of the steps below may be redundant but this is the path I took to deploy.
Versions…
I started with commands below. They only need to be run once to initialize the database and then configure the server.
Then I…
podman stop trilium-server
~/.local/share/trilium-server-data/config.ini
and setnoAuthentication=true
(authentication is a future item, service not exposed to Internet)
Moving on to defining a quadlet, I created
~/.config/containers/systemd/trilium-server.container
with the following content.The following commands setup systemd and quadlet to run the service we configured above.
I installed the trilium client from flathub, configuring the sync server as http://[host]:8080. See #4011 if you have issues with mDNS resolution for the sync server's name.
I upgraded the server container through each of the beta releases by just updating the .container file, and reloading systemd. This worked because of the stable API provided by trilium and the magic of systemd with quadlet.
@zadam Thank you for a great tool!
PS. Yes, I gathered these commands and associated text using trilium. :-)
Beta Was this translation helpful? Give feedback.
All reactions