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

feature request - read/write test on startup #234

Open
jvanasco opened this issue Jun 26, 2020 · 0 comments
Open

feature request - read/write test on startup #234

jvanasco opened this issue Jun 26, 2020 · 0 comments

Comments

@jvanasco
Copy link
Contributor

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 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

1 participant