I’m facing an error on our build server when I’m trying to import a specific project with Octopus.Migrator.exe. That’s clearly system related cause I’m facing the same message with every arguments of the binary and I can’t reproduce this error on other servers.
An example with --help argument :
PS C:\Program Files\Octopus Deploy\Octopus> .\Octopus.Migrator.exe --help
Unhandled exception. System.Exception: Invalid logging configuration: missing target 'stdout'
at Octopus.Shared.Startup.OctopusProgram.AssertLoggingConfigurationIsCorrect()
at Octopus.Shared.Startup.OctopusProgram.InitializeLogging()
at Octopus.Shared.Startup.OctopusProgram.Run()
at Octopus.Migrator.Cli.Program.Main(String[] args) in C:\BuildAgent\work\eb99e602a96dd63\source\Octopus.Migrator.Cli\Program.cs:line 59
Unfortunately, that’s not a very fun workaround. Are you in a version prior to the milestone (3.17.0)? Is that something you could take a look at and try?
Please let me know what you think and if you have any questions.
Issue #3740 gave me the hint I was guessing! The Octopus.Migrator.exe.nlog file have been manualy (mis)configured by one of my team mate. I restored initial values and it’s ok.