FileNotFoundException

hi,

I new to Octopus Deploy and currently Im using the trial version. I managed to deploy an IIS website but Im having problems when it comes to deploy a tomcat. Health check is fine and calamari is updated. when trying to deploy i get the below error; (which dependencies are missing? any guidelines?)

Deploying: /home/mark.tonna@myserver.intra/.octopus/OctopusServer/Files/stgbbws01@S0.0.5@38CC4B9AEA281A458771FA9A3C827E78.tar
System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies.
File name: ‘WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’
at Calamari.Deployment.ConventionProcessor.RunInstallConventions () [0x00019] in <8a6f90bbd8ed4927b9662210f76422b1>:0
at Calamari.Deployment.ConventionProcessor.RunConventions () [0x00000] in <8a6f90bbd8ed4927b9662210f76422b1>:0
Running rollback conventions…
Could not load file or assembly or one of its dependencies.
System.IO.FileNotFoundException
at Calamari.Deployment.ConventionProcessor.RunInstallConventions () [0x00019] in <8a6f90bbd8ed4927b9662210f76422b1>:0
at Calamari.Deployment.ConventionProcessor.RunConventions () [0x00000] in <8a6f90bbd8ed4927b9662210f76422b1>:0
The remote script failed with exit code 100
The action stg01_Bb on stg01pocserver.myserver.intra failed

Hi Mark,

Thanks for getting in touch and I’m sorry to hear you are having these issues.

Can you send through the raw log from the deployment that failed with the above error.

Can you also tell me how you’ve configured your Tomcat target server in Octopus, is it using the mono or .net core version of Calamari?

Thank you and best regards,
Henrik

Hi Henrik,

Raw log attached.

Tomcat is using: Package mono-devel-4.6.2-4.el7.x86_64 already installed and latest version.

regs

ServerTasks-1647.log.txt (8.96 KB)

Hi Mark,

Can you install the mono-complete package on your target server as I believe this will resolve the error you are seeing (WindowsBase isn’t included in the basic mono package and Calamari depends on it as it requires System.IO.Packaging).

I hope that helps.

Thank you and best regards,
Henrik

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.