Issue with doveadm backup

2020-05-02 Thread Asai

Greetings,

Lately I've been seeing this error pop up when running a nightly cron to 
a backup share with doveadm:


 Error: stat(/vmail/domain.tld/user/.dovecot-box-sync.lock/tmp) failed: Not a 
directory: 1 Time(s)

This is the command:

doveadm backup -u u...@domain.tld maildir:backupshare/daily/domain.tld/user

Our main vmail directory is on an NFS share and seems to be working 
fine.  This has only occurred recently.


Can anyone offer any insights into what this is and fixing it if need be?

--
Asai



Problems during replication

2020-05-02 Thread Francis Augusto Medeiros-Logeay

Hi,

I migrated my dovecot instance to a new server. I moved the mail 
directories, databases, etc.


Replication is on, and I keep having these errors:

May 02 16:19:45 dsync-local(fran...@francisaugusto.com): Error: Couldn't 
lock /var/mail/vmail/francisaugusto.com/francis//.dovecot-sync.lock: 
fcntl(/var/mail/vmail/francisaugusto.com/francis//.dovecot-sync.lock, 
write-lock, F_SETLKW) locking failed: Timed out after 30 seconds (WRITE 
lock held by pid 178)
May 02 16:19:45 doveadm: Error: Couldn't lock 
/var/mail/vmail/medeiros.co/inis//.dovecot-sync.lock: 
fcntl(/var/mail/vmail/medeiros.co/inis//.dovecot-sync.lock, write-lock, 
F_SETLKW) locking failed: Timed out after 30 seconds (WRITE lock held by 
pid 185)


See the errors are both from dsync-local and doveadm.

Any tips on how to fix this?

Best,

Francis