-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Lost data after plausible migration (from v.1.5.1 to v.2.0.0) #3216
Comments
It'd be helpful if you could identify what exact data has been lost, i.e. what events are present in
That sounds a bit like missed partitions. Would you mind rerunning the data migration and posting the logs here? |
@ruslandoga, thank you a lot, during own instigation and getting outputs for you I found the issue. During
plausible-events-db container had 2GBs memory (ram usage) limitation (for pod), volume (persistent) used 4.7 GBs (attached to plausible-events-db), after I temporary scaled memory (ram usage) limit to 5Gbs - migration went well.
It will be great to add something like: |
Thank you for the suggestion! And I'm glad you resolved your issue :) |
Past Issues Searched
Issue is a Bug Report
Using official Plausible Cloud hosting or self-hosting?
Self-hosting
Describe the bug
Lost data (partially) after migration from v.1.5.2 to v.2.0.0.
Used instruction given in releases (2.0.0) page.
Hosting everything with Kubernetes, with official docker image: plausible/analytics:v2.0.0
My steps:
bin/plausible rpc Plausible.DataMigration.NumericIDs.run
command and started migration (drop v2 table, drop-domains-lookup, create v2 tables, create create-domains-lookup, start migration (starting from partition: 202302 ... 202308 .... end, no errors)).Used clickhouse-client cli to check db, noticed that new tables were created but not all events and sessions were copied:
Expected behavior
Expected to use plausible v2, but lost some data (on the new version) after migration from v.1.5.2 to v2.0.0.
Screenshots
Database structure:
Random website data:
Environment
The text was updated successfully, but these errors were encountered: