-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration job fails with Table posthog.infi_clickhouse_orm_migrations doesn't exist #502
Comments
👋 Hey @charlrvd, can you please share your |
Sure, here it is
|
Mh, I realized if I run the install on a brand new namespace, with no pre-existing PVC, then the install goes all right.
And after that I decided since I can't seem to get it to run on the old data because the migrations are messed up I'll just reuse an empty disk. I ended up deleting the helm release to "start fresh" and left the undelete PVC since I thought they'd be ok. And that's when I got the error in the original post. Because it actually works in a blank namespace I assume kafka or maybe redis data would be having something to do with migrations and causing my issues. |
Do you happen to have output from the helm command on when this happened, I would be interested to see why it didn't use the existing claim. I don't think there were any changes from 26.0.1 to 26.0.9 regarding PVCs 🤔 I'll try to set aside some time to reproduce the issue on Monday if that's ok? It's not the first time this has been an issue, and it's pretty a critical issue. |
Unfortunately I don't have the outputs anymore. Anytime is fine with me. That bug is more informative now. I screwed up by having waited too long to use real backups and I hadn't dig enough in the way the data is stored. So even with my clickhouse disk it seems like I am missing data that must have been in the kafka disks which I cleaned up recently. |
Had the same issue while I was deploying to docker swarm. Fixed it by using the right Specifically here -> https://github.com/PostHog/posthog/blob/master/docker/clickhouse/config.xml#L695 |
Can I get update on this issue ? can somebody tell me, by which Dockerfile this image is created https://hub.docker.com/r/posthog/posthog-foss ? As we are trying it to be self-hosted. |
Hello. Any idea how to fix this ? |
any update? |
Bug description
New installation of the chart fails on migrations. Therefore the deployment is not usable as the plugins, web, worker and events are not passing the init phase.
The SQL migrations run fine but soon after the following error happens
Expected behavior
The installation completes after the migrations all runs to completion
Actual behavior
Migration fails to run on new deployment.
How to reproduce
Deploying the helm chart with
tried both in
upgrade --install
and justinstall
but if fails with the same issues.Environment
kubectl version
): 1.22helm list -n posthog
): 26.0.1 to 26.2.0Additional context
The text was updated successfully, but these errors were encountered: