-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Permission denied when first run after fresh installation. #6347
Comments
Interesting... allegedly, the fix is in #6340 -- previously reported in #6341. But I wasn't able to reproduce it. Additionally, I'm confused as to why the storage isn't being "checked" before obtaining a certificate in the first place: https://github.com/caddyserver/certmagic/blob/bd400cc9fb55cc863a80028a0ab2f67d0b07504c/config.go#L1154-L1158 This is something I thought we solved years ago. If the storage isn't writeable then it should give an error much earlier. |
Facing exact same issue here. Downgrading is the only option which works. |
same here |
This is strange. Why can I not reproduce this by setting $HOME to a folder that doesn't exist at first? What is the difference, and why are only some people experiencing this? I'm mobile now so just jotting some thoughts down. |
Same issue here: Error: loading initial config: loading new config: http app module: start: finalizing automatic HTTPS: managing certificates for EDIT Issue happened on Ubuntu 22.04.4 LTS, bare metal server with x86 CPU |
The workaround for now is to run |
I am getting similar issue @qf3l3k |
Fellas, we're aware of the issue itself. Go easy on the "Me too!". If you'd like to help, you can provide contextual information (is it an upgrade? completely fresh install? OS details? etc.). |
I just installed caddy on a newly booted ubuntu-22.04 from aws-ec2 |
Should be fixed in #6340 |
sorry about that |
OS: Ubuntu 22.04
Install: https://caddyserver.com/docs/install#debian-ubuntu-raspbian
Caddyfile
Something Found:
/var/lib/caddy/.local/
lacks "x" permissions for owner.The text was updated successfully, but these errors were encountered: