Error while deploying MDA package to on-premises environment

0
Hi all,I’m facing an issue while deploying a Mendix application to an on-premises environment using Mendix Service Console 4.8.1.When I click Update App and select the newly created MDA package, the upload starts but fails with the following error:“Found invalid data while decoding.”I have tried creating multiple new deployment packages and also performed a clean deployment, but the issue still occurs.As a temporary workaround, I have to delete the app, download it again from the Sprint, and then create and deploy the package. This works, but I have to repeat this almost every day, which is not practical.Is there any configuration or permanent solution to prevent this error?Any suggestions or guidance would be greatly appreciated.
asked
2 answers
1

Hi Vishwanath,

This usually looks like a Mendix Service Console issue rather than an issue with the MDA package itself, especially since deleting and recreating the app temporarily fixes it.


A few things I'd try:

  • Verify that Mendix Service Console 4.8.1 is compatible with your Mendix Runtime version.
  • Stop the service completely before running Update App.
  • Delete the existing deployment folder (or the app's extracted files), but keep the configuration, then deploy the new MDA again.
  • If possible, update to the latest compatible Mendix Service Console, as older versions can throw "Found invalid data while decoding" when handling newer MDA packages.


Since recreating the app works, it suggests the Service Console is keeping stale deployment metadata or cached files rather than the MDA being corrupted.


Kindly mark this as the accepted answer if it helps.

answered
0

Have you tried Upgrading the Service Console from 4.8.1 to 4.8.3?

answered