Hello everyone,
We have been using old octopus version 3.17.13 since lat 5 years . Recently we tried to move the octopus server to new VM.
So, we followed below steps :
• Backup octopus database
• Restore database to new sql server (azure vm)
• Install octopus version 3.17.13 in the same server .
• But after adding the octopus server instance it is giving error once trying to start the service.
2020-02-09 08:44:05.4235 3696 7 INFO The Octopus server is starting: Initializing database and performing migrations…
2020-02-09 08:44:05.4235 3696 7 INFO Checking the Octopus Master Key has been configured.
2020-02-09 08:44:05.4391 3696 7 INFO Making sure it’s safe to upgrade the database schema…
2020-02-09 08:44:05.4391 3696 7 INFO Checking to see if database schema upgrade is required…
2020-02-09 08:44:05.4860 3696 7 INFO Database already has the expected schema. No changes are required.
2020-02-09 08:44:05.8922 3696 7 FATAL An exception was thrown while invoking the constructor 'Void .ctor(Octopus.Time.IClock, Nevermore.IRelationalStore, Octopus.Core.Model.Logging.ILogEncoder, Octopus.Shared.Util.IOctopusFileSystem, Octopus.Shared.Util.IMachineWideMutex, Octopus.Server.Orchestration.Logging.IServerLogService)’ on type ‘ServerLogStorage’. —> The device is not ready.
(See inner exception for details.)
The device is not ready.
Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor ‘Void .ctor(Octopus.Time.IClock, Nevermore.IRelationalStore, Octopus.Core.Model.Logging.ILogEncoder, Octopus.Shared.Util.IOctopusFileSystem, Octopus.Shared.Util.IMachineWideMutex, Octopus.Server.Orchestration.Logging.IServerLogService)’ on type ‘ServerLogStorage’. —> The device is not ready.
(See inner exception for details.) —> System.IO.IOException: The device is not ready.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at Octopus.Shared.Util.OctopusPhysicalFileSystem.EnsureDirectoryExists(String directoryPath)
Can you please help me on that .