You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... I understand that not following the below instructions will result in immediate closure and/or deletion of my issue.
... I have understood that this bug report is dedicated for bugs, and not for support-related inquiries.
... I have understood that answers are voluntary and community-driven, and not commercial support.
... I have verified that my issue has not been already answered in the past. I also checked previous issues.
Description
Acme keeps incorrectly identifying a handful of SSL certs on my server as "orphans", and archiving those SSL certs.
Every time I restart the acme container, most SSL certs on the server remain fine, but acme will archive a few different random SSL certs.
The server has a total of 125 domains. Not all of them need SSL certs, but most do. I have ADDITIONAL_SAN=mail.* and ENABLE_SSL_SNI=y
Occasionally acme will finish normally, and have no "orphans", but the next time it runs it will create a few more
I've only noticed this the last few days.
None of the domains are having DNS issues, they're all on cloudflare, and no DNS zones have been changed over the time of the problem.
Some of the domains were only registered inside the last month, so the SSL certs have never needed renewing yet
I've grepped the acme-mailcow log for a single domain to show the pattern, then pasted the last 50 general lines of acme-mailcow log to show how it usually finishes up.
Logs:
acme-mailcow-1 | Fri Sep 13 17:30:04 AEST 2024 - No A or AAAA record found for hostname mail.skyplay.com.au
acme-mailcow-1 | Fri Sep 13 17:30:04 AEST 2024 - Found A record for autodiscover.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 17:30:05 AEST 2024 - Found A record for autoconfig.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 17:31:46 AEST 2024 - Certificate /var/lib/acme/autodiscover.skyplay.com.au/cert.pem missing or changed domains 'autodiscover.skyplay.com.au autoconfig.skyplay.com.au' - start obtaining
acme-mailcow-1 | Fri Sep 13 17:31:47 AEST 2024 - Using command acme-tiny --account-key /var/lib/acme/acme/account.pem --disable-check --csr /var/lib/acme/autodiscover.skyplay.com.au/acme.csr --acme-dir /var/www/acme/
acme-mailcow-1 | Found domains: autoconfig.skyplay.com.au, autodiscover.skyplay.com.au
acme-mailcow-1 | Already verified: autoconfig.skyplay.com.au, skipping...
acme-mailcow-1 | Already verified: autodiscover.skyplay.com.au, skipping...
acme-mailcow-1 | Fri Sep 13 17:31:58 AEST 2024 - Deploying certificate /var/lib/acme/autodiscover.skyplay.com.au/cert.pem...
acme-mailcow-1 | Fri Sep 13 17:32:08 AEST 2024 - Found orphaned certificate: mail.skyplay.com.au - archiving it at /var/lib/acme/backups/mail.skyplay.com.au/
acme-mailcow-1 | Fri Sep 13 17:48:02 AEST 2024 - Found A record for mail.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 17:48:02 AEST 2024 - Found A record for autodiscover.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 17:48:03 AEST 2024 - Found A record for autoconfig.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 17:49:27 AEST 2024 - Certificate /var/lib/acme/mail.skyplay.com.au/cert.pem missing or changed domains 'mail.skyplay.com.au autoconfig.skyplay.com.au autodiscover.skyplay.com.au' - start obtaining
acme-mailcow-1 | Fri Sep 13 17:49:27 AEST 2024 - Using command acme-tiny --account-key /var/lib/acme/acme/account.pem --disable-check --csr /var/lib/acme/mail.skyplay.com.au/acme.csr --acme-dir /var/www/acme/
acme-mailcow-1 | Found domains: autoconfig.skyplay.com.au, autodiscover.skyplay.com.au, mail.skyplay.com.au
acme-mailcow-1 | Already verified: autoconfig.skyplay.com.au, skipping...
acme-mailcow-1 | Already verified: autodiscover.skyplay.com.au, skipping...
acme-mailcow-1 | Already verified: mail.skyplay.com.au, skipping...
acme-mailcow-1 | Fri Sep 13 17:49:39 AEST 2024 - Deploying certificate /var/lib/acme/mail.skyplay.com.au/cert.pem...
acme-mailcow-1 | Fri Sep 13 17:49:51 AEST 2024 - Found orphaned certificate: autodiscover.skyplay.com.au - archiving it at /var/lib/acme/backups/autodiscover.skyplay.com.au/
acme-mailcow-1 | Fri Sep 13 17:53:50 AEST 2024 - Found A record for mail.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 17:53:50 AEST 2024 - Found A record for autodiscover.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 17:53:50 AEST 2024 - Found A record for autoconfig.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 17:54:17 AEST 2024 - Certificate /var/lib/acme/mail.skyplay.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 18:04:16 AEST 2024 - Found A record for mail.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 18:04:17 AEST 2024 - Found A record for autodiscover.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 18:04:18 AEST 2024 - Found A record for autoconfig.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 18:04:37 AEST 2024 - Certificate /var/lib/acme/mail.skyplay.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 18:27:38 AEST 2024 - Found A record for mail.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 18:27:38 AEST 2024 - Found A record for autodiscover.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 18:27:38 AEST 2024 - Found A record for autoconfig.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 18:28:35 AEST 2024 - Certificate /var/lib/acme/mail.skyplay.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:10 AEST 2024 - Found A record for mail.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 19:02:11 AEST 2024 - Found A record for autodiscover.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 19:02:11 AEST 2024 - Found A record for autoconfig.skyplay.com.au: 119.42.52.109
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.skyplay.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.phb.org.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.pld.net.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.prizeplumbingsolutions.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.resilienceclinic.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.robbutlerpainting.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.rockcon.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.ruonline-mailer.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.skyplay.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.spcareconsulting.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.tatchell.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.templestowehealthhub.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.templestowepsychology.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.thehoppingmechanism.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.thomsonvalleysc.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.traditionaldelights.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.trekagroup.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.truebluebonefish.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.tvsc.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.weightmansmeats.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.wellbeingfocus.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Certificate /var/lib/acme/mail.windrose.com.au/cert.pem validation done, neither changed nor due for renewal.
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Found orphaned certificate: autodiscover.phb.org.au - archiving it at /var/lib/acme/backups/autodiscover.phb.org.au/
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Found orphaned certificate: mail.jaylyndowns.com.au - archiving it at /var/lib/acme/backups/mail.jaylyndowns.com.au/
acme-mailcow-1 | Fri Sep 13 19:02:39 AEST 2024 - Reloading or restarting services... (1)
acme-mailcow-1 | Restarting 540fb709da54aff23510bbd994209fbfed3fc8885381d1acccaf1538b849e7fa...
acme-mailcow-1 | command completed successfully
acme-mailcow-1 | Restarting dd4162e498ebe2a684c5c7110c80492a6265cdb9c2b79131f775ecdc086357b0...
acme-mailcow-1 | command completed successfully
acme-mailcow-1 | Restarting 2d40460147eeca7b6adf9662787242a0dde9a749b245b9804362334a82cd852d...
acme-mailcow-1 | command completed successfully
acme-mailcow-1 | Fri Sep 13 19:02:56 AEST 2024 - Waiting for containers to settle...
acme-mailcow-1 | Fri Sep 13 19:03:06 AEST 2024 - Reloading or restarting services... (2)
acme-mailcow-1 | Restarting 540fb709da54aff23510bbd994209fbfed3fc8885381d1acccaf1538b849e7fa...
acme-mailcow-1 | command completed successfully
acme-mailcow-1 | Restarting dd4162e498ebe2a684c5c7110c80492a6265cdb9c2b79131f775ecdc086357b0...
acme-mailcow-1 | command completed successfully
acme-mailcow-1 | Restarting 2d40460147eeca7b6adf9662787242a0dde9a749b245b9804362334a82cd852d...
acme-mailcow-1 | command completed successfully
acme-mailcow-1 | Fri Sep 13 19:03:23 AEST 2024 - Waiting for containers to settle...
acme-mailcow-1 | Fri Sep 13 19:03:33 AEST 2024 - Reloading or restarting services... (3)
acme-mailcow-1 | Restarting 540fb709da54aff23510bbd994209fbfed3fc8885381d1acccaf1538b849e7fa...
acme-mailcow-1 | command completed successfully
acme-mailcow-1 | Restarting dd4162e498ebe2a684c5c7110c80492a6265cdb9c2b79131f775ecdc086357b0...
acme-mailcow-1 | command completed successfully
acme-mailcow-1 | Restarting 2d40460147eeca7b6adf9662787242a0dde9a749b245b9804362334a82cd852d...
acme-mailcow-1 | command completed successfully
acme-mailcow-1 | Fri Sep 13 19:03:49 AEST 2024 - Waiting for containers to settle...
acme-mailcow-1 | Fri Sep 13 19:04:00 AEST 2024 - Some services do return old end dates, something went wrong!
acme-mailcow-1 | OK
acme-mailcow-1 | Fri Sep 13 19:04:00 AEST 2024 - Certificates successfully requested and renewed where required, sleeping one day
Does anyone have any ideas on this? It seemed to start with the latest mailcow update (version 2024-07ish to 2024-08a, and it's still happening. It seems to cycle through archiving ALL the additional SAN SSL certs on the server, a couple at a time, and once all the SSL certs have been archived and re-implemented, acme will run once or twice and report that "Certificates were successfully validated, no changes or renewals required, sleeping for another day." Then on the next run through, it'll start them all over again
After restarting the acme container a BUNCH more times, this issue seems to have resolved itself. The last 10 restarts have all resulted in "Certificates were successfully validated, no changes or renewals required, sleeping for another day."
Fingers crossed it stays that way.
I also noticed my server had IPv6 connectivity problems, which I just fixed, and acme is still now fine. Maybe that connectivity problem at the time of the last update triggered this whole thing. anyway, I guess this issue should be closed now.
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
Steps to reproduce:
Which branch are you using?
master
Which architecture are you using?
x86
Operating System:
Debian Bookworm
Server/VM specifications:
11GB RAM, 4 CPU cores
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
KVM
Docker version:
27.1.1
docker-compose version or docker compose version:
v2.29.1
mailcow version:
2024-08a
Reverse proxy:
N/A
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check:
The text was updated successfully, but these errors were encountered: