kolisko
kolisko
ZZerops
Created by kolisko on 1/15/2025 in #💪・community-support
obtain zerops.yml for existing service
Is it possible to get zerops.yml config file for an existing service? In zcli is not any command for that and in GUI can not see any option for downloading the file. There is only option for Export service as yaml but it returns short yaml about the service name and version.
16 replies
ZZerops
Created by kolisko on 12/12/2024 in #💪・community-support
zcli service log - invalid memory address or nil pointer dereference
Hi guys. When execute zcli service log --projectId XXX it works fine. But when adding the --serviceId XXX parameter it crashed
zcli service log --projectId XXX --serviceId XXX
➤ INFO Selected service: XXX
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xdb101cc]

goroutine 1 [running]:
github.com/zeropsio/zcli/src/cmd.serviceLogCmd.func1({0xe37a140, 0xc00011a000}, 0xc000157440)
/Users/runner/work/zcli/zcli/src/cmd/serviceLog.go:60 +0x357
github.com/zeropsio/zcli/src/cmdBuilder.buildCobraCmd.createCmdRunFunc.func1(0xc000148f08, {0xc00012e340, 0x0, 0x4})
/Users/runner/work/zcli/zcli/src/cmdBuilder/createRunFunc.go:130 +0x4da
github.com/spf13/cobra.(*Command).execute(0xc000148f08, {0xc00012e300, 0x4, 0x4})
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0xc000142008)
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(...)
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1034
github.com/zeropsio/zcli/src/cmdBuilder.ExecuteRootCmd(0xc0000c8370)
/Users/runner/work/zcli/zcli/src/cmdBuilder/executeRootCmd.go:55 +0x294
github.com/zeropsio/zcli/src/cmd.ExecuteCmd()
/Users/runner/work/zcli/zcli/src/cmd/root.go:18 +0x18
main.main()
/Users/runner/work/zcli/zcli/cmd/zcli/main.go:8 +0xf
zcli service log --projectId XXX --serviceId XXX
➤ INFO Selected service: XXX
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xdb101cc]

goroutine 1 [running]:
github.com/zeropsio/zcli/src/cmd.serviceLogCmd.func1({0xe37a140, 0xc00011a000}, 0xc000157440)
/Users/runner/work/zcli/zcli/src/cmd/serviceLog.go:60 +0x357
github.com/zeropsio/zcli/src/cmdBuilder.buildCobraCmd.createCmdRunFunc.func1(0xc000148f08, {0xc00012e340, 0x0, 0x4})
/Users/runner/work/zcli/zcli/src/cmdBuilder/createRunFunc.go:130 +0x4da
github.com/spf13/cobra.(*Command).execute(0xc000148f08, {0xc00012e300, 0x4, 0x4})
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0xc000142008)
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(...)
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1034
github.com/zeropsio/zcli/src/cmdBuilder.ExecuteRootCmd(0xc0000c8370)
/Users/runner/work/zcli/zcli/src/cmdBuilder/executeRootCmd.go:55 +0x294
github.com/zeropsio/zcli/src/cmd.ExecuteCmd()
/Users/runner/work/zcli/zcli/src/cmd/root.go:18 +0x18
main.main()
/Users/runner/work/zcli/zcli/cmd/zcli/main.go:8 +0xf
16 replies
ZZerops
Created by kolisko on 12/12/2024 in #💪・community-support
zcli non-interactive mode
Is it possible to run zcli in non-interactive mode somehow?
9 replies
ZZerops
Created by kolisko on 12/11/2024 in #💪・community-support
vpn status
can I check the vpn status? Something like zcli vpn status?
6 replies