Skip to content

[bug]: Install script won't work on NixOS because of absolute path /bin/bash #4597

Closed

Description

@Adhalianna

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I run script.sh as per instructions for self-hosting the script fails on NixOS as it cannot find bash at /bin/bash. Packages at NixOS are kept in so-called nix store and made available to the remaining parts of the system through properly set env vars and symbolic links so this simply won't work. The fix for NixOS is very easy, I just replaced /bin/bash with bash. I don't know however the purpose of such reference to bash so I will stop myself from submitting a PR just yet.

Steps to reproduce

  1. Go to docs.plane.so/self-hosting/methods/docker-compose
  2. Use NixOS as OS
  3. Follow instructions

Environment

Production

Browser

None

Variant

Self-hosted

Version

v0.20-dev

Activity

  1. added
    🐛bug
    on May 26, 2024
  2. changed the title [-]Install script won't work on NixOS because of absolute path /bin/bash[/-] [+][bug]: Install script won't work on NixOS because of absolute path /bin/bash[/+] on May 26, 2024
  3. added a commit that references this issue on Oct 16, 2026
    4e0e403
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

🐛bug

Type

Fields

Edition

None yet

Version

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions