Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cOctopusServer - References to system drive - OctopusServer.config expected in $($env:SystemDrive)\Octopus\ #219

Open
LukeRaffertyDev opened this issue Sep 23, 2019 · 0 comments

Comments

@LukeRaffertyDev
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant