Open bwthor opened 2 years ago
Getting these error when trying to run the script. TrueNAS Core 12.0, Release Train.
I'd try your freenas-iocage-nextcloud, which has Caddy since it seems current, but I already have Nextcloud up and running.
go: downloading github.com/spaolacci/murmur3 v1.1.0 go: downloading github.com/fsnotify/fsnotify v1.4.9 go: downloading golang.org/x/mod v0.4.2 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da 2022/04/12 11:29:42 [INFO] exec (timeout=0s): /usr/local/bin/go build -o /usr/local/bin/caddy -ldflags -w -s -trimpath "# github.com/lucas-clemente/quic-go/internal/qtls" /root/go/pkg/mod/github.com/lucas-clemente/quic-go@v0.23.0/internal/qtls/go118.go:5:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration 2022/04/12 11:30:36 [INFO] Cleaning up temporary folder: /tmp/buildenv_2022-04-12-1128.672301048 2022/04/12 11:30:36 [FATAL] exit status 2 Command: xcaddy build --output /usr/local/bin/caddy failed! Failed to build Caddy without plugin, terminating.
Edit...I added the "" around the github.com/lucas-clemente line, otherwise the # causes it to be huge and bold.
Looks like the NextCloud script you have is experiencing the same issue. https://github.com/danb35/freenas-iocage-nextcloud/issues/187
The fix they mentioned there seemed to work.
Getting these error when trying to run the script. TrueNAS Core 12.0, Release Train.
I'd try your freenas-iocage-nextcloud, which has Caddy since it seems current, but I already have Nextcloud up and running.
go: downloading github.com/spaolacci/murmur3 v1.1.0 go: downloading github.com/fsnotify/fsnotify v1.4.9 go: downloading golang.org/x/mod v0.4.2 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da 2022/04/12 11:29:42 [INFO] exec (timeout=0s): /usr/local/bin/go build -o /usr/local/bin/caddy -ldflags -w -s -trimpath "# github.com/lucas-clemente/quic-go/internal/qtls" /root/go/pkg/mod/github.com/lucas-clemente/quic-go@v0.23.0/internal/qtls/go118.go:5:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration 2022/04/12 11:30:36 [INFO] Cleaning up temporary folder: /tmp/buildenv_2022-04-12-1128.672301048 2022/04/12 11:30:36 [FATAL] exit status 2 Command: xcaddy build --output /usr/local/bin/caddy failed! Failed to build Caddy without plugin, terminating.
Edit...I added the "" around the github.com/lucas-clemente line, otherwise the # causes it to be huge and bold.