I'm trying to set up the hobby hosting version of Posthog on a VM.I'm using this, its provided on the read me in their repo.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"The following docker containers continue to restart every few seconds.
- Clickhouse
- Web
- Plugins
- Worker
I've checked the docker logs for each and I think I've come to the conclusion that this is happening due to click house failing to install some dependencies.
These are the logs in the click house container.
/entrypoint.sh: running /docker-entrypoint-initdb.d/init-db.shHit:1 http://security.ubuntu.com/ubuntu focal-security InReleaseHit:2 http://archive.ubuntu.com/ubuntu focal InReleaseHit:3 http://archive.ubuntu.com/ubuntu focal-updates InReleaseHit:4 http://archive.ubuntu.com/ubuntu focal-backports InReleaseReading 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 installableE: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).Processing configuration file '/etc/clickhouse-server/config.xml'.Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.Logging error to /var/log/clickhouse-server/clickhouse-server.logLogging errors to /var/log/clickhouse-server/clickhouse-server.err.logVM Details.
Description: Ubuntu 20.04.6 LTSRelease: 20.04Codename: focal