Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staged certificate not completing with "error loading staged set" (certificate staged. Ongoing...) [Apache/2.4.58] #334

Open
whereisaaron opened this issue Apr 24, 2024 · 1 comment

Comments

@whereisaaron
Copy link

I've had the same errors #323 and #223 occurs and the staged domain was stuck in staged with the same error, after previous renewing successfully server times. Using Apache/2.4.58. There log error was:

[md:error] [pid 10:tid 140553250768768] (20014)Internal error (specific information not available): AH10069: mydomain.com: error loading staged set

The server status page said "certificate staged. Ongoing..."
image

A full restart didn't complete the staging and same error occurred again, "error loading staged set".

Disk space, archive folder, and domains folder looked fine. The md/tmp folder contained a range of folder for different domains, each with just a 'job.json' file. However the folder and job.json for the problem domain only listed events from the previous renewal.

The folder permissions were:
image

The folder in the staging director contained the new certificate and the job.json said "The certificate for the managed domain has been renewed successfully and can be used (valid since Mon, 08 Apr 2024 23:52:55 GMT). A graceful server restart now is recommended.". But server restarts didn't do anything.

Removing the domain name directory from staged switched the status to "Pending". I'll wait and see if the renewal happens this time.

The latest in job.json for the staged certificate is:

{
  "name": "mydomain.com",
  "finished": true,
  "notified": true,
  "notified-renewed": true,
  "last-run": "Mon, 08 Apr 2024 23:52:42 GMT",
  "valid-from": "Mon, 08 Apr 2024 23:52:55 GMT",
  "errors": 0,
  "last": {
    "status": 0,
    "valid-from": "Mon, 08 Apr 2024 23:52:55 GMT"
  },
  "log": {
    "entries": [
      {
        "when": "Mon, 08 Apr 2024 23:52:56 GMT",
        "type": "message-renewed"
      },
      {
        "when": "Mon, 08 Apr 2024 23:52:56 GMT",
        "type": "finished"
      },
      {
        "when": "Mon, 08 Apr 2024 23:52:55 GMT",
        "type": "progress",
        "detail": "The certificate for the managed domain has been renewed successfully and can be used (valid since Mon, 08 Apr 2024 23:52:55 GMT). A graceful server restart now is recommended."
      },
      {
        "when": "Mon, 08 Apr 2024 23:52:55 GMT",
        "type": "progress",
        "detail": "Retrieving rsa certificate chain for mydomain.com"
      },
...
@icing
Copy link
Owner

icing commented Apr 24, 2024

You can set LogLevel md:debug to see more details on what goes wrong when loading the new cert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants