-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
Unable to Open Database #488
Comments
Move to the metadata directory (~/.offlineimap by default) and try to open the database manually:
|
Github-ref: OfflineIMAP#488 Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
I've written a patch to get the faulting UID on errors for insert. You might like to try the above version to know which UID fails. |
Thank you @nicolas33! Running the above sqlite command gives a very long list of UID's, about 2400: Hmm, what should I do to try to fix it? Should I just start from scratch with a new sql file? I don't quite see how to build offlineimap from source (sorry to be slow) so I haven't tried the new branch you suggested. Really appreciate your help here very much! |
Yes, please try the patched version. It's possible to install offlineimap as a user: remove the currently installed offlineimap and download the zip from here. Then, run Since you can list the lines, it looks like the database file is not corrupted. I'm still trying to figure out what's going on. Did you try to reboot the system? |
I wonder this is all about write permissions. What are the unix rights on this file? |
you were right! The folder looked like this:
I deleted inbox-journal and then offlineimap was able to run again. Not sure what inbox-journal is -- and in fact it has reappeared in a strange way:
but running |
1 similar comment
you were right! The folder looked like this:
I deleted inbox-journal and then offlineimap was able to run again. Not sure what inbox-journal is -- and in fact it has reappeared in a strange way:
but running |
Thanks for your feedback! |
(just an update for completeness -- this seems to have arisen because of
an instantenous crash due to a hardware (battery) failure. The index
file, as well as about 6 message files that offlineimap was perhaps
fetching at the time, were damaged, and the FS could not find inodes for
the files. This led to several kinds of error in offlineimap and in
`mu`, which I use to index mhy ail. I couldn't delete the ifles but I
was able to movethem out of the way buy renaming the parent directory
and then moving all the appropriate files back into a new, replacement
directory.
Thanks for the help!
Matt
Nicolas Sebrecht <notifications@github.com> writes:
… Thanks for your feedback!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
--
|
Github-ref: OfflineIMAP#488 Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
General informations
offlineimap -V
): offlineimap v7.1.1, imaplib2 v2.57 (bundled), Python v2.7.13, OpenSSL 1.1.0f 25 May 2017Configuration file offlineimaprc
Logs, error
Steps to reproduce the error
Error occurs
THis is new develope spontaneousy this afternoon some time after a bsttery-related laptop crash. I'm imagining maybe an sql file is corrupted? If so, what should I do to fix it?
thank you!
Matt
The text was updated successfully, but these errors were encountered: