Skip to content

Commit

Permalink
fix: upgrade script assumes variable presence (#24749)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Sep 3, 2024
1 parent a1798bc commit c88da23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/upgrade-hobby
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ else
exit
fi

if [ "$REGISTRY_URL" == "" ]
then
export REGISTRY_URL="posthog/posthog"
fi

export POSTHOG_APP_TAG="${POSTHOG_APP_TAG:-latest}"

echo "Checking for named postgres and clickhouse volumes to avoid data loss when upgrading from < 1.39"
if docker volume ls | grep -Pzoq 'clickhouse-data\n(.|\n)*postgres-data\n'
then
Expand Down

0 comments on commit c88da23

Please sign in to comment.