Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

turso dev breaks for newer sqld versions #767

Open
avinassh opened this issue Oct 12, 2023 · 0 comments
Open

turso dev breaks for newer sqld versions #767

avinassh opened this issue Oct 12, 2023 · 0 comments

Comments

@avinassh
Copy link
Member

To reproduce:

turso dev -p 4001 -f ./root

Above command starts the sqld as expected. But when you stop and start again, it breaks with following error:

turso dev -p 4001 -f ./root

2023-10-12T15:43:18.487661Z  INFO sqld: listening for incoming user HTTP connection on 0.0.0.0:4001
2023-10-12T15:43:18.487954Z  INFO sqld::migration: version < 0.18.0 detected, performing migration
Error: File exists (os error 17)

When I downgraded the sqld version to 0.17.0 it works. I am guessing this is the broken method https://github.com/libsql/sqld/blob/6eafdcc5/sqld/src/migration.rs#L35-L34

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant