Thank you for contacting Octopus Support and sorry to hear you are struggling with a deployment on a Linux target.
Is this the first time you have deployed to that target or have you deployed successfully before and now this is not working?
If its the first time you have deployed to that target we have some documentation about setting up Calamari with mono as you need to be specific in which version you are setting up for the calamari install when adding an SSH target.
Specify whether Mono is installed on the SSH target or not to determine which version of Calamari will be installed.
We have a guide on the supported versions here so make sure you are running a supported mono version on your Linux box.
Version 5.14.0 or greater of Mono is supported. Version 3.10 or greater may work, however we strongly recommend using a supported version.
We are actually looking to depreciate mono so I would suggest you see if you can use the self contained version instead of mono to future proof your SSH targets.
Let me know if you have mono 5.14.0 or greater on that machine or if you can switch to using the self-contained calamari without mono as that would be your best bet for when we depreciate mono.
I look forward to hearing from you,
Kind Regards,
Clare
Yes we have created a fresh instance to deploy on and the deployment has been failing since. We have tried creating multiple nodes now just in case the initial one had a node specific issue.
We register all linux targets the same way via chef, Facing this issue for this certain deployment project only.
This deployment does fail on this specific reason at some or the other package acquire step, if you can create a secure link, I can share the verbose logs with you.
Thank you for getting back to me and letting me know this is only failing for this specific project, I have created you a secure link here you can use to send the logs over.
It may say in the logs, but can you also confirm what version of Mono you are using please, have you tried using our self hosted calamari to see if that fixes this issue?
Since you will have to use the self hosted calamari in the future as I mentioned we will no longer support Mono, it might be worth spinning up a Linux box with the self hosted calamari version on it to see if that fixes this issue for you.
Let me know when you have sent the logs over and we can take a look.
Thanks for uploading that task log for our review - I’m stepping in for Clare as she’s gone offline for the day, but I’m happy to help!
In doing some further digging on this, it looks like our documentation might not be in alignment as far as supported versions of Mono go, but I’ve reached out internally to get some clarification on this.
From my initial read of things, it looks like Octopus Deploy supports up to version 5.14.0 of Mono (rather than greater than), which could explain why you are running into trouble here.
I will let you know what I find out from the team on this, and let me know if you come across anything new on your side in the meantime as well.
I wanted to follow up on this, as I found a recent blog post that discusses the deprecation of Mono in Octopus Deploy in greater detail.
Within this documentation, our team highlights the process of moving away from Mono to .NET Core, and I’m wondering if this might be a way forward with your process as well - I’ll link to this specific section below, but let me know if you have any questions or concerns:
I also got that thread created with our engineering team on the specific requirements for using Mono in Octopus Deploy, and I will let you know when I hear back regarding this.
Thanks for your patience. I’ll jump in with an update for Clare and Britton as they’re both offline.
Along with Britton’s comments on moving to .NET Core (self-contained Calamari) as a result of our support for Mono soon to be deprecated (his linked blog post offers a lot of comprehensive information on this upcoming change), another important note is ScriptCS doesn’t work on Mono version 5.16 and higher (noted here), so we generally recommend using Mono version 5.14.