Hi All,
We are attempting to use the cOctopusServer DSC module to upgrade existing instances of Octopus Server. Our existing installation is to the E: drive (not to the main system drive).
I am able to pass E: drive paths for some settings, however there seems to be some hard-coded references to $($env:SystemDrive)\Octopus\ that cause failure.
I am passing E:\Octopus\... for artifactsdirectory, homedirectory, packagesdirectory, tasklogsdirectory, however still get the error message below.
PowerShell DSC resource cOctopusServer failed to execute Test-TargetResource functionality with error message: Config path 'C:\Octopus\OctopusServer.config' does not exist.
I believe the following is the main issue:
|
$configPath = "$($env:SystemDrive)\Octopus\OctopusServer.config" |
As a workaround, I have attempted to manually copy the OctopusServer.config from E:\Octopus to C:\Octopus, however I still encounter failures, so I assume there might be more to this.
Thanks