When attempting to run the hobby deployment script after 10 minutes the deployment does not update.
Checking the docker containers with ps I see four containers continuously restarting.
clickhouse
plugins
web
worker
I believe I've deduced the issue to the click house not starting due to a dependency issue.
How to reproduce
Run hobby deployment script from docs
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"
Wait for the 5-10 minutes
Check docker logs for click house
Additional context
I have run the upgrade script a few times over the last few days after viewing some other similar click house issues being resolved.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/upgrade-hobby)"
I am running this on a GCP VM. The image was built with the following.
Canonical, Ubuntu, 20.04 LTS, amd64 focal image built on 2024-08-30
I've pasted the error logs from the click house container below.
Debug info
/entrypoint.sh: running /docker-entrypoint-initdb.d/init-db.sh
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python3.9 is already the newest version (3.9.5-3ubuntu0~20.04.1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.32) but 2.35-0ubuntu3 is to be installed
libc6 : Breaks: locales (< 2.35) but 2.31-0ubuntu9.14 is to be installed
Recommends: libnss-nis but it is not installable
Recommends: libnss-nisplus but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Bug Description
When attempting to run the hobby deployment script after 10 minutes the deployment does not update. Checking the docker containers with ps I see four containers continuously restarting.
I believe I've deduced the issue to the click house not starting due to a dependency issue.
How to reproduce
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"
Additional context
I have run the upgrade script a few times over the last few days after viewing some other similar click house issues being resolved.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/upgrade-hobby)"
I am running this on a GCP VM. The image was built with the following.
I've pasted the error logs from the click house container below.
Debug info