Administration and integrations

Install Logley

Run the installer on Windows, where it sets everything up as native services, or on Linux, where it runs the stack with Docker Compose; or bring the stack up with Docker Compose yourself. This deployment guide covers each, from an empty machine to signing in as the first administrator and checking the install is healthy.

ABOUT 18 MINUTESTUTORIALFOR IT AND ADMINISTRATORSGETTING STARTED · STEP 1 OF 7

Logley principleRuns in your environment

Every component (the database, the search index, the language models and OCR) is installed on a machine you control. The install is also where you decide how people reach it: the address, the port and the certificate.

Goal

Install Logley on one machine and sign in as its first administrator.

Choose how to install

All three paths run the same application on the same stores — PostgreSQL for records, Qdrant for the search index, Ollama for the language models. They differ in how that is packaged and in how much of the setup you do yourself.

The three ways to install Logley
PathWhat it installsWhat you bring
Windows installerThe application, PostgreSQL, Qdrant, Ollama and OCR as Windows services, from one program. It generates the certificate and the administrator password and downloads the language models you pick. No container runtime.Windows 10 (1809 or later) or 11, and local administrator rights
Linux installerThe same wizard, as an AppImage or a .deb package. It writes the configuration, generates the certificate, the secrets and the administrator password, and runs seven containers with Docker Compose: nginx in front, the web application, the API, PostgreSQL, Qdrant, Ollama and PaddleOCR.Ubuntu 22.04 or later or Debian 12 or later, Docker Engine 24 or later with Compose V2, and the root password
Linux with Docker ComposeThe same seven containers, started by an install script from the deployment files, with a configuration you write.Docker Engine 24 or later with Compose V2, an environment file, your TLS certificate and key

The download page offers the installers for the current release.

Before you begin

On either platform the machine needs 16 GB of memory at minimum (32 GB recommended) and 12 GB of free disk; a GPU is optional. The infrastructure requirements list everything, including the ports each path opens.

  • A machine that meets the requirements for the path you chose
  • Internet access during the install, for the models and components it downloads
  • With Docker Compose by hand, your TLS certificate and its private key
  • A password manager or vault for the administrator password

A server that cannot reach the internet can still be installed; installing without internet access covers what to bring to it first.

Install on Windows

The installer is one file, Logley-Setup-<version>.exe; it opens a wizard of seven screens.

  1. Start the installer

    Run the file. It asks for administrator rights before the wizard opens, and stops if you decline: registering services, trusting a certificate and opening firewall ports all need them. The Welcome screen then repeats the system requirements.

    • Current builds are unsigned, so Windows may warn that the publisher is unknown. Checking what you ran explains what the build verifies instead.
  2. Accept the agreement, then add a licence or none

    On Licence Agreement, tick I have read and agree to the Logley Software Licence Agreement. On Licence, paste an activation code or an offline licence into Activation code or licence — or leave it empty, and the button reads Start 30-day trial. No licence is needed to install.

    • An activation code is redeemed with Logley’s licence service, licensing.logley.net, so the server needs outbound HTTPS to it; private deployment and network behavior lists what that call sends. An offline licence is issued for one server and checked on it, against the Logley signing keys built into the installation, and contacts nothing — see licensing an offline machine.
    • The trial belongs to the machine, so a reinstall does not start a new one, even after an uninstall that deleted the data — see how the trial clock works.
  3. Choose an installation size

    The size decides which language models are downloaded. The database, the search index, the document pipeline and OCR are installed whichever you choose.

    • Full Installation — all three models, an 11.3 GB download. The application runs on Qwen 3 8B; the other two are installed beside it.
    • Minimal Installation — Llama 3.2 3B only, a 2.0 GB download, for an evaluation or a smaller server.
    • Custom — the only choice that opens Configuration.
    • Full and Minimal start installing as soon as you press Install, with the defaults: the program in %ProgramFiles%\Logley, data in %ProgramData%\Logley\data, port 443 and a generated certificate. Choose Custom to change any of them.
    Full is selected, so the button reads Install. Choose Custom and it reads Continue, to the Configuration screen.
  4. Set the configuration (Custom only)

    Each field is checked before Install becomes available.

    • Install Directory and Data Directory take absolute paths. The data directory holds the database, the search index, the models and every document, so put it on a data volume rather than the system disk.
    • Web Interface Port is the HTTPS port, 443 by default. Port 80 is refused: it is kept for the plain-HTTP setup page other devices use to fetch the certificate.
    • Network Address (optional) is the hostname other machines will use, and it goes into the certificate. Left blank, the server is reached by its LAN IP — give it a DHCP reservation so that address does not move.
    • Security Certificate: Self-signed (works anywhere) generates a Logley certificate authority, which this machine trusts at once and each other device trusts once. Use my organization's certificate takes a .pfx or .p12 from your own CA; it must include its private key, use RSA and be valid today. If it does not cover the hostname, the install warns and carries on.
    • AI Models needs at least one ticked.
    • There is no GPU setting: the installer uses a GPU when it detects an NVIDIA card, and the CPU otherwise.
  5. Let it install

    The status line names each stage: checking system requirements, copying files, downloading optional components, initialising the database, installing certificates, registering Windows services, writing configuration, downloading AI models, and waiting for Logley to be ready. Everything it reports also goes to install.log in the install directory, which View Log opens.

    • Before changing anything it checks 12 GB of free disk and every port the install needs: the web port, port 80, and the PostgreSQL, Qdrant, Ollama and PaddleOCR ports. If another program holds one, Required ports are in use names it, with Stop these programs & retry and Retry. An earlier Logley install holding those ports is not a conflict — the next stage stops and replaces its services.
    • It registers the services, set to start automatically and to restart after a failure: LogleyApi, which runs as a Windows service itself; LogleyPostgres, registered through pg_ctl; and LogleyQdrant, LogleyOllama and, when enhanced OCR was downloaded, LogleyPaddleOCR, each hosted by the Logley setup engine, which supervises the program as a child process.
    • On this machine it trusts the certificate authority it generated, points logley.app (and the network address, if you set one) at itself in the hosts file, and opens inbound firewall rules for the web port and port 80. It makes the data directory readable by SYSTEM and administrators only, and asks Microsoft Defender to skip the files PostgreSQL, Qdrant and Ollama read and write, while the documents Logley receives are still scanned.
    • Enhanced OCR and, for an NVIDIA card, the CUDA libraries are downloaded and checked against pinned hashes. If either cannot be fetched, or a model download fails, the install finishes without it and says so on the last screen. A warning is not a failure.
    • If the install fails, the left-hand button becomes Undo the changes. It removes the services, the certificate, the hosts entry, the firewall rules, the Defender exclusions and the Add/Remove Programs entry, and deletes directories only if this run created them.
  6. Save the administrator password

    Installation Complete shows an Installation Summary and a First Sign-In card: the email admin@logley.local and a password generated for this machine. The card appears only on this screen — copy the password into your password manager before you close the window.

    • The account is created only while the database has no users. Installing over an existing Logley keeps the accounts you already have.
    • Logley has no screen for changing a password, so treat this account as the recovery key and invite named administrators for everyday use.
    • When the install ends with a warning (a component that could not be downloaded, say), the warning pushes the card down, and it can sit below the window’s edge. Scroll the screen until you see it.
    The last screen. The password is hidden here; on yours it is readable, and shown only this once. Its note says to change the password after signing in — this build has no screen for that, as the points above explain.
  7. Open Logley and sign in

    Launch Logley → opens the Web Interface address from the summary: https:// and the network address you set, or the server’s LAN IP, with the port added only when it is not 443. Enter the email and password from the card and choose Sign in.

    • On the server itself, https://localhost and https://logley.app work too, and Windows already trusts the certificate.
    • On any other computer or phone, open http://<server address>/setup once, or scan the QR code on the last screen. The page walks through trusting the certificate and tests the connection. With your organization’s certificate there is nothing to trust.
    • Ten wrong passwords in a row lock an account for 15 minutes.
    /setup on a device that does not trust the certificate yet; once it does, the banner reads Secure connection works. Your server’s address stands where logley.corp.local is — the installer’s own example.

Install on Linux with the installer

On Linux the installer is the same wizard, as an AppImage or a .deb package. It runs Logley with Docker Compose, so it writes the configuration and starts the containers for you.

  1. Install Docker first

    The server needs Docker Engine 24 or later with Compose V2 before you start; on Ubuntu and Debian, sudo apt install docker.io docker-compose-v2 installs both. Without them the installer says so before it asks for a password, and the installer refuses a Docker older than 24. It runs on Ubuntu 22.04 or later and Debian 12 or later.

  2. Run the installer

    Open the AppImage (make it executable first), or install the .deb and open the installer it adds. It shows the screens described for Windows above: the agreement, a licence or none, the installation size and, for Custom, the configuration. When you press Install, it asks for an administrator’s password before it changes anything. Cancel that prompt and nothing is installed; Try again asks for it again.

    • The AppImage needs FUSE 2, which Ubuntu 22.04 and later no longer install. Without it the AppImage stops at AppImages require FUSE to run or failed to exec fusermount. Install it with sudo apt install libfuse2t64 fuse3 on Ubuntu 24.04 and later and Debian 13, or sudo apt install libfuse2 fuse3 on Ubuntu 22.04 and Debian 12. The .deb does not need FUSE.
    • The defaults differ from Windows: the program in /opt/logley, the data in /var/lib/logley, and port 443.
    • The certificate choice is the same: a self-signed certificate authority the installer generates, or your organization’s .pfx or .p12.
  3. Let it install

    It writes the configuration with secrets generated for this server, prepares the certificate, pulls the container images, starts the stack, and downloads the models you chose with the embedding model, nomic-embed-text. The first model you chose is the one the application uses. A model that cannot be downloaded is a warning, and the install still finishes.

  4. Save the administrator password and sign in

    As on Windows, the last screen shows admin@logley.local and a password generated for this server, only while the database has no users. Copy it into your password manager. Launch Logley → opens http://<server address>/setup on the server itself: its browsers do not trust the certificate yet either, and that page says how, then links to Logley. Other devices open the same page once.

Install on Linux with Docker Compose

On Linux the script starts the stack; the configuration is yours to write first. Run everything from the directory that holds docker-compose.yml.

  1. Put the deployment files on the server

    You need docker-compose.yml and, beside it, the deploy folder: the environment template, the nginx configuration, the certificate folder and the scripts. The server needs Docker Engine 24 or later with Compose V2; the script refuses anything older.

  2. Write the environment file

    Copy the template to .env and set these values:

    cp deploy/.env.example .env
    Environment variables to set before the first start
    VariableWhat to set
    LOGLEY_ACCEPT_EULAyes, to accept the Logley Software Licence Agreement. The licences of the third-party software it covers are in the licenses folder beside docker-compose.yml. Until it says yes, the install script stops before it downloads anything and the API does not start.
    DB_PASSWORD, JWT_SECRET, EMAIL_ENCRYPTION_KEYThe database password, the token-signing secret and the key that encrypts stored credentials. The template ships placeholders anyone can read: leave them, and the install script writes a random value over each, or set your own (the signing secret and the encryption key need at least 32 characters). The API refuses to start on the signing secret’s placeholder. DB_NAME and DB_USER default to logley.
    OLLAMA_MODELThe chat model the API answers and extracts with, qwen3:latest unless you set another. The install script downloads it.
    SEED_ADMIN_PASSWORDThe password for admin@logley.local. Left blank, the install script generates one and writes it into .env; a stack started without the script has no administrator at all.
    WEB_PORT, HTTP_PORTThe HTTPS port (443) and the plain-HTTP port (80) nginx publishes. Port 80 serves only the setup page and health checks, and redirects everything else.
    PUBLIC_URL, PUBLIC_HOSTOptional: the address the product calls this server, such as https://logley.corp.local.
    DEVICE_URL, DEVICE_HOSTOptional: the address Add a device gives a phone or another computer, such as https://192.168.0.107. Left blank, it uses PUBLIC_URL and PUBLIC_HOST. Set these when that name resolves only on the server.
    SETUP_CA_CERT_PATHLeave blank with a certificate from your own CA. Set /app/certs/ca.crt only if you place a private CA’s ca.crt in deploy/nginx/certs/public (the one certificate folder the API can read) so devices can download it from /setup.
    • The administrator password must have at least eight characters, including an upper-case letter, a lower-case letter, a digit and a symbol. One that fails the rules also leaves the server with no administrator.
  3. Add your certificate and key

    Put the certificate, with its intermediate certificates after it, in deploy/nginx/certs/server.crt and the private key in deploy/nginx/certs/server.key, both in PEM. nginx serves them over TLS 1.2 and 1.3. Nothing here is generated for you: a .pfx or .p12 has to be converted to PEM first, and the certificate folder’s README gives the openssl commands.

    • Keep the key readable by root only (chmod 600).
  4. Run the install script

    bash deploy/scripts/install.sh

    It checks the Docker and Compose versions, copies the template to .env if there is none yet and waits while you edit it, and stops there unless .env accepts the licence agreement. Then it writes random values over the placeholder secrets, generates SEED_ADMIN_PASSWORD if it is still blank, pulls the container images, starts the stack, downloads nomic-embed-text and the chat model, and runs the verification script.

    • Over a database an earlier installation left, it keeps the database password and the encryption key in .env as they are, and says so: that database signs in with its own password, and reads its stored credentials only under their key.
    • A model that cannot be downloaded is a warning, with the command to download it later: docker compose exec ollama ollama pull <model>.
  5. Sign in

    Open https:// and the server’s address, and sign in as admin@logley.local with the SEED_ADMIN_PASSWORD from .env. The account is created on the first start, and only while the database has no users — changing the variable later changes nothing. There is no screen to change the password, so keep it in your password manager.

Verify the installation

Two endpoints answer on every path. /health/live responds as soon as the application process is up and checks nothing else. /health/ready also checks PostgreSQL, Qdrant, Ollama, document storage, the background-job scheduler and the document classifier, and returns 503 when one of them does not answer. Add the port if it is not 443:

curl -k https://localhost/health/ready

Each path also has a check of its own:

  • Windows — from the setup folder of the install directory, .\Logley.Setup.exe doctor checks that each service is registered and running, that PostgreSQL accepts connections, the certificate’s expiry (warning 30 days ahead) and free disk, failing under 2 GB. It exits 0 when nothing failed, warnings included; --report <path> writes the result as JSON.
  • Linux — docker compose ps, run as root from the install directory (/opt/logley with the installer), lists each container and its state. With the deployment files, bash deploy/scripts/verify-install.sh, which install.sh already ran, checks that the postgres, qdrant, api, frontend and nginx containers are running and waits up to 30 seconds for /health/ready to return 200.

Does /health/ready confirm the models are there? No: readiness proves that Ollama answers, not that it holds the models. List them (.\ollama.exe list from the ollama folder of the install directory on Windows, docker compose exec ollama ollama list with Docker) and look for your chat model and nomic-embed-text, the embedding model indexing and search depend on.

A model that failed to download is only a warning

The Windows installer downloads nomic-embed-text along with the chat models you selected, but a download that fails (with no internet access, say) is reported as a warning, and the installation still completes. If the embedding model is not in the list, pull it from the same folder before you add documents (.\ollama.exe pull nomic-embed-text), or every document stops at indexing with an error.

Logley is installed

You are signed in as the first administrator, the readiness check answers and the models are in place. Next comes the workspace itself: your company, your people and the settings to make before the first document arrives.

Install unattended on Windows

For SCCM, Intune or Group Policy there is no wizard. The setup engine installs from a configuration file and reports through its exit code:

Logley.Setup.exe install --config C:\deploy\logley.json --silent
Fields of the unattended configuration file
FieldWhat it sets
acceptEulaRequired: true accepts the Logley Software Licence Agreement, which an unattended install never shows. Without it nothing is installed, and the run exits 1 with an ERROR line that says where to read the agreement and the licences of the third-party software it covers.
installPathWhere the program goes.
dataDirWhere the database and the documents go — a data volume, not the system disk.
portThe HTTPS port. 443 is left out of the published address.
modelsOllama tags, such as qwen3:latest. The first is the one the application uses. An empty list installs no chat model, deliberately; the embedding model is downloaded either way.
useGpufalse keeps Ollama on the CPU.
serverHostnameAdded to the certificate. Blank uses the LAN IP.
tlsModeSelfSignedCA, or CustomerPfx with pfxPath.
payloadDirRequired: the extracted payload directory that ships beside the engine.
activationCode or licenseKeyOptional. Omit both for a 30-day trial. A value that is present but malformed is refused before anything changes.

The exit code is 0 for installed, 1 for failed (the last ERROR line says why) or 3 for cancelled; treat anything but 0 as a failure. A model that could not be downloaded is a warning, so the run still exits 0: check the models afterwards.

Read the administrator password from the secrets file

Secrets the file leaves out (the database password, the token secret, the encryption key and the administrator password) are generated and written to install-secrets.json in the install directory, readable by SYSTEM and administrators only. The administrator password there is the one you sign in with. Move them into your secret manager, then delete the file.

GETTING STARTED · NEXT STEP 2 OF 7Configure your workspace
Continue

Continue exploring

Was this guide useful?

If something was missing or unclear, the contact page says where to write.

Contact