cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Fail to import Extension Thingworx 8.5

leokeinsfeld
13-Aquamarine

Fail to import Extension Thingworx 8.5

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

1 ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald II
(To: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

View solution in original post

11 REPLIES 11
slangley
23-Emerald II
(To:leokeinsfeld)

Hi @leokeinsfeld.

 

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

 

Regards.

 

--Sharon

leokeinsfeld
13-Aquamarine
(To:slangley)

Hi @slangley 

 

I have restarted the thingworx 

 

I am trying to import the extension in attachment 

slangley
23-Emerald II
(To:leokeinsfeld)

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

leokeinsfeld
13-Aquamarine
(To:slangley)

Hi @slangley 

 

Yes, it was downloaded from marketplace.

 

I have tried the version 3.0.3 and happens the same error.

slangley
23-Emerald II
(To:leokeinsfeld)

Hi @leokeinsfeld.

 

Which patch level of 8.5 are you on?  If you're still on 8.5.0, it's highly recommended that you upgrade due to the number of fixes/improvements available.

 

Did you validate the extension prior to doing an import?  If so, did this succeed or fail?  Have you tested with a different extension? 

 

If the issue consistently fails, we recommend opening a case for one of our Tech Support engineers to review your system.  I will be happy to open one on your behalf if you decide to go that route.

 

Regards.

 

--Sharon

leokeinsfeld
13-Aquamarine
(To:slangley)

Hi @slangley 

 

How do I to find the patch level?

 

I tried to validate the extesion before to importe and it did not work.

 

I already tried to import other extension and happened the same problem.

 

 

 

 

slangley
23-Emerald II
(To:leokeinsfeld)

Hi @leokeinsfeld.

 

To find the patch level in Composer, select Help > About in the upper right corner of the window.  The patch level can also be found in the ApplicationLog.log following a restart.

 

Are all extension imports consistently failing?  If so, we may need to open a case.  Please let me know if you would like to go this route and I will be happy to open a case on your behalf.

 

Regards.

 

--Sharon

leokeinsfeld
13-Aquamarine
(To:slangley)

Hi @slangley 

 

Follow path image bellow:

 

path.JPG

 

All extesion happens the same problem.

slangley
23-Emerald II
(To:leokeinsfeld)

Hi@leokeinsfeld.

 

What account are your logging in with?  If you're not using the Administrator account, please try with that one.  If you still have an issue, please let me know if I can open a case for this issue on your behalf.  I think we need to take a look at your system.

 

Regards.

 

--Sharon

leokeinsfeld
13-Aquamarine
(To:slangley)

I am logged with Administrator user.

 

I would be grateful if you can open a ticket for this case

 

Thanks for help me @slangley .

 

Regards.

slangley
23-Emerald II
(To: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

Top Tags