mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-02 03:38:23 +02:00
Fix dovecot resync: failed: Connection refused
Full error message: ``` Error: auth-master: userdb list: connect(/run/dovecot/auth-userdb) failed: Connection refused Panic: file auth-master.c: line 436 (auth_master_unset_io): assertion failed: (conn->to == NULL) ```
This commit is contained in:
parent
9d97377809
commit
a20d927605
@ -564,6 +564,8 @@ function restore() {
|
||||
# Skip prompt if --yes flag is present
|
||||
if [[ "${MAILCOW_YES_TO_ALL}" == "1" ]]; then
|
||||
echo -e "${GREEN_COLOR}Forcing a resync now due to --yes flag.${RESET}"
|
||||
# Why sleep 1 second? due to `https://github.com/mailcow/mailcow-dockerized/pull/6030#discussion_r1735971143`
|
||||
sleep 1s
|
||||
docker exec $(docker ps -qf name=dovecot-mailcow) doveadm force-resync -A '*'
|
||||
else
|
||||
read -p "Force a resync now? [y|N] " FORCE_RESYNC
|
||||
|
Loading…
Reference in New Issue
Block a user