Found another user with an issue. They have an ‘undefined/INBOX’ folder on one of the storage servers but not the other. I assumed it was a problem with replication at one time or another?
This causes this core dump:
Oct 27 22:10:10 tdcstorage dovecot: dsync-server(user@host.com): Fatal: master: service(doveadm): child 9773 killed with signal 6 (core not dumped
- set service doveadm { drop_priv_before_exec=yes }) Oct 27 22:10:24 tdcstorage dovecot: dsync-local(user@host.com): Panic: file dsync-mailbox-tree-sync.c: line 406 (sync_rename_node_to_temp): assertion failed: (strcmp(old_name, "INBOX") != 0)
The backtrace shows:
#0 0x0000000040f73e1a in kill () from /lib/libc.so.7 #1 0x0000000040f72ac9 in abort () from /lib/libc.so.7 #2 0x0000000040bd6f74 in default_fatal_handler () from /usr/local/lib/dovecot/libdovecot.so.0 #3 0x0000000040bd7c71 in i_set_failure_internal () from /usr/local/lib/dovecot/libdovecot.so.0 #4 0x0000000040bd7219 in i_panic () from /usr/local/lib/dovecot/libdovecot.so.0 #5 0x000000000042a421 in dsync_mailbox_trees_sync_deinit () #6 0x0000000000429ce9 in dsync_mailbox_trees_sync_deinit () #7 0x00000000004288f7 in dsync_mailbox_trees_sync_init () #8 0x000000000042816e in dsync_mailbox_trees_sync_init () #9 0x000000000041eaca in dsync_brain_recv_mailbox_tree_deletes () #10 0x000000000041bc82 in dsync_brain_run () #11 0x000000000041b45a in dsync_brain_master_init () #12 0x000000000042ac54 in dsync_ibc_init_stream () #13 0x0000000040be9413 in io_loop_call_io () from /usr/local/lib/dovecot/libdovecot.so.0 #14 0x0000000040beaacd in io_loop_handler_run_internal () from /usr/local/lib/dovecot/libdovecot.so.0 #15 0x0000000040be9658 in io_loop_run () from /usr/local/lib/dovecot/libdovecot.so.0 #16 0x000000000040fc46 in doveadm_dsync_main () #17 0x0000000000410fe9 in doveadm_mail_single_user () #18 0x000000000041a89c in client_connection_create () #19 0x0000000040be9413 in io_loop_call_io () from /usr/local/lib/dovecot/libdovecot.so.0 #20 0x0000000040beaacd in io_loop_handler_run_internal () from /usr/local/lib/dovecot/libdovecot.so.0 #21 0x0000000040be9658 in io_loop_run () from /usr/local/lib/dovecot/libdovecot.so.0 #22 0x0000000040b90a28 in master_service_run () from /usr/local/lib/dovecot/libdovecot.so.0 #23 0x000000000041ae15 in main ()
Where’d the ‘undefined’ folders come from? Any easy way to work around them, or is it a manual thing?
Thanks.
On Mon, Oct 27, 2014 at 9:43 PM, Timo Sirainen tss@iki.fi wrote:
On 27 Oct 2014, at 19:38, Cassidy Larson alandaluz@gmail.com wrote:
What mailbox format are you using? What's the output of:
Using sdbox
doveadm mailbox status -u user@host.com 'uidvalidity uidnext' '*'
There is one folder with uidvalidity=0:
INBOX/my pictures/Jared uidnext=1 uidvalidity=0
I guess this fixes it?
doveadm -u user@domain force-resync 'INBOX/my pictures/Jared'
I guess I should make it happen automatically though.