aredden / electron-G14Control

Electron desktop application replacement for G14ControlR3.
MIT License
209 stars 27 forks source link

Run from binary files error #123

Closed general-rj45 closed 1 year ago

general-rj45 commented 1 year ago

Hi all!

I am trying to run cds from binaries. My UI is unable to connect to the API and hangs indefinitely. How to run cds correctly in the minimum configuration just to see how it works? Docker compos didn't start for me either.

image

I'm new to this tool so I can't read CD logs well. I am attaching them below.

api.go source_line=424 2023-08-27 16:32:33 [ERROR] engine is unavailable for download, this may lead to a poor user experience. Please check your configuration file or the /var/lib/cds-engine directory caller=github.com/ovh/cds/engine/api/download.Init service=api source_file=/tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/download/download.go source_line=48 2023-08-27 16:32:33 [ERROR] cdsctl is unavailable for download, this may lead to a poor user experience. Please check your configuration file or the /var/lib/cds-engine directory caller=github.com/ovh/cds/engine/api/download.Init service=api source_file=/tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/download/download.go source_line=51 2023-08-27 16:32:33 [INFO] Initializing

service.WriteError deprecated=false handler=api.(*API).postAuthLocalSignupHandler ip_address=127.0.0.1:45352 method=POST request_id=37ba2894-d710-4fb9-b49f-2cfe9abfca3a request_uri=/auth/consumer/local/signup route=/auth/consumer/local/signup source_file=/tmp/790ad7b9a1a85167593986ed564384b7/run/engine/service/http.go source_line=155 stack_trace=cannot create a user with given username github.com/ovh/cds/sdk.NewError /tmp/790ad7b9a1a85167593986ed564384b7/run/sdk/error.go:546 github.com/ovh/cds/sdk.NewErrorFrom /tmp/790ad7b9a1a85167593986ed564384b7/run/sdk/error.go:562 github.com/ovh/cds/engine/api.(*API).postAuthLocalSignupHandler.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/auth_local.go:55 github.com/ovh/cds/engine/api.(*Router).handle.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:442 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2084 github.com/ovh/cds/engine/api.(*Router).recoverWrap.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:170 github.com/ovh/cds/engine/api.(*Router).setRequestID.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:118 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2084 github.com/gorilla/handlers.CompressHandlerLevel.func1 /go/pkg/mod/github.com/gorilla/handlers@v0.0.0-20160816184729-a5775781a543/compress.go:143 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2084 github.com/ovh/cds/engine/api.(*Router).compress.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:95 github.com/ovh/cds/engine/api.(*Router).pprofLabel.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:87 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2084 github.com/gorilla/mux.(*Router).ServeHTTP /go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2916 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:1966 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1571

2023-08-27 16:32:33 [ERROR] error while initializing worker models routine: resource not found (caused by: cannot update basic model docker: resource not found) caller=github.com/ovh/cds/engine/api.(*API).Serve.func6 goroutine=workermodel.Initialize service=api source_file=/tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/api.go source_line=718 2023

Thanks in advance for any help!