sourcegraph / app

Issue tracker for the Sourcegraph app - a lightweight single-binary version of Sourcegraph for your local machine
27 stars 2 forks source link

Cody GUI is not opening. #72

Open jairajsahgal opened 10 months ago

jairajsahgal commented 10 months ago

Logs of the error.

I exited the app 2 times when it was not opening. It's working perfectly in VScode extension

[2023-09-10][09:33:16][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-09-10][09:34:29][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-09-10][09:35:48][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-09-10][09:40:48][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible [2023-09-10][09:40:48][ERROR][app] [2023-09-10][09:40:48][ERROR][app] goroutine 306 [running]: [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).checkDeadlock(0x140006b6530?) [2023-09-10][09:40:48][ERROR][app] internal/conf/store.go:175 +0x300 [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).WaitUntilInitialized(0x14000b10fc0) [2023-09-10][09:40:48][ERROR][app] internal/conf/store.go:137 +0x2c [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(client).Watch(0x14000431dc0, 0x10dbea070) [2023-09-10][09:40:48][ERROR][app] internal/conf/client.go:169 +0x1b8 [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x14001db7a70?) [2023-09-10][09:40:48][ERROR][app] internal/conf/client.go:136 +0x28 [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2() [2023-09-10][09:40:48][ERROR][app] cmd/symbols/parser/config.go:52 +0x24 [2023-09-10][09:40:48][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0 [2023-09-10][09:40:48][ERROR][app] cmd/symbols/parser/config.go:51 +0xe8 [2023-09-10][09:40:48][ERROR][app] [2023-09-10][09:40:48][ERROR][app] goroutine 1 [syscall, 5 minutes]: [2023-09-10][09:40:48][ERROR][app] syscall.syscall6(0x1400226eed8?, 0x2?, 0x1400243f198?, 0x100a7a700?, 0x100016078?, 0x1392aaf48?, 0x111c74a68?) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-09-10][09:40:48][ERROR][app] syscall.wait4(0x1400243f1d8?, 0x100a746c8?, 0x90?, 0x10dad5380?) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-09-10][09:40:48][ERROR][app] syscall.Wait4(0x14002276078?, 0x1400243f214, 0x10cb8a3d8?, 0x1?) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-09-10][09:40:48][ERROR][app] os.(Process).wait(0x140006fbb30) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-09-10][09:40:48][ERROR][app] os.(Process).Wait(...) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec.go:132 [2023-09-10][09:40:48][ERROR][app] os/exec.(Cmd).Wait(0x14001e7adc0) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-09-10][09:40:48][ERROR][app] os/exec.(Cmd).Run(0x103d8afb3?) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec/exec.go:437 +0x38 [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable() [2023-09-10][09:40:48][ERROR][app] internal/singleprogram/singleprogram.go:237 +0xec [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x10dc6b970, 0x1400220f480}) [2023-09-10][09:40:48][ERROR][app] internal/singleprogram/singleprogram.go:164 +0xbf4 [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x14002210500?) [2023-09-10][09:40:48][ERROR][app] internal/service/svcmain/svcmain.go:91 +0x80 [2023-09-10][09:40:48][ERROR][app] github.com/urfave/cli/v2.(Command).Run(0x14002210500, 0x1400220f0c0, {0x14000116050, 0x5, 0x5}) [2023-09-10][09:40:48][ERROR][app] external/com_github_urfave_cli_v2/command.go:271 +0x78c [2023-09-10][09:40:48][ERROR][app] github.com/urfave/cli/v2.(App).RunContext(0x1400052fc20, {0x10dc4e778?, 0x1400012e008}, {0x14000116050, 0x5, 0x5}) [2023-09-10][09:40:48][ERROR][app] external/com_github_urfave_cli_v2/app.go:333 +0x5a4 [2023-09-10][09:40:48][ERROR][app] github.com/urfave/cli/v2.(App).Run(...) [2023-09-10][09:40:48][ERROR][app] external/com_github_urfave_cli_v2/app.go:310 [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x1103eeec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x14000116050?, 0x5, 0x5}) [2023-09-10][09:40:48][ERROR][app] internal/service/svcmain/svcmain.go:102 +0x620 [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...) [2023-09-10][09:40:48][ERROR][app] enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15 [2023-09-10][09:40:48][ERROR][app] main.main() [2023-09-10][09:40:48][ERROR][app] /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/main/enterprise/cmd/sourcegraph/main.go:50 +0x118 [2023-09-10][09:40:48][ERROR][app] [2023-09-10][09:40:48][ERROR][app] goroutine 5 [select]: [2023-09-10][09:40:48][ERROR][app] go.opencensus.io/stats/view.(worker).start(0x14000194600) [2023-09-10][09:40:48][ERROR][app] external/io_opencensus_go/stats/view/worker.go:292 +0x88 [2023-09-10][09:40:48][ERROR][app] created by go.opencensus.io/stats/view.init.0 [2023-09-10][09:40:48][ERROR][app] external/io_opencensus_go/stats/view/worker.go:34 +0xa4 [2023-09-10][09:40:48][ERROR][app] [2023-09-10][09:40:48][ERROR][app] goroutine 123 [select, 5 minutes]: [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(MutableLimiter).do(0x14000145f50, 0x20) [2023-09-10][09:40:48][ERROR][app] internal/limiter/mutable.go:94 +0x14c [2023-09-10][09:40:48][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable [2023-09-10][09:40:48][ERROR][app] internal/limiter/mutable.go:38 +0x108 [2023-09-10][09:40:48][ERROR][app] [2023-09-10][09:40:48][ERROR][app] goroutine 291 [chan receive]: [2023-09-10][09:40:48][ERROR][app] github.com/golang/glog.(loggingT).flushDaemon(0x140009ccab0?) [2023-09-10][09:40:48][ERROR][app] external/com_github_golang_glog/glog.go:882 +0x5c [2023-09-10][09:40:48][ERROR][app] created by github.com/golang/glog.init.0 [2023-09-10][09:40:48][ERROR][app] external/com_github_golang_glog/glog.go:410 +0x200 [2023-09-10][09:40:48][ERROR][app] [2023-09-10][09:40:48][ERROR][app] goroutine 324 [select]: [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).consume(0x1400224e210) [2023-09-10][09:40:48][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8 [2023-09-10][09:40:48][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).start [2023-09-10][09:40:48][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60 [2023-09-10][09:40:48][ERROR][app] [2023-09-10][09:40:48][ERROR][app] goroutine 325 [select, 5 minutes]: [2023-09-10][09:40:48][ERROR][app] io.(pipe).read(0x14002206e40, {0x140023d0212, 0xdee, 0x104d3000104b0?}) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/io/pipe.go:57 +0x84 [2023-09-10][09:40:48][ERROR][app] io.(PipeReader).Read(0x5000?, {0x140023d0212?, 0xe47?, 0x111c74100?}) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/io/pipe.go:136 +0x24 [2023-09-10][09:40:48][ERROR][app] bufio.(Scanner).Scan(0x140000b5f48) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/bufio/scan.go:214 +0x908 [2023-09-10][09:40:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1() [2023-09-10][09:40:48][ERROR][app] internal/singleprogram/postgresql.go:186 +0xb0 [2023-09-10][09:40:48][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter [2023-09-10][09:40:48][ERROR][app] internal/singleprogram/postgresql.go:184 +0x1dc [2023-09-10][09:40:48][ERROR][app] [2023-09-10][09:40:48][ERROR][app] goroutine 326 [syscall, 5 minutes]: [2023-09-10][09:40:48][ERROR][app] syscall.syscall6(0x1f5b00001f5b?, 0x1f5d00001f5d?, 0x1f7d00001f5f?, 0x1fb400001f80?, 0x100011fb6?, 0x1395a0c08?, 0x111c74108?) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-09-10][09:40:48][ERROR][app] syscall.wait4(0x1400030fe08?, 0x100a746c8?, 0x90?, 0x10dad5380?) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-09-10][09:40:48][ERROR][app] syscall.Wait4(0x211d00002119?, 0x1400030fe44, 0x212600002126?, 0x212800002128?) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-09-10][09:40:48][ERROR][app] os.(Process).wait(0x140006fb680) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-09-10][09:40:48][ERROR][app] os.(Process).Wait(...) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec.go:132 [2023-09-10][09:40:48][ERROR][app] os/exec.(Cmd).Wait(0x14001e7ab00) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-09-10][09:40:48][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1() [2023-09-10][09:40:48][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:230 +0x74 [2023-09-10][09:40:48][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres [2023-09-10][09:40:48][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:228 +0x298 [2023-09-10][09:40:48][ERROR][app] [2023-09-10][09:40:48][ERROR][app] goroutine 329 [IO wait, 5 minutes]: [2023-09-10][09:40:48][ERROR][app] internal/poll.runtime_pollWait(0x139533f18, 0x72) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/runtime/netpoll.go:305 +0xa0 [2023-09-10][09:40:48][ERROR][app] internal/poll.(pollDesc).wait(0x14002207500?, 0x140000d5c00?, 0x1) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28 [2023-09-10][09:40:48][ERROR][app] internal/poll.(pollDesc).waitRead(...) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:89 [2023-09-10][09:40:48][ERROR][app] internal/poll.(FD).Read(0x14002207500, {0x140000d5c00, 0x200, 0x200}) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0 [2023-09-10][09:40:48][ERROR][app] os.(File).read(...) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/file_posix.go:31 [2023-09-10][09:40:48][ERROR][app] os.(File).Read(0x140006b66c8, {0x140000d5c00?, 0x14001d33e40?, 0x100a01130?}) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/file.go:119 +0x5c [2023-09-10][09:40:48][ERROR][app] bytes.(Buffer).ReadFrom(0x1400224ea20, {0x10dc10780, 0x140006b66c8}) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/bytes/buffer.go:202 +0x90 [2023-09-10][09:40:48][ERROR][app] io.copyBuffer({0x10dbfd9a0, 0x1400224ea20}, {0x10dc10780, 0x140006b66c8}, {0x0, 0x0, 0x0}) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/io/io.go:413 +0x108 [2023-09-10][09:40:48][ERROR][app] io.Copy(...) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/io/io.go:386 [2023-09-10][09:40:48][ERROR][app] os/exec.(Cmd).writerDescriptor.func1() [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec/exec.go:407 +0x44 [2023-09-10][09:40:48][ERROR][app] os/exec.(Cmd).Start.func1(0x14002258900?) [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec/exec.go:544 +0x2c [2023-09-10][09:40:48][ERROR][app] created by os/exec.(Cmd).Start [2023-09-10][09:40:48][ERROR][app] GOROOT/src/os/exec/exec.go:543 +0x5d0 [2023-09-10][09:40:48][ERROR][app] Cody app backend terminated with exit code 2