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

project_cache: failed to start buffer service - (code: 14) unable to open database file #3475

Closed
williamdes opened this issue Apr 23, 2024 · 4 comments

Comments

@williamdes
Copy link

Similar to #2617

relay-1  | 2024-04-23T13:41:25.633220Z ERROR relay_server::services::project_cache: failed to start buffer service error=failed to setup the database: error returned from database: (code: 14) unable to open database file

I am unable to find where it is in the code. If I remove path: /var/lib/sentry-envelopes/files it goes away
This is a Docker volume and I even created a folder with 777 permissions in it.

@iker-barriocanal
Copy link
Member

Hi @williamdes, thanks for reporting! Could you share a minimum repro case to ease the debugging? The log is happening here.

@jjbayer
Copy link
Member

jjbayer commented May 6, 2024

@williamdes feel free to reopen with a config to reproduce if you still encounter this issue.

@jjbayer jjbayer closed this as completed May 6, 2024
@williamdes
Copy link
Author

You need to use this config and un-comment the line: getsentry/self-hosted#2876 (comment)

@jjbayer
Copy link
Member

jjbayer commented May 13, 2024

The error comes from the SQLite driver so it might still be a permission problem. Does this help you in any way?

The SQLITE_CANTOPEN result code indicates that SQLite was unable to open a file. The file in question might be a primary database file or one of several temporary disk files.

https://www.sqlite.org/rescode.html#cantopen

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

No branches or pull requests

3 participants