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
Uncaught Error: EBUSY: resource busy or locked, unlink offline.sqlite #5063
Labels
bug
broken functionality, usability problems, unexpected errors
desktop
Desktop client related issues
state:done
meets our definition of done
topic:offline
issues with the offline database of the native clients
Milestone
Comments
ganthern
added
bug
broken functionality, usability problems, unexpected errors
desktop
Desktop client related issues
topic:offline
issues with the offline database of the native clients
labels
Jan 30, 2023
Still happens a lot, I expect that it has something to do with
|
User comment that might be helpful to reproduce the case: "Error occurred when changing the password within Desktop client from" |
This was referenced Feb 12, 2024
We should try reproducing the scenario with both user & global versions running at the same time.
|
charlag
added a commit
that referenced
this issue
Feb 13, 2024
Previously when the database initialization failed (e.g. due to mismatching key) we would not close it but would try to simply delete it. Windows was disallowing it due to the file lock and the app would get stuck with a database that is not opened nor can be deleted. Now we make sure to close the database if initialization fails. Additionally, we proceed with closing the database if vacuuming fails during the normal database closing so it doesn't prevent us from closing the database. This is not needed to fix the issue at hand but hopefully improves the reliability fix #5063
mpfau
pushed a commit
that referenced
this issue
Feb 13, 2024
Previously when the database initialization failed (e.g. due to mismatching key) we would not close it but would try to simply delete it. Windows was disallowing it due to the file lock and the app would get stuck with a database that is not opened nor can be deleted. Now we make sure to close the database if initialization fails. Additionally, we proceed with closing the database if vacuuming fails during the normal database closing so it doesn't prevent us from closing the database. This is not needed to fix the issue at hand but hopefully improves the reliability fix #5063
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
broken functionality, usability problems, unexpected errors
desktop
Desktop client related issues
state:done
meets our definition of done
topic:offline
issues with the offline database of the native clients
Started in 3.108.10:No, has been a thing for longer, but is probably amplified by our more aggressive odb deletion policy.Workaround
Delete saved credentials & log back in.
The text was updated successfully, but these errors were encountered: