Skip to main content

Migrating to 2.12.0

Migration Guide​

Here you can find the needed steps to upgrade your current Witboost installation to v2.12.0. Please refer to the release notes for a detailed list of changes and improvements. This guide is intended for users who are currently running Witboost version 2.11.x and wish to upgrade to version 2.12.0.

Follow these steps to migrate from the previous version to Witboost version 2.12.0:

Backup Your Data​

Before starting the migration, ensure you have a complete backup of your database and configuration files.

Upgrade Steps​

If you are using the Witboost Infrastructure CLI, you can execute the following command to automatically migrate your configuration file by replacing the placeholder <path_to_values.yaml> with the path to your values.yaml file:

witboost-infra transform --user-values <path_to_values.yaml> --current-version <your_current_version> --set-target 2.12.0 --output-path <path_to_values.yaml>
Infra CLI version requirement

This migration is not compatible with older versions of the Infra CLI. Upgrade to the latest (1.0.8+) Infra CLI version before running the transform command for this witboost release.


PostgreSQL Vector Extension Requirements​

Mandatory for all installations from Witboost 2.13

Starting with Witboost 2.13 (the next version), pgvector (PostgreSQL extension vector) will be required in the public schema of every Witboost database used by your deployment, regardless of whether your license includes Witty or you use semantic capabilities.

Plan this database change now, even if you do not need semantic search in 2.12. We strongly recommend enabling the extension on all Witboost databases before your next upgrade.

These requirements apply only to databases needed by your enabled modules and services; you do not need to create databases for disabled components. For example, if Knowledge Graph Manager is not enabled, no kgm database is required. See the installation guide's database list to identify which databases your deployment needs.

What is required for 2.12?​

In Witboost 2.12, the new semantic-search database requirements apply only if your license includes Witty and you intend to enable semantic search in the Marketplace. In that case, enable vector in the public schema of the marketplace, core, witty and kgm databases used by your deployment before enabling semantic search. Having the extension only in the databases used by 2.11 is not sufficient.

Missing these new database prerequisites does not block your upgrade to 2.12, but prevents you from using semantic search until they are met. Keyword search remains available. The existing Docs Agent prerequisite for the witty database still applies if you deploy that service.


Document Acceptance PDF Rendering​

Automatically handled by Infra CLI

This release fixes a bug where document acceptance screen would not correctly render the PDF documents embedded on the page. This fix works if and only if either ui.appConfig.backend.csp.object-src is not present in the configuration file, or it is present but containing "'self'" as part of it: object-src: [..., "'self'"]:

ui:
appConfig:
backend:
csp:
object-src: ["'self'"]

witboost-mcp-server Retirement​

If you did not enable the standalone witboost-mcp-server service in your chart, no manual action is required and you can skip this section. Infra CLI handles any obsolete configuration automatically.

Automatically handled by Infra CLI. Manual action is required only if the legacy service was enabled and the CLI cannot determine its hostname (see CHANGEME below).

The standalone witboost-mcp-server chart is retired in v2.12.0. The MCP server is now embedded in the core service (ui in the chart). We recommend updating MCP clients to use the new endpoint, https://<witboost-host>/api/mcp, as described in the MCP connection documentation.

The previous endpoint was https://<legacy-mcp-host>/mcp, where <legacy-mcp-host> is the hostname of the standalone MCP service, not the principal Witboost hostname. For example, it could be https://mcp.example.com/mcp or https://witboost-mcp-server.example.com/mcp, depending on your exposure mode and configuration.

If you prefer to keep the previous endpoint, a built-in compatibility route lets existing MCP clients continue using that legacy hostname and /mcp path without changing their connection address. The Infra CLI removes the witboost-mcp-server configuration block and seeds the new ui.mcpServer configuration based on whether witboost-mcp-server was enabled, as detailed below.

Behaviour by case​

ConditionCLI action
witboost-mcp-server.enabled: trueui.mcpServer.subdomain is resolved automatically (see below). ui.mcpServer.gateway.tls.secretName is set to "". ui.global.ingress.domain/ui.global.gateway.domain are set to CHANGEME if not already present and needed by your exposure mode, else "". The witboost-mcp-server block is removed.
witboost-mcp-server.enabled: falseui.mcpServer.subdomain, ui.mcpServer.gateway.tls.secretName, and ui.global.ingress.domain/ui.global.gateway.domain are all set to "". The witboost-mcp-server block is removed.
witboost-mcp-server.enabled not set (including when witboost-mcp-server itself is absent)ui.mcpServer.subdomain, ui.mcpServer.gateway.tls.secretName, and ui.global.ingress.domain/ui.global.gateway.domain are all set to "". If a witboost-mcp-server block is present without enabled, it is removed as well.

How ui.mcpServer.subdomain is resolved when witboost-mcp-server.enabled: true​

The CLI tries, in order:

  1. witboost-mcp-server.ingress.subdomain, if you had customized it.
  2. witboost-mcp-server.gateway.subdomain, if you had customized it instead.
  3. If neither was customized, the hostname that witboost-mcp-server defaulted to for whichever exposure mode your installation actually used: mcp if global.ingress.create: true, or witboost-mcp-server if global.gateway.create: true or global.gateway.useExisting: true (attaching routes to an already-existing Gateway counts as Gateway mode too).
  4. If none of the above apply — your values.yaml sets none of global.ingress.create, global.gateway.create, or global.gateway.useExisting — the CLI falls back to a CHANGEME placeholder, since it cannot determine which exposure mode your installation uses.
Manual action required wherever a CHANGEME placeholder was set

There are two independent CHANGEME sources, so check both even if only one applies to you.

If case 4 above applied, the migrated values.yaml contains:

ui:
mcpServer:
subdomain: CHANGEME
gateway:
tls:
secretName: ''

You must replace CHANGEME with the exact legacy hostname (as a subdomain of your shared domain) that witboost-mcp-server used to serve. Check your pre-migration values.yaml for witboost-mcp-server.ingress.subdomain or witboost-mcp-server.gateway.subdomain — whichever exposure mode you used — and copy that value in. Leaving the CHANGEME placeholder in place and deploying will create a broken route for a non-existent hostname.

Separately, ui.global.ingress.domain (ingress mode) or ui.global.gateway.domain (gateway mode) may also be set to CHANGEME — this happens whenever that field wasn't already present in your values.yaml, regardless of which subdomain-resolution case above applied. Replace it with your shared domain (the same value used by your other components' global.ingress.domain/global.gateway.domain). Leaving it as CHANGEME produces an invalid hostname and fails the deploy.

If witboost-mcp-server.enabled was false or the block was absent from your values.yaml, no manual action is needed: ui.mcpServer.subdomain is left empty, so no compatibility route is created and there is no additional hostname or certificate footprint. The new /api/mcp endpoint does not require this compatibility route. Populate ui.mcpServer.subdomain only if you want to expose the legacy endpoint.

If your values.yaml already contains ui.mcpServer.subdomain or ui.mcpServer.gateway.tls.secretName (for example, because you configured them manually before upgrading), the Infra CLI does not overwrite them. The one exception is when witboost-mcp-server.enabled: true: in that case ui.mcpServer.subdomain is always replaced with the hostname resolved from your legacy witboost-mcp-server settings, as described above.


Marketplace Semantic Search Migration​

This section applies only to installations whose license includes Witty. If your license does not include Witty, you can skip this section.

Witboost 2.12 introduces a new Marketplace semantic search experience: the Ask mode lets users describe the data they need in everyday language and find Products and Consumables with related meaning. The same discovery capabilities are available through APIs and MCP tools. See the release notes for an overview.

This procedure applies only if Marketplace semantic search was enabled before upgrading. To check, open Administration > Configuration > Marketplace in your 2.11.x installation and inspect the semantic search toggle:

  • On: follow the migration steps below to restore semantic search after upgrading.
  • Off: you can skip this section. To enable semantic search for the first time after upgrading, follow the setup guide.

Check this before upgrading: the upgrade disables semantic search, so the toggle's state after upgrading does not tell you whether it was previously enabled.

warning

Migration procedures mentioned in this section are NOT supported by Witboost Infra CLI and need to be performed manually.

Before upgrading​

  1. Ensure vector is enabled in the public schema of the databases listed in PostgreSQL Vector Extension Requirements, then verify the remaining setup prerequisites.
  2. Open Administration > Configuration > Witty and review the Embedder settings. If a valid Azure OpenAI embedder is configured, Witboost can automatically import its settings after upgrading, provided no Marketplace embedding configuration already exists. Otherwise, prepare an Azure OpenAI embedding deployment's endpoint, deployment name, API version, and API key so you can configure the Marketplace embedding provider manually after upgrading.

After upgrading​

The upgrade disables semantic search and deletes the old embeddings. Follow these steps to migrate to the new implementation:

  1. Open Administration > Configuration > Marketplace > Semantic Search.
  2. Review Embedding Provider & Model. Witboost automatically imports usable Azure OpenAI settings from Witty when no Marketplace configuration exists. If settings are missing or need changing, configure the embedding provider. Marketplace settings are independent of Witty after import.
  3. Review Semantic Content if you need to change the defaults, then select Create Embeddings. This rebuilds embeddings across all configured environments.
  4. Wait for Completed in Embeddings Progress, then turn on Enable Semantic Search. If the rebuild fails or the switch remains unavailable, resolve the reported problem before continuing.

Environment Visibility and the All Users Role​

Witboost 2.12 introduces environment visibility permissions for Marketplace, Builder, and Governance. These permissions tailor UI visibility only; API authorization remains unchanged.

No manual action is required to preserve existing visibility. During the upgrade, Witboost automatically creates the platform-managed All Users role (WITBOOST_MANAGED_ALL_USERS) and grants it platform.environment.read.<env> for every environment configured at upgrade time. This role is automatically assigned to every authenticated user, including users who join later, so existing users do not lose environment visibility.

Witboost manages the role's membership and metadata: the Platform Team cannot edit, delete, clone, or change its assignments, but can add and remove its permissions.

Optional: progressively restrict environment visibility​

If all users should continue seeing all existing environments, leave the All Users permissions unchanged.

Otherwise:

  1. Upgrade to 2.12 with the automatically granted All Users permissions in place.
  2. Decide which environments each role should see. In Administration > Roles & Permissions, open each relevant role and use Manage Permissions to grant the required platform.environment.read.<env> permissions. Ensure the intended users or groups are assigned to those roles.
  3. Once those grants and assignments are in place, open All Users > Manage Permissions and progressively remove environment permissions that should no longer apply to everyone. Permissions are cumulative: while All Users grants an environment permission, every user can still see that environment regardless of their other roles.
  4. After each change, verify with representative users that Marketplace, Builder, and Governance show the intended environments. A user with no environment permissions will not see any environments in those areas.

Environments added after the upgrade are not automatically granted to All Users; grant their permissions explicitly to the roles that should see them.


Email Notification Configuration Migration​

This section applies only if you configured email notifications before upgrading. Otherwise, you can skip this section.

Starting with Witboost 2.12, email provider settings (SMTP and authentication), sender settings, and email branding are managed from Administration > Platform Settings > Platform configuration > Email Notification.

On startup, Witboost automatically imports the legacy ui.appConfig.notifications.emailConfig settings into the database if the corresponding dynamic configuration does not already exist. After import, manage these settings in Administration: subsequent changes to the legacy YAML do not update the active email provider configuration.

warning

Keep the sendMail flags in your notification configuration. Only provider, sender, and branding settings move to Administration. Each notification's sendMail flag still determines whether that notification sends an email.

Enabling email sending in Administration does not override these flags: notifications with sendMail: false still do not send emails. See notification configuration for details.

When upgrading:

  1. Keep the legacy email configuration available for the first startup of Witboost 2.12 so it can be imported.
  2. Open Email Notification in Administration and verify the imported settings. Complete any missing SMTP settings and check the backend logs for migration warnings.
  3. Send a test email to verify delivery and branding.

For available settings and legacy configuration details, see Email notifications.


Witty External Agents Deprecation​

This section applies only if you registered external agents through the Witty API. If you do not use this integration, you can skip this section.

The legacy external-agent integration is deprecated, not removed, in Witboost 2.12. Existing registrations remain supported, but only General Assistant can invoke active external agents. Specialist Witty agents cannot invoke them directly. After upgrading, test existing external-agent workflows through General Assistant.

See the deprecation notice under External agents in the Witty agents documentation for details and the recommended alternative.


Marketplace MCP Tool Changes​

Witboost 2.12 replaces two legacy Marketplace MCP tools with new tools for searching Products and Consumables and retrieving their published descriptors.

You need to act only if you reference either removed tool in:

  • Custom Witty skill instructions.
  • Custom skills or prompts used by external AI assistants and agent harnesses.
  • External MCP client code or configuration that calls these tools directly.

If none of your custom definitions or integrations reference these tools, you can skip this section.

warning

Migration procedures mentioned in this section are NOT supported by Witboost Infra CLI and need to be performed manually.

Use the following replacements. This is not just a rename: review the replacement tools' input and output schemas rather than reusing the old arguments and response handling unchanged.

Removed toolReplacement
marketplace_search_productsUse marketplace_searchMarketplace to search Products and Consumables. Use marketplace_getMarketplaceSearchFilters and marketplace_getMarketplaceSearchSorts to discover available filters and sorting options, and marketplace_getMarketplaceSearchFacets to retrieve contextual facet values.
marketplace_get_consumable_components_descriptorsUse marketplace_getConsumableDescriptor for a Consumable's published descriptor, or marketplace_getProductDescriptor for a Product's published descriptor. Each call requires the selected entity's URN and an explicit environment.

Before upgrading​

  1. Search for the two removed tool names in your custom instructions, prompts, tool assignments and integration code. For Witty, review custom definitions under Administration > Configuration > Witty > Skills.
  2. Record which workflows need updating and identify the replacement tools using the table above. For example, a workflow that searches for an Output Port and then reads its descriptor needs marketplace_searchMarketplace followed by marketplace_getConsumableDescriptor.

After upgrading​

  1. Refresh the Witboost MCP tool catalog in the affected clients so the replacement tools and their current schemas are available.
  2. Replace the removed tool references in custom instructions and code. Update explicit tool assignments to grant the replacements; changing instructions alone does not grant tool access. Adapt request arguments and response handling to the new schemas.
  3. Test each affected workflow before resuming its use.

KGM SPARQL Access Through Marketplace​

This section applies if you exposed Knowledge Graph Manager (KGM) to let external clients run SPARQL queries, for example by following the previous How to expose the Knowledge Graph Manager guide.

Starting with Witboost 2.12, SPARQL is available directly through the Marketplace API at POST /api/marketplace/v1/knowledge-graph/sparql on your Witboost hostname. Exposing KGM separately is no longer needed or recommended for SPARQL access. KGM can remain internal to the cluster.

The existing Core proxy route continues to work after upgrading, so migrating clients is not a prerequisite for upgrading to 2.12. You can keep the proxy configuration while preparing the switch.

We recommend updating clients using /api/proxy/kgm/sparql to use the Marketplace endpoint. Follow How to query the Knowledge Graph for authentication and query examples, and the Marketplace SPARQL API reference for request and response formats.

Once all affected clients have migrated and no other integrations rely on the old exposure, remove the /kgm mapping from ui.appConfig.proxy.endpoints or any separate KGM exposure configured for this purpose.


Business Concept Configuration Changes​

Starting from this release, Business Concept Map enablement and Business Concept descriptor paths can be managed directly from the Administration panel, without redeploying Witboost.

These settings are now available at the following locations:

  • Enable Business Concept Map, under Administration > Configuration > Marketplace > Business Concepts Map, previously configured through ui.appConfig.mesh.marketplace.businessConceptMap.enabled in values.yaml.
  • Descriptor Paths, under Administration > Configuration > Marketplace > Business Concepts > Product and Consumable linkage, previously configured through ui.appConfig.mesh.search.marketplace-projects.businessConcepts.descriptorPaths in values.yaml.

After upgrading, you can remove these configuration keys from values.yaml. They are now ignored if present; manage these settings directly from the Administration panel going forward.

Business Concepts in Custom Views​

The following marketplace default custom views have been updated to include the business_concepts component:

  • marketplace_system_general
  • marketplace_component_general
  • marketplace_dependencies_component
  • marketplace_data_contract_popover_overview
  • marketplace_system_popover_overview
  • marketplace_search_component
  • marketplace_search_system

This component displays the Business Concepts linked to the Product or Consumable shown in each view and lets users navigate to their definitions.

These changes apply only to the default views. If you are using customizations for these pages and want to incorporate the new functionality, do the following: navigate to the Custom View page Administration > Custom Views, verify if you have active customizations for the above-listed custom views and, if so, update them by integrating the new component.

Example from marketplace_system_general:


view:
children:
- type: marketplace_info_card
title: General Information
children:
...
- type: hline
showWhen:
value: "{{ _businessConcepts.length }}"
notEquals: 0
- label: Business Concepts
type: business_concepts
path: _businessConcepts
showWhen:
value: "{{ _businessConcepts.length }}"
notEquals: 0
...

note

You can refer to the default view code for each page at any time by clicking View Code in the Default view panel.

note

If you are not interested in using the business_concepts component, leave your existing page customization unchanged or, if you are using the default view, create a customization based on it and remove the component.