Skip to content

Instantly share code, notes, and snippets.

@tobiasmuehl
Created November 14, 2022 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobiasmuehl/fe85b093f8df7fc51225ee94f232c4df to your computer and use it in GitHub Desktop.
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
#!/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