Skip to content

Install script fails on wsl #301

@meichthys

Description

@meichthys

Describe the bug
When running the install script using wsl ubuntu it fials with:
./fm-install-20251002_164137.sh: line 31: info_red: command not found

To Reproduce
Steps to reproduce the behavior:

  1. wsl --install
  2. wsl --user root
  3. bash <(curl -s https://raw.githubusercontent.com/rtCamp/Frappe-Manager/main/scripts/install.sh) --username frappe

Expected behavior
Script should complete without error

System information (please complete the following information):
WSL version: 2.1.5.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.26100.6584

Additional context
I can usually work around the issue by running su frappe then re-run the script as the frappe user: bash <(curl -s https://raw.githubusercontent.com/rtCamp/Frappe-Manager/main/scripts/install.sh)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions