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

Improve error messages #24

Open
dbrgn opened this issue May 28, 2020 · 2 comments
Open

Improve error messages #24

dbrgn opened this issue May 28, 2020 · 2 comments

Comments

@dbrgn
Copy link
Contributor

dbrgn commented May 28, 2020

When starting acmed like this:

acmed -f --log-stderr --log-level debug

...I get the following error:

Error: IO error: Permission denied (os error 13)

I'm sure I'll find out what the reason is, but the error message could be improved, to say where the permission fails. Is it the PID file? The accounts directory? Something else?

breard-r added a commit that referenced this issue Aug 25, 2020
breard-r added a commit that referenced this issue Aug 26, 2020
breard-r added a commit that referenced this issue Aug 26, 2020
An identifier must have one and only one type field (`dns` or `ip`).
Rel #24
@ptrcnull
Copy link

ptrcnull commented May 7, 2022

Been almost 2 years and it's still the case:

[2022-05-07T02:24:02Z INFO  acmed::config] /etc/acmed/acmed.toml: loading configuration file
[2022-05-07T02:24:02Z INFO  acmed::config] /etc/acmed/default_hooks.toml: loading configuration file
[2022-05-07T02:24:02Z INFO  acmed::config] /etc/acmed/letsencrypt.toml: loading configuration file
[2022-05-07T02:24:02Z ERROR acmed] IO error: Permission denied (os error 13)

Had to actually strace the process to see what it fails on...

breard-r added a commit that referenced this issue May 7, 2022
@breard-r
Copy link
Owner

breard-r commented May 7, 2022

I just added the missing file path in all error messages I could find. I'll keep this issue open since I think log messages can still be improved, so feel free to report anything missing so I can look into it.

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

3 participants