#Somebody got a working PostHog Template?

28 messages · Page 1 of 1 (latest)

iron glacier
ancient marshBOT
#

Project ID: N/A

hoary steepleBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

iron glacier
#

N/A

cosmic lintel
#

can you be more specific when you say "not deploying"?

iron glacier
#

The Postgres server is starting but nothing is happening with the PostHog repo.
The PostHog Service seems to be connected with my GitHub repo and I can configure it, but there is no deployment for PostHog that is starting or triggered at all. The deployments section just stays empty and there is no history of anything happening.

I'm not sure if there were some changes in this https://github.com/PostHog/posthog repo that made might have broken the template.

GitHub

🦔 PostHog provides open-source product analytics, session recording, feature flagging and a/b testing that you can self-host. - GitHub - PostHog/posthog: 🦔 PostHog provides open-source product ana...

iron glacier
#

Just tried it out again ...

cosmic lintel
#

did the repo get forked into your own github account?

iron glacier
#

@cosmic lintel yes, the repo gets forked into my github account.

cosmic lintel
#

#🛂|readme #5

#

go ahead and remove the repo from your service and add it back

iron glacier
#

sorry for the mention

#

ok, thank will try that

iron glacier
#

Ok, thank you, it is deploying now, but the template seems to be missing some crucial services like Redis and Clickhouse - so there is no way that the PostHog template could work for anybody on Railway.

I've added those services but I seem to be stuck because of some migration step. Probably some misconfiguration on my side. I'm not sure if I'll have the time to figure this out, but I'll share it if I do.

cosmic lintel
#

i agree the template does seem to be lacking the needed surrounding infra

old mural
iron glacier
#

hey beuz, sorry wasn

#

t able to get time to work on this

old mural
#

thanks anyway

hallow sinew
crystal frost
#

Template is not deploying for me either, would love to see this working!

jagged wadi
#

Everything template would require and things PostHog is running on 😬

https://posthog.com/handbook/engineering/developing-locally

The app itself is made up of 4 components that run simultaneously:

Django server
Celery worker (handles execution of background tasks)
Node.js plugin server (handles event ingestion and apps/plugins)
React frontend built with Node.js
These components rely on a few external services:

ClickHouse – for storing big data (events, persons – analytics queries)
Kafka – for queuing events for ingestion
MinIO – for storing files (session recordings, file exports)
PostgreSQL – for storing ordinary data (users, projects, saved insights)
Redis – for caching and inter-service communication
Zookeeper – for coordinating Kafka and ClickHouse clusters

old mural
#

I managed to deploy all of those once but I somehow messed up zookeeper, kafka and clickhouse integration or something like that
it was really hard for me to even get there tho as a docker newbie

#

then I realized what the cost of hosting this would be and gave up xD

jagged wadi
#

For small apps free is plenty and if you have paid users paying for it won’t be an issue