Skip to content

Linux Tentacle configure script log files location prompt also sets the directory for config file and working files #1160

@harrisonmeister

Description

@harrisonmeister

Team

  • I've assigned a team label to this issue

What happened?

The Linux Tentacle's bundled configure-tentacle.sh script's prompt is misleading. When the script asks "Where would you like Tentacle to store log files?", it's not just setting the log location. That path becomes the location for:

  • Configuration file (tentacle.config)
  • Log files (Logs/)
  • Working directories (Work/)
  • Deployment journals

So if someone specifies /var/log, you get config files and working directories there too.

Reproduction

Specify the directory /var/log for the prompt "Where would you like Tentacle to store log files?", and observe the Logs, Work directories and tentacle.config file also get stored there.

Error and Stacktrace

More Information

The script should prompt multiple times for the individual items like:

  1. "Where would you like Tentacle to store the Tentacle configuration?" and set it using the--config parameter
  2. "Where would you like the home directory to be for logs and working and working files?" and set it using the --home parameter.

This gives customer full control over the directory layout. For example:

  • Configuration: /etc/octopus/tentacle.config
  • Logs/work: /var/lib/octopus/Logs/ and /var/lib/octopus/Work/
    This is more aligned with Linux filesystem conventions and addresses the confusion customer experienced.

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions