Octopus Deploy Documentation


Last updated

Set the file paths that Octopus will use for storage

path options

Usage: octopus.server path [<options>]

Where [<options>] is any of:

      --instance=VALUE       Name of the instance to use
                             Skips the database compatibility check
                             Skips the database schema upgrade checks. Use
                               with caution
      --cacheDirectory=VALUE Directory to use for temporary files and cachin-
                               g, e.g. downloaded packages. The data in this
                               directory can be removed when the Octopus Server
                               is not running. This directory should not be
                               shared between nodes.
      --clusterShared=VALUE  Set the root path where shared files will be
                               stored for Octopus clusters
                             Set the package path for the built-in package
      --artifacts=VALUE      Set the path where artifacts are stored
      --taskLogs=VALUE       Set the path where task logs are stored
      --telemetry=VALUE      Set the path where telemetry is stored

Or one of the common options:

      --help                 Show detailed help for this command

Basic examples

This example configures all paths (artifacts, task logs, packages, and telemetry) to a network share:

octopus.server path --clusterShared \\OctoShared\OctopusData

octopus.server path --artifacts Artifacts
octopus.server path --taskLogs TaskLogs
octopus.server path --nugetRepository Packages
octopus.server path --telemetry Telemetry

This example configures the paths for the different components individually:

octopus.server path --artifacts \\Octoshared\OctopusData\Artifacts
octopus.server path --taskLogs \\Octoshared\OctopusData\TaskLogs
octopus.server path --nugetRepository \\Octoshared\OctopusData\Packages
octopus.server path --telemetry \\Octoshared\OctopusData\Telemetry

Need support? We're here to help.