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

can not open on macos monterey 12.5.1 #44

Open jtyjty99999 opened 1 year ago

jtyjty99999 commented 1 year ago

2.3 GHz Intel Core i9 MacBook Pro (16-inch, 2019)

logs below:

[2023-07-14][06:18:39][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-14][06:22:06][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-14][06:22:38][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-14][06:25:45][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-14][06:28:48][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-14][06:33:48][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible [2023-07-14][06:33:48][ERROR][app] [2023-07-14][06:33:48][ERROR][app] goroutine 323 [running]: [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0xc001e574c8?) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf/store.go:175 +0x2c8 [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0xc000cc4d80) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf/store.go:137 +0x2f [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0xc001233dc0, 0x10b113fd0) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf/client.go:169 +0x11e [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0xc0020d01e0?) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf/client.go:136 +0x28 [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2() [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser/config.go:52 +0x25 [2023-07-14][06:33:48][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0 [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser/config.go:51 +0xb1 [2023-07-14][06:33:48][ERROR][app] [2023-07-14][06:33:48][ERROR][app] goroutine 1 [syscall, 5 minutes]: [2023-07-14][06:33:48][ERROR][app] syscall.syscall6(0xc0025aeeb8?, 0xc0026bf1a8?, 0x1000ba785?, 0x100c0025aeea0?, 0x117919af8?, 0x0?, 0x110b71a68?) [2023-07-14][06:33:48][ERROR][app] runtime/sys_darwin.go:45 +0x99 [2023-07-14][06:33:48][ERROR][app] syscall.wait4(0xc0026bf1e8?, 0x10000ec27?, 0x90?, 0x104417f20?) [2023-07-14][06:33:48][ERROR][app] syscall/zsyscall_darwin_amd64.go:43 +0x48 [2023-07-14][06:33:48][ERROR][app] syscall.Wait4(0x203000?, 0xc0026bf21c, 0x10c6db448?, 0x1?) [2023-07-14][06:33:48][ERROR][app] syscall/syscall_bsd.go:144 +0x2b [2023-07-14][06:33:48][ERROR][app] os.(*Process).wait(0xc002578ae0) [2023-07-14][06:33:48][ERROR][app] os/exec_unix.go:43 +0x77 [2023-07-14][06:33:48][ERROR][app] os.(*Process).Wait(...) [2023-07-14][06:33:48][ERROR][app] os/exec.go:132 [2023-07-14][06:33:48][ERROR][app] os/exec.(*Cmd).Wait(0xc001463340) [2023-07-14][06:33:48][ERROR][app] os/exec/exec.go:599 +0x4b [2023-07-14][06:33:48][ERROR][app] os/exec.(*Cmd).Run(0x104556b71?) [2023-07-14][06:33:48][ERROR][app] os/exec/exec.go:437 +0x39 [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable() [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram/singleprogram.go:237 +0xf5 [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x10c759590, 0xc002674f00}) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram/singleprogram.go:164 +0xf6a [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0xc00261f900?) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain/svcmain.go:91 +0xa7 [2023-07-14][06:33:48][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0xc00261f900, 0xc002674b40, {0xc000116050, 0x5, 0x5}) [2023-07-14][06:33:48][ERROR][app] github.com/urfave/cli/v2@v2.23.7/command.go:271 +0xa42 [2023-07-14][06:33:48][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0xc002730000, {0x10c73bc98?, 0xc00012a008}, {0xc000116050, 0x5, 0x5}) [2023-07-14][06:33:48][ERROR][app] github.com/urfave/cli/v2@v2.23.7/app.go:333 +0x665 [2023-07-14][06:33:48][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...) [2023-07-14][06:33:48][ERROR][app] github.com/urfave/cli/v2@v2.23.7/app.go:310 [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x10f277980, 0xd, 0xd}, {0xf9?, 0x0?}, {0xc000116050?, 0x5, 0x5}) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain/svcmain.go:102 +0x6b6 [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15 [2023-07-14][06:33:48][ERROR][app] main.main() [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/main.go:50 +0xd4 [2023-07-14][06:33:48][ERROR][app] [2023-07-14][06:33:48][ERROR][app] goroutine 10 [select]: [2023-07-14][06:33:48][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0xc000272b00) [2023-07-14][06:33:48][ERROR][app] go.opencensus.io@v0.24.0/stats/view/worker.go:292 +0xad [2023-07-14][06:33:48][ERROR][app] created by go.opencensus.io/stats/view.init.0 [2023-07-14][06:33:48][ERROR][app] go.opencensus.io@v0.24.0/stats/view/worker.go:34 +0x8d [2023-07-14][06:33:48][ERROR][app] [2023-07-14][06:33:48][ERROR][app] goroutine 159 [select, 5 minutes]: [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0xc000013ea8, 0x20) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter/mutable.go:94 +0x1bd [2023-07-14][06:33:48][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter/mutable.go:38 +0x105 [2023-07-14][06:33:48][ERROR][app] [2023-07-14][06:33:48][ERROR][app] goroutine 296 [chan receive]: [2023-07-14][06:33:48][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0xc001ef3ec0?) [2023-07-14][06:33:48][ERROR][app] github.com/golang/glog@v1.0.0/glog.go:882 +0x6a [2023-07-14][06:33:48][ERROR][app] created by github.com/golang/glog.init.0 [2023-07-14][06:33:48][ERROR][app] github.com/golang/glog@v1.0.0/glog.go:410 +0x1bf [2023-07-14][06:33:48][ERROR][app] [2023-07-14][06:33:48][ERROR][app] goroutine 328 [IO wait, 5 minutes]: [2023-07-14][06:33:48][ERROR][app] internal/poll.runtime_pollWait(0x117948840, 0x72) [2023-07-14][06:33:48][ERROR][app] runtime/netpoll.go:305 +0x89 [2023-07-14][06:33:48][ERROR][app] internal/poll.(*pollDesc).wait(0xc0025d64e0?, 0xc000ce8200?, 0x1) [2023-07-14][06:33:48][ERROR][app] internal/poll/fd_poll_runtime.go:84 +0x32 [2023-07-14][06:33:48][ERROR][app] internal/poll.(*pollDesc).waitRead(...) [2023-07-14][06:33:48][ERROR][app] internal/poll/fd_poll_runtime.go:89 [2023-07-14][06:33:48][ERROR][app] internal/poll.(*FD).Read(0xc0025d64e0, {0xc000ce8200, 0x200, 0x200}) [2023-07-14][06:33:48][ERROR][app] internal/poll/fd_unix.go:167 +0x25a [2023-07-14][06:33:48][ERROR][app] os.(*File).read(...) [2023-07-14][06:33:48][ERROR][app] os/file_posix.go:31 [2023-07-14][06:33:48][ERROR][app] os.(*File).Read(0xc000292a48, {0xc000ce8200?, 0x0?, 0xc0004896a0?}) [2023-07-14][06:33:48][ERROR][app] os/file.go:119 +0x5e [2023-07-14][06:33:48][ERROR][app] bytes.(*Buffer).ReadFrom(0xc0025bf0e0, {0x10c6fd920, 0xc000292a48}) [2023-07-14][06:33:48][ERROR][app] bytes/buffer.go:202 +0x98 [2023-07-14][06:33:48][ERROR][app] io.copyBuffer({0x10c6eab40, 0xc0025bf0e0}, {0x10c6fd920, 0xc000292a48}, {0x0, 0x0, 0x0}) [2023-07-14][06:33:48][ERROR][app] io/io.go:413 +0x14b [2023-07-14][06:33:48][ERROR][app] io.Copy(...) [2023-07-14][06:33:48][ERROR][app] io/io.go:386 [2023-07-14][06:33:48][ERROR][app] os/exec.(*Cmd).writerDescriptor.func1() [2023-07-14][06:33:48][ERROR][app] os/exec/exec.go:407 +0x3a [2023-07-14][06:33:48][ERROR][app] os/exec.(*Cmd).Start.func1(0x1?) [2023-07-14][06:33:48][ERROR][app] os/exec/exec.go:544 +0x25 [2023-07-14][06:33:48][ERROR][app] created by os/exec.(*Cmd).Start [2023-07-14][06:33:48][ERROR][app] os/exec/exec.go:543 +0x73e [2023-07-14][06:33:48][ERROR][app] [2023-07-14][06:33:48][ERROR][app] goroutine 341 [select]: [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0xc002670600) [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/log@v0.0.0-20230711093019-40c57b632cca/internal/sinkcores/sentrycore/worker.go:59 +0xd7 [2023-07-14][06:33:48][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/log@v0.0.0-20230711093019-40c57b632cca/internal/sinkcores/sentrycore/worker.go:51 +0x56 [2023-07-14][06:33:48][ERROR][app] [2023-07-14][06:33:48][ERROR][app] goroutine 342 [select, 5 minutes]: [2023-07-14][06:33:48][ERROR][app] io.(*pipe).read(0xc00262f020, {0xc002411211, 0xdef, 0x203000?}) [2023-07-14][06:33:48][ERROR][app] io/pipe.go:57 +0xb1 [2023-07-14][06:33:48][ERROR][app] io.(*PipeReader).Read(0xc0024111b8?, {0xc002411211?, 0xe48?, 0x0?}) [2023-07-14][06:33:48][ERROR][app] io/pipe.go:136 +0x25 [2023-07-14][06:33:48][ERROR][app] bufio.(*Scanner).Scan(0xc0000cbf50) [2023-07-14][06:33:48][ERROR][app] bufio/scan.go:214 +0x876 [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1() [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:186 +0xda [2023-07-14][06:33:48][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter [2023-07-14][06:33:48][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:184 +0x1c5 [2023-07-14][06:33:48][ERROR][app] [2023-07-14][06:33:48][ERROR][app] goroutine 343 [syscall, 5 minutes]: [2023-07-14][06:33:48][ERROR][app] syscall.syscall6(0x0?, 0x0?, 0x0?, 0x1000000000000?, 0x117919af8?, 0x0?, 0x110b71a68?) [2023-07-14][06:33:48][ERROR][app] runtime/sys_darwin.go:45 +0x99 [2023-07-14][06:33:48][ERROR][app] syscall.wait4(0xc00273ce28?, 0x10000ec27?, 0x90?, 0x104417f20?) [2023-07-14][06:33:48][ERROR][app] syscall/zsyscall_darwin_amd64.go:43 +0x48 [2023-07-14][06:33:48][ERROR][app] syscall.Wait4(0x0?, 0xc00273ce5c, 0x0?, 0x0?) [2023-07-14][06:33:48][ERROR][app] syscall/syscall_bsd.go:144 +0x2b [2023-07-14][06:33:48][ERROR][app] os.(*Process).wait(0xc002624b40) [2023-07-14][06:33:48][ERROR][app] os/exec_unix.go:43 +0x77 [2023-07-14][06:33:48][ERROR][app] os.(*Process).Wait(...) [2023-07-14][06:33:48][ERROR][app] os/exec.go:132 [2023-07-14][06:33:48][ERROR][app] os/exec.(*Cmd).Wait(0xc001dc7600) [2023-07-14][06:33:48][ERROR][app] os/exec/exec.go:599 +0x4b [2023-07-14][06:33:48][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1() [2023-07-14][06:33:48][ERROR][app] github.com/fergusstrange/embedded-postgres@v1.19.0/embedded_postgres.go:230 +0x99 [2023-07-14][06:33:48][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres [2023-07-14][06:33:48][ERROR][app] github.com/fergusstrange/embedded-postgres@v1.19.0/embedded_postgres.go:228 +0x37b [2023-07-14][06:33:48][ERROR][app] Cody app backend terminated with exit code 2 [2023-07-14][06:52:12][ERROR][app::common] No such file or directory (os error 2) [2023-07-14][06:52:14][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-14][06:57:14][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible [2023-07-14][06:57:14][ERROR][app] [2023-07-14][06:57:14][ERROR][app] goroutine 326 [running]: [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0xc000014658?) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf/store.go:175 +0x2c8 [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0xc0007b3320) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf/store.go:137 +0x2f [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0xc0012282c0, 0x10b113fd0) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf/client.go:169 +0x11e [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0xc002387e60?) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf/client.go:136 +0x28 [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2() [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser/config.go:52 +0x25 [2023-07-14][06:57:14][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0 [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser/config.go:51 +0xb1 [2023-07-14][06:57:14][ERROR][app] [2023-07-14][06:57:14][ERROR][app] goroutine 1 [syscall, 4 minutes]: [2023-07-14][06:57:14][ERROR][app] syscall.syscall6(0xc002089140?, 0xc0042ef1a8?, 0x1000ba785?, 0x100c002089128?, 0x11159c7b8?, 0x0?, 0x110b73688?) [2023-07-14][06:57:14][ERROR][app] runtime/sys_darwin.go:45 +0x99 [2023-07-14][06:57:14][ERROR][app] syscall.wait4(0xc0042ef1e8?, 0x10000ec27?, 0x90?, 0x104417f20?) [2023-07-14][06:57:14][ERROR][app] syscall/zsyscall_darwin_amd64.go:43 +0x48 [2023-07-14][06:57:14][ERROR][app] syscall.Wait4(0x203000?, 0xc0042ef21c, 0x10c6db448?, 0x1?) [2023-07-14][06:57:14][ERROR][app] syscall/syscall_bsd.go:144 +0x2b [2023-07-14][06:57:14][ERROR][app] os.(*Process).wait(0xc001d921b0) [2023-07-14][06:57:14][ERROR][app] os/exec_unix.go:43 +0x77 [2023-07-14][06:57:14][ERROR][app] os.(*Process).Wait(...) [2023-07-14][06:57:14][ERROR][app] os/exec.go:132 [2023-07-14][06:57:14][ERROR][app] os/exec.(*Cmd).Wait(0xc001d0e420) [2023-07-14][06:57:14][ERROR][app] os/exec/exec.go:599 +0x4b [2023-07-14][06:57:14][ERROR][app] os/exec.(*Cmd).Run(0x104556b71?) [2023-07-14][06:57:14][ERROR][app] os/exec/exec.go:437 +0x39 [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable() [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram/singleprogram.go:237 +0xf5 [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x10c759590, 0xc002460e40}) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram/singleprogram.go:164 +0xf6a [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0xc0001efcc0?) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain/svcmain.go:91 +0xa7 [2023-07-14][06:57:14][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0xc0001efcc0, 0xc002460a80, {0xc000074050, 0x5, 0x5}) [2023-07-14][06:57:14][ERROR][app] github.com/urfave/cli/v2@v2.23.7/command.go:271 +0xa42 [2023-07-14][06:57:14][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0xc0008f0000, {0x10c73bc98?, 0xc00007c068}, {0xc000074050, 0x5, 0x5}) [2023-07-14][06:57:14][ERROR][app] github.com/urfave/cli/v2@v2.23.7/app.go:333 +0x665 [2023-07-14][06:57:14][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...) [2023-07-14][06:57:14][ERROR][app] github.com/urfave/cli/v2@v2.23.7/app.go:310 [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x10f277980, 0xd, 0xd}, {0xf9?, 0x0?}, {0xc000074050?, 0x5, 0x5}) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain/svcmain.go:102 +0x6b6 [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15 [2023-07-14][06:57:14][ERROR][app] main.main() [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/main.go:50 +0xd4 [2023-07-14][06:57:14][ERROR][app] [2023-07-14][06:57:14][ERROR][app] goroutine 29 [select]: [2023-07-14][06:57:14][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0xc0001dbd80) [2023-07-14][06:57:14][ERROR][app] go.opencensus.io@v0.24.0/stats/view/worker.go:292 +0xad [2023-07-14][06:57:14][ERROR][app] created by go.opencensus.io/stats/view.init.0 [2023-07-14][06:57:14][ERROR][app] go.opencensus.io@v0.24.0/stats/view/worker.go:34 +0x8d [2023-07-14][06:57:14][ERROR][app] [2023-07-14][06:57:14][ERROR][app] goroutine 153 [select, 5 minutes]: [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0xc001dcd8d8, 0x20) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter/mutable.go:94 +0x1bd [2023-07-14][06:57:14][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter/mutable.go:38 +0x105 [2023-07-14][06:57:14][ERROR][app] [2023-07-14][06:57:14][ERROR][app] goroutine 257 [chan receive]: [2023-07-14][06:57:14][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0xc0023874a0?) [2023-07-14][06:57:14][ERROR][app] github.com/golang/glog@v1.0.0/glog.go:882 +0x6a [2023-07-14][06:57:14][ERROR][app] created by github.com/golang/glog.init.0 [2023-07-14][06:57:14][ERROR][app] github.com/golang/glog@v1.0.0/glog.go:410 +0x1bf [2023-07-14][06:57:14][ERROR][app] [2023-07-14][06:57:14][ERROR][app] goroutine 302 [select]: [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0xc002421f50) [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/log@v0.0.0-20230711093019-40c57b632cca/internal/sinkcores/sentrycore/worker.go:59 +0xd7 [2023-07-14][06:57:14][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/log@v0.0.0-20230711093019-40c57b632cca/internal/sinkcores/sentrycore/worker.go:51 +0x56 [2023-07-14][06:57:14][ERROR][app] [2023-07-14][06:57:14][ERROR][app] goroutine 303 [select, 4 minutes]: [2023-07-14][06:57:14][ERROR][app] io.(*pipe).read(0xc00243a660, {0xc00248a6aa, 0x956, 0x203000?}) [2023-07-14][06:57:14][ERROR][app] io/pipe.go:57 +0xb1 [2023-07-14][06:57:14][ERROR][app] io.(*PipeReader).Read(0xc001ba8d30?, {0xc00248a6aa?, 0x10f8d7c40?, 0xc001ba8da8?}) [2023-07-14][06:57:14][ERROR][app] io/pipe.go:136 +0x25 [2023-07-14][06:57:14][ERROR][app] bufio.(*Scanner).Scan(0xc001ba8f50) [2023-07-14][06:57:14][ERROR][app] bufio/scan.go:214 +0x876 [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1() [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:186 +0xda [2023-07-14][06:57:14][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter [2023-07-14][06:57:14][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:184 +0x1c5 [2023-07-14][06:57:14][ERROR][app] [2023-07-14][06:57:14][ERROR][app] goroutine 316 [syscall, 4 minutes]: [2023-07-14][06:57:14][ERROR][app] syscall.syscall6(0x0?, 0x0?, 0x0?, 0x1000000000000?, 0x11159c7b8?, 0x0?, 0x110b73688?) [2023-07-14][06:57:14][ERROR][app] runtime/sys_darwin.go:45 +0x99 [2023-07-14][06:57:14][ERROR][app] syscall.wait4(0xc0002f5e28?, 0x10000ec27?, 0x90?, 0x104417f20?) [2023-07-14][06:57:14][ERROR][app] syscall/zsyscall_darwin_amd64.go:43 +0x48 [2023-07-14][06:57:14][ERROR][app] syscall.Wait4(0x0?, 0xc0002f5e5c, 0x0?, 0x0?) [2023-07-14][06:57:14][ERROR][app] syscall/syscall_bsd.go:144 +0x2b [2023-07-14][06:57:14][ERROR][app] os.(*Process).wait(0xc000e4f7d0) [2023-07-14][06:57:14][ERROR][app] os/exec_unix.go:43 +0x77 [2023-07-14][06:57:14][ERROR][app] os.(*Process).Wait(...) [2023-07-14][06:57:14][ERROR][app] os/exec.go:132 [2023-07-14][06:57:14][ERROR][app] os/exec.(*Cmd).Wait(0xc0005b2b00) [2023-07-14][06:57:14][ERROR][app] os/exec/exec.go:599 +0x4b [2023-07-14][06:57:14][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1() [2023-07-14][06:57:14][ERROR][app] github.com/fergusstrange/embedded-postgres@v1.19.0/embedded_postgres.go:230 +0x99 [2023-07-14][06:57:14][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres [2023-07-14][06:57:14][ERROR][app] github.com/fergusstrange/embedded-postgres@v1.19.0/embedded_postgres.go:228 +0x37b [2023-07-14][06:57:14][ERROR][app] [2023-07-14][06:57:14][ERROR][app] goroutine 340 [IO wait, 4 minutes]: [2023-07-14][06:57:14][ERROR][app] internal/poll.runtime_pollWait(0x111760540, 0x72) [2023-07-14][06:57:14][ERROR][app] runtime/netpoll.go:305 +0x89 [2023-07-14][06:57:14][ERROR][app] internal/poll.(*pollDesc).wait(0xc0023875c0?, 0xc000320000?, 0x1) [2023-07-14][06:57:14][ERROR][app] internal/poll/fd_poll_runtime.go:84 +0x32 [2023-07-14][06:57:14][ERROR][app] internal/poll.(*pollDesc).waitRead(...) [2023-07-14][06:57:14][ERROR][app] internal/poll/fd_poll_runtime.go:89 [2023-07-14][06:57:14][ERROR][app] internal/poll.(*FD).Read(0xc0023875c0, {0xc000320000, 0x200, 0x200}) [2023-07-14][06:57:14][ERROR][app] internal/poll/fd_unix.go:167 +0x25a [2023-07-14][06:57:14][ERROR][app] os.(*File).read(...) [2023-07-14][06:57:14][ERROR][app] os/file_posix.go:31 [2023-07-14][06:57:14][ERROR][app] os.(*File).Read(0xc001d99ea0, {0xc000320000?, 0x0?, 0xc000503ea0?}) [2023-07-14][06:57:14][ERROR][app] os/file.go:119 +0x5e [2023-07-14][06:57:14][ERROR][app] bytes.(*Buffer).ReadFrom(0xc0022fea80, {0x10c6fd920, 0xc001d99ea0}) [2023-07-14][06:57:14][ERROR][app] bytes/buffer.go:202 +0x98 [2023-07-14][06:57:14][ERROR][app] io.copyBuffer({0x10c6eab40, 0xc0022fea80}, {0x10c6fd920, 0xc001d99ea0}, {0x0, 0x0, 0x0}) [2023-07-14][06:57:14][ERROR][app] io/io.go:413 +0x14b [2023-07-14][06:57:14][ERROR][app] io.Copy(...) [2023-07-14][06:57:14][ERROR][app] io/io.go:386 [2023-07-14][06:57:14][ERROR][app] os/exec.(*Cmd).writerDescriptor.func1() [2023-07-14][06:57:14][ERROR][app] os/exec/exec.go:407 +0x3a [2023-07-14][06:57:14][ERROR][app] os/exec.(*Cmd).Start.func1(0x0?) [2023-07-14][06:57:14][ERROR][app] os/exec/exec.go:544 +0x25 [2023-07-14][06:57:14][ERROR][app] created by os/exec.(*Cmd).Start [2023-07-14][06:57:14][ERROR][app] os/exec/exec.go:543 +0x73e [2023-07-14][06:57:14][ERROR][app] Cody app backend terminated with exit code 2

vaibhavkumar-sf commented 1 year ago

Same Issue

` [2023-07-20][06:42:08][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-07-20][06:42:38][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:42:38][ERROR][app] | Docker is unavailable | [2023-07-20][06:42:38][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:42:38][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work: | [2023-07-20][06:42:38][ERROR][app] | | [2023-07-20][06:42:38][ERROR][app] | - Batch changes | [2023-07-20][06:42:38][ERROR][app] | - Symbol search | [2023-07-20][06:42:38][ERROR][app] | - Symbols overview tab (on repository pages) | [2023-07-20][06:42:38][ERROR][app] | | [2023-07-20][06:42:38][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:42:38][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:42:38][ERROR][app] | src-cli is unavailable | [2023-07-20][06:42:38][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:42:38][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-20][06:42:38][ERROR][app] | | [2023-07-20][06:42:38][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-20][06:42:38][ERROR][app] | | [2023-07-20][06:42:38][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:42:38][ERROR][app] 1689835358756927000 WARN servegit servegit/service.go:62 github.com/sourcegraph/sourcegraph/internal/service/servegit.(svc).Start skipping local code since the environment variable SRC is not set {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {}} [2023-07-20][06:42:38][ERROR][app] 1689835358778883000 ERROR service run/util.go:44 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get src-cli version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-20][06:42:38][ERROR][app] 1689835358778890000 ERROR service run/util.go:44 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get src-cli version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-20][06:42:38][ERROR][app] 1689835358834720000 ERROR service run/util.go:49 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get docker version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': Cannot connect to the Docker daemon at unix:///Users/vaibhav.kumar/.docker/run/docker.sock. Is the docker daemon running?\n\n: exit status 1"}} [2023-07-20][06:42:38][ERROR][app] 1689835358834720000 ERROR service run/util.go:49 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get docker version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': Cannot connect to the Docker daemon at unix:///Users/vaibhav.kumar/.docker/run/docker.sock. Is the docker daemon running?\n\n: exit status 1"}} [2023-07-20][06:42:42][ERROR][app] 1689835362404140000 FATAL sourcegraph svcmain/svcmain.go:263 github.com/sourcegraph/sourcegraph/internal/service/svcmain.run.func1 failed to start service {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"service": "embeddings", "error": "only one credential type may be specified per profile: source profile, credential source, credential process, web identity token"}} [2023-07-20][06:42:42][ERROR][app] 1689835362404425000 FATAL worker.codeintel-uploadstore-expirer codeintel/lsifuploadstore_expirer.go:39 github.com/sourcegraph/sourcegraph/enterprise/cmd/worker/internal/codeintel.(lsifuploadstoreExpirer).Routines Failed to create upload store {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "only one credential type may be specified per profile: source profile, credential source, credential process, web identity token"}} [2023-07-20][06:42:42][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-20][06:42:52][ERROR][app::common] No such file or directory (os error 2) [2023-07-20][06:42:54][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-07-20][06:43:04][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:04][ERROR][app] | Docker is unavailable | [2023-07-20][06:43:04][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:04][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work: | [2023-07-20][06:43:04][ERROR][app] | | [2023-07-20][06:43:04][ERROR][app] | - Batch changes | [2023-07-20][06:43:04][ERROR][app] | - Symbol search | [2023-07-20][06:43:04][ERROR][app] | - Symbols overview tab (on repository pages) | [2023-07-20][06:43:04][ERROR][app] | | [2023-07-20][06:43:04][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:04][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:04][ERROR][app] | src-cli is unavailable | [2023-07-20][06:43:04][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:04][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-20][06:43:04][ERROR][app] | | [2023-07-20][06:43:04][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-20][06:43:04][ERROR][app] | | [2023-07-20][06:43:04][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:04][ERROR][app] 1689835384322848000 WARN servegit servegit/service.go:62 github.com/sourcegraph/sourcegraph/internal/service/servegit.(svc).Start skipping local code since the environment variable SRC is not set {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {}} [2023-07-20][06:43:04][ERROR][app] 2023/07/20 06:43:04 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-75539-3777042857 [2023-07-20][06:43:04][ERROR][app] 1689835384341506000 ERROR service run/util.go:44 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get src-cli version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-20][06:43:04][ERROR][app] 1689835384341507000 ERROR service run/util.go:44 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get src-cli version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-20][06:43:04][ERROR][app] 1689835384396774000 ERROR service run/util.go:49 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get docker version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': Cannot connect to the Docker daemon at unix:///Users/vaibhav.kumar/.docker/run/docker.sock. Is the docker daemon running?\n\n: exit status 1"}} [2023-07-20][06:43:04][ERROR][app] 1689835384397479000 ERROR service run/util.go:49 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get docker version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': Cannot connect to the Docker daemon at unix:///Users/vaibhav.kumar/.docker/run/docker.sock. Is the docker daemon running?\n\n: exit status 1"}} [2023-07-20][06:43:06][ERROR][app] 1689835386968224000 FATAL sourcegraph svcmain/svcmain.go:263 github.com/sourcegraph/sourcegraph/internal/service/svcmain.run.func1 failed to start service {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"service": "embeddings", "error": "only one credential type may be specified per profile: source profile, credential source, credential process, web identity token"}} [2023-07-20][06:43:06][ERROR][app] 1689835386972999000 FATAL worker.codeintel-uploadstore-expirer codeintel/lsifuploadstore_expirer.go:39 github.com/sourcegraph/sourcegraph/enterprise/cmd/worker/internal/codeintel.(lsifuploadstoreExpirer).Routines Failed to create upload store {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "only one credential type may be specified per profile: source profile, credential source, credential process, web identity token"}} [2023-07-20][06:43:07][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-20][06:43:42][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-07-20][06:43:42][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:42][ERROR][app] | Docker is unavailable | [2023-07-20][06:43:42][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:42][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work: | [2023-07-20][06:43:42][ERROR][app] | | [2023-07-20][06:43:42][ERROR][app] | - Batch changes | [2023-07-20][06:43:42][ERROR][app] | - Symbol search | [2023-07-20][06:43:42][ERROR][app] | - Symbols overview tab (on repository pages) | [2023-07-20][06:43:42][ERROR][app] | | [2023-07-20][06:43:42][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:42][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:42][ERROR][app] | src-cli is unavailable | [2023-07-20][06:43:42][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:42][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-20][06:43:42][ERROR][app] | | [2023-07-20][06:43:42][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-20][06:43:42][ERROR][app] | | [2023-07-20][06:43:42][ERROR][app] |------------------------------------------------------------------------------| [2023-07-20][06:43:42][ERROR][app] 1689835422792237000 WARN servegit servegit/service.go:62 github.com/sourcegraph/sourcegraph/internal/service/servegit.(*svc).Start skipping local code since the environment variable SRC is not set {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {}} [2023-07-20][06:43:42][ERROR][app] 2023/07/20 06:43:42 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-76022-4145525863 [2023-07-20][06:43:42][ERROR][app] 1689835422797484000 FATAL sourcegraph svcmain/svcmain.go:263 github.com/sourcegraph/sourcegraph/internal/service/svcmain.run.func1 failed to start service {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"service": "frontend", "error": "frontend.tryAutoUpgrade: failed to connect to frontend database: DB not available: dial unix /Users/vaibhav.kumar/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory"}} [2023-07-20][06:43:42][ERROR][app] 1689835422807987000 ERROR service run/util.go:44 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get src-cli version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-20][06:43:42][ERROR][app] 1689835422807987000 ERROR service run/util.go:44 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get src-cli version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-20][06:43:42][ERROR][app] 1689835422876954000 ERROR service run/util.go:49 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get docker version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': Cannot connect to the Docker daemon at unix:///Users/vaibhav.kumar/.docker/run/docker.sock. Is the docker daemon running?\n\n: exit status 1"}} [2023-07-20][06:43:42][ERROR][app] 1689835422877014000 ERROR service run/util.go:49 github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions Failed to get docker version {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Vaibhav-SFIN460"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': Cannot connect to the Docker daemon at unix:///Users/vaibhav.kumar/.docker/run/docker.sock. Is the docker daemon running?\n\n: exit status 1"}} [2023-07-20][06:43:43][ERROR][app] Cody app backend terminated with exit code 1

`

mail66hlf commented 1 year ago

` [2023-07-20][08:42:44][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-20][08:44:55][ERROR][app::common] No such file or directory (os error 2) [2023-07-20][08:44:56][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-07-20][08:49:56][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible [2023-07-20][08:49:56][ERROR][app] [2023-07-20][08:49:56][ERROR][app] goroutine 299 [running]: [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).checkDeadlock(0x1400012a5d8?) [2023-07-20][08:49:56][ERROR][app] internal/conf/store.go:175 +0x300 [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).WaitUntilInitialized(0x14000723680) [2023-07-20][08:49:56][ERROR][app] internal/conf/store.go:137 +0x2c [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(client).Watch(0x14000411bc0, 0x10f2ba070) [2023-07-20][08:49:56][ERROR][app] internal/conf/client.go:169 +0x1b8 [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x0?) [2023-07-20][08:49:56][ERROR][app] internal/conf/client.go:136 +0x28 [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2() [2023-07-20][08:49:56][ERROR][app] cmd/symbols/parser/config.go:52 +0x24 [2023-07-20][08:49:56][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0 [2023-07-20][08:49:56][ERROR][app] cmd/symbols/parser/config.go:51 +0xe8 [2023-07-20][08:49:56][ERROR][app] [2023-07-20][08:49:56][ERROR][app] goroutine 1 [syscall, 4 minutes]: [2023-07-20][08:49:56][ERROR][app] syscall.syscall6(0x14001b18928?, 0x2?, 0x1400422f198?, 0x10214a700?, 0x10001c570?, 0x11ad0d218?, 0x113344a68?) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-07-20][08:49:56][ERROR][app] syscall.wait4(0x1400422f1d8?, 0x1021446c8?, 0x90?, 0x10f1a5380?) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-07-20][08:49:56][ERROR][app] syscall.Wait4(0x1400232c570?, 0x1400422f214, 0x10e25a3d8?, 0x1?) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-07-20][08:49:56][ERROR][app] os.(Process).wait(0x14002308570) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-07-20][08:49:56][ERROR][app] os.(Process).Wait(...) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec.go:132 [2023-07-20][08:49:56][ERROR][app] os/exec.(Cmd).Wait(0x14001d20420) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-07-20][08:49:56][ERROR][app] os/exec.(Cmd).Run(0x10545afb3?) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec/exec.go:437 +0x38 [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable() [2023-07-20][08:49:56][ERROR][app] internal/singleprogram/singleprogram.go:237 +0xec [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x10f33b970, 0x140014a2f00}) [2023-07-20][08:49:56][ERROR][app] internal/singleprogram/singleprogram.go:164 +0xbf4 [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x14000d452c0?) [2023-07-20][08:49:56][ERROR][app] internal/service/svcmain/svcmain.go:91 +0x80 [2023-07-20][08:49:56][ERROR][app] github.com/urfave/cli/v2.(Command).Run(0x14000d452c0, 0x140014a2b40, {0x14000116050, 0x5, 0x5}) [2023-07-20][08:49:56][ERROR][app] external/com_github_urfave_cli_v2/command.go:271 +0x78c [2023-07-20][08:49:56][ERROR][app] github.com/urfave/cli/v2.(App).RunContext(0x14000571860, {0x10f31e778?, 0x1400012e008}, {0x14000116050, 0x5, 0x5}) [2023-07-20][08:49:56][ERROR][app] external/com_github_urfave_cli_v2/app.go:333 +0x5a4 [2023-07-20][08:49:56][ERROR][app] github.com/urfave/cli/v2.(App).Run(...) [2023-07-20][08:49:56][ERROR][app] external/com_github_urfave_cli_v2/app.go:310 [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x111abeec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x14000116050?, 0x5, 0x5}) [2023-07-20][08:49:56][ERROR][app] internal/service/svcmain/svcmain.go:102 +0x620 [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...) [2023-07-20][08:49:56][ERROR][app] enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15 [2023-07-20][08:49:56][ERROR][app] main.main() [2023-07-20][08:49:56][ERROR][app] /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/main/enterprise/cmd/sourcegraph/main.go:50 +0x118 [2023-07-20][08:49:56][ERROR][app] [2023-07-20][08:49:56][ERROR][app] goroutine 224 [select]: [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).consume(0x140021c7530) [2023-07-20][08:49:56][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8 [2023-07-20][08:49:56][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).start [2023-07-20][08:49:56][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60 [2023-07-20][08:49:56][ERROR][app] [2023-07-20][08:49:56][ERROR][app] goroutine 10 [select]: [2023-07-20][08:49:56][ERROR][app] go.opencensus.io/stats/view.(worker).start(0x1400033c280) [2023-07-20][08:49:56][ERROR][app] external/io_opencensus_go/stats/view/worker.go:292 +0x88 [2023-07-20][08:49:56][ERROR][app] created by go.opencensus.io/stats/view.init.0 [2023-07-20][08:49:56][ERROR][app] external/io_opencensus_go/stats/view/worker.go:34 +0xa4 [2023-07-20][08:49:56][ERROR][app] [2023-07-20][08:49:56][ERROR][app] goroutine 225 [select, 4 minutes]: [2023-07-20][08:49:56][ERROR][app] io.(pipe).read(0x14002184c60, {0x140023a96b6, 0x94a, 0x0?}) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/io/pipe.go:57 +0x84 [2023-07-20][08:49:56][ERROR][app] io.(PipeReader).Read(0x5000?, {0x140023a96b6?, 0x9a3?, 0x113344500?}) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/io/pipe.go:136 +0x24 [2023-07-20][08:49:56][ERROR][app] bufio.(Scanner).Scan(0x14001cfbf48) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/bufio/scan.go:214 +0x908 [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1() [2023-07-20][08:49:56][ERROR][app] internal/singleprogram/postgresql.go:186 +0xb0 [2023-07-20][08:49:56][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter [2023-07-20][08:49:56][ERROR][app] internal/singleprogram/postgresql.go:184 +0x1dc [2023-07-20][08:49:56][ERROR][app] [2023-07-20][08:49:56][ERROR][app] goroutine 126 [select, 5 minutes]: [2023-07-20][08:49:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(MutableLimiter).do(0x1400100bba8, 0x20) [2023-07-20][08:49:56][ERROR][app] internal/limiter/mutable.go:94 +0x14c [2023-07-20][08:49:56][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable [2023-07-20][08:49:56][ERROR][app] internal/limiter/mutable.go:38 +0x108 [2023-07-20][08:49:56][ERROR][app] [2023-07-20][08:49:56][ERROR][app] goroutine 266 [syscall, 4 minutes]: [2023-07-20][08:49:56][ERROR][app] syscall.syscall6(0x113344a68?, 0x10209af17?, 0x1400054d608?, 0x10209acf8?, 0x9000010101d5a8?, 0x11ad0d218?, 0x113344a68?) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-07-20][08:49:56][ERROR][app] syscall.wait4(0x1400054d608?, 0x1021446c8?, 0x90?, 0x10f1a5380?) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-07-20][08:49:56][ERROR][app] syscall.Wait4(0x14000300900?, 0x140000b5e44, 0x1057a5a95?, 0x1400054d688?) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-07-20][08:49:56][ERROR][app] os.(Process).wait(0x140014369c0) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-07-20][08:49:56][ERROR][app] os.(Process).Wait(...) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec.go:132 [2023-07-20][08:49:56][ERROR][app] os/exec.(Cmd).Wait(0x14001b6c2c0) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-07-20][08:49:56][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1() [2023-07-20][08:49:56][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:230 +0x74 [2023-07-20][08:49:56][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres [2023-07-20][08:49:56][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:228 +0x298 [2023-07-20][08:49:56][ERROR][app] [2023-07-20][08:49:56][ERROR][app] goroutine 277 [chan receive]: [2023-07-20][08:49:56][ERROR][app] github.com/golang/glog.(loggingT).flushDaemon(0x0?) [2023-07-20][08:49:56][ERROR][app] external/com_github_golang_glog/glog.go:882 +0x5c [2023-07-20][08:49:56][ERROR][app] created by github.com/golang/glog.init.0 [2023-07-20][08:49:56][ERROR][app] external/com_github_golang_glog/glog.go:410 +0x200 [2023-07-20][08:49:56][ERROR][app] [2023-07-20][08:49:56][ERROR][app] goroutine 49 [IO wait, 4 minutes]: [2023-07-20][08:49:56][ERROR][app] internal/poll.runtime_pollWait(0x11ac284b8, 0x72) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/runtime/netpoll.go:305 +0xa0 [2023-07-20][08:49:56][ERROR][app] internal/poll.(pollDesc).wait(0x14002184420?, 0x1400112a200?, 0x1) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28 [2023-07-20][08:49:56][ERROR][app] internal/poll.(pollDesc).waitRead(...) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:89 [2023-07-20][08:49:56][ERROR][app] internal/poll.(FD).Read(0x14002184420, {0x1400112a200, 0x200, 0x200}) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0 [2023-07-20][08:49:56][ERROR][app] os.(File).read(...) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/file_posix.go:31 [2023-07-20][08:49:56][ERROR][app] os.(File).Read(0x14001c3ab70, {0x1400112a200?, 0x140000a4678?, 0x10209b6d0?}) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/file.go:119 +0x5c [2023-07-20][08:49:56][ERROR][app] bytes.(Buffer).ReadFrom(0x1400233aae0, {0x10f2e0780, 0x14001c3ab70}) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/bytes/buffer.go:202 +0x90 [2023-07-20][08:49:56][ERROR][app] io.copyBuffer({0x10f2cd9a0, 0x1400233aae0}, {0x10f2e0780, 0x14001c3ab70}, {0x0, 0x0, 0x0}) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/io/io.go:413 +0x108 [2023-07-20][08:49:56][ERROR][app] io.Copy(...) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/io/io.go:386 [2023-07-20][08:49:56][ERROR][app] os/exec.(Cmd).writerDescriptor.func1() [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec/exec.go:407 +0x44 [2023-07-20][08:49:56][ERROR][app] os/exec.(Cmd).Start.func1(0x14000003380?) [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec/exec.go:544 +0x2c [2023-07-20][08:49:56][ERROR][app] created by os/exec.(Cmd).Start [2023-07-20][08:49:56][ERROR][app] GOROOT/src/os/exec/exec.go:543 +0x5d0 [2023-07-20][08:49:56][ERROR][app] Cody app backend terminated with exit code 2

`