"error code 502" when loading from dump with `turso db shell somedb < dump.sql`
kwerdna19 opened this issue · 10 comments
Hello,
I have a relatively large dump file (about 240MB) and am having trouble executing it on my turso instance with the command turso db shell somedb < dump.sql
as (mentioned in the docs here)
The command connects for a second, and then outputs the entire dump file and at the bottom has what looks like a cut-off error message:
...
CREATE UNIQUE INDEX "List_name_key" ON "List"("name");
COMMIT;
error code 502:
andrew@Macbook Desktop %
Not sure Im running up against some limitations here but maybe seeing the full error message would help?
Rather not post the dump here but let me know and I can try to make a generic repro.
Thanks!
Hi @kwerdna19 Would you be willing to share the dump privately? Any reproducer would do really. Thanks
Have the same issue, any solutions as of yet?
same issue here
I believe this is related to #735. While I'm fixing the other issue this one might get fixed as well. Will let you know once a new version of CLI with a fix is released.
In the meantime, @nachaos @taine-145 would you be willing to share the sql files that cause the issue for you? I can be here or privately to piotr@turso.tech
Sure will pop you a mail
Thanks @taine-145
turso cli v0.96.3 version has the improvements in that front