Skip to main content
Install only the dependencies you need. Each recipe is independent; if a suitable service already exists, use its endpoint in the Windows application configuration instead. Omnara does not install, upgrade, or stop these external services. These recipes were tested with PostgreSQL 18.7, Garnet 2.2.14, and RustFS 1.0.4 on Windows Server 2022. PostgreSQL 18+ is required. Garnet supplies a native Redis-compatible server. RustFS is the S3 implementation used by Compose; its Windows build is intended for development and debugging. For Garnet or RustFS, first download Omnara’s bundle and the pinned WinSW executable from the Windows setup page. Offline, see WINDOWS-SETUP.mdx beside this file. Use an administrator PowerShell 5.1 session in C:\Omnara (or the checkout root for a source build). Use new, dedicated program and data directories on local NTFS; the commands replace program-directory permissions. Do not point them at an existing installation, a shared directory, or a junction. If a service or port already exists, reuse it or choose separate names, directories, and ports throughout that recipe.

Downloads

Download only the components you need. These are the tested x64 versions, not a requirement to change an existing compatible service.
Compare Get-FileHash -Algorithm SHA256 against:
For dotnet-runtime-10.0.15-win-x64.exe, use Get-FileHash -Algorithm SHA512:

PostgreSQL

For a new local PostgreSQL installation, use port 5432 and set listen_addresses = '127.0.0.1' in postgresql.conf; restart its service after changing that setting. Do not change the listener configuration of a shared server. In SQL Shell (psql), connect as an administrator and create a dedicated owner and UTF-8 database, using unused names:
Set OMNARA_DATABASE_URL to that database and role. The Omnara installer runs migrations, including creation of pg_trgm; on a managed PostgreSQL service, have its administrator make that extension available first. Existing PostgreSQL 18+ services use the same database requirements and do not need the Windows installer.

Redis: optional local Garnet

If your Redis endpoint meets the application requirements, skip this section. For a new Garnet service, install .NET first, then run this block. It creates a random password in the private config\garnet.json file. The Garnet settings keep Redis data in memory and enable the Lua scripts Omnara needs. They allocate 256 MiB for stored values; Garnet also uses memory for its other work. When that space fills, older keys can be discarded before they expire. Increase LogMemorySize if that happens too often. Restarting Garnet clears its data. Pending sign-ins may need to retry, rate limits reset, and connected daemons register again. Notifications sent while Garnet is down are not replayed. Conversations, sessions, and files remain in PostgreSQL, S3, and the shared memory directory.
Open C:\ProgramData\Omnara\garnet\config\garnet.json in an administrator’s editor and copy its Password into OMNARA_REDIS_URL=redis://:PASSWORD@127.0.0.1:6379/0. Keep this file private. Logs are in C:\ProgramData\Omnara\garnet\logs.

S3: optional local RustFS

If you already have a bucket, skip this section and supply its endpoint, region, bucket, and credentials using the application configuration. The application does not need bucket-creation privileges. For a new RustFS service, use a data path without spaces (a RustFS 1.0.4 limitation). This block creates private access-key and random secret-key files, and binds both S3 and its administration console to loopback:
Open the two files in C:\ProgramData\Omnara\rustfs\config with an administrator’s editor to obtain the credentials. Workstation forwarding requires OpenSSH Server installed and running with SSH access from your workstation. Forward the console separately from Omnara:
Open http://localhost:9001, sign in with those credentials, and create a private bucket named omnara. Upload and download a small test file to verify access. Keep anonymous/public access disabled. Logs are in C:\ProgramData\Omnara\rustfs\logs. Set Omnara’s S3 endpoint to http://127.0.0.1:9000, bucket to omnara, region to us-east-1, path style to 1, and access/secret keys to those credentials. The console address is not the S3 endpoint. The two Windows services are independent; either can be installed without the other.

Operations

Each service starts automatically after boot. Check its logs and sign in to verify access. After installing Omnara, upload and download a file to check the S3 connection. If a service fails, fix its configuration or permissions and restart it. A failed installation leaves its files for inspection. Before repeating a setup block, uninstall the service it created and move its directory aside. Back up database and S3 data together with Omnara’s memory directory, configuration, and encryption keys. Garnet has no saved data to back up. Before a planned reboot, stop Omnara first. Then stop only the local dependencies you installed here (Stop-Service omnara-garnet or Stop-Service omnara-rustfs) and follow PostgreSQL’s shutdown procedure. The WinSW stop caveat also applies here: wait 15 seconds and confirm the service remains Stopped before rebooting or uninstalling. Existing or shared services remain under their administrator’s control. To remove one of these new wrappers, stop that service and run its renamed WinSW executable with uninstall; retain its data and credentials until they are no longer needed.