Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env.sh gets stuck when checking openssl #759

Open
TL-Silvio opened this issue Jan 15, 2025 · 1 comment
Open

env.sh gets stuck when checking openssl #759

TL-Silvio opened this issue Jan 15, 2025 · 1 comment

Comments

@TL-Silvio
Copy link

Describe the bug
env.sh script gets stuck when checking for openssl in line 66

To Reproduce
Just run env.sh as described in https://docs.tracecat.com/self-hosting/deployment-options/docker-compose

E.g. Steps to reproduce the behavior:

  1. Run env.sh

Expected behavior
Environment file is created

Environment (please complete the following information):

  • OS: MacOS 15.2 (24C101)
    • Darwin xxx 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:03:40 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6041 arm64
  • CPU architecture
    • arm64 (Apple m4 pro)
  • Browser version
    • Not relevant here
  • Docker version
    • Not relevant here
  • Docker compose version
    • Not relevant here
  • Are you using Docker desktop?
    • Not relevant here

Additional context
Quick fix
Change line 66 to

if ! openssl --help &> /dev/null
@topher-lo
Copy link
Contributor

topher-lo commented Jan 15, 2025

Thanks for opening this up! Looks like an easy fix and a nice catch 🙏.

Would you be interested in opening up a PR as a Tracecat contributor? Otherwise happy to put this in sometime today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants