Install Prerequisite of Spotfire Webplayer, Python Service 12.3 on Pop!_OS

go to the spotfire-bin folder and run the command:

Error opening Information Designer on TIBCO Spotfire Analyst

./config.sh export-config --force
./config.sh set-config-prop --name="information-services.external-process.port" --value="9445"
./config.sh import-config -c "changeInformationLinkPort"

install dot-net 6.0 and xvfb, libjpeg62-dev:

Install .NET SDK or .NET Runtime on Ubuntu 22.04

sudo apt update -y
sudo apt-get update &&   sudo apt-get install -y dotnet-sdk-6.0
sudo apt-get -y install xvfb
sudo apt-get install libjpeg62-dev

then reboot Webplayer.

For Python Service:

sudo apt-get install libffi-dev -y
sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so.8.1.0 /usr/lib/x86_64-linux-gnu/libffi.so.6

Install GoLand on Pop!_OS

Download the GoLand tarball from the JetBrains website: https://www.jetbrains.com/go/download/

extract it, then move it to /opt/:

tar -xzf <path_to_tarball>/goland-<version>.tar.gz
sudo mv <extracted_directory> /opt/

Create a desktop entry for GoLand by creating a file named goland.desktop in /usr/share/applications/ with the following content:

[Desktop Entry]
Version=<version>
Type=Application
Name=GoLand
Icon=/opt/goland-<version>/bin/goland.png
Exec="/opt/goland-<version>/bin/goland.sh" %f
Comment=The GoLand IDE
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-goland
sudo chmod +x /usr/share/applications/goland.desktop

Spotfire DB switch Oracle → SqlServer

To run this command, please turn off any online service.

You need to create Sqlserver DB for the same version of Spotfire first. Then run

C:\tibco\tss\12.0.3\tomcat\spotfire-bin>config migrate-db --tool-password=spotfire --target-driver-class=com.microsoft.sqlserver.jdbc.SQLServerDriver --target-database-url=jdbc:sqlserver://hostName:1433;DatabaseName=yourSpotfireDBName --target-username=sa --target-password=yourPassword

The log is below:

Connecting to the source database
Connecting to the target database

Database versioning verified.
Database consistency verified.
Warning! This operation will wipe out all the tables from the target database.
Do you wish to continue (Y/N)? Y

Deleting existing data in target table 'ACTIVITY'...Done in 00:00:00
Deleting existing data in target table 'SITE_SERVICE_CONFIGS'...Done in 00:00:00
Deleting existing data in target table 'SCHEDULED_UPDATES_SETTINGS'...Done in 00:00:00
Deleting existing data in target table 'LICENSE_ORIGIN'...Done in 00:00:00
Deleting existing data in target table 'ACTIVE_SERVICE_CONFIGS'...Done in 00:00:00
Deleting existing data in target table 'LIB_ACCESS'...Done in 00:00:00
Deleting existing data in target table 'PERSISTENT_SESSIONS'...Done in 00:00:00
Deleting existing data in target table 'NODE_AUTH_REQUEST'...Done in 00:00:00
Deleting existing data in target table 'INVITES'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_REFRESH_TOKENS'...Done in 00:00:00
Deleting existing data in target table 'LIB_UNRESOLVED_DEPEND_VER'...Done in 00:00:00
Deleting existing data in target table 'DEP_DISTRIBUTION_CONTENTS'...Done in 00:00:00
Deleting existing data in target table 'TRUSTED_USERS'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_ACCESS_TOKENS'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_KEYS'...Done in 00:00:00
Deleting existing data in target table 'KEYSTORE_PASSWORDS'...Done in 00:00:00
Deleting existing data in target table 'CONFIG_HISTORY'...Done in 00:00:00
Deleting existing data in target table 'SERVICE_CONFIGS'...Done in 00:00:00
Deleting existing data in target table 'JOBS_LATEST'...Done in 00:00:00
Deleting existing data in target table 'EXCLUDED_FUNCTIONS'...Done in 00:00:00
Deleting existing data in target table 'CUSTOMIZED_LICENSES'...Done in 00:00:00
Deleting existing data in target table 'PREFERENCE_VALUES'...Done in 00:00:00
Deleting existing data in target table 'PREFERENCE_KEYS'...Done in 00:00:00
Deleting existing data in target table 'DEP_AREA_ALLOWED_GRP'...Done in 00:00:00
Deleting existing data in target table 'LIB_PROPERTIES_NONVER'...Done in 00:00:00
Deleting existing data in target table 'NODE_STATUS'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICES_RESOURCE_POOLS'...Done in 00:00:00
Deleting existing data in target table 'LIB_VISIBLE_TYPES'...Done in 00:00:00
Deleting existing data in target table 'CT_BLOCKED_USERS'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVER_INFO'...Done in 00:00:00
Deleting existing data in target table 'SERVER_CONFIGURATIONS'...Done in 00:00:00
Deleting existing data in target table 'LIB_RESOLVED_DEPEND_VER'...Done in 00:00:00
Deleting existing data in target table 'LIB_WORDS'...Done in 00:00:00
Deleting existing data in target table 'NODE_EVENT_BUS'...Done in 00:00:00
Deleting existing data in target table 'JOB_TASKS'...Done in 00:00:00
Deleting existing data in target table 'CONSENTED_ENTITIES'...Done in 00:00:00
Deleting existing data in target table 'LIFECYCLE_EVENTS'...Done in 00:00:00
Deleting existing data in target table 'DEP_AREAS'...Done in 00:00:00
Deleting existing data in target table 'DEP_DISTRIBUTIONS'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICES_PKGS'...Done in 00:00:00
Deleting existing data in target table 'DEP_PACKAGES'...Done in 00:00:00
Deleting existing data in target table 'SN_VERSION'...Done in 00:00:00
Deleting existing data in target table 'RULES_SCHEDULES'...Done in 00:00:00
Deleting existing data in target table 'PREFERENCE_OBJECTS'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_AUTH_CODES'...Done in 00:00:00
Deleting existing data in target table 'TRUSTED_CODE_ENTITIES'...Done in 00:00:00
Deleting existing data in target table 'CT_CODE_ENTITIES'...Done in 00:00:00
Deleting existing data in target table 'CERTIFICATES'...Done in 00:00:00
Deleting existing data in target table 'TRUSTED_CERTS'...Done in 00:00:00
Deleting existing data in target table 'GROUP_MEMBERS'...Done in 00:00:00
Deleting existing data in target table 'CT_THIRD_PARTY_ROOTCERTS'...Done in 00:00:00
Deleting existing data in target table 'LIB_PRINCIPAL_PROPS'...Done in 00:00:00
Deleting existing data in target table 'LIB_APPLICATIONS'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICES_ATTRIBUTES'...Done in 00:00:00
Deleting existing data in target table 'SERVICE_ATTRIBUTES'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICES'...Done in 00:00:00
Deleting existing data in target table 'NODES'...Done in 00:00:00
Deleting existing data in target table 'DEP_AREAS_DEF'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICE_TYPES'...Done in 00:00:00
Deleting existing data in target table 'CT_EXTCERTS'...Done in 00:00:00
Deleting existing data in target table 'JMX_USERS'...Done in 00:00:00
Deleting existing data in target table 'LICENSE_FUNCTIONS'...Done in 00:00:00
Deleting existing data in target table 'LICENSE_NAMES'...Done in 00:00:00
Deleting existing data in target table 'CT_CERTS'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_CONSENT'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_CLIENTS'...Done in 00:00:00
Deleting existing data in target table 'LIB_PROPERTIES_VER'...Done in 00:00:00
Deleting existing data in target table 'JOB_INSTANCES'...Done in 00:00:00
Deleting existing data in target table 'ROUTING_RULES'...Done in 00:00:00
Deleting existing data in target table 'RESOURCE_POOLS'...Done in 00:00:00
Deleting existing data in target table 'JOB_SCHEDULES'...Done in 00:00:00
Deleting existing data in target table 'SITES'...Done in 00:00:00
Deleting existing data in target table 'LIB_CURRENT_ITEMS'...Done in 00:00:00
Deleting existing data in target table 'LIB_ITEM_VERSIONS'...Done in 00:00:00
Deleting existing data in target table 'LIB_DATA'...Done in 00:00:00
Deleting existing data in target table 'LIB_CHARACTER_ENCODINGS'...Done in 00:00:00
Deleting existing data in target table 'LIB_CONTENT_ENCODINGS'...Done in 00:00:00
Deleting existing data in target table 'LIB_CONTENT_TYPES'...Done in 00:00:00
Deleting existing data in target table 'USERS'...Done in 00:00:00
Deleting existing data in target table 'GROUPS'...Done in 00:00:00
Deleting existing data in target table 'LIB_ITEM_TYPES'...Done in 00:00:00

Copying table LIB_ITEM_TYPES
Table LIB_ITEM_TYPES done. Copied 26 rows in 00:00:00

Copying table GROUPS
Table GROUPS done. Copied 13 rows in 00:00:00


Copying table USERS
Table USERS done. Copied 7 rows in 00:00:00

Copying table LIB_CONTENT_TYPES
Table LIB_CONTENT_TYPES done. Copied 7 rows in 00:00:00

Copying table LIB_CONTENT_ENCODINGS
Table LIB_CONTENT_ENCODINGS done. Copied 2 rows in 00:00:00

Copying table LIB_CHARACTER_ENCODINGS
Table LIB_CHARACTER_ENCODINGS done. Copied 1 rows in 00:00:00

Copying table LIB_DATA
Table LIB_DATA done. Copied 22 rows in 00:00:00

Copying table LIB_ITEM_VERSIONS
Table LIB_ITEM_VERSIONS done. Copied 22 rows in 00:00:00

Copying table LIB_CURRENT_ITEMS
Table LIB_CURRENT_ITEMS done. Copied 15 rows in 00:00:00


Copying table SITES
Table SITES done. Copied 1 rows in 00:00:00

Copying table JOB_SCHEDULES
Table JOB_SCHEDULES done. Copied 0 rows in 00:00:00

Copying table RESOURCE_POOLS
Table RESOURCE_POOLS done. Copied 0 rows in 00:00:00

Copying table ROUTING_RULES
Table ROUTING_RULES done. Copied 0 rows in 00:00:00

Copying table JOB_INSTANCES
Table JOB_INSTANCES done. Copied 0 rows in 00:00:00

Copying table LIB_PROPERTIES_VER
Table LIB_PROPERTIES_VER done. Copied 268 rows in 00:00:00

Copying table OAUTH2_CLIENTS
Table OAUTH2_CLIENTS done. Copied 5 rows in 00:00:00

Copying table OAUTH2_CONSENT
Table OAUTH2_CONSENT done. Copied 0 rows in 00:00:00

Copying table CT_CERTS
Table CT_CERTS done. Copied 1 rows in 00:00:00

Copying table LICENSE_NAMES
Table LICENSE_NAMES done. Copied 10 rows in 00:00:00

Copying table LICENSE_FUNCTIONS
Table LICENSE_FUNCTIONS done. Copied 261 rows in 00:00:00

Copying table JMX_USERS
Table JMX_USERS done. Copied 0 rows in 00:00:00

Copying table CT_EXTCERTS
Table CT_EXTCERTS done. Copied 0 rows in 00:00:00

Copying table NODE_SERVICE_TYPES
Table NODE_SERVICE_TYPES done. Copied 2 rows in 00:00:00

Copying table DEP_AREAS_DEF
Table DEP_AREAS_DEF done. Copied 1 rows in 00:00:00

Copying table NODES
Table NODES done. Copied 2 rows in 00:00:00

Copying table NODE_SERVICES
Table NODE_SERVICES done. Copied 3 rows in 00:00:00

Copying table SERVICE_ATTRIBUTES
Table SERVICE_ATTRIBUTES done. Copied 22 rows in 00:00:00

Copying table NODE_SERVICES_ATTRIBUTES
Table NODE_SERVICES_ATTRIBUTES done. Copied 17 rows in 00:00:00

Copying table LIB_APPLICATIONS
Table LIB_APPLICATIONS done. Copied 29 rows in 00:00:00

Copying table LIB_PRINCIPAL_PROPS
Table LIB_PRINCIPAL_PROPS done. Copied 0 rows in 00:00:00

Copying table CT_THIRD_PARTY_ROOTCERTS
Table CT_THIRD_PARTY_ROOTCERTS done. Copied 0 rows in 00:00:00

Copying table GROUP_MEMBERS
Table GROUP_MEMBERS done. Copied 11 rows in 00:00:00

Copying table TRUSTED_CERTS
Table TRUSTED_CERTS done. Copied 0 rows in 00:00:00

Copying table CERTIFICATES
Table CERTIFICATES done. Copied 4 rows in 00:00:00

Copying table CT_CODE_ENTITIES
Table CT_CODE_ENTITIES done. Copied 0 rows in 00:00:00

Copying table TRUSTED_CODE_ENTITIES
Table TRUSTED_CODE_ENTITIES done. Copied 0 rows in 00:00:00

Copying table OAUTH2_AUTH_CODES
Table OAUTH2_AUTH_CODES done. Copied 0 rows in 00:00:00

Copying table PREFERENCE_OBJECTS
Table PREFERENCE_OBJECTS done. Copied 0 rows in 00:00:00

Copying table RULES_SCHEDULES
Table RULES_SCHEDULES done. Copied 0 rows in 00:00:00

Copying table SN_VERSION
Table SN_VERSION done. Copied 1 rows in 00:00:00

Copying table DEP_PACKAGES
Table DEP_PACKAGES done. Copied 125 rows in 00:00:34

Copying table NODE_SERVICES_PKGS
Table NODE_SERVICES_PKGS done. Copied 148 rows in 00:00:00

Copying table DEP_DISTRIBUTIONS
Table DEP_DISTRIBUTIONS done. Copied 1 rows in 00:00:00

Copying table DEP_AREAS
Table DEP_AREAS done. Copied 1 rows in 00:00:00

Copying table LIFECYCLE_EVENTS
Table LIFECYCLE_EVENTS done. Copied 11 rows in 00:00:00

Copying table CONSENTED_ENTITIES
Table CONSENTED_ENTITIES done. Copied 0 rows in 00:00:00

Copying table JOB_TASKS
Table JOB_TASKS done. Copied 0 rows in 00:00:00

Copying table NODE_EVENT_BUS
Table NODE_EVENT_BUS done. Copied 465 rows in 00:00:00

Copying table LIB_WORDS
Table LIB_WORDS done. Copied 72 rows in 00:00:00

Copying table LIB_RESOLVED_DEPEND_VER
Table LIB_RESOLVED_DEPEND_VER done. Copied 2 rows in 00:00:00

Copying table SERVER_CONFIGURATIONS
Table SERVER_CONFIGURATIONS done. Copied 2 rows in 00:00:00

Copying table NODE_SERVER_INFO
Table NODE_SERVER_INFO done. Copied 3 rows in 00:00:00

Copying table CT_BLOCKED_USERS
Table CT_BLOCKED_USERS done. Copied 0 rows in 00:00:00

Copying table LIB_VISIBLE_TYPES
Table LIB_VISIBLE_TYPES done. Copied 189 rows in 00:00:00

Copying table NODE_SERVICES_RESOURCE_POOLS
Table NODE_SERVICES_RESOURCE_POOLS done. Copied 0 rows in 00:00:00

Copying table NODE_STATUS
Table NODE_STATUS done. Copied 4 rows in 00:00:00

Copying table LIB_PROPERTIES_NONVER
Table LIB_PROPERTIES_NONVER done. Copied 38 rows in 00:00:00

Copying table DEP_AREA_ALLOWED_GRP
Table DEP_AREA_ALLOWED_GRP done. Copied 0 rows in 00:00:00

Copying table PREFERENCE_KEYS
Table PREFERENCE_KEYS done. Copied 15 rows in 00:00:00

Copying table PREFERENCE_VALUES
Table PREFERENCE_VALUES done. Copied 15 rows in 00:00:00

Copying table CUSTOMIZED_LICENSES
Table CUSTOMIZED_LICENSES done. Copied 13 rows in 00:00:00

Copying table EXCLUDED_FUNCTIONS
Table EXCLUDED_FUNCTIONS done. Copied 32 rows in 00:00:00

Copying table JOBS_LATEST
Table JOBS_LATEST done. Copied 0 rows in 00:00:00

Copying table SERVICE_CONFIGS
Table SERVICE_CONFIGS done. Copied 3 rows in 00:00:00

Copying table CONFIG_HISTORY
Table CONFIG_HISTORY done. Copied 2 rows in 00:00:00

Copying table KEYSTORE_PASSWORDS
Table KEYSTORE_PASSWORDS done. Copied 1 rows in 00:00:00

Copying table OAUTH2_KEYS
Table OAUTH2_KEYS done. Copied 1 rows in 00:00:00

Copying table OAUTH2_ACCESS_TOKENS
Table OAUTH2_ACCESS_TOKENS done. Copied 0 rows in 00:00:00

Copying table TRUSTED_USERS
Table TRUSTED_USERS done. Copied 0 rows in 00:00:00

Copying table DEP_DISTRIBUTION_CONTENTS
Table DEP_DISTRIBUTION_CONTENTS done. Copied 125 rows in 00:00:00

Copying table LIB_UNRESOLVED_DEPEND_VER
Table LIB_UNRESOLVED_DEPEND_VER done. Copied 0 rows in 00:00:00

Copying table OAUTH2_REFRESH_TOKENS
Table OAUTH2_REFRESH_TOKENS done. Copied 4 rows in 00:00:00

Copying table INVITES
Table INVITES done. Copied 0 rows in 00:00:00

Copying table NODE_AUTH_REQUEST
Table NODE_AUTH_REQUEST done. Copied 0 rows in 00:00:00

Copying table PERSISTENT_SESSIONS
Table PERSISTENT_SESSIONS done. Copied 0 rows in 00:00:00

Copying table LIB_ACCESS
Table LIB_ACCESS done. Copied 8 rows in 00:00:00

Copying table ACTIVE_SERVICE_CONFIGS
Table ACTIVE_SERVICE_CONFIGS done. Copied 2 rows in 00:00:00

Copying table LICENSE_ORIGIN
Table LICENSE_ORIGIN done. Copied 706 rows in 00:00:00

Copying table SCHEDULED_UPDATES_SETTINGS
Table SCHEDULED_UPDATES_SETTINGS done. Copied 0 rows in 00:00:00

Copying table SITE_SERVICE_CONFIGS
Table SITE_SERVICE_CONFIGS done. Copied 0 rows in 00:00:00

Copying table ACTIVITY
Table ACTIVITY done. Copied 0 rows in 00:00:00

Migration completed.

Please run the 'update-bootstrap' command in order to update the existing bootstrap configuration file(s) with new (target) database configs.

To do this for the action log:

C:\tibco\tss\12.0.3\tomcat\spotfire-bin>config migrate-action-db --source-driver-class=oracle.jdbc.OracleDriver --source-database-url=jdbc:oracle:thin:@//hostname:1521/orcl --source-username=spotfire_actionlog --source-password=spotfire --target-driver-class=com.microsoft.sqlserver.jdbc.SQLServerDriver --target-database-url=jdbc:sqlserver://hostname:1433;DatabaseName=yourSpotfireDBName --target-username=yourSpotfireActionDBUserName --target-password=yourPassword

Connecting to the source database
Connecting to the target database
Copying table ACTIONLOG

Table ACTIONLOG done. Copied 143072 rows in 00:00:09

Migration completed

test on win server 2022, Spotfire 12.0 LTS, oracle 19.3, SqlServer 2019 Standard

Spotfire DB switch Oracle → PostgreSQL

To run this command, please turn off any online service.

You need to create PostgreSQL DB for the same version of Spotfire first. Then run

C:\tibco\tss\12.0.3\tomcat\spotfire-bin>config migrate-db --tool-password=yourPassword --target-driver-class=org.postgresql.Driver --target-database-url=jdbc:postgresql://hostName:5432/yourSpotfireDBName --target-username=yourUsername --target-password=yourPassword

The log is below:

Connecting to the source database
Connecting to the target database

Database versioning verified.
Database consistency verified.
Warning! This operation will wipe out all the tables from the target database.
Do you wish to continue (Y/N)? Y

Deleting existing data in target table 'ACTIVITY'...Done in 00:00:00
Deleting existing data in target table 'SITE_SERVICE_CONFIGS'...Done in 00:00:00
Deleting existing data in target table 'SCHEDULED_UPDATES_SETTINGS'...Done in 00:00:00
Deleting existing data in target table 'LICENSE_ORIGIN'...Done in 00:00:00
Deleting existing data in target table 'ACTIVE_SERVICE_CONFIGS'...Done in 00:00:00
Deleting existing data in target table 'LIB_ACCESS'...Done in 00:00:00
Deleting existing data in target table 'INVITES'...Done in 00:00:00
Deleting existing data in target table 'PERSISTENT_SESSIONS'...Done in 00:00:00
Deleting existing data in target table 'NODE_AUTH_REQUEST'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_REFRESH_TOKENS'...Done in 00:00:00
Deleting existing data in target table 'LIB_UNRESOLVED_DEPEND_VER'...Done in 00:00:00
Deleting existing data in target table 'DEP_DISTRIBUTION_CONTENTS'...Done in 00:00:00
Deleting existing data in target table 'TRUSTED_USERS'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_ACCESS_TOKENS'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_KEYS'...Done in 00:00:00
Deleting existing data in target table 'KEYSTORE_PASSWORDS'...Done in 00:00:00
Deleting existing data in target table 'CONFIG_HISTORY'...Done in 00:00:00
Deleting existing data in target table 'SERVICE_CONFIGS'...Done in 00:00:00
Deleting existing data in target table 'JOBS_LATEST'...Done in 00:00:00
Deleting existing data in target table 'EXCLUDED_FUNCTIONS'...Done in 00:00:00
Deleting existing data in target table 'CUSTOMIZED_LICENSES'...Done in 00:00:00
Deleting existing data in target table 'PREFERENCE_VALUES'...Done in 00:00:00
Deleting existing data in target table 'PREFERENCE_KEYS'...Done in 00:00:00
Deleting existing data in target table 'DEP_AREA_ALLOWED_GRP'...Done in 00:00:00
Deleting existing data in target table 'LIB_PROPERTIES_NONVER'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICES_RESOURCE_POOLS'...Done in 00:00:00
Deleting existing data in target table 'NODE_STATUS'...Done in 00:00:00
Deleting existing data in target table 'LIB_VISIBLE_TYPES'...Done in 00:00:00
Deleting existing data in target table 'CT_BLOCKED_USERS'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVER_INFO'...Done in 00:00:00
Deleting existing data in target table 'SERVER_CONFIGURATIONS'...Done in 00:00:00
Deleting existing data in target table 'LIB_RESOLVED_DEPEND_VER'...Done in 00:00:00
Deleting existing data in target table 'LIB_WORDS'...Done in 00:00:00
Deleting existing data in target table 'NODE_EVENT_BUS'...Done in 00:00:00
Deleting existing data in target table 'JOB_TASKS'...Done in 00:00:00
Deleting existing data in target table 'CONSENTED_ENTITIES'...Done in 00:00:00
Deleting existing data in target table 'LIFECYCLE_EVENTS'...Done in 00:00:00
Deleting existing data in target table 'DEP_AREAS'...Done in 00:00:00
Deleting existing data in target table 'DEP_DISTRIBUTIONS'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICES_PKGS'...Done in 00:00:00
Deleting existing data in target table 'DEP_PACKAGES'...Done in 00:00:00
Deleting existing data in target table 'SN_VERSION'...Done in 00:00:00
Deleting existing data in target table 'RULES_SCHEDULES'...Done in 00:00:00
Deleting existing data in target table 'PREFERENCE_OBJECTS'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_AUTH_CODES'...Done in 00:00:00
Deleting existing data in target table 'TRUSTED_CODE_ENTITIES'...Done in 00:00:00
Deleting existing data in target table 'CT_CODE_ENTITIES'...Done in 00:00:00
Deleting existing data in target table 'CERTIFICATES'...Done in 00:00:00
Deleting existing data in target table 'GROUP_MEMBERS'...Done in 00:00:00
Deleting existing data in target table 'CT_THIRD_PARTY_ROOTCERTS'...Done in 00:00:00
Deleting existing data in target table 'TRUSTED_CERTS'...Done in 00:00:00
Deleting existing data in target table 'LIB_PRINCIPAL_PROPS'...Done in 00:00:00
Deleting existing data in target table 'LIB_APPLICATIONS'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICES_ATTRIBUTES'...Done in 00:00:00
Deleting existing data in target table 'SERVICE_ATTRIBUTES'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICES'...Done in 00:00:00
Deleting existing data in target table 'NODES'...Done in 00:00:00
Deleting existing data in target table 'DEP_AREAS_DEF'...Done in 00:00:00
Deleting existing data in target table 'NODE_SERVICE_TYPES'...Done in 00:00:00
Deleting existing data in target table 'CT_EXTCERTS'...Done in 00:00:00
Deleting existing data in target table 'JMX_USERS'...Done in 00:00:00
Deleting existing data in target table 'CT_CERTS'...Done in 00:00:00
Deleting existing data in target table 'LICENSE_FUNCTIONS'...Done in 00:00:00
Deleting existing data in target table 'LICENSE_NAMES'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_CONSENT'...Done in 00:00:00
Deleting existing data in target table 'OAUTH2_CLIENTS'...Done in 00:00:00
Deleting existing data in target table 'LIB_PROPERTIES_VER'...Done in 00:00:00
Deleting existing data in target table 'JOB_INSTANCES'...Done in 00:00:00
Deleting existing data in target table 'ROUTING_RULES'...Done in 00:00:00
Deleting existing data in target table 'RESOURCE_POOLS'...Done in 00:00:00
Deleting existing data in target table 'JOB_SCHEDULES'...Done in 00:00:00
Deleting existing data in target table 'SITES'...Done in 00:00:00
Deleting existing data in target table 'LIB_CURRENT_ITEMS'...Done in 00:00:00
Deleting existing data in target table 'LIB_ITEM_VERSIONS'...Done in 00:00:00
Deleting existing data in target table 'LIB_DATA'...Done in 00:00:00
Deleting existing data in target table 'LIB_CHARACTER_ENCODINGS'...Done in 00:00:00
Deleting existing data in target table 'LIB_CONTENT_ENCODINGS'...Done in 00:00:00
Deleting existing data in target table 'LIB_CONTENT_TYPES'...Done in 00:00:00
Deleting existing data in target table 'USERS'...Done in 00:00:00
Deleting existing data in target table 'GROUPS'...Done in 00:00:00
Deleting existing data in target table 'LIB_ITEM_TYPES'...Done in 00:00:00

Copying table LIB_ITEM_TYPES
Table LIB_ITEM_TYPES done. Copied 26 rows in 00:00:00

Copying table GROUPS
Table GROUPS done. Copied 13 rows in 00:00:00


Copying table USERS
Table USERS done. Copied 7 rows in 00:00:00

Copying table LIB_CONTENT_TYPES
Table LIB_CONTENT_TYPES done. Copied 7 rows in 00:00:00

Copying table LIB_CONTENT_ENCODINGS
Table LIB_CONTENT_ENCODINGS done. Copied 2 rows in 00:00:00

Copying table LIB_CHARACTER_ENCODINGS
Table LIB_CHARACTER_ENCODINGS done. Copied 1 rows in 00:00:00

Copying table LIB_DATA
Table LIB_DATA done. Copied 22 rows in 00:00:01

Copying table LIB_ITEM_VERSIONS
Table LIB_ITEM_VERSIONS done. Copied 22 rows in 00:00:00

Copying table LIB_CURRENT_ITEMS
Table LIB_CURRENT_ITEMS done. Copied 15 rows in 00:00:00


Copying table SITES
Table SITES done. Copied 1 rows in 00:00:00

Copying table JOB_SCHEDULES
Table JOB_SCHEDULES done. Copied 0 rows in 00:00:00

Copying table RESOURCE_POOLS
Table RESOURCE_POOLS done. Copied 0 rows in 00:00:00

Copying table ROUTING_RULES
Table ROUTING_RULES done. Copied 0 rows in 00:00:00

Copying table JOB_INSTANCES
Table JOB_INSTANCES done. Copied 0 rows in 00:00:00

Copying table LIB_PROPERTIES_VER
Table LIB_PROPERTIES_VER done. Copied 268 rows in 00:00:00

Copying table OAUTH2_CLIENTS
Table OAUTH2_CLIENTS done. Copied 5 rows in 00:00:00

Copying table OAUTH2_CONSENT
Table OAUTH2_CONSENT done. Copied 0 rows in 00:00:00

Copying table LICENSE_NAMES
Table LICENSE_NAMES done. Copied 10 rows in 00:00:00

Copying table LICENSE_FUNCTIONS
Table LICENSE_FUNCTIONS done. Copied 261 rows in 00:00:00

Copying table CT_CERTS
Table CT_CERTS done. Copied 1 rows in 00:00:00

Copying table JMX_USERS
Table JMX_USERS done. Copied 0 rows in 00:00:00

Copying table CT_EXTCERTS
Table CT_EXTCERTS done. Copied 0 rows in 00:00:00

Copying table NODE_SERVICE_TYPES
Table NODE_SERVICE_TYPES done. Copied 2 rows in 00:00:00

Copying table DEP_AREAS_DEF
Table DEP_AREAS_DEF done. Copied 1 rows in 00:00:00

Copying table NODES
Table NODES done. Copied 2 rows in 00:00:00

Copying table NODE_SERVICES
Table NODE_SERVICES done. Copied 3 rows in 00:00:00

Copying table SERVICE_ATTRIBUTES
Table SERVICE_ATTRIBUTES done. Copied 22 rows in 00:00:00

Copying table NODE_SERVICES_ATTRIBUTES
Table NODE_SERVICES_ATTRIBUTES done. Copied 17 rows in 00:00:00

Copying table LIB_APPLICATIONS
Table LIB_APPLICATIONS done. Copied 29 rows in 00:00:00

Copying table LIB_PRINCIPAL_PROPS
Table LIB_PRINCIPAL_PROPS done. Copied 0 rows in 00:00:00

Copying table TRUSTED_CERTS
Table TRUSTED_CERTS done. Copied 0 rows in 00:00:00

Copying table CT_THIRD_PARTY_ROOTCERTS
Table CT_THIRD_PARTY_ROOTCERTS done. Copied 0 rows in 00:00:00

Copying table GROUP_MEMBERS
Table GROUP_MEMBERS done. Copied 11 rows in 00:00:00

Copying table CERTIFICATES
Table CERTIFICATES done. Copied 4 rows in 00:00:00

Copying table CT_CODE_ENTITIES
Table CT_CODE_ENTITIES done. Copied 0 rows in 00:00:00

Copying table TRUSTED_CODE_ENTITIES
Table TRUSTED_CODE_ENTITIES done. Copied 0 rows in 00:00:00

Copying table OAUTH2_AUTH_CODES
Table OAUTH2_AUTH_CODES done. Copied 0 rows in 00:00:00

Copying table PREFERENCE_OBJECTS
Table PREFERENCE_OBJECTS done. Copied 0 rows in 00:00:00

Copying table RULES_SCHEDULES
Table RULES_SCHEDULES done. Copied 0 rows in 00:00:00

Copying table SN_VERSION
Table SN_VERSION done. Copied 1 rows in 00:00:00

Copying table DEP_PACKAGES
Table DEP_PACKAGES done. Copied 125 rows in 00:01:01

Copying table NODE_SERVICES_PKGS
Table NODE_SERVICES_PKGS done. Copied 148 rows in 00:00:00

Copying table DEP_DISTRIBUTIONS
Table DEP_DISTRIBUTIONS done. Copied 1 rows in 00:00:00

Copying table DEP_AREAS
Table DEP_AREAS done. Copied 1 rows in 00:00:00

Copying table LIFECYCLE_EVENTS
Table LIFECYCLE_EVENTS done. Copied 9 rows in 00:00:00

Copying table CONSENTED_ENTITIES
Table CONSENTED_ENTITIES done. Copied 0 rows in 00:00:00

Copying table JOB_TASKS
Table JOB_TASKS done. Copied 0 rows in 00:00:00

Copying table NODE_EVENT_BUS
Table NODE_EVENT_BUS done. Copied 437 rows in 00:00:00

Copying table LIB_WORDS
Table LIB_WORDS done. Copied 72 rows in 00:00:00

Copying table LIB_RESOLVED_DEPEND_VER
Table LIB_RESOLVED_DEPEND_VER done. Copied 2 rows in 00:00:00

Copying table SERVER_CONFIGURATIONS
Table SERVER_CONFIGURATIONS done. Copied 2 rows in 00:00:00

Copying table NODE_SERVER_INFO
Table NODE_SERVER_INFO done. Copied 3 rows in 00:00:00

Copying table CT_BLOCKED_USERS
Table CT_BLOCKED_USERS done. Copied 0 rows in 00:00:00

Copying table LIB_VISIBLE_TYPES
Table LIB_VISIBLE_TYPES done. Copied 189 rows in 00:00:00

Copying table NODE_STATUS
Table NODE_STATUS done. Copied 4 rows in 00:00:00

Copying table NODE_SERVICES_RESOURCE_POOLS
Table NODE_SERVICES_RESOURCE_POOLS done. Copied 0 rows in 00:00:00

Copying table LIB_PROPERTIES_NONVER
Table LIB_PROPERTIES_NONVER done. Copied 38 rows in 00:00:00

Copying table DEP_AREA_ALLOWED_GRP
Table DEP_AREA_ALLOWED_GRP done. Copied 0 rows in 00:00:00

Copying table PREFERENCE_KEYS
Table PREFERENCE_KEYS done. Copied 15 rows in 00:00:00

Copying table PREFERENCE_VALUES
Table PREFERENCE_VALUES done. Copied 15 rows in 00:00:00

Copying table CUSTOMIZED_LICENSES
Table CUSTOMIZED_LICENSES done. Copied 13 rows in 00:00:00

Copying table EXCLUDED_FUNCTIONS
Table EXCLUDED_FUNCTIONS done. Copied 32 rows in 00:00:00

Copying table JOBS_LATEST
Table JOBS_LATEST done. Copied 0 rows in 00:00:00

Copying table SERVICE_CONFIGS
Table SERVICE_CONFIGS done. Copied 3 rows in 00:00:00

Copying table CONFIG_HISTORY
Table CONFIG_HISTORY done. Copied 2 rows in 00:00:00

Copying table KEYSTORE_PASSWORDS
Table KEYSTORE_PASSWORDS done. Copied 1 rows in 00:00:00

Copying table OAUTH2_KEYS
Table OAUTH2_KEYS done. Copied 1 rows in 00:00:00

Copying table OAUTH2_ACCESS_TOKENS
Table OAUTH2_ACCESS_TOKENS done. Copied 0 rows in 00:00:00

Copying table TRUSTED_USERS
Table TRUSTED_USERS done. Copied 0 rows in 00:00:00

Copying table DEP_DISTRIBUTION_CONTENTS
Table DEP_DISTRIBUTION_CONTENTS done. Copied 125 rows in 00:00:00

Copying table LIB_UNRESOLVED_DEPEND_VER
Table LIB_UNRESOLVED_DEPEND_VER done. Copied 0 rows in 00:00:00

Copying table OAUTH2_REFRESH_TOKENS
Table OAUTH2_REFRESH_TOKENS done. Copied 4 rows in 00:00:00

Copying table NODE_AUTH_REQUEST
Table NODE_AUTH_REQUEST done. Copied 0 rows in 00:00:00

Copying table PERSISTENT_SESSIONS
Table PERSISTENT_SESSIONS done. Copied 0 rows in 00:00:00

Copying table INVITES
Table INVITES done. Copied 0 rows in 00:00:00

Copying table LIB_ACCESS
Table LIB_ACCESS done. Copied 8 rows in 00:00:00

Copying table ACTIVE_SERVICE_CONFIGS
Table ACTIVE_SERVICE_CONFIGS done. Copied 2 rows in 00:00:00

Copying table LICENSE_ORIGIN
Table LICENSE_ORIGIN done. Copied 706 rows in 00:00:00

Copying table SCHEDULED_UPDATES_SETTINGS
Table SCHEDULED_UPDATES_SETTINGS done. Copied 0 rows in 00:00:00

Copying table SITE_SERVICE_CONFIGS
Table SITE_SERVICE_CONFIGS done. Copied 0 rows in 00:00:00

Copying table ACTIVITY
Table ACTIVITY done. Copied 0 rows in 00:00:00

Migration completed.

Please run the 'update-bootstrap' command in order to update the existing bootstrap configuration file(s) with new (target) database configs.

To do this for the action log:

C:\tibco\tss\12.0.3\tomcat\spotfire-bin>config migrate-action-db --source-driver-class=oracle.jdbc.OracleDriver --source-database-url=jdbc:oracle:thin:@//hostName:1521/yourInstanceName --source-username=yourActionlogSchema --source-password=yourPassword --target-driver-class=org.postgresql.Driver --target-database-url=jdbc:postgresql://localhost:5432/yourSpotfireDBName --target-username=yourActionlogUser --target-password=yourUserPassword

The log is below:

Connecting to the source database
Connecting to the target database
Copying table ACTIONLOG

Table ACTIONLOG done. Copied 144523 rows in 00:00:08

Migration completed

test on win server 2022, Spotfire 12.0 LTS, oracle 19.3, PostgreSQL 15.2

Google Search Skill

search a certain file type:

eg: XXX filetype:pdf

search for a certain size of picture:

eg: xxx imagesize:1500x500

exclude a certain word:

eg: xxx -thatWord

include a certain word:

eg: xxx +thatWord

search within a certain site:

eg: site:freecodecamp.org xxx

keep completely the same:

eg: "your keywords"

search before or after a certain time:

eg: xxx BEFORE:2010

eg: xxx AFTER:2010

search within a range:

eg: 2..6

search in title:

eg: intitle:姬路

eg: allintitle:姬路 餐馆

AND OR * timer

谷歌搜索操作符大全 42 个高级操作符

PostgreSQL14.5.1+Debian11.5+Spotfire Server 12.0.1 LTS Installation

0. Installer list:

TIB_sfire_server_12.0.1_linux.tar、TIB_sfire_deploy_12.0.1.zip、TIB_sfire_server_12.0.0_languagepack-mul
ti.zip

TIB_sfire-analyst_12.0.1_single_user_win.zip、TIB_sfire-analyst_12.0.1_shared_computer_win.zip、TIB_sfire-analyst_12.0.1_portable_win.zip

TS_client_12.0.2_HF-007.zip

TIB_sf_statsvcs_12.0.1_linux24gl23_x86_64.tar、TIB_terrsrv_1.12.1_linux24gl23_x86_64.tar.gz, 
TIB_sf-pysrv_1.12.1_linux24gl23_x86_64.tar.gz

1. create Spotfire account for installation:

sudo adduser spotfire
sudo passwd spotfire
sudo usermod -aG sudo spotfire

2. set the PostgreSQL 14.5.1:

sudo systemctl status postgresql
psql -V
$ su - postgres
$ psql
# ALTER ROLE postgres PASSWORD 'yourPassWord';

sudo vi +60 /etc/postgresql/14/main/postgresql.conf
# like below:
listen_addresses = '*'          # what IP address(es) to listen on;

sudo vi +95 /etc/postgresql/14/main/pg_hba.conf
# like below:
# Database administrative login by Unix domain socket
local   all             postgres                                md5

# TYPE  DATABASE        USER            ADDRESS                 METHOD
# "local" is for Unix domain socket connections only
local   all             all                                     md5
# IPv4 local connections:
host    all             all             192.168.x.x/24            md5
host    all             all             127.0.0.1/32            md5

sudo systemctl restart postgresql
psql –U postgres

3. unzip the installer and run the DB script:

mkdir -p /home/spotfire/spotfire_installer
cd /home/spotfire/spotfire_installer
tar -xvf TIB_sfire_server_12.0.1_linux.tar 
cd scripts/postgres_install/
vi create_databases.sh 

# Uncomment to set variables:
PGHOST=localhost
PGPORT=5432
DBSERVER_ADMIN_USERNAME=postgres
DBSERVER_ADMIN_PASSWORD=postgres
SPOTFIREDB_DBNAME=spotfire_server
SPOTFIREDB_USERNAME=spotfire
SPOTFIREDB_PASSWORD=spotfire

./create_databases.sh 
cat log.txt

4. install Spotfire server:

sudo mkdir -p /opt/tibco/
sudo cp -a ./tss-12.0.1.x86_64.tar.gz /opt/tibco/
cd /opt/tibco/
sudo tar xzf tss-12.0.1.x86_64.tar.gz
cd /opt/tibco/tss-12.0.1.x86_64/
sudo ./configure -s 80 -r 9080 -b 9443
sudo ./configure-boot
vi tomcat/spotfire-bin/simple-config.txt

# Before using this script you need to set the variables below:
set SPOTFIREDB_DRIVER = "org.postgresql.Driver"
set SPOTFIREDB_URL = "jdbc:postgresql://localhost:5432/spotfire_server"
# set SPOTFIREDB_DRIVER = "tibcosoftwareinc.jdbc.oracle.OracleDriver"
# set SPOTFIREDB_URL = "jdbc:tibcosoftwareinc:oracle://<server>:<port>;SID=<SID>"
#set SPOTFIREDB_URL = "jdbc:tibcosoftwareinc:oracle://<server>:<port>;ServiceName=<pdborcl.example.com>"
#set SPOTFIREDB_DRIVER = "tibcosoftwareinc.jdbc.sqlserver.SQLServerDriver"
#set SPOTFIREDB_URL = "jdbc:tibcosoftwareinc:sqlserver://<server>:<port>;DatabaseName=<database name>"
#set SPOTFIREDB_DRIVER = "org.postgresql.Driver"
#set SPOTFIREDB_URL = "jdbc:postgresql://<server>:<port>/<database name>"
set SPOTFIREDB_USERNAME = "spotfire"
set SPOTFIREDB_PASSWORD = "spotfire"
set CONFIG_TOOL_PASSWORD = "spotfire"
set ADMIN_USERNAME = "spotfire"
set ADMIN_PASSWORD = "spotfire"

cd /opt/tibco/tss-12.0.1.x86_64/tomcat/spotfire-bin/
./config.sh run simple-config.txt
sudo systemctl enable tss-12.0.1.service
./uiconfig.sh 

fill in the information below:


Hostname: localhost
SID: spotfire_server
Username: spotfire
Password: spotfire
Address:
192.168.137.157
hostname

then create an admin user in Spotfire.

sudo systemctl restart tss-12.0.1.service

5. Install node manager:

cd /home/spotfire/spotfire_installer
sudo cp -a ./tsnm-12.0.1.x86_64.tar.gz /opt/tibco/
sudo tar zxf ./tsnm-12.0.1.x86_64.tar.gz
cd /opt/tibco/tsnm-12.0.1.x86_64/
ip a
sudo ./configure -m 9081 -c 9444 -s 192.168.137.157 -r 9080 -b 9443 -n 192.168.137.157
sudo ./configure-boot
sudo systemctl enable tsnm-12.0.0.service
sudo systemctl start tsnm-12.0.1.service 

cd /home/spotfire/spotfire_installer
wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update && sudo apt-get install -y aspnetcore-runtime-6.0
sudo apt-get -y install xvfb
wget -c http://ftp.jp.debian.org/debian/pool/main/g/giflib/libgif7_5.2.1-2.5_amd64.deb
sudo dpkg -i libgif7_5.2.1-2.5_amd64.deb

6. Install and config web player, automation service, Terr, and Python service:

unzip the installer and deploy it to Spotfire.

sudo tar zxf TIB_sf-pysrv_1.12.1_linux24gl23_x86_64.tar.gz
sudo tar xzf TIB_terrsrv_1.12.1_linux24gl23_x86_64.tar.gz

do the config:

Web Player:

./config.sh export-service-config --capability=WEB_PLAYER  --deployment-area=Production
cd config/root
vi +259 ./Spotfire.Dxp.Worker.Host.dll.config

 <setting name='AllowAllFilePaths' serializeAs='String'>
        <value>True</value>
 </setting> 

cd ../../
./config.sh import-service-config --config-name=webplayersrv
mv config ./webplayersrvconfig

Python Service:

./config.sh export-service-config --capability=PYTHON --deployment-area=Production
cd config/root/conf
vi +60 custom.properties
use.engine.containers: FALSE
cd /opt/tibco/tss-12.0.1.x86_64/tomcat/spotfire-bin
./config.sh import-service-config --config-name=pysrv
mv config ./pysrvconfig

TERR Service:

sudo tar xzf TIB_terrsrv_1.12.2_linux24gl23_x86_64.tar.gz
cd /opt/tibco/tss-12.0.1.x86_64/tomcat/spotfire-bin
./config.sh export-service-config --capability=TERR --deployment-area=Production
cd config/root/conf
vi +56 custom.properties
terr.restricted.execution.mode: FALSE

vi +63 custom.properties
use.engine.containers: FALSE

cd ../../../
./config.sh import-service-config --config-name=terrsrv
mv config ./terrsrvconfig

7. lessen the stop time of spotfire server service:

sudo vi /lib/systemd/system/spotfireserver-14.0.0.service

Then edit to add TimeoutStopSec:

[Service]
Type=forking
...
ExecStop="/opt/spotfire/spotfireserver-14.0.0.x86_64/tomcat/bin/shutdown.sh"
TimeoutStopSec=30s
sudo systemctl daemon-reload
sudo systemctl restart spotfireserver-14.0.0

Setup a Raspberry Pi Samba Server

sudo apt-get install samba samba-common-bin -y
mkdir /home/ubuntu/samba_dir
sudo vi /etc/samba/smb.conf
[linuxhintshare(ExternalShareFolderName)]
path = /home/ubuntu/samba_dir
writeable=Yes
create mask=0777
directory mask=0777
public=no

add the content above at the end of the smb.conf

create an account:

sudo smbpasswd -a raspberrypi(yourLinuxLoginAccountName)
sudo systemctl restart smbd
sudo systemctl status smbd
sudo ufw allow from 192.168.x.0/16 to any app Samba

usage:

How to Setup a Raspberry Pi Samba Server

Install RustDesk on PopOS

Doesn’t work without pulseaudio on Pop OS 22.04

wget -c https://github.com/rustdesk/rustdesk/releases/download/1.1.9/rustdesk-1.1.9.deb
chmod 764 rustdesk-1.1.9.deb
mkdir -p newpack oldpack/DEBIAN
dpkg-deb -x rustdesk-1.1.9.deb oldpack
dpkg-deb -e rustdesk-1.1.9.deb oldpack/DEBIAN/
sed -i "s/pulseaudio/pulseaudio | pipewire-pulse/g" oldpack/DEBIAN/control
dpkg-deb -Z xz -b oldpack newpack
sudo dpkg -i newpack/rustdesk_1.1.9_amd64.deb

Kubernetes Command

list pods:

kubectl get pods -o wide

get external ip of all nodes:

kubectl get nodes

list services sorted by name:

kubectl get services --sort-by=.metadata.name

show kubeconfig setting:

kubectl config view

show deployment:

kubectl get deployment

show namespace:

kubectl get namespace

restart deployment:

kubectl rollout restart deployment deploymentName

status of the PV: kubectl get pv

status of the PVCs: kubectl get pvc

通过 WordPress.com 设计一个这样的站点
从这里开始