Questions tagged [octopus-deploy]

Octopus Deploy is an automated deployment system designed for .NET developers. It also supports other languages/platforms and non-Windows deployment.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Windows application Octopus Deploy

I am new to Octopus. I have a use case where I need to deploy a windows form (exe) to a set to servers. However, before the deployment is kicked off, I want to make sure there are no instances of the ...
0 votes
0 answers
18 views

Deploying an ARM Template for Ocotpus Deploy

I have an IaC deployment implemented as a GitHub action, and I need to move it to Octopus Deploy. My first azure arm template that creates a resource group. However, the built-in Deploy an Azure ...
  • 3,711
0 votes
1 answer
46 views

How to create step template in octopus deploy to copy a file from package to Databricks cluster

I use Artifactory to publish NuGet packages. Package would have a file in publish folder which I should copy to Databricks cluster using Octopus deploy but can't seems to find a way to create step ...
0 votes
2 answers
44 views

Octopus Deploy - SQL - Execute Scripts Ordered step giving Exception

In Octopus deploy I have added a step in process to run the stored procedure with library script “SQL - Execute Scripts Ordered step”. When I’m providing the script to execute the stored procedure it ...
0 votes
1 answer
23 views

syntax error when deploying DBUP script through octtopus

I have DBUP scripts in the .Net Frameowrk4.5 project. For some reason when deploying the project through octopus, I get the below syntax error. This works ok on the local SQL server. This is script I ...
0 votes
0 answers
22 views

What are the steps/pre-requisite to upgrade Octopus tool upgrade from windows 2012 to Windows 2019?

I have requirement to upgrade Octopus tool from Windows 2012 to Windows 2019. Currently Octopus is running in Win 2012 and my team is upgrading windows to 2019 version, in this case we have query ...
1 vote
0 answers
122 views

Build Vue3 with Vite to deploy into "subfolder" URL defined by Octopus variable substitution

I need to host my Vue3 app not in the root of the domain but in a subfolder e.g. https://my.domain.com/vue-app/. I have found this in a vite documentation: https://vitejs.dev/guide/build.html#public-...
0 votes
0 answers
37 views

Octopus deploy error "no port showing when running a docker container in VM"?

I am trying to deploy a sample application in VM using 'run docker container' template. Everything is working fine but no ports are showing up in the container details while I am explicitly ...
0 votes
0 answers
32 views

Octopus deploy error "The jq application must be installed"

I am trying to deploy an application in EKS using octopus deploy, octopus server is deployed in the same cluster. I’ve deployed octopus server using helm charts. Now, after configuring the environment,...
0 votes
1 answer
47 views

Creating Dynamic octopusdpeloy relese via github actions

I get the below error when i try to create a release dynamically with octopusdpeloy via github actions Action code - name: Create a release in Octopus Deploy uses: OctopusDeploy/create-...
  • 259
0 votes
0 answers
21 views

How to publish Msbuild package to 2 octopus deploy servers

We are using two Octopus Deploy Instances at the moment. One is on-prem and newer is octopus cloud. We intend to keep running both OD Servers. Our github actions runs msbuild command and publishes the ...
0 votes
0 answers
42 views

Octopus Deploy - How to find team city build id using Octopus deploy REST API

I want to get build id or any other information that i can get from Octopus deploy REST API and use it to get build details from TeamCity API Currently using release number from octopus to filter team ...
0 votes
2 answers
54 views

Problem Generating Html Report Using DbUp during Octopus Deployment

Using Octopus Deploy to deploy a simple API. The first step of our deployment process is to generate an HTML report with the delta of the scripts run vs the scripts required to run. I used this ...
  • 3,709
0 votes
0 answers
29 views

Octopus Transformations not working as required

I am looking to transform the below part of the web.config file: <compilation debug="true" targetFramework="x.0"> <assemblies> <add assembly="...
0 votes
1 answer
30 views

Is there a way to search across all scripts in a deployment?

I have a PowerShell script module in a deployment, which defines a function that seems to be going wrong. Unfortunately, because it's in a script module, I don't know where the call to it is coming ...
0 votes
1 answer
101 views

How to pass additional parameter in bash script

I want to design a pipeline for executing a program that can have multiple configurations by argument. Developer is not interested to have each argument as a variable and they want to have the option ...
  • 1,909
0 votes
1 answer
23 views

Reporting on Octopus Deployment steps

Is it possible to report on / query the data that is displayed here (red arrows in screen shot below) for individual octopus deployment steps? I have looked at the database schema and their RESTful ...
  • 191
0 votes
1 answer
191 views

How to add a Environment Scope and Deployment Target Scope to a variable in OctopusDeploy

I have to generate a variable dynamically and set it to the variable list using Octopus Deploy REST API. I don't know how to set the Environment Scope and Deployment Scope to that variable for ...
  • 259
0 votes
1 answer
160 views

Service fabric - Connect-ServiceFabricCluster : An error occurred during this operation

I have been tasked with updating Certificates on a service fabric cluster, I believe I have done this on the cluster but now octopus is producing this error. I have added the certificate into the ...
  • 2,419
0 votes
1 answer
150 views

Is it possible to use a release snapshot variable in a new release?

I have an old Octopus release, unfortunately some of the variables from the snapshot variables taken at the time it was created are not longer in the variable configuration section or it has different ...
  • 151
0 votes
0 answers
66 views

Can Octopus audit logs be filtered by when a Runbook process was created and by whom?

I have a runbook in Octopus which has had process steps added gradually over the past year. Is it possible to obtain Octopus audit logs (Configuration>Audit) which are filtered by each time that a ...
  • 4,565
0 votes
0 answers
26 views

Team City deployment failing at step: Package Nuget (Nuget Pack)

I'm trying to deploy a .NET Core app in Team City. The deployment fails at step: Package Nuget (Nuget Pack) & gives the following error. How to fix this issue?
1 vote
1 answer
119 views

Team City deployment failing at OctopusDeploy: Create release step

I'm trying to deploy a .NET Core app in Team City. The deployment fails at step 4/6: OctopusDeploy: Create release & gives the following error. The step failed: Activity failed with error 'The ...
0 votes
1 answer
105 views

Using Octopus to configure log4net.config in .NET Core 3.1 Web API project

I'm using Octopus as part of our deployment for a .NET Core 3.1 Web API project. log4net.config exists in .\Utility\Logs. I'm trying to follow the pattern here: https://help.octopus.com/t/...
1 vote
1 answer
123 views

Check whether a Cosmos DB exists using PowerShell

I am trying to check whether a Cosmos DB exists or not using Powershell in Octopus. If Not I need to create it. Thats the requirement $ApplicationShortName = "stc" $resourceGroup = $...
1 vote
0 answers
41 views

Missing feature in AWS CLI step

I'm using Run an AWS CLI Script with referenced package. But such step does not allow to add feature .NET Configuration Variables, however plain RUN A SCRIPT allows it. Could be I'm missing something, ...
0 votes
1 answer
200 views

Can you specify a deployment target with Octopus Deploy API

I am trying to use Octopus Deploy Deployment API and i ran into a problem where the deployment runs on all deployment targets, is there a way to specify the deployment target i would like to run the ...
  • 136
0 votes
2 answers
257 views

What is the Run Condition for Octopus Deploy to skip Deploy Amazon ECS Service step?

So i have two steps in Octopus Deploy. first step will deploy the cluster and task definition and the other will update the task definition and deploys a new task. The First step is only needed for ...
  • 16
0 votes
0 answers
99 views

Microsoft OpenJDK Silent Install Java Home

Trying to silently install Microsoft's OpenJDK silently with Octopus Deploy, but can't work out how to enable the JAVA_HOME variable setting that you get in the interactive install. These are the ...
  • 147
0 votes
1 answer
355 views

How to get repository name by Project name in Octopus API?

I want to know the version control repository name by the Project name in Octopus through API. It would be great if u can get the branch name of repo also for the different-2 deployment environments. ...
  • 23.7k
2 votes
1 answer
871 views

React setupProxy.js for different environments

I am very new to react but my issue is really around strategies for deploying my app to different environments (dev, QA, UAT). My react app makes an api call and I am using a setupProxy.js to define ...
  • 488
0 votes
1 answer
235 views

Octopus Release Version Readonly

I am using the tool octopus deploy for the CD process. I have a problem, during the release, some members of the team edited the release number manually and deployed So the sequence of the release ...
0 votes
1 answer
357 views

Octopus Release Versioning

I am using Octopus deploy for the CD process. I would like to know the difference between Octopus.Version.NextPatch Vs Octopus.Version.Next. Is there any difference?
0 votes
1 answer
128 views

trigger the jenkins job from octopus

I want to call the jenkins job(automated smoke suite) automatically from the octopus(deployment tool), once the deployment is successful. The simplest way of doing this I found is, to create a script ...
0 votes
1 answer
217 views

DevOps pipeline System.IO.DirectoryNotFoundException

I have created a new pipeline which is intended to fetch a Git repo and push a package to Octopus. The problem is it is failing at the Octopus package step with a System.IO.DirectoryNotFoundException. ...
  • 1,229
0 votes
2 answers
631 views

Octopus deploy process: share data between steps

Given a runbook/process with 3 steps step 1 and step 2 both write some JSON data to an output variable (JSON for an object) Set-OctopusVariable -name "SharedData" -value ($sharedObject | ...
  • 1,488
0 votes
1 answer
311 views

OctopusDeploy not deploying package to Custom Installation Directory

I'm pretty new to OctopusDeploy and am trying to set up a process to deploy our artifact to multiple Windows Servers. As of right now it is deploying the package to the default working directory of C:\...
  • 1,874
0 votes
0 answers
340 views

Is there a way in terraform to create a replacement group of related resources before destroying the original group?

I have a VM template I'm deploying an Azure Virtual Desktop environment with terraform (via octopus deploy) to Azure. On top of the Virtual Machines, I'm installing a number of extensions which ...
0 votes
0 answers
331 views

Exception Method 'DisposeAsync' in type 'Microsoft.Extensions.DependencyInjection.ServiceProvider' dont have implementation.(System.TypeLoadException)

[34;1m Exception Method 'DisposeAsync' in type 'Microsoft.Extensions.DependencyInjection.ServiceProvider' from assembly 'Microsoft.Extensions.DependencyInjection, Version=3.1.14.0, Culture=neutral, ...
0 votes
1 answer
102 views

Octopus Deployment to Production environment

Using Octopus I want to be able to have a set up so that attempting to deploy to a Production environment includes a warning to the user and a manual intervention to continue, to prevent accidental ...
  • 547
2 votes
0 answers
147 views

How to run octopus deploy on ecs cluster?

Is there anyone here that has deployed octopus deploy on Amazon ecs? On a Linux container preferably. I found docker image for octopus deploy but not sure what other components or customer parameters ...
0 votes
1 answer
79 views

How to substitute array values for Octopus AWS Lambda functions

Consider the following { "foo": [ "cat", "dog" ] } I want to replace these values in Octopus with { "foo": [ "wolf" ] } How do I do it with ...
  • 183
0 votes
1 answer
150 views

Looking for Docker Image octopusdeploy/octo for Apple M1

I'm running Docker Desktop for Mac (v4.4.2), part of the deployment script of the company, it needs to use octopus and the Docker image for it is not available for the Apple M1 platform according to ...
1 vote
1 answer
240 views

how to set "Re-deploy already installed packages" as default in Octopus

How do i change a default settings for Re-deploy already installed packages? I want this to always be selected when deploying. i have tried using OctopusForcePackageRedeployment = true and Octopus....
  • 99
0 votes
1 answer
322 views

How do I prevent users from accidentally deploying to too many tenants in Octopus?

Over the years we’ve had a few instances of Octopus Deploy users accidentally releasing a version to multiple environments, based on a tenant tag. I usually tell users to check that the Tenant list ...
0 votes
1 answer
108 views

How does Octopus deploy interact with hashicorp vault to get secrets and certificates?

how to create secrets and certs in hashivault? How to pull those secrets into my octopus deploy?
  • 1
1 vote
1 answer
749 views

Unable to use commands from a PowerShell module after installing it on a docker container (Same works on the host)

Docker container PowerShell behaves differently when installing and using (Azure) modules than host I need various Azure PowerShell activities inside a windows docker container because Octopus Cloud ...
0 votes
0 answers
405 views

Octopus : appsettings.json variable substitution 3 level hierarchy

I am trying to do some json variable substitution from Octopus into my appsettings.json following link everything looks easy till you have 3 level down. Having this json {"app": {"port&...
  • 1,057
1 vote
1 answer
442 views

Octopus Script to set Variable for use in ARM template Deployment

I have simple requirement that I can achieve in Azure DevOps and other release management systems but seems to be actively prevented in Octopus Deploy. I want to run an ARM Template deployment step ...
  • 1,290
2 votes
0 answers
102 views

Wildcard in variable name

I have a use case where I want to do array indexing for the name of some variables. In this case, I want all of these to direct to the same value: ReverseProxy:Routes:0:Match:Hosts:0 = MyDomain.com ...
  • 23.5k

1
2 3 4 5
17