New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish-BCContainerApp on environment fails after upgrade to BC24 #3498
Comments
Does the extension management page reveal what the problem is? |
No, nothing is displayed. It takes a while for the published extension to show up and when it does I can install it manually without a problem. I'm currently updating a copy of our test environment (still on bc23) and it works perfectly fine there. |
are you using s2s or impersonation for deployment? |
Looks like impersonation (dev scope) - right? |
Jep. Here's the full script:
|
Could you try this:
before publishing the app? |
I'll get back to you about that in a bit. We are currently copying the bc24 environment to an environment with a new name and restoring our bc23 test environment. |
I'm afraid this doesn't help.
After the error above was thrown I checked the environment and the app was published but not installed: It took over a minute for the app to show op in extension management. So it really looks like for some reason the publish has not completed yet when an attempt is made to install the app. |
I have a repro of this - will investigate why this happens. |
Thx! In the meantime we've restored our environment to BC23. We still have a copy of the BC24 environment for investigating the issue. |
It looks like this problem is in the service and also happens from VS Code - we have people investigating |
This should be fixed now |
PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
Yesterday we upgraded our test environment to BC24. We have setup a pipeline in devops that uses Publish-BCContainerApp to update the environment with our latest apps from our build pipelines. Since the upgrade the install of every app fails with the following error message:
Scripts used to create container and cause the issue
Full output of scripts
See above
Screenshots
N/A
Additional context
BCContainerHelper fails when executing the API call to BC:
When I inspect the environment after the error, I notice the app is published but not installed. So it appears the install fails. I also noticed it takes a while for the published app the show up in extension management. It seems there's a delay that might cause this error.
On BC23 the update of our test environment was already quite slow (we have 27 apps to publish) but It worked. The environment has quite some companies.
The text was updated successfully, but these errors were encountered: