-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Error: SqliteError: file is not a database #5474
Comments
You linked to my issue and it's the exact same problem. I used signaltop to check if the messages were exportable and whether the db wasn't corrupted, and it exported the messages. You might want to try that too in order to validate it, but this is a signal bug. |
@ddshore I ended up just deleting the database and starting fresh, but I'll def keep that in mind for the future! It would be great to have a workaround for when this happens again... |
I had the same problem: Mine was caused by not quitting Signal properly (Settings => minimize to taskbar (Signal in background) => shutdown PC). The next day this error occures and only was solvable with deleting DB and start from scratch. |
That sounds like a totally reasonable way to shut down signal imho! |
I'm sorry this happened to all of you! We have merged a change in the latest builds which may help prevent this in the future. Going forward, please provide debug logs so we have more information to try to track down what went wrong. I'm going to close this as a duplicate of the bugs you yourself linked to. |
How do we find debug logs? |
|
I can't test it atm but I don't think that's possible if the application refuses to start with only a modal dialog. |
You can get it directly from disk at |
@scottnonnenberg-signal Could you say what that change is? Thanks. |
Is there a way to recover my history? I still have about 20 days to go before my devices becomes unlinked.
The problem is that signal won't open (so I can't see the logs) and the log folders are empty. Is there a way to force the logs to generate? |
I did try it, but as I mentioned above, those log folders are empty. total 8.0K Meanwhile, Is there anyway that I can reestablish my signal if my database is still readable while my devices are still linked? |
You may be able to take your config directory ( |
#3869
#3625
#5467
#4513
Bug Description
I just opened to re-opened Signal today -- possibly after a Signal upgrade, I don't recall -- and came across this nasty error message: "Error: SqliteError: file is not a database".
Steps to Reproduce
Actual Result:
On a separate note, it's also worth noting that the "Copy error and quit" button does not work: it quits but does not copy the error to the clipboard. I think a much more robust solution here would be to make the error message text selectable, enabling the user to copy to the clipboard manually if they need to.
Expected Result:
Signal to open without issue.
Screenshots
Platform Info
Signal Version: 5.14.0
Operating System: Ubuntu 20.04.2 LTS, with
signal-desktop
installed via Nix.Linked Device Version: n/a
Link to Debug Log
n/a
The text was updated successfully, but these errors were encountered: