diff --git a/install/check-memcached-backend.sh b/install/check-memcached-backend.sh index 72f580c456..25ef70dcbd 100644 --- a/install/check-memcached-backend.sh +++ b/install/check-memcached-backend.sh @@ -1,14 +1,15 @@ echo "${_group}Checking memcached backend ..." if grep -q "\.PyMemcacheCache" "$SENTRY_CONFIG_PY"; then - echo "found PyMemcacheCache in $SENTRY_CONFIG_PY, looks good" + echo "PyMemcacheCache found in $SENTRY_CONFIG_PY, gonna assume you're good." else if grep -q "\.MemcachedCache" "$SENTRY_CONFIG_PY"; then - echo "found MemcachedCache in $SENTRY_CONFIG_PY, switching to PyMemcacheCache" - sed -i '' -e 's/\.MemcachedCache/.PyMemcacheCache/' "$SENTRY_CONFIG_PY" - sed -i '' -e 's/^\( *\)"server_max_value_length.*$/\1"ignore_exc": True,/' "$SENTRY_CONFIG_PY" + echo "MemcachedCache found in $SENTRY_CONFIG_PY, you should switch to PyMemcacheCache." + echo "See:" + echo " https://develop.sentry.dev/self-hosted/releases/#breaking-changes" + exit 1 else - echo 'weird setup, good luck' + echo 'Your setup looks weird. Good luck.' fi fi