Closed hfaisal8 closed 1 year ago
Hi,
Multiple versions on one server is always a challenge.
Did you install bc22? Or copy it? If the latter, please install bc22 as it was a normal installation.
Hello , We installed BC22 as normal installation ( not a copy) .
Well, there are more than one versions on the system, and my bet is that "it is confused".. :(.
Would you be able to try using ALOPs.ExternalDeployer in stead?
Actually we have BC18 , BC20 and BC21 installed on our dev server and deployments works great there. Only deployment to BC22 is failing.
So if you there is any clue about what is failling after "Get Tenants" , then we could check the installation/fiewall/permissions...etc.
We can try to use ALOPs.ExternalDeployer but for us it is "temporary" stage before we go to AppSource. So the less changes we do now to our release pipelines will be appreciated :) .
Suggestions:
Can you try a "get-navtenant" yourself on your server?
Is it possible you have configured a non-default management port?
I have got a simular issue with AlOpsExternalDeployer (see below error). The problem in our case had to do with get-navtenant. On the servertier the ManagementApiServicesPort has not default port and ManagementApiServicesEnabled has set to false.
Service request failed. Status: 404 (Not Found)
Content: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
HTTP Error 404. The requested resource is not found.
Headers: Connection: close Date: Tue, 16 May 2023 09:58:44 GMT Server: Microsoft-HTTPAPI/2.0 Content-Length: 315 Content-Type: text/html; charset=us-ascii
I hope @acjdekorte 's suggestion worked (for which many thanks! ;-))?
I have got a simular issue with AlOpsExternalDeployer (see below error). The problem in our case had to do with get-navtenant. On the servertier the ManagementApiServicesPort has not default port and ManagementApiServicesEnabled has set to false.
Service request failed. Status: 404 (Not Found)
Content:
Not Found Not Found
HTTP Error 404. The requested resource is not found.
Headers: Connection: close Date: Tue, 16 May 2023 09:58:44 GMT Server: Microsoft-HTTPAPI/2.0 Content-Length: 315 Content-Type: text/html; charset=us-ascii
Thank you for the information provided.
For us it was solved by installing BC22 build 55195 . And to be sure : I checked the settings ManagementApiServicesPort and ManagementApiServicesEnabled and there are filled in .
Issue is resolved now.
Deploying App through DevOps Release pipelines to BC22 on-premise is failing due to error :
If we check the BC extension management , we can see the new app version is uploaded but not installed :
the output
if we use the extension managment window , we could install the app without any problem.
Note 1 : We thought first that is due to old app version installed, but it was not the case (usually Alops unpublish old versions and install the new version without any manual intervene). So we unpublished/uninstalled all old versions and we tried the deployment again but it is still giving the same error.
Note2 : on the same machine we have BC20 on-premise running for other customers , we do not have any issue there deploying applications . So it seems a BC22 issue.