# Orbit Updater Configurator

The Orbit Updater Configurator configures the FastStats Orbit Updater service.

[![Configuring the API Settings](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Configuring_the_API_Settings.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Configuring_the_API_Settings.png>)

From the API page enter the appropriate details for the following settings:

> [!NOTE]
>
> Copy the database connection string to use later.

## API settings

| Setting | Description |
| --- | --- |
| Update | Choose the update strategy: **Don't update**, **Update only if installed and a newer version is available**, or **Update if not installed or already installed and a newer version is available** |
| Website name | The name of the website within IIS to which the Orbit API installs. This parameter is case-sensitive. If IIS is running a single website, you can leave this as **Default Web Site**. |
| Application pool name | The name of the application pool that will run the OrbitAPI within IIS |
| Virtual path | The virtual path of the OrbitAPI. The default `/OrbitAPI` refers to the physical path `%SystemDrive%\inetpub\wwwroot\OrbitAPI` |
| Base URL | The Base URL of the OrbitAPI, for example `https://www.acmeinc.example/OrbitAPI`. Use lowercase for the server name. |
| Database connection string | The connection string to the Orbit database, typically named **OB\_Global** |
| Test | Tests the specified database connection string |
| Open API Configurator | Opens the configuration tool for the Orbit API. Not used during initial install (the API won't yet be present), but useful when making changes to an existing installation. |
| Include pre-release versions | Reserved for internal use |
| Pre-release version label | Reserved for internal use |
| Repair API | Forces a re-install of the OrbitAPI. The repair backs up the existing directory first. |

## UI settings

[![Orbit Updater Configurator UI settings tab](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Updater_configurator_UI.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Updater_configurator_UI.png>)

> [!NOTE]
>
> Update options:
>
> - **Don't Update**
> - **Update if not installed or already installed and a newer version is available**
> - **Update only if already installed and a newer version is available**

| Setting | Description |
| --- | --- |
| Website name | The name of the website within IIS to which the Orbit UI installs. This parameter is case-sensitive. If IIS is running a single website, you can leave this as **Default Web Site**. |
| Virtual path | The virtual path of the Orbit user interface. The default `/Orbit` refers to the physical path `%SystemDrive%\inetpub\wwwroot\Orbit` |
| Base URL | The Base URL of the Orbit UI, for example `https://www.acmeinc.example/Orbit`. Use lowercase for the server name. |
| Include pre-release versions | Reserved for internal use |
| Pre-release version label | Reserved for internal use |
| Repair UI | Forces a re-install of the Orbit UI. The repair backs up the existing directory first. |

## Updater settings

> [!NOTE]
>
> Update options:
>
> - **Don't Update**
> - **Update only if already installed and a newer version is available**
> - **Update if not installed or already installed and a newer version is available**

| Setting | Description |
| --- | --- |
| Include pre-release versions | Reserved for internal use |
| Pre-release version label | Reserved for internal use |

## Login service settings

> [!NOTE]
>
> This section is only required if you wish to use a Single Sign-On (SSO) service for user authentication. Please contact Apteco for further information.

[![Configure login service tab](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Configure_login_service.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Configure_login_service.png>)

| Setting | Description |
| --- | --- |
| Pre-release version label | Reserved for internal use |
| Include pre-release versions | Reserved for internal use |
| Service name | The name applied to the OrbitLoginService |
| Service directory | The physical path where you install the OrbitLoginService |
| Update | Options: **Don't Update**, **Update if not installed or already installed and a newer version is available**, or **Update only if already installed and a newer version is available** |

## Advanced settings

[![Advanced settings tab in the Orbit Updater Configurator](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Admin_time_window.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Admin_time_window.png>)

| Setting | Description |
| --- | --- |
| NuGet repository URL | No changes necessary. This is the public address from which the FastStats Orbit Updater downloads the Orbit UI and Orbit API. |
| Poll delay (mins) | The frequency at which the Orbit Updater checks for new software versions |
| Update Time Window | A period of time during which the updater can apply Orbit updates, so that users aren't disrupted during working hours |
| Disable WebDAV | Tick to disable the WebDAV module in areas installed by the Orbit Updater. WebDAV can interfere with correct Orbit operation. |
| Apply Secure Content-Security-Policy HTTP Header | Tick to add a stricter [`Content-Security-Policy`](<https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy>) HTTP header to the Orbit UI. It blocks plugins and mixed content, and only loads fonts from the Orbit site. It also stops any page, including your own sites, showing Orbit in a frame. |
| TrustArc cookie consent notice ID | Your TrustArc notice ID, to [show a cookie consent banner](<https://help.apteco.com/en/admin/configuration/cookie-consent-banner/index.md>) in the Orbit UI. Leave it blank to show no banner. |
| Application pool state change timeout (secs) | Timeout for application pool state changes (default: 60) |
| Temporary directory path | Temporary directory used when updating components. Defaults to the Windows temp directory of the user running the Updater service when left empty. |
| Test URL Rewrite Module | Tests for the IIS URL Rewrite module |
| Test Hosting Bundle | Tests for the ASP.NET Core Hosting bundle |

> [!NOTE]
>
> Contact Apteco Support if you want to host an update server.

### Setting the Update Time Window

The Update Time Window lets administrators define a period for applying Orbit updates without disrupting users during working hours.

To configure the Update Time Window:

1. Open the **FastStats Orbit Updater Configurator**.
2. Select the **Advanced** tab.
3. Tick the **Update Time Window** checkbox.
4. Choose **Start** and **End** hours using the drop-down menus (00:00–23:00).

   [![Update Time Window start and end hour settings](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Admin_time_window.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Admin_time_window.png>)

   The updater will start, run continuously, and complete within this window. If the updater detects an update during the window, it proceeds and updates fully.
5. Choose **File** \> **Save** to save the configuration change.

   [![File Save option](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/File_save.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/File_save.png>)
6. **Restart** the FastStats Orbit Updater Service for these changes to take effect. Orbit updates typically take about 5 to 10 minutes.

> [!NOTE]
>
> The server running the Orbit Updater service measures the time window using its local time zone.

## Summary tab

[![Summary tab in the Orbit Updater Configurator](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Summary_tab.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Summary_tab.png>)

> [!NOTE]
>
> The Connect API, Connect UI, Responses API, and CDP tabs aren't currently relevant to the Orbit Updater Configurator summary.

### Repair

Select **Repair** to update any listed component from the currently installed version to the latest version.

[![Repair button](<https://help.apteco.com/assets/images/admin/Repair.png>)](<https://help.apteco.com/assets/images/admin/Repair.png>)

### Refresh

Select **Refresh** to update the summary page view and reflect any recent changes.

[![Refresh button](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Refresh.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Refresh.png>)

### Open Event Viewer

Select **Open Event Viewer** to open the Windows Event Viewer filtered to Orbit Updater Service events.

[![Event Viewer button](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Event_viewer.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Event_viewer.png>)

### Show Messages

Expand **Show Messages** to view details of any ongoing refresh process.

[![Show Messages dropdown](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Show_messages.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Show_messages.png>)

## Complete the setup

1. Close the FastStats Orbit Updater Configurator.
2. Verify that the FastStats Orbit Updater service has started via **Administrative Tools** \> **Services** \> **FastStats Orbit Updater**.

   [![FastStats Orbit Updater shown in Services](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Faststats_services.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Faststats_services.png>)

   The service creates a log file viewable in **Applications and Services Logs** in the Windows Event Viewer.

   [![FastStats Orbit Updater log in Event Viewer](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Faststats_Orbit_Updater_Log.png>)](<https://help.apteco.com/assets/images/admin/installation/orbit-installation-guide/orbit-updater-configurator/Faststats_Orbit_Updater_Log.png>)

> [!NOTE]
>
> IIS may need to be reset to propagate any changes made.

> [!NOTE]
>
> The first time you install the updater, you'll see warnings. It couldn't retrieve current version numbers for the Orbit UI or Orbit API. This is normal behaviour: the updater tries to retrieve version numbers from an installation that doesn't yet exist.

Once configured and running correctly, the updater creates the following directories:

- `%SystemDir%\inetpub\wwwroot\OrbitAPI`
- `%SystemDir%\inetpub\wwwroot\Orbit`

Verify these directories exist before continuing.
