mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #775] Cannot run migration with sqlite 3.11.0 on Ubuntu #534
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#534
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @timaschew on GitHub (Dec 20, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/775
I have sqlite3 version 3.11.0 (Ubuntu doesn't have any newer version) and all the migrations scrips where a column is renamed are not working (syntax error).
On StackOverflow I found this: https://stackoverflow.com/a/56260765/736518
So can I just rename the table and create a new one and copy the rows?
Do I need to recreate any indexes, viewers or triggers? If yes, how do I do this?
BTW: I've tried to install the Precompiled Binaries for Linux but could not execute them:
bash: ./sqlite3: No such file or directory@dani-garcia commented on GitHub (Dec 23, 2019):
We are using a bundled SQLite version that supports that functionality, are you trying to run the scripts by hand? Bitwarden_rs runs them automatically.
@timaschew commented on GitHub (Dec 23, 2019):
🤣 yes I've tried to run them manually.
Great then I will just upgrade the Dockerfile. Thanks!