Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(hobby): stop deploy-hobby early on non-ubuntu systems (#114017)

Paul D'Ambrab6f35443151c
diff --git a/bin/deploy-hobby b/bin/deploy-hobby
index 374b16d66142..7dab5ccd7d53 100755
--- a/bin/deploy-hobby
+++ b/bin/deploy-hobby
@@ -18,6 +18,12 @@ echo "Power user or aspiring power user?"
echo "Check out our docs on deploying PostHog! https://posthog.com/docs/self-host/deploy/hobby"
echo ""
+if ! grep -Eq '^ID=(ubuntu|"ubuntu")$' /etc/os-release 2>/dev/null; then
+ echo "This installer only supports Ubuntu. It uses apt to install its dependencies."
+ echo "Install Ubuntu, or follow the docs above to set up PostHog by hand."
+ exit 1
+fi
+
if [ -n "$1" ]
then
export POSTHOG_APP_TAG=$1