You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to setup PostHog locally on my Mac Machine (x86 intel chip i7). I previously tried using colima as an alternative to docker, but eventually it was not working. So I changed to podman.
Now when using podman, while spinning up clickhouse, I am getting the following errors in the docker logs:
clickhouse-1 | Processing configuration file '/etc/clickhouse-server/config.xml'.
clickhouse-1 | Merging configuration file '/etc/clickhouse-server/config.d/default.xml'.
clickhouse-1 | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
clickhouse-1 | Logging trace to /var/log/clickhouse-server/clickhouse-server.log
clickhouse-1 | Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log
clickhouse-1 |
clickhouse-1 | /entrypoint.sh: running /docker-entrypoint-initdb.d/init-db.sh
clickhouse-1 | Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
clickhouse-1 | Temporary failure resolving 'archive.ubuntu.com'
clickhouse-1 | Err:2 http://security.ubuntu.com/ubuntu focal-security InRelease
clickhouse-1 | Temporary failure resolving 'security.ubuntu.com'
clickhouse-1 | Err:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
clickhouse-1 | Temporary failure resolving 'archive.ubuntu.com'
clickhouse-1 | Err:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
clickhouse-1 | Temporary failure resolving 'archive.ubuntu.com'
clickhouse-1 | Reading package lists...
clickhouse-1 | W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Temporary failure resolving 'archive.ubuntu.com'
clickhouse-1 | W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
clickhouse-1 | W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
clickhouse-1 | W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease Temporary failure resolving 'security.ubuntu.com'
clickhouse-1 | W: Some index files failed to download. They have been ignored, or old ones used instead.
clickhouse-1 | Reading package lists...
clickhouse-1 | Building dependency tree...
clickhouse-1 | Reading state information...
clickhouse-1 | E: Unable to locate package python3.9
clickhouse-1 | E: Couldn't find any package by glob 'python3.9'clickhouse-1 | E: Couldn't find any package by regex 'python3.9'
clickhouse-1 | ClickHouse Database directory appears to contain a database; Skipping initialization
clickhouse-1 | Processing configuration file '/etc/clickhouse-server/config.xml'.
clickhouse-1 | Merging configuration file '/etc/clickhouse-server/config.d/default.xml'.
clickhouse-1 | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
clickhouse-1 | Logging trace to /var/log/clickhouse-server/clickhouse-server.log
clickhouse-1 | Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log
clickhouse-1 | ClickHouse Database directory appears to contain a database; Skipping initialization
clickhouse-1 | Processing configuration file '/etc/clickhouse-server/config.xml'.
clickhouse-1 | Merging configuration file '/etc/clickhouse-server/config.d/default.xml'.
clickhouse-1 | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
clickhouse-1 | Logging trace to /var/log/clickhouse-server/clickhouse-server.log
clickhouse-1 | Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log
I did go through the documentation, and there I was being told to explicitly set the containers.conf file to include the following lines:
base_hosts_file="none"
Now, I do not have root access to my machine. So, as an alternative I tried to create a custom containers.conf file at a location, and passed the location of the file as an environment variable is **CONTAINERS_CONF ** when doing podman init
I also changed the file present within podman by doing ssh into it, and still I am seeing that I am not able to figure out how to start clickhouse.
I have been searching for articles for the past couple of days, but I am somehow not able to make podman work for running PostHog.
Kindly help regarding this issue.
Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
The text was updated successfully, but these errors were encountered:
Bug Description
I am trying to setup
PostHog
locally on my Mac Machine (x86 intel chip i7). I previously tried usingcolima
as an alternative to docker, but eventually it was not working. So I changed topodman
.Now when using
podman
, while spinning upclickhouse
, I am getting the following errors in the docker logs:I did go through the documentation, and there I was being told to explicitly set the
containers.conf
file to include the following lines:Now, I do not have root access to my machine. So, as an alternative I tried to create a custom
containers.conf
file at a location, and passed the location of the file as an environment variable is **CONTAINERS_CONF ** when doingpodman init
I also changed the file present within podman by doing
ssh
into it, and still I am seeing that I am not able to figure out how to start clickhouse.I have been searching for articles for the past couple of days, but I am somehow not able to make
podman
work for running PostHog.Kindly help regarding this issue.
Debug info
The text was updated successfully, but these errors were encountered: