Dashlane / dashlane-cli

👩‍💻 Dashlane CLI - Access your secrets in your terminal, servers and CI/CD
https://cli.dashlane.com/
Apache License 2.0
189 stars 52 forks source link

SQLite error when Authenticating #275

Closed JonPurvis closed 3 months ago

JonPurvis commented 3 months ago

Describe the bug I'm running dcli sync, authenticating and then getting what looks like a SQLite error:

error: table device has 10 columns but 11 values were supplied

To Reproduce Steps to reproduce the behavior:

  1. Run dcli sync
  2. Enter email address
  3. Visit verification URL in Chrome (I'm using the latest version)
  4. Visit email for the 6 digit code
  5. Copy and paste into terminal
  6. Enter master password

Expected behavior I expected to be authenticated

Environment (please complete the following information):

Mikescops commented 3 months ago

Hello,

Same issue as in #101

Run: dcli logout this will clean your local storage, then run dcli sync and login again, it will recreate the storage with the correct table model.

Mikescops commented 3 months ago

If it doesn't work you can remove the folder containing the DB so it is recreated, on mac it is located in ~/Library/Application\ Support/dashlane-cli/

So rm -rf ~/Library/Application\ Support/dashlane-cli/

JonPurvis commented 3 months ago

Excellent thanks, logout and sync worked!