Skip to main content
1-Visitor
June 1, 2020
Solved

Model deployment failed on connector No file or directory found

  • June 1, 2020
  • 1 reply
  • 9556 views

Hi,

 

I'm doing this ThingWorx Analytics tutorial: https://developer.thingworx.com/en/resources/guides/operationalize-analytics-model/analysis-model

I did everything exactly as in the tutorial and everything works (upload datasets, create models) but when I try to publish a model from the Analytics Builder i get the status message:

"Model deployment failed on connector No file or directory found at /vibrations_analysisprov/vibration_dataset_vibrations_model_90dcad61-3d42-4835-95b5-77906007c343.xml"

 

What is the problem and how can I solve it? 

 

 

Best answer by cmorfin

Hi @Lenn 

 

There is no simple way to check for update.

However the logs form ThingWorx Analytics Server are interesting.

ThingWorx Analytics Server does not connect anymore to ThingWorx Platform due to a 401 error, which means unauthorized.

So likely there is something incorrect with the application key.

The most probably is that the app key has expired.

In Composer go to SECURITY > Application key, select the app key for ThingWorx Analytics (I cannot tell you which one it is - worse case scenario we could create a new one).
Make sure that the application key expiry date is not passed, if it is, simply update to a date in the future.

Ensure also that the App key is associated with a member of Administrators group.

 

Then restart ThingWorx Analytics.

 

Let me know how it goes.

Christophe

1 reply

19-Tanzanite
June 1, 2020

@Lenn 

 

Could you please upload the following:

- screenshots of Composer > Help > About

- screenshots of ThingWorx Analytics Builder > Settings

- screenshots of Composer > Manage > Extensions, showing all the extensions and their version

- <ThingWorxStorage>/logs folder

- <ThingWorxAnalyticsServer>/data/logs folder

 

Thank you

Kind regards

Christophe

 

Lenn1-VisitorAuthor
1-Visitor
June 1, 2020

Thanks for your reply!

You can find the files attached. 

19-Tanzanite
June 1, 2020

Hi @Lenn 

 

Thank you for the logs.

However I do not found this error in your log files, so either that is a different server or the error had not been reproduced during the lifetime of those file.

Could you try reproducing the error and then send me a new set of log files for both ThingWorx and ThingWorx Analytics ?

 

Thank you

Christophe