File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ source install/check-minimum-requirements.sh
2323source install/turn-things-off.sh
2424source install/create-docker-volumes.sh
2525source install/ensure-files-from-examples.sh
26+ source install/check-memcached-backend.sh
2627source install/ensure-relay-credentials.sh
2728source install/generate-secret-key.sh
2829source install/update-docker-images.sh
Original file line number Diff line number Diff line change 1+ echo " ${_group} Checking memcached backend ..."
2+
3+ if grep -q " \.PyMemcacheCache" " $SENTRY_CONFIG_PY " ; then
4+ echo " PyMemcacheCache found in $SENTRY_CONFIG_PY , gonna assume you're good."
5+ else
6+ if grep -q " \.MemcachedCache" " $SENTRY_CONFIG_PY " ; then
7+ echo " MemcachedCache found in $SENTRY_CONFIG_PY , you should switch to PyMemcacheCache."
8+ echo " See:"
9+ echo " https://develop.sentry.dev/self-hosted/releases/#breaking-changes"
10+ exit 1
11+ else
12+ echo ' Your setup looks weird. Good luck.'
13+ fi
14+ fi
15+
16+ echo " ${_endgroup} "
You can’t perform that action at this time.
0 commit comments