2018.4.4 upgrade has been failed

The octopus upgrade to from 3.3.x to 2018.4.4 has been failed.
with the following message
2018-04-23 10:21:27.3196 3668 1 ERROR Upgrade failed due to an unexpected exception:
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference
at CallSite.Target(Closure , CallSite , Object , Type )
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at Octopus.Core.UpgradeScripts.Script0045AddDefaultMachinePolicyToExistingTentacles.ApplyDefaultMachinePoliciesIfRequired(IDataRecord record, Func1 commandFactory, String tentacleMachinePolicyId) at Octopus.Core.UpgradeScripts.Script0045AddDefaultMachinePolicyToExistingTentacles.ProvideScript(Func1 commandFactory)
at DbUp.Engine.LazySqlScript.get_Contents()
at DbUp.Support.SqlServer.SqlScriptExecutor.Execute(SqlScript script, IDictionary`2 variables)
at DbUp.Engine.UpgradeEngine.PerformUpgrade()
2018-04-23 10:21:27.3766 3668 1 FATAL Failed to upgrade the database ‘Octopus’ on SQL Server at ‘xxxxxxx’ to the expected schema running as ‘xxx\IGinzburg’: The reason should be logged above.
All changes have been rolled back to the last known good state. If you know what the problem is and how to fix it, please fix the problem and then run the same command to try the upgrade again. Otherwise you should reinstall the version of Octopus Server you just upgraded from, and then contact our support team for help resolving this problem.

Please advise.

Hi Inna,

Thanks for getting in touch!

We currently have a known issue when upgrading to latest from a version earlier than 3.4. As a work around if you can upgrade from 3.3.x > 3.17.14 > Latest that will resolve the issue for you.

Apologies for the inconvenience that this has caused.

Regards,
Alex

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