Somebody got a working PostHog Template?

The current template in the marketplace is not deploying: https://railway.app/template/16rDub
22 Replies
Percy
Percy11mo ago
Project ID: N/A
simulieren
simulieren11mo ago
N/A
Brody
Brody11mo ago
can you be more specific when you say "not deploying"?
simulieren
simulieren11mo ago
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
GitHub - PostHog/posthog: 🦔 PostHog provides open-source product an...
🦔 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...
simulieren
simulieren11mo ago
Just tried it out again ...
No description
Brody
Brody11mo ago
did the repo get forked into your own github account?
simulieren
simulieren11mo ago
@Brody yes, the repo gets forked into my github account.
Brody
Brody11mo ago
#🛂|readme #5 go ahead and remove the repo from your service and add it back
simulieren
simulieren11mo ago
sorry for the mention ok, thank will try that
simulieren
simulieren11mo ago
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.
No description
Brody
Brody11mo ago
i agree the template does seem to be lacking the needed surrounding infra
beuz
beuz11mo ago
hey OP, did you mange to make it work? I'm struggling with it myself
simulieren
simulieren11mo ago
hey beuz, sorry wasn t able to get time to work on this
beuz
beuz11mo ago
thanks anyway
Ozgur
Ozgur9mo ago
Same issue.. @Brody
Ozgur
Ozgur9mo ago
No description
MantisInABox
MantisInABox9mo ago
#🛂|readme rule 5. Please don't tag the team or conductors. I'll give the template a look today and see if I can get the creator to fix it, or I'll build up a new one
Nam
Nam9mo ago
Template is not deploying for me either, would love to see this working!
pandas
pandas9mo ago
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
beuz
beuz9mo ago
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
pandas
pandas9mo ago
Yeah even hosting for log and error tracing just not worth it compared to integrating free plan For small apps free is plenty and if you have paid users paying for it won’t be an issue
beuz
beuz9mo ago
exactly!