Aw: Re: dsync panic

2018-07-16 Thread Infoomatic
thanks, the fix worked for me, too (on 2.3.2.1)!
 

Gesendet: Freitag, 13. Juli 2018 um 22:43 Uhr
Von: "Timo Sirainen" 
An: "Wolfgang Rosenauer" 
Cc: dovecot 
Betreff: Re: dsync panic



On 13 Jul 2018, at 21.39, Wolfgang Rosenauer  wrote:


 


I think I get pretty much the same issue:

 

dsync(support): Panic: file mailbox-attribute.c: line 360 (mailbox_attribute_get_stream): assertion failed: (value_r->value != NULL || value_r->value_stream != NULL)
dsync(support): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xc9e06) [0x7fba8a348e06] -> /usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x2a) [0x7fba8a348e4a] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7fba8a2bd813] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x597fc) [0x7fba8a64f7fc] -> dsync(dsync_mailbox_import_attribute+0x3a) [0x55d72a8ac37a] -> dsync(dsync_brain_sync_mails+0x2ef) [0x55d72a8a7e9f] -> dsync(dsync_brain_run+0x2b0) [0x55d72a8a3690] -> dsync(+0x29f5c) [0x55d72a88af5c] -> dsync(+0x2bd97) [0x55d72a88cd97] -> dsync(+0x2c878) [0x55d72a88d878] -> dsync(doveadm_mail_try_run+0x205) [0x55d72a88e1f5] -> dsync(main+0x475) [0x55d72a87de85] -> /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fba89c8d725] -> dsync(_start+0x29) [0x55d72a87e009]





Already fixed, but was scheduled for v2.3.3: https://github.com/dovecot/core/commit/4ff4bd024a9b6e7973b76b186ce085c2ca669d3e

 

As a workaround, you could disable ACL when running dsync: doveadm -o plugin/acl= ...

 








Aw: Re: dsync panic

2018-07-13 Thread Infoomatic

thanks for taking the time to answer. Unfortunately, I get the same error with the right command (without the -1)

 

infoomatic

 

 

Gesendet: Donnerstag, 12. Juli 2018 um 19:57 Uhr
Von: "Sami Ketola" 
An: dovecot 
Cc: Infoomatic 
Betreff: Re: dsync panic


 
 

On 7 Jul 2018, at 4.31, Infoomatic  wrote:
 


Hi,
I just upgraded from dovecot 2.2.19 to 2.3.2. "doveadm backup" worked fine in v 2.2.19, but now panics (user with shared folder):
/opt/dovecot/bin/doveadm backup -u testuser -1 sdbox:/tmp/testuser



 
Not sure why it panics, but at least your command line looks incorrect. 

 

please try: doveadm backup -u testuser sdbox:/tmp/testuser

 

your options are:

 

doveadm backup

doveadm sync

doveadm sync -1

 

https://wiki2.dovecot.org/Tools/Doveadm/Sync

 

Sami