-
Notifications
You must be signed in to change notification settings - Fork 188
[Bug]: Publish to Environment shows "Unknown Error" and fails but App was successfully installed #2193
Description
AL-Go version
8.3
Describe the issue
We have been facing an issue for a couple of weeks now where the Publish to Environment Workflow logs something like this:
COUNT IT GmbH_Customizing_1.0.10.200.app - upgrading....
InProgress........
Unknown
Error: Unknown Error. Retrying in 10 seconds
Error: Unknown Error. Retrying in 20 seconds
Error: Unknown Error. Retrying in 40 seconds
Error: Unknown Error. Retrying in 80 seconds
Error: Unknown Error. Retrying in 160 seconds
Unknown Error
ERROR: Unable to publish app. Please open the Extension Deployment Status Details page in Business Central to see the detailed error message. [System.Management.Automation.RuntimeException]
This obviously ends the workflow without publishing the next apps. However, as soon as you go to the Extension Management, Installation Status and then check if the app was deployed or not it says Status "Unknown" but when looking at the details is says "Publish operation completed successfully."
We really need a fix for this issue or at least an explanation because this always leads to only the first app being installed but all other apps being skipped.
Expected behavior
When the Publish operation is successful I expect the log to show that it was successful and continue publishing the other apps
Steps to reproduce
It's not possible to consistently reproduce this. We get this error daily, but not on every workflow run. Sometimes if you run the same workflow twice it will succeed the second time.