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
New error on Windows 10: "Can't write to database. Unable to open database file [14]" #73
Comments
Do you use the original sqlite or compact sqlite? For anyone who sees this, never use compact! |
I have been using compact sqlite in Windows for years and faced no issues. Any reason not to use compact? Because it is custom wrapped? |
@BjornFJohansson I'm using the original sqlite. Under 'About' it says I'm using version 3.6.15. |
@vashnt707 The original sqlite keeps each page as a text file in the file system. In case of corruption, these can always be used to recreate the DB. The compact sqlite file can be corrupted beyond salvation. |
@1984btgn then perhaps rebuild might help? I used to have RAM problems that led to frequent crashes and corruptions. I used to replace the "wikiovw.sli" file with one from an empty db and delete the wikiovw.sli-journal file. Then a rebuild and the wiki is as good as new. |
@BjornFJohansson Thank you so much for your help. After some more poking around with the issue this morning, I discovered the problem was in Windows Security > Virus & Threat Protection > Ransomware Protection. Windows had stuck the program in read-only mode and not notified me about it. Seems to be working now though. Thanks all! :) |
I use a few different wikis and this error is coming up for every one. Never happened before, up to a few weeks ago. The 'Reconnect' option under 'Maintenance' gives the same error. Occurs on versions 2.2, 2.3, and 2.4.
From the error log:
Anyone else having this issue or had any luck solving it?
The text was updated successfully, but these errors were encountered: