Error executing action `create` on resource 'acme_certificate[staging]'

on my site running gitlab-ce 12.5.4 on debian 10, i’m unable to renew Let’s Encrypt certificate, getting errors:

root@gitlab:~# gitlab-ctl reconfigure
Starting Chef Client, version 14.13.11

Recipe: letsencrypt::http_authorization

  • letsencrypt_certificate[] action create
    • acme_certificate[staging] action create

      Error executing action create on resource ‘acme_certificate[staging]’


      Method not allowed

I’ve upgrade all gitlab related packages, doing " gitlab-ctl renew-le-certs", reboot the machine without success.
My gitlab.rb configuration is:

external_url ‘
nginx[‘redirect_http_to_https’] = true
nginx[‘redirect_http_to_https_port’] = 80
letsencrypt[‘enable’] = true
nginx[‘custom_gitlab_server_config’] = “location /.well-known/acme-challenge/ {\n root /var/opt/gitlab/nginx/www/; \n}\n”

Thanks in advance for help,


Exactly the same issue here… :frowning:
You have a “temporary workaround” here:

Very thanks for your help, it works well!

I faced a similar problem. Detailed steps mentioned here: Error executing action `create` on resource 'acme_certificate[staging]'