trilium icon indicating copy to clipboard operation
trilium copied to clipboard

Trilium Server for Windows PC

Open passionate2023 opened this issue 2 years ago • 10 comments

Describe feature

Trilium Server for Windows PC

Additional Information

No response

passionate2023 avatar Jan 31 '23 17:01 passionate2023

There probably won't be a separate build for windows server.

But you can use the desktop version and access the web on the http://localhost:37740/

It will work also as a sync server etc. A desktop build is essentially a server build + electron integration.

zadam avatar Jan 31 '23 22:01 zadam

If you wanted to run the server to try it out, then another option could be to use WSL-backed Docker Desktop to run the docker image with a mounted file system. The command in the Docker-server-installation documentation worked fine for me to connect a Desktop instance to that server instance for testing.

docker run -t -i -p 127.0.0.1:8080:8080 -v ~/trilium-data:/home/node/trilium-data zadam/trilium

markacola avatar Feb 01 '23 08:02 markacola

You can also run a development build in Windows, although it is not optimized:

  1. clone the repository or download source code from the release page
  2. rename the directory to "trilium"
  3. In command prompt, run:
cd trilium
cmd /c set TRILIUM_DATA_DIR=%APPDATA%\trilium-data&&set TRILIUM_ENV=dev&&node src/www

WPum avatar Feb 03 '23 04:02 WPum

How to access via browser and the default port if i launch in windows?

passionate2023 avatar Feb 03 '23 04:02 passionate2023

@passionate2023 access http://localhost:37840/login

zadam avatar Feb 10 '23 07:02 zadam

can you please share the windows exe or bundle?

passionate2023 avatar Feb 10 '23 19:02 passionate2023

It's the same exe as the standard release: https://github.com/zadam/trilium/releases

sigaloid avatar Feb 10 '23 19:02 sigaloid

image

  1. It is asking for password which i don't know...Also not sure where to change the password.....
  2. Is there is a role/permission concept to create read only user and share the credentials

passionate2023 avatar Feb 11 '23 04:02 passionate2023

  1. This password isn't set when you use the electron version IIRC as it's not really necessary. You can create one in settings
  2. No. There is no multi user concept within Trilium. This is stated within the wiki. You can share individual pages

sigaloid avatar Feb 11 '23 06:02 sigaloid

Is it possible to provide search for the shared ones? search is really needed

passionate2023 avatar Feb 11 '23 12:02 passionate2023

Closing as the desktop version provides this functionality for windows. Trilium can be set to launch on startup to keep Trilium running even after reboots.

meichthys avatar Jan 30 '24 14:01 meichthys