You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed 2.7.6 from the cloudsmith repositories using the documentation instructions; my OS is Linux Mint 21.3.
Caddy fails with the following error: Error: reading config file: open onfig: no such file or directory
After digging around I understood that the root cause of the problem is in how the systemd unit file was written, it has: ExecStart=/usr/local/bin/caddy run -config /etc/caddy/Caddyfile (instead of --config, note the 2 dashes).
Having examined this repository, I see that the file says --config (i.e. it is correct), so I am not sure why I ended up with such a file. Maybe I looked in the wrong repository; in any case - I hope that this might ring some bells to whoever builds the DEBs, so this can be fixed in the right place.
The text was updated successfully, but these errors were encountered:
Are you sure you didn't have an old copy of the systemd config file from before? Nobody else has reported this issue and 2.7.6 has been out for a while.
I just installed 2.7.6 from the cloudsmith repositories using the documentation instructions; my OS is Linux Mint 21.3.
Caddy fails with the following error:
Error: reading config file: open onfig: no such file or directory
After digging around I understood that the root cause of the problem is in how the systemd unit file was written, it has:
ExecStart=/usr/local/bin/caddy run -config /etc/caddy/Caddyfile
(instead of--config
, note the 2 dashes).Having examined this repository, I see that the file says
--config
(i.e. it is correct), so I am not sure why I ended up with such a file. Maybe I looked in the wrong repository; in any case - I hope that this might ring some bells to whoever builds the DEBs, so this can be fixed in the right place.The text was updated successfully, but these errors were encountered: