Unable to renew let's encrypt certificates on self managed server

Currently running a self hosted instance of gitlab-ee and have a certificate from let’s encrypt that will expire 3/16/2021. When I try and renew the certificate using “gitlab-ctl renew-le-certs” it errors with the following message: “opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl/util.rb:47:in `parse_json_file’: Attributes not found in /opt/gitlab/embedded/nodes/gitlab.json, has reconfigure been run yet? (GitlabCtl::Errors::NodeError)”. Since I have been using this for over 2 months I have run gitlab-ctl reconfigure.

When I try and run the reconfigure command it now errors on Recipe: letsencrypt::http_authorization.
Both ports 80 and 443 are open to the internet.

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

Gitlab-ctl reconfigure errors
//gitlab-ctl reconfigure
Recipe: letsencrypt::http_authorization

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

      • file[servername SSL key] action create_if_missing (up to date)

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


This issue is closed. If solved the problem.