How to remove package from TIBCO Spotfire Server using CLI

How to remove package from TIBCO Spotfire Server using CLI

book

Article ID: KB0071910

calendar_today

Updated On:

Products Versions
Spotfire Server All Version

Description

This article explains how to remove the deployed packages from the Spotfire server using the CLI.

Issue/Introduction

The article illustrates how to remove the package using the CLI from the Tibco Spotfire server.

Resolution

Steps to remove the package : 

1. Open the command prompt on which Spotfire Server is installed. 

2. Now navigate to the spotfire-bin folder.
      cd C:\tibco\tss\<spotfire-version>\tomcat\spotfire-bin
      Navigate Spotfire-bin
3. Run the command : 
 3.1. config show-deployment --tool-password=value --show-ids
     This command will provide a list of every deployed package along with its ID, version, name and last modified date/time.
   Deployed-packages
3.2. config update-deployment --tool-password=value --remove-packages=Id --area="Production"
         This command would require the ID of the package which we want to remove.
        eg. C:\tibco\tss\11.7.0\tomcat\spotfire-bin>config update-deployment --tool-password=admin --remove-packages=f5a66c88-7ede-4a2a-92fc-59a44879d551 --area="Production"
Package removed

Additional Information

Doc : TIBCO Spotfire Server and Environment - Installation and Administration