Is that way to re-install MES service and database when re-deploy custom package if fails deployment

Hi

we are facing to an issue that we need to re-install MES service and database when we failed to deploy custom package using Cmf DevOps Portal.

the details below,

#1. if we got a deployment errors from the DevOps Portal caused by our mistake data, the MES service could be unavailable though its status shows normal on k8s container.

#2. we tried to re-deploy this custom package after fixed some data-mistake, but it couldn’t deploy success anymore

so may be that issue could be a risk that MES service WILL be unvailable when we made any mistake on deployment to PRODUCTION env.

is there any way to solve that?

Thanks

Hi,

I would need more information, namely installation logs to proper support you.

Nevertheless, let me share some info and hints, that probably can help you troubleshoot this type of installation problems:

The installation process checks the root packages dependencies and install them according to the specified order;

  • If a dependency is installed with success, then it is marked as installed on the MES database;

  • If afterwards, another dependency fails, the installation process is interrupted;

  • Later, if the installation is restarted, with same or another package, only packages or dependencies not yet marked as installed, will get deployed.

  • As so, if you had to edit a package dependency due to issues, you will need to:

  • Either restore the database;
  • Or set the package and missing dependencies with a new version.

Best regards,

João Moreira