Created
November 14, 2022 04:20
-
-
Save tobiasmuehl/fe85b093f8df7fc51225ee94f232c4df to your computer and use it in GitHub Desktop.
Reset event data of a self-hosted Sentry installation (but keeping DSNs, user config, etc). Edit the stock install.sh file to remove some lines, making it look more like this file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
# Pre-pre-flight? 🤷 | |
if [[ -n "$MSYSTEM" ]]; then | |
echo "Seems like you are using an MSYS2-based system (such as Git Bash) which is not supported. Please use WSL instead."; | |
exit 1 | |
fi | |
source "$(dirname $0)/install/_lib.sh" # does a `cd .../install/`, among other things | |
# Pre-flight. No impact yet. | |
source parse-cli.sh | |
source detect-platform.sh | |
source dc-detect-version.sh | |
source error-handling.sh | |
source check-latest-commit.sh | |
source check-minimum-requirements.sh | |
# Let's go! Start impacting things. | |
source turn-things-off.sh | |
source create-docker-volumes.sh | |
source ensure-files-from-examples.sh | |
source set-up-zookeeper.sh | |
source install-wal2json.sh | |
source bootstrap-snuba.sh | |
source create-kafka-topics.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment