Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot connect to db if directory "certguard" does not exist #116

Closed
pimg opened this issue Sep 14, 2024 · 0 comments
Closed

cannot connect to db if directory "certguard" does not exist #116

pimg opened this issue Sep 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pimg
Copy link
Owner

pimg commented Sep 14, 2024

if the directory "certguard" does not exists in the .cache directory in the home dir. The application throws an error on startup:

Error: error performing migrations
failed to connect to database
error code = 1: Unable to connect: Failed to connect to database: `file:/home/<redacted>/.cache/certguard/certguard.db?_journal_mode=WAL&busy_timeout=5000_foreign_keys=on`
Usage:
  certguard [flags]

Examples:
certguard

Flags:
      --debug     enables debug logging to a file located in ~/.local/certguard/debug.log
  -h, --help      help for certguard
  -v, --version   version for certguard
@pimg pimg added the bug Something isn't working label Sep 14, 2024
pimg added a commit that referenced this issue Sep 25, 2024
@pimg pimg closed this as completed Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant