Hi Oswald, I've been using mbsync very happily for ~9 months to sync 4
Gmail accounts with a lot of messages ...

ls ~/Maildir -R | wc
  17553   17522  613422
  
... but today I get a couple of these ...

Error: incomplete journal entry at [...]/.mbsyncstate.journal:2

Looking around, I found this item in your list archive ...

https://sourceforge.net/p/isync/mailman/message/34064793/

... and I dutifully did ...

g1@g1 ~/Maildir/re/INBOX$ head -5 .mbsyncstate.journal | hexdump -C
00000000  32 0a 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |2...............|
00000010  00 00 00 00 00 00 00 00  00 00                    |..........|
0000001a

g1@g1 ~/Maildir/re/[Gmail]/Sent Mail$ head -5 .mbsyncstate.journal | hexdump -C
00000000  32 0a 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |2...............|
00000010  00 00 00 00 00 00 00 00                           |........|
00000018

Seeing that the first of these is exactly the same as Peter P. reported,
I thought you might be interested. Coincidence?

At the time you said ...

> uhm, ok, that doesn't look too well. i can only speculate how it came
> to be. there is nothing to lose by deleting this file. you may want to
> compare .mbsyncstate.new with .mbsyncstate first, though. if the .new
> file is different and looks sane, it should be probably renamed over
> the old one.

... so I deleted the offending .mbsyncstate.journal files and all is
again well on my little mbsync planet. Loving it!

George

I am using ...

mbsync --version
isync 1.3.0

... built from git checkout ...

git branch -av | grep \*
* master                 366dd09 determine link name dynamically


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to