Administration and integrations

Installing without internet access

An install works offline once the things it would download are already on the machine: the models on every path, the container images on Linux, and the OCR and GPU bundles on Windows. Prepare them on a connected machine, then install.

ABOUT 7 MINUTESTUTORIALFOR IT

Goal

Install Logley on a machine with no route to the internet, and confirm it works without one.

What an install would download

Everything else (the application, the database, the search index and Tesseract OCR) is in the installer or the images. These are fetched during installation:

What each install path downloads, and what happens without it
WhatWindows installerLinux with Docker ComposeWithout it
A language modelThe ones you selectThe one .env names (OLLAMA_MODEL)The product installs and runs, but document classification and extraction need a model, and so do answers
nomic-embed-text, the embedding modelAlways, whichever models you selectAlways, beside the language modelEvery document stops at indexing with an error
PaddleOCR, the enhanced OCRDownloaded during installationPart of its container imageTesseract does the OCR
CUDA librariesDownloaded only for an NVIDIA cardNothing separate to downloadInference runs without CUDA
Container imagesNoneSevenNothing starts

On Linux, install an offline machine from the deployment files with install.sh, as below. The Linux installer downloads what it installs.

  1. Prepare on a connected machinePull the models, then build the Windows bundles or save the Linux images.
  2. Carry them acrossThe models directory, and the bundles or the image archive.
  3. Load themWindows: into offline-bundles. Linux: the images, with load-images.sh.
  4. InstallIt warns that it cannot download. Expected, and not a failure. On Linux, load-models.sh then loads the models.
  5. Confirm it works offlineHealth answering, both models listed, a document read and a question answered.
The dark steps happen on the machine with no route out.

Prepare on a connected machine

  1. Download the models

    On any machine with Ollama and internet access, pull the embedding model and each language model you will install, by the same tag the installer uses — the application asks Ollama for a model by its tag:

    ollama pull nomic-embed-text
    ollama pull qwen3:latest

    Then copy Ollama’s models directory. It holds two folders, blobs and manifests, and you need both: Ollama finds a model through its manifest, and a weights file on its own is not listed.

    • The tags on offer are qwen3:latest (Qwen 3 8B), mistral:7b-instruct-v0.3-q4_0 (Mistral 7B) and llama3.2:3b (Llama 3.2 3B).
    • A connected server already running Logley with Docker Compose exports the same directory with docker compose exec -T ollama tar -C /root/.ollama -cf - models > ollama-models.tar; tar -xf ollama-models.tar unpacks it as models.
  2. For Windows, build the bundles

    Zip the two folders so that blobs and manifests sit at the root of the archive, and name it ollama-models.zip. It is not hash-checked: it is data you produced, not a program the installer runs.

    • For enhanced OCR, add paddleocr-bundle.zip — the release archive paddleocr-windows-x64-20261028-ocrfix.zip, renamed. For an NVIDIA card, add cuda-bundle.zip — cuda-windows-x64-v12-0.30.10.zip, renamed. Both are named in bundle-hashes.json beside the installer’s payload, and a connected install writes the address it downloads them from into its install.log.
    • The installer accepts one of these only if its SHA-256 matches the pinned value. To use an archive you built yourself, pin its hash in the PADDLEOCR_BUNDLE_SHA256 or CUDA_BUNDLE_SHA256 environment variable.
    • Both are optional. Without them the install completes with Tesseract OCR and without CUDA.
  3. For Linux, save the container images

    From a copy of your deployment files (docker-compose.yml and .env), pull the seven images and save them in one archive:

    docker compose pull
    docker save $(docker compose config --images) | gzip > logley-images.tar.gz
    • The images carry the tags your .env names (VERSION for the three Logley images), so save them with the same file you will install with.

Carry them across and load them

Windows — before you run the installer, create a folder named offline-bundles inside the install directory you will choose (%ProgramFiles%\Logley\offline-bundles for the default) and put the archives in it. The installer extracts the model bundle into the data directory’s ollama folder before Ollama starts, and uses the OCR and GPU bundles instead of downloading them. An OCR or GPU archive whose hash does not match stops the install.

The three archives in place before the installer runs. The OCR and GPU archives are optional: without them the install completes with Tesseract OCR and without CUDA.

Linux with Docker Compose — with the deployment files and your certificate in place as the deployment guide describes, load the images, run the install script, then load the models:

bash deploy/scripts/load-images.sh /path/to/images
bash deploy/scripts/install.sh
bash deploy/scripts/load-models.sh /path/to/models

load-images.sh loads every .tar.gz in the folder you give it. install.sh warns that it could not pull the images or download the models, and carries on with what is loaded. load-models.sh copies the models directory you brought into the Ollama container and says whether the two models Logley needs, the chat model .env names and nomic-embed-text, are there.

Install on Windows

Run the installer as usual and select the models you bundled. Its model step still asks the registry for each one and for nomic-embed-text, and with no network it reports that it could not download them. That is a warning, not a failure: the models from your bundle are already in Ollama’s store. An unattended install behaves the same way, with the tags listed in models.

What to leave unconfigured

Every connection Logley makes after installation is one somebody switches on. On a machine with no route out, leave these off — they could only fail:

  • Mailboxes and the SMTP server
  • The ERP and CRM connectors
  • E-invoicing through KSeF
  • Webhooks
  • Exchange rates: Update daily and Fetch now under Currency and rates, and the Live exchange-rate mode
  • The release check: Check now and the daily check under Updates
  • A routing server
  • An activation code: only the licence service can redeem one, so use the trial or an offline licence, below
  • The Subscription section of the licence page: each of its buttons asks the licence service

The network behavior reference lists each one with what it sends.

Licensing an offline machine

  • The trial needs nothing. It runs with no licence contact at all.
  • An activation code cannot be used. It is a claim only the licence service can redeem, so an offline machine stays on its trial and keeps retrying.
  • An offline licence can. It begins with LO2.; the installation checks its signature by itself against the Logley signing keys built into it, and it never contacts the licence service. It is issued for one server (bound to the device key the installation makes the first time it starts), so it comes after the installation, and a licence issued for another server, or carried to a new one with a database backup, is refused.

Install first; the trial runs meanwhile. Then download the licence request from the Installation block of the licence page (the installation id and the server’s device key, signed with that key) and send it to Logley:

Settings, then System, then Licence

What an offline licence is issued against. The id and the key shown here are illustrative.

On a Windows server without a browser, Logley.Setup.exe license show prints the same two values, This install and This device, to send instead.

Apply the licence you receive with Licence key, Check and Apply on the same page (on Windows and on Linux) or, on Windows, with Logley.Setup.exe license apply --token @<file> and a restart of the API. On the page, Check answers Valid, not applied yet. under the box and changes nothing; Apply makes it the installation’s licence and empties the box. A server that is reinstalled keeps its device key, so its licence can also go into Activation code or licence on the installer’s Licence screen, or into licenseKey in an unattended configuration file.

Confirm it works without the internet

Check the installation as the deployment guide describes (/health/ready answering, and both the chat model and nomic-embed-text in Ollama’s list), then add a document and ask a question about it. To show that nothing tries to reach out either, deny egress at the firewall and follow the verification steps in the network behavior reference.

The installation runs offline

Documents are classified, extracted and indexed, and questions are answered, with no route to the internet.

NEXT GUIDEUpdates, backup and restore
Continue

Continue exploring

Was this guide useful?

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

Contact