cortopy
cortopy2w ago

I thought self hosted didn’t have

I thought self hosted didn’t have limitations 😯
6 Replies
nipunn
nipunn2w ago
bad error message. Shared code from cloud product. You can fiddle with all the limits by looking in knobs.rs and setting environment variables.
StressarN
StressarN2w ago
Could i get a quick input from you on how to migrate from cloud to self-hosted? Or is this not possible?
Hit an error while importing:
cannot parse transactions/generated_schema.jsonl
Hit an error while importing:
cannot parse transactions/generated_schema.jsonl
As i keep getting these.
nipunn
nipunn2w ago
It should be possible to migrate with export / import
StressarN
StressarN2w ago
Hmm, weird. I only get parsing errors for the generated_schema.jsonl's. Created a script to remove all of the generated_schema.jsonl files, and placing them in a new zip, lets see
nipunn
nipunn2w ago
are you able to get any more information from the logs? What isn't parsing?
StressarN
StressarN2w ago
Solved it with a clean up script! Removed all generated_schemas. Everything works as it should!
mkdir -p snapshot_clean && unzip -q snapshot_here-123 -d snapshot_clean && find snapshot_clean -name 'generated_schema.jsonl' -delete && rm -rf snapshot_clean/_components/userSyncWorkpool && zip -qr snapshot_clean.zip snapshot_clean && printf '[]' > empty.json && for t in internalState pendingStart work runStatus pendingCompletion pendingCancelation globals; do npx convex import empty.json --component userSyncWorkpool --table $t --replace -y; done && npx convex import snapshot_clean.zip --replace -y && rm -rf snapshot_clean snapshot_clean.zip
mkdir -p snapshot_clean && unzip -q snapshot_here-123 -d snapshot_clean && find snapshot_clean -name 'generated_schema.jsonl' -delete && rm -rf snapshot_clean/_components/userSyncWorkpool && zip -qr snapshot_clean.zip snapshot_clean && printf '[]' > empty.json && for t in internalState pendingStart work runStatus pendingCompletion pendingCancelation globals; do npx convex import empty.json --component userSyncWorkpool --table $t --replace -y; done && npx convex import snapshot_clean.zip --replace -y && rm -rf snapshot_clean snapshot_clean.zip
This worked for us

Did you find this page helpful?