Hey @JamesH,
This post is a little long so please bare with me.
I have taken a look at your logs and it doesn’t seem like the vdevelop is the issue, that appears in both the successful and failed logs.
Failed logs:
18:41:30 Verbose | Package rm-ui vdevelop is required by action 'Deploy UI to Azure Staging'
18:41:30 Verbose | Package octopusdeploy/worker-tools v3.3.2-ubuntu.18.04 is required by action 'Deploy UI to Azure Staging'
18:41:30 Verbose | No packages are required on the Octopus Server
Successful logs:
18:37:13 Verbose | Package rm-ui vdevelop is required by action 'Deploy UI to Azure Staging'
18:37:13 Verbose | Package octopusdeploy/worker-tools v3.3.2-ubuntu.18.04 is required by action 'Deploy UI to Azure Staging'
18:37:13 Verbose | Package octopusdeploy/worker-tools v3.3.2-ubuntu.18.04 is required by action 'Swap Slots, Staging into Production'
18:37:13 Verbose | Package octopusdeploy/worker-tools v3.3.2-ubuntu.18.04 is required by action 'Delete Staging Slot'
18:37:13 Verbose | No packages are required on the Octopus Server
Where it seems to fail is on the Step 3: Deploy UI to Azure Staging
step as we mentioned (I have scrubbed out sensitive info and replaced with ‘xxxx’'s):
Failed log:
18:41:54 Info | Updating web app to use image xxxxxxxxxxx.io/rm-ui:develop from registry xxxxx.io
18:41:54 Verbose | Retrieving config (this is required to update image)
18:41:55 Error | Running rollback behaviours...
18:41:55 Error | Operation returned an invalid status code 'NotFound'
Successful Log:
18:38:43 Info | Updating web app to use image xxxxxxxxxxx.io/rm-ui:develop from registry xxxxx.io
18:38:44 Verbose | Retrieving config (this is required to update image)
18:38:44 Verbose | Retrieving app settings
18:38:54 Info | Updating app settings with container registry
So it looks like its the config to update the image it cannot find for some reason. If we look at the failed log with variable logging in:
[ConfigJson] = '/opt/#{ContainerName}/config.json'
I think (but am not 100% sure) that this is the variable its using and this is what it cant find.
Container name is:
[ContainerName] = '#{ImageName}#{unless Octopus.Deployment.Tenant.Name == ""}-#{Octopus.Deployment.Tenant.Name | ToLower}#{/unless}-#{Octopus.Environment.Name | ToLower}
Image name is:
[ImageName] = 'rm-ui'
Would it be possible to get me a successful deployment with variable logging enabled so I can compare the two. I cant quite see why this is failing from the logs without variable logging enabled to see what the successful one is showing.
You can upload it to the same link, if you can get us that log let me know when its uploaded and I can start to compare the two.
Kind Regards,
Clare