Skip to content

Add missing lib script to sentry-admin.sh #3693

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

djakielski
Copy link

@djakielski djakielski commented May 6, 2025

Sentry Admin Script always fail because of missing import of lib script.

Fixes #3700.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Copy link
Member

@BYK BYK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heya, thanks for the PR! That said I don't think _lib.sh is needed in this script. I haven't seen anything referring to that and we actually test the backup and restore functionality using this script.

Can you share what kind of an error you are encountering for us to understand this better?

@djakielski
Copy link
Author

Hey @BYK i got Issues that function vergte is unknow when ever I execute sentry-admin.sh no matter which parameter i add. After debugging I found that install/dc-detect-version.sh need this function. After fixing this locally, the script runs normaly.

@BYK
Copy link
Member

BYK commented May 7, 2025

Ah, right sorry! Yeah, since that vergte call is in a conditional I guess we never hit it in CI. Thanks so much for the patch and explanation again!

@BYK BYK enabled auto-merge (squash) May 7, 2025 10:13
@BYK BYK disabled auto-merge May 7, 2025 10:13
@BYK BYK enabled auto-merge (squash) May 7, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

sentry-admin.sh fails to detect latest docker compose version
2 participants