Hey guys,
I've been on vacation and back trying to figure this out now.
I ended up finding that I had my IP address incorrectly configured and it managed to get most of the install completed until it got to Caddy:
import (
caddycmd "github.com/caddyserver/caddy/v2/cmd"
// plug in Caddy modules here
_ "github.com/caddyserver/caddy/v2/modules/standard"
)
func main() {
caddycmd.Main()
}
2024/01/15 03:38:03 [INFO] Initializing Go module
2024/01/15 03:38:03 [INFO] exec (timeout=0s): /usr/local/bin/go mod init caddy
go: creating new go.mod: module caddy
go: to add module requirements and sums:
go mod tidy
2024/01/15 03:38:03 [INFO] Pinning versions
2024/01/15 03:38:03 [INFO] exec (timeout=0s): /usr/local/bin/go get -d -v github.com/caddyserver/caddy/v2
go: module github.com/caddyserver/caddy/v2: Get "
https://proxy.golang.org/github.com/caddyserver/caddy/v2/@v/list": dial tcp [2404:6800:4006:80a::2011]:443: connect: no route to host
2024/01/15 03:38:03 [FATAL] exit status 1
Command: xcaddy build --output /usr/local/bin/caddy failed!
+ echo 'Failed to build Caddy without plugin, terminating.'
Failed to build Caddy without plugin, terminating.
+ exit 1
Please note the below config I'm currently running:
JAIL_IP="192.168.X.XXX/24"
DEFAULT_GW_IP="192.168.X.XXX"
POOL_PATH="/mnt/MeinallNAS/nextcloud"
TIME_ZONE="Australia/Perth"
HOST_NAME="soanderou.com"
NO_CERT=1
CERT_EMAIL="
XXXXXXXX@gmail.com"
I'm currently hosting through google and I think this might be why it isn't working?
Should I move to Cloudflare to fix this?