Seems to be caused by a new disk space check but we store our configuration on a network drive and it doesn’t seem to like it.
Downgraded back to 2019.4.1 to now and seems to be happy but we cannot upgrade further until this issue is resolved. Thanks!
If you need any more logs just let me know
Here is the full exception on startup.
System.ArgumentException: Object must be a root directory ("C:\") or a drive letter ("C").
at System.IO.DriveInfo..ctor(String driveName)
at Octopus.Shared.Util.OctopusPhysicalFileSystem.EnsureDiskHasEnoughFreeSpace(String directoryPath, Int64 requiredSpaceInBytes)
at Octopus.Shared.Configuration.XmlFileKeyValueStore.OpenForWriting()
at Octopus.Shared.Configuration.XmlKeyValueStore.SaveSettings(IDictionary`2 settingsToSave)
at Octopus.Shared.Configuration.DictionaryKeyValueStore.Save()
at Octopus.Core.Initialization.BuiltIn.ConfigurationInitializer.Initialize(IRelationalStore store)
at Nevermore.StoreInitializer.Initialize()
at Octopus.Server.OctopusServerEngine.Start()
at Octopus.Server.Commands.RunCommand.Start()
at Octopus.Shared.Startup.AbstractCommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions)
at Octopus.Shared.Startup.WindowsServiceHost.<>c__DisplayClass1_0.<Run>b__0()
at Octopus.Shared.Startup.WindowsServiceAdapter.RunService()
2019-05-21 13:47:44.1290 5520 7 FATAL Unhandled AppDomain exception occurred: Object must be a root directory ("C:\") or a drive letter ("C").
System.ArgumentException
at System.IO.DriveInfo..ctor(String driveName)
at Octopus.Shared.Util.OctopusPhysicalFileSystem.EnsureDiskHasEnoughFreeSpace(String directoryPath, Int64 requiredSpaceInBytes)
at Octopus.Shared.Configuration.XmlFileKeyValueStore.OpenForWriting()
at Octopus.Shared.Configuration.XmlKeyValueStore.SaveSettings(IDictionary`2 settingsToSave)
at Octopus.Shared.Configuration.DictionaryKeyValueStore.Save()
at Octopus.Core.Initialization.BuiltIn.ConfigurationInitializer.Initialize(IRelationalStore store)
at Nevermore.StoreInitializer.Initialize()
at Octopus.Server.OctopusServerEngine.Start()
at Octopus.Server.Commands.RunCommand.Start()
at Octopus.Shared.Startup.AbstractCommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions)
at Octopus.Shared.Startup.WindowsServiceHost.<>c__DisplayClass1_0.<Run>b__0()
at Octopus.Shared.Startup.WindowsServiceAdapter.RunService()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
System.ArgumentException: Object must be a root directory ("C:\") or a drive letter ("C").
at System.IO.DriveInfo..ctor(String driveName)
at Octopus.Shared.Util.OctopusPhysicalFileSystem.EnsureDiskHasEnoughFreeSpace(String directoryPath, Int64 requiredSpaceInBytes)
at Octopus.Shared.Configuration.XmlFileKeyValueStore.OpenForWriting()
at Octopus.Shared.Configuration.XmlKeyValueStore.SaveSettings(IDictionary`2 settingsToSave)
at Octopus.Shared.Configuration.DictionaryKeyValueStore.Save()
at Octopus.Core.Initialization.BuiltIn.ConfigurationInitializer.Initialize(IRelationalStore store)
at Nevermore.StoreInitializer.Initialize()
at Octopus.Server.OctopusServerEngine.Start()
at Octopus.Server.Commands.RunCommand.Start()
at Octopus.Shared.Startup.AbstractCommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions)
at Octopus.Shared.Startup.WindowsServiceHost.<>c__DisplayClass1_0.<Run>b__0()
at Octopus.Shared.Startup.WindowsServiceAdapter.RunService()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()