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 | Windows installer | Linux with Docker Compose | Without it |
|---|---|---|---|
| A language model | The ones you select | The 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 model | Always, whichever models you select | Always, beside the language model | Every document stops at indexing with an error |
| PaddleOCR, the enhanced OCR | Downloaded during installation | Part of its container image | Tesseract does the OCR |
| CUDA libraries | Downloaded only for an NVIDIA card | Nothing separate to download | Inference runs without CUDA |
| Container images | None | Seven | Nothing starts |
On Linux, install an offline machine from the deployment files with install.sh, as below. The Linux installer downloads what it installs.
- Prepare on a connected machinePull the models, then build the Windows bundles or save the Linux images.
- Carry them acrossThe models directory, and the bundles or the image archive.
- Load themWindows: into
offline-bundles. Linux: the images, withload-images.sh. - InstallIt warns that it cannot download. Expected, and not a failure. On Linux,
load-models.shthen loads the models. - Confirm it works offlineHealth answering, both models listed, a document read and a question answered.
Prepare on a connected machine
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:latestThen copy Ollama’s models directory. It holds two folders,
blobsandmanifests, 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) andllama3.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.tarunpacks it asmodels.
- The tags on offer are
For Windows, build the bundles
Zip the two folders so that
blobsandmanifestssit at the root of the archive, and name itollama-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 archivepaddleocr-windows-x64-20261028-ocrfix.zip, renamed. For an NVIDIA card, addcuda-bundle.zip—cuda-windows-x64-v12-0.30.10.zip, renamed. Both are named inbundle-hashes.jsonbeside the installer’s payload, and a connected install writes the address it downloads them from into itsinstall.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_SHA256orCUDA_BUNDLE_SHA256environment variable. - Both are optional. Without them the install completes with Tesseract OCR and without CUDA.
- For enhanced OCR, add
For Linux, save the container images
From a copy of your deployment files (
docker-compose.ymland.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
.envnames (VERSIONfor the three Logley images), so save them with the same file you will install with.
- The images carry the tags your
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.
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/modelsload-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
Installation
The ids a licence is issued for, and what this installation sends about itself.
Build 1.0.0
11111111-1111-1111-1111-111111111111Q-z_PlIB0bc_FZqMqVQrUEETWcyAdDGM7BFVprEiM5sAn offline licence is issued for this server’s device key and works on no other. Send this file to Logley, then apply the licence you receive.
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.
Documents are classified, extracted and indexed, and questions are answered, with no route to the internet.