We are in a situation where we have currently lost our VM which hosted Octopus Manager application but we have the Octopus Database available and we want to re-use same Database by installing Octopus Manager application but it is expecting Master key which currently we do not seem to find.
However I was able to get files from mounted VHD from lost VM hence when tried octopus.server.exe show-master-key command it failed with below-
F:\Program Files\Octopus Deploy\Octopus>octopus.server.exe show-master-key
Octopus Deploy: Server version 3.1.6 (3.1.6+Branch.master.Sha.331b6019ef669b9186
a7a8ce375dd9c1ea8c14fd)
Error: The default instance of OctopusServer has not been created. Either pass -
-instance INSTANCENAME when invoking this command, or run the setup wizard.
Full error details are available in the log files.
Can you recommend any recovery options if Master Key is not available but previous instance files available?