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

Missing merge of .env and .env.custom in installation #3558

Closed
1 task done
Mipronimo opened this issue Jan 31, 2025 · 1 comment · Fixed by #3564
Closed
1 task done

Missing merge of .env and .env.custom in installation #3558

Mipronimo opened this issue Jan 31, 2025 · 1 comment · Fixed by #3564

Comments

@Mipronimo
Copy link

Mipronimo commented Jan 31, 2025

Self-Hosted Version

25.1.0

CPU Architecture

x86_64

Docker Version

26.1.4

Docker Compose Version

2.27.1

Machine Specification

  • My system meets the minimum system requirements of Sentry

Steps to Reproduce

Create a file .env.custom with the minimum content and run the installation script

SENTRY_EVENT_RETENTION_DAYS=60

Expected Result

Sentry will be installed

Actual Result

▶ Turning things off ...
time="2025-01-31T10:17:35Z" level=warning msg="The \"HEALTHCHECK_INTERVAL\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"HEALTHCHECK_TIMEOUT\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"HEALTHCHECK_RETRIES\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SNUBA_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SNUBA_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"VROOM_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SNUBA_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SNUBA_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SNUBA_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SNUBA_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SNUBA_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SNUBA_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SYMBOLICATOR_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"SNUBA_IMAGE\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"HEALTHCHECK_INTERVAL\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"HEALTHCHECK_TIMEOUT\" variable is not set. Defaulting to a blank string."
time="2025-01-31T10:17:35Z" level=warning msg="The \"HEALTHCHECK_RETRIES\" variable is not set. Defaulting to a blank string."
error while interpolating services.redis.healthcheck.retries: failed to cast to expected type: strconv.Atoi: parsing "": invalid syntax
Error in install/turn-things-off.sh:8.
'$dc down -t $STOP_TIMEOUT --rmi local --remove-orphans' exited with status 15
-> ./install.sh:main:26
--> install/turn-things-off.sh:source:8

You updated the docs in getsentry/sentry-docs#11807 in order to use multiple .env-files.
You also updated the wrap-up in #3523.

But it is still missing to use both .env-files in the installation script: https://github.com/getsentry/self-hosted/blob/master/install/_lib.sh#L14
If this is missing, i am not able to update sentry without editing .env.custom

Event ID

No response

@aldy505
Copy link
Collaborator

aldy505 commented Feb 1, 2025

Good catch! Will try to fix this one.

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

Successfully merging a pull request may close this issue.

2 participants