While syncing, I get the message "Error: channel myaccount: slave inbox cannot be opened" and messages do not sync. This is a known-good configuration ("it worked before") that would occasionally, inexplicably throw this error but could be fixed (now it can't be) by deleting and recreating the local storage folders.
I am using `Patterns *` to automatically sync all mailboxes. Doing `chmod -R ugo+rwx Maildir/myaccount/*` to eliminate potential permissions issues does not help either. Running mbsync with -DMm: Opening master box inbox... Opening slave box inbox... Error: channel myaccount: slave inbox cannot be opened. The error previously could be fixed by wiping the local store and letting mbsync recreate everything from scratch. Now even this does not help. $ rm -rf Maildir/myaccount/* $ mbsync -a ... Opening master box inbox... Opening slave box inbox... Creating slave inbox... Maildir notice: no UIDVALIDITY, creating new. Loading master... master: 56 messages, 0 recent Loading slave... slave: 0 messages, 0 recent Synchronizing... ... At this point the mailboxes are all created correctly in the Maildir/ folder, but the subfolders (e.g inbox/) are empty. (There's plenty of free disk space, that is not the problem!) Now try again: $ mbsync -a Opening master box inbox... Opening slave box inbox... Error: channel myaccount: slave inbox cannot be opened. Here's the relevant strace output from when the error occurs: 1957 openat(AT_FDCWD, "/home/user/Maildir/myaccount/inbox/.mbsyncstate", O_RDONL Y) = 4 1957 openat(AT_FDCWD, "/home/user/Maildir/myaccount/inbox/.mbsyncstate.lock", O_ WRONLY|O_CREAT, 0666) = 5 1957 fcntl(5, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 1957 fstat(4, {st_mode=S_IFREG|0664, st_size=88, ...}) = 0 1957 read(4, "MasterUidValidity 1552378503\nSla"..., 4096) = 88 1957 read(4, "", 4096) = 0 1957 close(4) = 0 1957 openat(AT_FDCWD, "/home/user/Maildir/myaccount/inbox/.mbsyncstate.journal", O_RDONLY) = -1 ENOENT (No such file or directory) 1957 write(1, "Opening master box inbox...\n", 28) = 28 1957 write(1, "Opening slave box inbox...\n", 27) = 27 1957 write(3, "\27\3\3\0+\342u\224\17LT5\17\264\224\203j\34\304\357p}\"\320Y\37 6q\203\277\372\228"..., 48) = 48 1957 poll([{fd=3, events=POLLIN}], 1, 20000) = 1 ([{fd=3, revents=POLLIN}]) 1957 read(3, "\27\3\3\0\356", 5) = 5 1957 read(3, "Q\357z\350Q\344\310\302\251\0\343Fq\306\367\336\261\313d\317\17\3 70\374v\275\230\t\225\323!\216\251"..., 238) = 238 1957 write(3, "\27\3\3\0.\342u\224\17LT5\20\5\346\252\263\275\274\247p\\\27\377 \253d\342T\323\f\325\270"..., 51) = 51 1957 poll([{fd=3, events=POLLIN}], 1, 20000) = 1 ([{fd=3, revents=POLLIN}]) 1957 read(3, "\27\3\3\0.", 5) = 5 1957 read(3, "Q\357z\350Q\344\310\303\262\200R\215\242Y\315p\17\275\332\266\353 \34\371\332\374j`\207f\343\243/"..., 46) = 46 1957 write(2, "Error: channel myaccount: slave i"..., 55) = 55 1957 unlink("/home/user/Maildir/myaccount/inbox/.mbsyncstate.lock") = 0 1957 close(5) = 0 _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel