Unable to remove MATLAB Production Server instance

I have multiple MPS instances on each of my machines. I am trying to remove the instances, including the instance folders, the service entries in Windows Services and the MPS dashboard.
I am using the "mps-service delete" command with the "-C" argument.
On some machines, I could execute this command. The service entries are deleted, but the folders remained. And the instances are still in the dashboard.
On other machines, I get the "Error: missing required flag" when I try to execute the command.
Is there a way to do a clean removal of the instances? Any suggestions on how to troubleshoot this?

 Accepted Answer

The instances created using MPS Dashboard has to be deleted through the dashboard. The command line should not be used to delete the instance.
The steps to delete the dashboard can be found in the help at
<dashboardIp>:9090/help/mps_dashboard/ug/remove-a-server-instance.html.g2466303
Here are the steps copied from the help page:
  • Ensure that the server instance is stopped.
  • From the navigation tree, select the server machine.(For example: Servers > localhost)
  • Locate the server instance in the instance list.
  • Click the trash can button in the Actions column.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!