מה תרצה/י לחפש?
NAGIX BO On-Prem – Clean Installation Guide
Table of Contents
NAGIX BO On-Prem – Clean Installation Guide
This guide describes a clean installation of NAGIX BO On-Prem, including license activation, optional HTTPS disabling, and verification.
1. Prerequisites
- Install ASP.NET Core 8.0 Hosting Bundle – Download
- Install Microsoft Visual C++ 2015–2022 Redistributable (x64) – Download
- Install MongoDB Community Edition – Download
- Install IIS (Internet Information Services)
- Install IIS URL Rewrite Module 2 – Download
- If required, reboot the VM.
2. Automatic Installation
- Run
InstallPBAccessibility.ps1 - Follow the prompts:
- Enter Mongo database name
Enter Mongo database name [Press Enter = master-Accessibility]:
→<MongoDB Name> - Step: Migration Tool
- If this is a clean install:
→ When prompted “Do you want to run database files migration now?”, type:N - If this is an update of existing installation:
→ When prompted, type:Y
- If this is a clean install:
- You will see:
Running the migration tool for 'from database to files' migration Choose migration type: 1: Convert data storage from database to file 2: Delete backups from MongoDB 3: Update directory for file storage - Select option
1at prompt:Enter number: - Then provide required paths:
Enter NAGIX path:→ e.g.C:\Program Files\Consist\Nagix\NagixAPIEnter a directory for file storage (Dictionary, Template, PreparedXmlInfo):
→ ⚠ The directory must already exist!
- Migration tool will ask:
DictionaryStorageMode is 'File'
Do you want to run Dictionaries migration? [Y/N]:→YTemplateStorageMode is 'File'
Do you want to run Templates migration? [Y/N]:→YDefaultStoragePreparedXMLType is '0' (AS_FILE_PATH)
Do you want to run PreparedXMLInfos migration? [Y/N]:→Y
- At the end:
Press any button to exit...→ Press any key to continue. - The installation will then proceed automatically.
- Enter Mongo database name
- If you lack permissions to run PowerShell scripts – see Manual Installation Steps.
3. License Installation (Based on the Purchased Package)
License Manager4. Disabling HTTPS (Optional)
⚠️
Production guidance: Do not disable HTTPS in production. If TLS is terminated upstream (reverse proxy / load balancer),
keep backend connections protected and configure a permanent
HTTP → HTTPS redirect and HSTS at the edge.
Disabling HTTPS here is intended for labs or special routing setups.
🔧
When to use: Only in test/lab environments or when HTTPS termination happens upstream.
- Open the file:
C:\Program Files\Consist\Nagix\NagixBackOfficeAPI\web.config - Locate the line:
<environmentVariable name="ASPNETCORE_HTTPS_PORT" value="443" /> - Comment it out so it looks like:
<!--<environmentVariable name="ASPNETCORE_HTTPS_PORT" value="443" />-->
5. Verifying Application Availability
💡
Tip (quick smoke test): Open the HTTP URL first to ensure routing works, then repeat with HTTPS.
If HTTP works but HTTPS does not, re-check certificates/bindings in IIS and the
ASPNETCORE_HTTPS_PORT setting.
- Open:
https://localhost/nagix-bo/companies/master/templateshttp://localhost/nagix-bo/companies/master/templates
- Go to Import and upload a Template.
- Go to Templates → in Actions, select Upload File.
- Click Generate.
- Confirm that the generated PDF is received successfully.
6. Manual Installation Steps
This section continues the NAGIX BO On-Prem – Clean Installation Guide and describes how to perform a manual install using the same logic as in InstallPBAccessibility.ps1. Follow the steps exactly to mirror the scripted flow.
6.1 Prerequisites & Permissions
- Run as Local Administrator.
- Ensure IIS with WebAdministration module is installed.
- Confirm you can write into:
C:\Program Files\Consist
6.2 Create Base Folders
- Create: C:\Program Files\Consist
- Create: C:\Program Files\Consist\nagix
6.3 Install NagixAPI
- Copy folder NagixAPI into:
C:\Program Files\Consist\nagix - Edit appsettings.json and set:
"NagixDatabaseName": "master-Accessibility" - Open IIS Manager → Application Pools → Add Application Pool…
- Name: NagixAPI
- In IIS, under Sites → Default Web Site, add application:
- Alias: nagix-api
- Application pool: NagixAPI
- Physical path:
C:\Program Files\Consist\nagix\NagixAP
6.4 Install Nagix BackOffice (Front)
- Copy folder NagixBackOffice into:
C:\Program Files\Consist\nagix - Create Application Pool: NagixBOFront
- In IIS, under Sites → Default Web Site, add application:
- Alias: nagix-bo
- Application pool: NagixBOFront
- Physical path:
C:\Program Files\Consist\nagix\NagixBackOffice
6.5 Install Nagix BackOffice API
- Copy folder NagixBackOfficeAPI into:
C:\Program Files\Consist\nagix - Edit appsettings.json and set:
"NagixDatabaseName": "master-Accessibility" - Edit web.config and replace:
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="OnPrem" /> - Create Application Pool: NagixBOAPI
- In IIS, under Sites → Default Web Site, right-click nagix-bo and add application:
- Alias: api
- Application pool: NagixBOAPI
- Physical path:
C:\Program Files\Consist\nagix\NagixBackOfficeAPI
6.6 Install ConsistOCR
- Copy folder ConsistOCR into:
C:\Program Files\Consist\nagix - Edit web.config and replace:
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="OnPrem" /> - Create Application Pool: ConsistOCR
- In IIS, under Sites → Default Web Site, add application:
- Alias: ConsistOCR
- Application pool: ConsistOCR
- Physical path:
C:\Program Files\Consist\nagix\ConsistOCR
6.7 License Manager
- Unzip NagixLicenseManager.zip.
- Continue with section 3. License Installation (set OnPremEncryptionKey).
6.8 Database Migration (Upgrade only)
- Run:
MigrationTool\PBDigital.Accessibility.Migration.exe - Select option 1: Convert DB to file storage.
- Enter paths:
- Nagix path:
C:\Program Files\Consist\Nagix\NagixAPI - Directory for file storage: custom path
- Nagix path:
- Confirm migrations with Y for Dictionaries, Templates, PreparedXMLInfos.
- Update appsettings.json →
"FileStorage": {
"StorageFolder": "<your path>"
}
6.9 Finalize
- Restart IIS (or recycle pools).
- Verify endpoints:
/nagix-api/nagix-bo/nagix-bo/api/ConsistOCR
Success: Manual installation completed and matches scripted flow.