Letsencrypt HTTP challenge stuck on stage "Testing certificate renew..."

Good catch. In my other docker-compose.yml, I needed to add these to the labels of my nginx service:

      - "traefik.http.routers.purldb_https.tls=true"
      - "traefik.http.routers.purldb_https.tls.certresolver=resolver"