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

Need go as a dependency for update-caddy #86

Open
pauldmccallum opened this issue Jul 21, 2023 · 1 comment
Open

Need go as a dependency for update-caddy #86

pauldmccallum opened this issue Jul 21, 2023 · 1 comment

Comments

@pauldmccallum
Copy link

pauldmccallum commented Jul 21, 2023

When running update-caddy, the script fails with:

2023/07/21 11:42:39 [INFO] Initializing Go module
2023/07/21 11:42:39 [INFO] exec (timeout=-2562047h47m16.854775808s): go mod init caddy
2023/07/21 11:42:39 [FATAL] exec: "go": executable file not found in $PATH
mv: cannot stat 'caddy': No such file or directory
Job for caddy.service failed because the control process exited with error code.
See "systemctl status caddy.service" and "journalctl -xeu caddy.service" for details.

The fix is to install go. I'd add this to your PreReqs step.

@pauldmccallum
Copy link
Author

Sorry, should have added that this is the Arch version

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