makeplane / makeplane/plane

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

Open
#4,597 0 comments 0 reactions 2 assignees View on GitHub

@srinivaspendem is already working on this.

Since May 26, 2024.

🐛bug
Dominant language
TypeScript
Stars
59.6k
Forks
5.8k
Avg merge
1d 22h
Merged PRs (30d)
49

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.