Skip to main content
1-Visitor
May 30, 2020
Solved

Fail to import Extension Thingworx 8.5

  • May 30, 2020
  • 11 replies
  • 3449 views

Hi everyone,

 

I was not able to import a extension to my platform thingworx version 8.5

 

Below my platform-settings.JSON and the log error:

 

{
"PlatformSettingsConfig": {
"AdministratorUserSettings": {
"InitialPassword": ""
},
"ExtensionPackageImportPolicy": {
"allowCSSResources": true,
"allowEntities": true,
"allowExtensibleEntities": true,
"allowJSONResources": true,
"allowJarResources": true,
"allowJavascriptResources": true,
"allowWebAppResources": true,
"importEnabled": true
},
"ContentTypeSettings": {
"supportedMediaEntityContentTypes": [
"image/svg+xml",
"image/png",
"image/gif",
"image/bmp",
"image/jpeg",
"application/pdf",
"image/vnd.microsoft.icon"
]
}
},
"PersistenceProviderPackageConfigs": {
"PostgresPersistenceProviderPackage": {
"ConnectionInformation": {
"jdbcUrl": "jdbc:postgresql://localhost:5432/thingworx",
"password": "password",
"username": "twadmin"
}
}
}
}

 

img.png

Regards

Best answer by slangley

Hi @leokeinsfeld.

 

From working the case, we found that 2 instances of ThingWorx were installed.  The platform-settings.json file had been updated for the instance that wasn't working.  Once the correct one was updated and Tomcat was restarted, extensions imported successfully.

 

On a side note, installing multiple versions of ThingWorx on the same server/VM is not a supported configuration.  Therefore, the instance that was not working was removed.

 

If you agree that this post details the solution, please mark it as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon

11 replies

Support
June 1, 2020

Hi @leokeinsfeld.

 

Did you restart ThingWorx after updating platform-settings.json?  What extension/version are you trying to import?

 

Regards.

 

--Sharon

1-Visitor
June 1, 2020

Hi @slangley 

 

I have restarted the thingworx 

 

I am trying to import the extension in attachment 

Support
June 2, 2020

Hi @leokeinsfeld.

 

Was this downloaded from the Marketplace?  If so, you might want to try the upgraded 3.0.3 version.

 

Note that a number of feature improvements are being made to charts in the ThingWorx 9.0 release targeted for late June/early July.

 

Regards.

 

--Sharon