Spotfire custom licenses are not automatically removed when a custom module is deleted

book

Article ID: KB0138756

calendar_today

Updated On:

Products Versions
Spotfire ALL

Description

From a Spotfire server perspective, there is no distinction between licenses based on their origin — built-in product licenses and custom licenses introduced by a custom module are treated the same way. A license is considered obsolete simply when it is no longer tied to a package that is currently deployed in any deployment area.

This means that when a custom module is deleted from a deployment area, the custom licenses that were introduced by that module do not get automatically removed. They remain visible and assigned to user groups, even though the module providing the related functionality is no longer deployed.

This can lead to confusing symptoms. For example, if a custom module is not redeployed during an upgrade, users may find that the module's menu items or features are missing in Spotfire Analyst, even though the associated custom licenses are still shown as granted. Because the licenses appear intact, this can make it difficult to identify that the actual root cause is a missing or undeployed module, rather than a licensing or permissions issue.

This behavior is not specific to a particular Spotfire version or to the introduction of any particular license model — obsolete license functions can accumulate over time as modules and packages are deployed, updated, or removed across upgrades.

 

Environment

ALL

 

Resolution

This is expected by-design behavior. Obsolete licenses are not removed automatically and require manual cleanup.

1. To check for obsolete licenses in your environment, run:

config list-obsolete-licenses

image.png

 

2. To remove obsolete licenses and license features, run:

config delete-obsolete-licenses

image.png

After running this command, any obsolete licenses and license features are removed and can no longer be assigned to groups.
It is recommended to periodically run config list-obsolete-licenses — particularly after deleting a custom module or after an upgrade — to check for and clean up any accumulated obsolete licenses.

 

Issue/Introduction

This article explains why custom licenses associated with a custom module (extension) remain visible and assigned in the Spotfire Server administration pages after the module itself has been deleted from a deployment area, and how to clean up these obsolete licenses.

Additional Information

Doc: Viewing and managing licenses in your Spotfire environment -

Doc: delete-obsolete-licenses command reference -

Doc: list-obsolete-licenses command reference -