Hello everybody,
I recently upgraded my Server for the mailcow from Debian jessie to debian buster (apt-get dist-upgrade), all went well and I did a ./update.sh. This also worked for me. After that, I did an upgrade on docker-ce
new version: docker-ce/buster 5:20.10.123-0debian-buster
old version 18.06.3ce3-0debian
After the upgrade, I restarted mailcow (docker-compose up -d) and it did an update (again)
Afterwards, no login was possible neither in Admin GUI nor in SoGo.
Version before (everything) working:
root@DMZServer:/home/dmzuser# apt list docker-ce
Auflistung... Fertig
docker-ce/buster 5:20.10.12~3-0~debian-buster amd64 [aktualisierbar von: 18.06.3~ce~3-0~debian]
N: Es gibt 47 zusätzliche Versionen. Bitte verwenden Sie die Option »-a«, um sie anzuzeigen.
root@DMZServer:/home/dmzuser# aptitude upgrade
Auflösen der Abhängigkeiten ...
Die folgenden NEUEN Pakete werden zusätzlich installiert:
containerd.io{a} docker-ce-cli{a} docker-scan-plugin{a}
Die folgenden Pakete werden aktualisiert:
docker-ce
Die folgenden Pakete werden EMPFOHLEN, aber NICHT installiert:
docker-ce-rootless-extras
1 Pakete aktualisiert, 3 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
89,1 MB an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 187 MB zusätzlich belegt sein.
Möchten Sie fortsetzen? [Y/n/?] n
Abbruch.
root@DMZServer:/home/dmzuser# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a8cb5b7988a9 robbertkl/ipv6nat "/docker-ipv6nat-com…" 3 hours ago Up 9 minutes mailcowdockerized_ipv6nat-mailcow_1
5b989023e997 mailcow/acme:1.81 "/sbin/tini -g -- /s…" 3 hours ago Up 9 minutes mailcowdockerized_acme-mailcow_1
96737f6ae368 mcuadros/ofelia:latest "/usr/bin/ofelia dae…" 3 hours ago Up 9 minutes mailcowdockerized_ofelia-mailcow_1
79c59966860c mailcow/netfilter:1.46 "python3 -u /server.…" 3 hours ago Up 9 minutes mailcowdockerized_netfilter-mailcow_1
b6e65ecdb089 mailcow/rspamd:1.79 "/docker-entrypoint.…" 3 hours ago Up 9 minutes mailcowdockerized_rspamd-mailcow_1
5d71951db9ba nginx:mainline-alpine "/docker-entrypoint.…" 3 hours ago Up 9 minutes 127.0.0.1:8080->8080/tcp, 80/tcp, 127.0.0.1:8443->8443/tcp mailcowdockerized_nginx-mailcow_1
170b4f0ce556 mailcow/dovecot:1.159 "/docker-entrypoint.…" 3 hours ago Up 9 minutes 192.168.150.10:110->110/tcp, 192.168.150.10:143->143/tcp, 192.168.150.10:993->993/tcp, 192.168.150.10:995->995/tcp, 192.168.150.10:4190->4190/tcp, 127.0.0.1:19991->12345/tcp mailcowdockerized_dovecot-mailcow_1
f7458369c218 mailcow/postfix:1.66 "/docker-entrypoint.…" 3 hours ago Up 9 minutes 192.168.150.10:25->25/tcp, 192.168.150.10:465->465/tcp, 192.168.150.10:587->587/tcp, 588/tcp mailcowdockerized_postfix-mailcow_1
a707438b928f mailcow/phpfpm:1.78 "/docker-entrypoint.…" 3 hours ago Up 9 minutes 9000/tcp mailcowdockerized_php-fpm-mailcow_1
4d9b6802e8ec mariadb:10.5 "docker-entrypoint.s…" 3 hours ago Up 9 minutes 127.0.0.1:13306->3306/tcp mailcowdockerized_mysql-mailcow_1
dbbe10adace0 mailcow/unbound:1.15 "/docker-entrypoint.…" 3 hours ago Up 9 minutes 53/tcp, 53/udp mailcowdockerized_unbound-mailcow_1
25c1a99e3b57 redis:6-alpine "docker-entrypoint.s…" 3 hours ago Up 9 minutes 127.0.0.1:7654->6379/tcp mailcowdockerized_redis-mailcow_1
739057e29f88 memcached:alpine "docker-entrypoint.s…" 3 hours ago Up 9 minutes 11211/tcp mailcowdockerized_memcached-mailcow_1
8a8fa8537116 mailcow/watchdog:1.96 "/bin/sh -c /watchdo…" 3 hours ago Up 9 minutes mailcowdockerized_watchdog-mailcow_1
d1fb53124684 mailcow/olefy:1.8.1 "python3 -u /app/ole…" 3 hours ago Up 9 minutes mailcowdockerized_olefy-mailcow_1
ecbb79b18862 mailcow/sogo:1.106 "/docker-entrypoint.…" 3 hours ago Up 9 minutes mailcowdockerized_sogo-mailcow_1
4428ff0eaf56 mailcow/dockerapi:1.41 "python3 -u /app/doc…" 3 hours ago Up 9 minutes mailcowdockerized_dockerapi-mailcow_1
f116954f972d mailcow/clamd:1.43 "/sbin/tini -g -- /c…" 3 hours ago Up 9 minutes mailcowdockerized_clamd-mailcow_1
c68aec72a5d1 mailcow/solr:1.8.1 "docker-entrypoint.s…" 3 hours ago Up 9 minutes 127.0.0.1:18983->8983/tcp mailcowdockerized_solr-mailcow_1
root@DMZServer:/home/dmzuser#
Version after Docker-CE upgrade(no login working):
root@DMZServer:/home/dmzuser# apt list docker-ce
Auflistung... Fertig
docker-ce/buster,now 5:20.10.12~3-0~debian-buster amd64 [installiert]
N: Es gibt 46 zusätzliche Versionen. Bitte verwenden Sie die Option »-a«, um sie anzuzeigen.
root@DMZServer:/home/dmzuser#
root@DMZServer:/home/dmzuser# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c25c10e5d1f9 robbertkl/ipv6nat "/docker-ipv6nat-com…" 31 minutes ago Up 51 seconds mailcowdockerized_ipv6nat-mailcow_1
35100bc56cbe mailcow/acme:1.81 "/sbin/tini -g -- /s…" 32 minutes ago Up 40 seconds mailcowdockerized_acme-mailcow_1
376e67306487 mailcow/rspamd:1.79 "/docker-entrypoint.…" 32 minutes ago Up 43 seconds mailcowdockerized_rspamd-mailcow_1
074aa39cc37a mcuadros/ofelia:latest "/usr/bin/ofelia dae…" 32 minutes ago Up 49 seconds mailcowdockerized_ofelia-mailcow_1
524eccf104d8 mailcow/netfilter:1.46 "python3 -u /server.…" 32 minutes ago Up 51 seconds mailcowdockerized_netfilter-mailcow_1
5b98eb2af417 nginx:mainline-alpine "/docker-entrypoint.…" 32 minutes ago Up 21 seconds 127.0.0.1:8080->8080/tcp, 80/tcp, 127.0.0.1:8443->8443/tcp mailcowdockerized_nginx-mailcow_1
29b19ea58238 mailcow/dovecot:1.159 "/docker-entrypoint.…" 32 minutes ago Up 25 seconds 192.168.150.10:110->110/tcp, 192.168.150.10:143->143/tcp, 192.168.150.10:993->993/tcp, 192.168.150.10:995->995/tcp, 192.168.150.10:4190->4190/tcp, 127.0.0.1:19991->12345/tcp mailcowdockerized_dovecot-mailcow_1
1fa959c6fe2f mailcow/postfix:1.66 "/docker-entrypoint.…" 32 minutes ago Up 28 seconds 192.168.150.10:25->25/tcp, 192.168.150.10:465->465/tcp, 192.168.150.10:587->587/tcp, 588/tcp mailcowdockerized_postfix-mailcow_1
913f10b1437b mailcow/phpfpm:1.78 "/docker-entrypoint.…" 32 minutes ago Up 25 seconds 9000/tcp mailcowdockerized_php-fpm-mailcow_1
6b94fbb8d032 mariadb:10.5 "docker-entrypoint.s…" 32 minutes ago Up 27 seconds 127.0.0.1:13306->3306/tcp mailcowdockerized_mysql-mailcow_1
91e86164ceba mailcow/solr:1.8.1 "docker-entrypoint.s…" 32 minutes ago Up 28 seconds 127.0.0.1:18983->8983/tcp mailcowdockerized_solr-mailcow_1
d493c8e7c201 mailcow/unbound:1.15 "/docker-entrypoint.…" 32 minutes ago Up 49 seconds 53/tcp, 53/udp mailcowdockerized_unbound-mailcow_1
db39120f241d mailcow/dockerapi:1.41 "python3 -u /app/doc…" 32 minutes ago Up 47 seconds mailcowdockerized_dockerapi-mailcow_1
d0ba176b7165 memcached:alpine "docker-entrypoint.s…" 32 minutes ago Up 36 seconds 11211/tcp mailcowdockerized_memcached-mailcow_1
2067625f788f mailcow/sogo:1.106 "/docker-entrypoint.…" 32 minutes ago Up 32 seconds mailcowdockerized_sogo-mailcow_1
c0e4119876f7 mailcow/clamd:1.43 "/sbin/tini -g -- /c…" 32 minutes ago Up 44 seconds mailcowdockerized_clamd-mailcow_1
51253794fda5 redis:6-alpine "docker-entrypoint.s…" 32 minutes ago Up 34 seconds 127.0.0.1:7654->6379/tcp mailcowdockerized_redis-mailcow_1
ae6f44ece206 mailcow/watchdog:1.96 "/bin/sh -c /watchdo…" 32 minutes ago Up 42 seconds mailcowdockerized_watchdog-mailcow_1
b6a573aea246 mailcow/olefy:1.8.1 "python3 -u /app/ole…" 32 minutes ago Up 46 seconds mailcowdockerized_olefy-mailcow_1
root@DMZServer:/home/dmzuser#
I then did an update, but it does still not work:
`root@DMZServer:/opt/mailcow-dockerized# ./update.sh
Checking internet connection… OK
Checking for newer update script…
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 7 (delta 5), reused 7 (delta 5), pack-reused 0
Unpacking objects: 100% (7/7), done.
From https://github.com/mailcow/mailcow-dockerized
- [new branch] feature/dovecot-2.3.18 -> origin/feature/dovecot-2.3.18
Are you sure you want to update mailcow: dockerized? All containers will be stopped. [y/N] Y
Native IPv6 implementation available.
This will enable experimental features in the Docker daemon and configure Docker to do the IPv6 NATing instead of ipv6nat-mailcow.
!!! This step is recommended !!!
mailcow will try to roll back the changes if starting Docker fails after modifying the daemon.json configuration file.
Should we try to enable the native IPv6 implementation in Docker now (recommended)? [y/N] Y
Working on IPv6 NAT, please wait…
Great! Native IPv6 NAT is active.
Validating docker-compose stack configuration…
WARNING: The WATCHDOG_NOTIFY_EMAIL variable is not set. Defaulting to a blank string.
Checking for conflicting bridges…
WARNING: The WATCHDOG_NOTIFY_EMAIL variable is not set. Defaulting to a blank string.
Warning: iptables-legacy tables present, use iptables-legacy to see them
Saving diff to update_diffs/diff_before_update_2022-02-04-11-53-25…
Prefetching images…
1.15: Pulling from mailcow/unbound
Digest: sha256:bf06b579de6554f87ca7cc1a16d1303f80932b37139f9b43e345094e6839e27b
Status: Image is up to date for mailcow/unbound:1.15
docker.io/mailcow/unbound:1.15
10.5: Pulling from library/mariadb
Digest: sha256:5de92aeb70c440cf8622f391a08299281be870961c84a8450e037507ff0b283a
Status: Image is up to date for mariadb:10.5
docker.io/library/mariadb:10.5
6-alpine: Pulling from library/redis
Digest: sha256:4bed291aa5efb9f0d77b76ff7d4ab71eee410962965d052552db1fb80576431d
Status: Image is up to date for redis:6-alpine
docker.io/library/redis:6-alpine
1.43: Pulling from mailcow/clamd
Digest: sha256:1bbbd292392b69c854067edd8bac99c72bbabea69d03e27b9eb1dc46ded73675
Status: Image is up to date for mailcow/clamd:1.43
docker.io/mailcow/clamd:1.43
1.79: Pulling from mailcow/rspamd
Digest: sha256:de1b8c3cc99cd37eff605409453270c5bf554732920ed2e96ddae998203d545f
Status: Image is up to date for mailcow/rspamd:1.79
docker.io/mailcow/rspamd:1.79
1.78: Pulling from mailcow/phpfpm
Digest: sha256:90638cac6b57ee93f5d310d506b25f722c11abf209dbcfacdf012a283c44db38
Status: Image is up to date for mailcow/phpfpm:1.78
docker.io/mailcow/phpfpm:1.78
1.106: Pulling from mailcow/sogo
Digest: sha256:46762758b3fa47b1b9286005f70b0069220fcc938e16002df719748b1a0bff54
Status: Image is up to date for mailcow/sogo:1.106
docker.io/mailcow/sogo:1.106
1.159: Pulling from mailcow/dovecot
Digest: sha256:83dc850cfb0d75b46f39dde55eb7700be76df3a3af12975bf0833503fe0975df
Status: Image is up to date for mailcow/dovecot:1.159
docker.io/mailcow/dovecot:1.159
1.66: Pulling from mailcow/postfix
Digest: sha256:d21cd375c75db7e57c78b08a07a4f0a82000abe29c1a698de62b1856b2f75bfc
Status: Image is up to date for mailcow/postfix:1.66
docker.io/mailcow/postfix:1.66
alpine: Pulling from library/memcached
Digest: sha256:4fd74bfdda3c109c25e7edfd6b77545c48963b938d6f75f4fb8c122c5cdae7cd
Status: Image is up to date for memcached:alpine
docker.io/library/memcached:alpine
mainline-alpine: Pulling from library/nginx
Digest: sha256:da9c94bec1da829ebd52431a84502ec471c8e548ffb2cedbf36260fd9bd1d4d3
Status: Image is up to date for nginx:mainline-alpine
docker.io/library/nginx:mainline-alpine
1.81: Pulling from mailcow/acme
Digest: sha256:6e429f199d505bec251a7461e7e2f31f6a98b9bb35891e0c91be1e1e251c73f1
Status: Image is up to date for mailcow/acme:1.81
docker.io/mailcow/acme:1.81
1.46: Pulling from mailcow/netfilter
Digest: sha256:cf43ae165a00d24d0889dd3330b60cc386508022511d0b17679f17f44959b6c3
Status: Image is up to date for mailcow/netfilter:1.46
docker.io/mailcow/netfilter:1.46
1.96: Pulling from mailcow/watchdog
Digest: sha256:d9d473a07e9d3b1cf995052947ea53d5b8bcf2a493384af2fdeed7bf4f9a2599
Status: Image is up to date for mailcow/watchdog:1.96
docker.io/mailcow/watchdog:1.96
1.41: Pulling from mailcow/dockerapi
Digest: sha256:9dcab25953ed0aafdd0cb105c8050943a33c40d15944a410c4601f46dade02bd
Status: Image is up to date for mailcow/dockerapi:1.41
docker.io/mailcow/dockerapi:1.41
1.8.1: Pulling from mailcow/solr
Digest: sha256:e27ee21f7bae65497a7c3a5309eb2023b0ee2c624f80e4427bcc63e75d602e73
Status: Image is up to date for mailcow/solr:1.8.1
docker.io/mailcow/solr:1.8.1
1.8.1: Pulling from mailcow/olefy
Digest: sha256:11b226cf99fc5d8a27f0227b3ee51b551161295ce09fbcc095532f2a4f9944a4
Status: Image is up to date for mailcow/olefy:1.8.1
docker.io/mailcow/olefy:1.8.1
latest: Pulling from mcuadros/ofelia
Digest: sha256:4d67a32724f5a57393c9aca0b6731cce60b6a5b91bd369b8e41cbede2e09a3e1
Status: Image is up to date for mcuadros/ofelia:latest
docker.io/mcuadros/ofelia:latest
Stopping mailcow…
WARNING: The WATCHDOG_NOTIFY_EMAIL variable is not set. Defaulting to a blank string.
Stopping mailcowdockerized_acme-mailcow_1 … done
Stopping mailcowdockerized_rspamd-mailcow_1 … done
Stopping mailcowdockerized_ofelia-mailcow_1 … done
Stopping mailcowdockerized_netfilter-mailcow_1 … done
Stopping mailcowdockerized_nginx-mailcow_1 … done
Stopping mailcowdockerized_dovecot-mailcow_1 … done
Stopping mailcowdockerized_postfix-mailcow_1 … done
Stopping mailcowdockerized_php-fpm-mailcow_1 … done
Stopping mailcowdockerized_mysql-mailcow_1 … done
Stopping mailcowdockerized_solr-mailcow_1 … done
Stopping mailcowdockerized_unbound-mailcow_1 … done
Stopping mailcowdockerized_dockerapi-mailcow_1 … done
Stopping mailcowdockerized_memcached-mailcow_1 … done
Stopping mailcowdockerized_sogo-mailcow_1 … done
Stopping mailcowdockerized_clamd-mailcow_1 … done
Stopping mailcowdockerized_redis-mailcow_1 … done
Stopping mailcowdockerized_watchdog-mailcow_1 … done
Stopping mailcowdockerized_olefy-mailcow_1 … done
WARNING: Found orphan containers (mailcowdockerized_ipv6nat-mailcow_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the –remove-orphans flag to clean it up.
Removing mailcowdockerized_acme-mailcow_1 … done
Removing mailcowdockerized_rspamd-mailcow_1 … done
Removing mailcowdockerized_ofelia-mailcow_1 … done
Removing mailcowdockerized_netfilter-mailcow_1 … done
Removing mailcowdockerized_nginx-mailcow_1 … done
Removing mailcowdockerized_dovecot-mailcow_1 … done
Removing mailcowdockerized_postfix-mailcow_1 … done
Removing mailcowdockerized_php-fpm-mailcow_1 … done
Removing mailcowdockerized_mysql-mailcow_1 … done
Removing mailcowdockerized_solr-mailcow_1 … done
Removing mailcowdockerized_unbound-mailcow_1 … done
Removing mailcowdockerized_dockerapi-mailcow_1 … done
Removing mailcowdockerized_memcached-mailcow_1 … done
Removing mailcowdockerized_sogo-mailcow_1 … done
Removing mailcowdockerized_clamd-mailcow_1 … done
Removing mailcowdockerized_redis-mailcow_1 … done
Removing mailcowdockerized_watchdog-mailcow_1 … done
Removing mailcowdockerized_olefy-mailcow_1 … done
Removing network mailcowdockerized_mailcow-network
Checking for remaining containers…
Committing current status…
Fetching updated code from remote…
Merging local with remote code (recursive, strategy: “theirs”, options: “patience”…
Already up to date.
Fetching new docker-compose version…
Trying to determine GLIBC version…
######################################################################################################################################################################### 100.0%
Fetching new images, if any…
WARNING: The WATCHDOG_NOTIFY_EMAIL variable is not set. Defaulting to a blank string.
Pulling unbound-mailcow … done
Pulling mysql-mailcow … done
Pulling redis-mailcow … done
Pulling clamd-mailcow … done
Pulling php-fpm-mailcow … done
Pulling sogo-mailcow … done
Pulling dovecot-mailcow … done
Pulling rspamd-mailcow … done
Pulling postfix-mailcow … done
Pulling memcached-mailcow … done
Pulling nginx-mailcow … done
Pulling acme-mailcow … done
Pulling netfilter-mailcow … done
Pulling watchdog-mailcow … done
Pulling dockerapi-mailcow … done
Pulling solr-mailcow … done
Pulling olefy-mailcow … done
Pulling ofelia-mailcow … done
Checking IPv6 settings…
Starting mailcow…
WARNING: The WATCHDOG_NOTIFY_EMAIL variable is not set. Defaulting to a blank string.
Creating network “mailcowdockerized_mailcow-network” with driver “bridge”
Removing orphan container “mailcowdockerized_ipv6nat-mailcow_1”
Creating mailcowdockerized_unbound-mailcow_1 … done
Creating mailcowdockerized_sogo-mailcow_1 … done
Creating mailcowdockerized_redis-mailcow_1 … done
Creating mailcowdockerized_clamd-mailcow_1 … done
Creating mailcowdockerized_olefy-mailcow_1 … done
Creating mailcowdockerized_watchdog-mailcow_1 … done
Creating mailcowdockerized_dockerapi-mailcow_1 … done
Creating mailcowdockerized_memcached-mailcow_1 … done
Creating mailcowdockerized_solr-mailcow_1 … done
Creating mailcowdockerized_mysql-mailcow_1 … done
Creating mailcowdockerized_php-fpm-mailcow_1 … done
Creating mailcowdockerized_dovecot-mailcow_1 … done
Creating mailcowdockerized_postfix-mailcow_1 … done
Creating mailcowdockerized_nginx-mailcow_1 … done
Creating mailcowdockerized_rspamd-mailcow_1 … done
Creating mailcowdockerized_ofelia-mailcow_1 … done
Creating mailcowdockerized_netfilter-mailcow_1 … done
Creating mailcowdockerized_acme-mailcow_1 … done
Collecting garbage…
root@DMZServer:/opt/mailcow-dockerized#
`
docker-compose -logs isn’t really helpful and just points to someone entering an invalid password :-(