Missing ZIP File

I am deploying a web application to my tentacle but the zip file is missing.

How can I get the .zip file to be copied out to the tentacle?

Hi Allan,

Thanks for reaching out.

When you say the Zip file is missing, do you mean its not in the repository where you’re trying to download it from? or are you getting a specific error message saying that a Zip file is missing?

If you can give us a bit more context on your error, we might be able to help out :slight_smile:

Thanks!
Dalmiro

Also please let us know which version of Octopus are you running

Octopus Version 3.3.20
TFS 2015 Update 1
IIS 8.5

I have an ASP.Net web application that is checked into TFS. I installed OctoPack and added the MSBuild commands to create the package and upload it to the built-in package manager. Next, I added a Process Step to deploy the package to a web server role. Once the package gets to the web server it is not what I am expecting. I was expecting the deployed web site to be ready to go. Instead, there is, among other things, a deploy.cmd file. But, no zip file for the cmd file to run on.

I should add that the zip file does exist in the drop folder on the TFS server.

Hi Allan,

Can you share me a screenshot of your deployment process (where I can see the steps) along with a deployment log? http://docs.octopusdeploy.com/display/OD/Get+the+raw+output+from+a+task

If possible also show me some screenshots of what you see in your server’s filesystem (what files get deployed?) and what did you expect to see.

Best regards,
Dalmiro

Hi Dalmiro,

I think the problem is with my MSBuild arguments. This Stack Overflow post goes into detail regarding my problem right now. (http://stackoverflow.com/questions/35351695/build-and-deploy-a-web-application-with-tfs-2015-build)

When I create the NuGet package manually, the site is deploying correctly with Octopus Deploy.

I will let you know what I find out.

Thanks,
Allan

Hi Dalmiro,

I was able to get several Hello World test web applications to deploy with no problems. The web application that I am working on in this case is only putting the DLLs into the nuget package created with OctoPack. Do you happen to know what I might need to change to get the nuget package to include all the typical output files for a web application? (IE. aspx, css, js, etc.)

Thanks,
Allan

Hi Allan,

Octopack should pack them as along as they are marked as content in the project. Read more about this here: http://docs.octopusdeploy.com/display/OD/Using+OctoPack#UsingOctoPack-Whatispackaged?

Thanks,
Dalmiro

Hi Dalmiro,

Thank you for your help.

The problem was that there was no web.config present in the Web UI project.

Best regards,
Allan