[GH-ISSUE #234] feature request - read/write test on startup #112

Open
opened 2026-03-13 15:48:26 +03:00 by kerem · 0 comments
Owner

Originally created by @jvanasco on GitHub (Jun 26, 2020).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/234

Debugging this took way too long. I recently upgraded a server and all my certificate renewals started to fail. I eventually found in the error messages:

Jun 26 20:55:12 westing acme-dns[1802008]: time="2020-06-26T20:55:12Z" level=debug msg="Error while trying to update record" error="attempt to write a readonly database"

It would be nice if acme-dns tried to read&write on startup, to ensure it can do both - and print out a warning or exit if it can't.

--

Note for others: The cause of my issue was somewhat related to #88 - my database file and parent-directory were owned by acme-dns... but the parent-directory was actually a symlink to another directory on a mounted volume; the symlink location was owned by acme-dns but the real location was not.

Originally created by @jvanasco on GitHub (Jun 26, 2020). Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/234 Debugging this took way too long. I recently upgraded a server and all my certificate renewals started to fail. I eventually found in the error messages: Jun 26 20:55:12 westing acme-dns[1802008]: time="2020-06-26T20:55:12Z" level=debug msg="Error while trying to update record" error="attempt to write a readonly database" It would be nice if acme-dns tried to read&write on startup, to ensure it can do both - and print out a warning or exit if it can't. -- Note for others: The cause of my issue was somewhat related to #88 - my database file and parent-directory were owned by `acme-dns`... but the parent-directory was actually a symlink to another directory on a mounted volume; the symlink location was owned by `acme-dns` but the real location was not.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/acme-dns#112
No description provided.