Open thomasvangurp opened 1 year ago
bug trace:
[2023-09-14][15:04:31][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-09-14][15:05:25][ERROR][app] [31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:05:25][ERROR][app] [0m[31;43;1m| src-cli is unavailable |[0m [2023-09-14][15:05:25][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:05:25][ERROR][app] [0m[31m[31;43;1m|[0m Sourcegraph is better when src-cli is available; batch changes may not work. [31;43;1m|[0m[0m [2023-09-14][15:05:25][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:05:25][ERROR][app] [0m[31m[31;43;1m|[0m Installation: https://github.com/sourcegraph/src-cli [31;43;1m|[0m[0m [2023-09-14][15:05:25][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:05:25][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:05:25][ERROR][app] [0m1694703925674699000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {}} [2023-09-14][15:05:25][ERROR][app] 1694703925674723000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-09-14][15:05:25][ERROR][app] Cody app backend terminated with exit code 1 [2023-09-14][15:05:34][ERROR][app::common] No such file or directory (os error 2) [2023-09-14][15:05:35][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-09-14][15:06:24][ERROR][app] [31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:06:24][ERROR][app] [0m[31;43;1m| src-cli is unavailable |[0m [2023-09-14][15:06:24][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:06:24][ERROR][app] [0m[31m[31;43;1m|[0m Sourcegraph is better when src-cli is available; batch changes may not work. [31;43;1m|[0m[0m [2023-09-14][15:06:24][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:06:24][ERROR][app] [0m[31m[31;43;1m|[0m Installation: https://github.com/sourcegraph/src-cli [31;43;1m|[0m[0m [2023-09-14][15:06:24][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:06:24][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:06:25][ERROR][app] [0m1694703985043600000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {}} [2023-09-14][15:06:25][ERROR][app] 2023/09/14 15:06:25 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-42688-1260879321 [2023-09-14][15:06:25][ERROR][app] 1694703985047706000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-09-14][15:06:25][ERROR][app] 1694703985082134000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-09-14][15:06:25][ERROR][app] 1694703985082455000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-09-14][15:06:25][ERROR][app] Cody app backend terminated with exit code 1 [2023-09-14][15:07:13][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-09-14][15:07:14][ERROR][app] [31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:07:14][ERROR][app] [0m[31;43;1m| src-cli is unavailable |[0m [2023-09-14][15:07:14][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:07:14][ERROR][app] [0m[31m[31;43;1m|[0m Sourcegraph is better when src-cli is available; batch changes may not work. [31;43;1m|[0m[0m [2023-09-14][15:07:14][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:07:14][ERROR][app] [0m[31m[31;43;1m|[0m Installation: https://github.com/sourcegraph/src-cli [31;43;1m|[0m[0m [2023-09-14][15:07:14][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:07:14][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:07:14][ERROR][app] [0m1694704034236312000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-09-14][15:07:14][ERROR][app] 1694704034236328000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {}} [2023-09-14][15:07:14][ERROR][app] 2023/09/14 15:07:14 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-42920-1913696190 [2023-09-14][15:07:14][ERROR][app] 1694704034285265000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-09-14][15:07:14][ERROR][app] 1694704034287100000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-09-14][15:07:14][ERROR][app] Cody app backend terminated with exit code 1 [2023-09-14][15:07:18][ERROR][app::common] No such file or directory (os error 2) [2023-09-14][15:07:18][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-09-14][15:07:53][ERROR][app] [31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:07:53][ERROR][app] [0m[31;43;1m| src-cli is unavailable |[0m [2023-09-14][15:07:53][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:07:53][ERROR][app] [0m[31m[31;43;1m|[0m Sourcegraph is better when src-cli is available; batch changes may not work. [31;43;1m|[0m[0m [2023-09-14][15:07:53][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:07:53][ERROR][app] [0m[31m[31;43;1m|[0m Installation: https://github.com/sourcegraph/src-cli [31;43;1m|[0m[0m [2023-09-14][15:07:53][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:07:53][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:07:53][ERROR][app] [0m1694704073182069000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {}} [2023-09-14][15:07:53][ERROR][app] 2023/09/14 15:07:53 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-43239-1213622095 [2023-09-14][15:07:53][ERROR][app] 1694704073183934000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-09-14][15:07:53][ERROR][app] 1694704073232631000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-09-14][15:07:53][ERROR][app] 1694704073233126000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-09-14][15:07:53][ERROR][app] Cody app backend terminated with exit code 1 [2023-09-14][15:41:14][ERROR][app::common] No such file or directory (os error 2) [2023-09-14][15:41:15][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-09-14][15:41:45][ERROR][app] [31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:41:45][ERROR][app] [0m[31;43;1m| Docker is unavailable |[0m [2023-09-14][15:41:45][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:41:45][ERROR][app] [0m[31m[31;43;1m|[0m Sourcegraph is better when Docker is available; some features may not work: [31;43;1m|[0m[0m [2023-09-14][15:41:45][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:41:45][ERROR][app] [0m[31m[31;43;1m|[0m - Batch changes [31;43;1m|[0m[0m [2023-09-14][15:41:45][ERROR][app] [0m[31m[31;43;1m|[0m - Symbol search [31;43;1m|[0m[0m [2023-09-14][15:41:45][ERROR][app] [0m[31m[31;43;1m|[0m - Symbols overview tab (on repository pages) [31;43;1m|[0m[0m [2023-09-14][15:41:45][ERROR][app] [0m[31m[31;43;1m|[0m [31;43;1m|[0m[0m [2023-09-14][15:41:45][ERROR][app] [0m[31;43;1m|------------------------------------------------------------------------------|[0m [2023-09-14][15:41:45][ERROR][app] [0m1694706105411147000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {}} [2023-09-14][15:41:45][ERROR][app] 2023/09/14 15:41:45 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-43306-328424278 [2023-09-14][15:41:46][ERROR][app] 1694706106162575000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': Cannot connect to the Docker daemon at unix:///Users/thomasg/.docker/run/docker.sock. Is the docker daemon running?\n\n: exit status 1"}} [2023-09-14][15:41:46][ERROR][app] 1694706106165030000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': Cannot connect to the Docker daemon at unix:///Users/thomasg/.docker/run/docker.sock. Is the docker daemon running?\n\n: exit status 1"}} [2023-09-14][15:42:01][ERROR][app] 1694706121838178000 WARN SiteConfigEscapeHatch conf/conf.go:242 github.com/sourcegraph/sourcegraph/internal/conf.startSiteConfigEscapeHatchWorker.func1 failed to read config from database, trying again in 1s {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"path": "/Users/thomasg/Library/Application Support/com.sourcegraph.cody/site-config.json", "error": "ConfStore.SiteGetLatest: failed to connect to `host=/Users/thomasg/.sourcegraph-psql user=sourcegraph database=sourcegraph`: dial error (dial unix /Users/thomasg/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory)"}} [2023-09-14][15:42:01][ERROR][app] 1694706121838655000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"service": "gitserver", "error": "initializing database stores: DB not available: dial unix /Users/thomasg/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory"}} [2023-09-14][15:42:01][ERROR][app] 1694706121838750000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"service": "repo-updater", "error": "initializing database store: DB not available: dial unix /Users/thomasg/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory"}} [2023-09-14][15:42:01][ERROR][app] 1694706121838782000 FATAL embeddings shared/main.go:188 github.com/sourcegraph/sourcegraph/enterprise/cmd/embeddings/shared.mustInitializeFrontendDB failed to connect to database {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "DB not available: failed to connect to `host=/Users/thomasg/.sourcegraph-psql user=sourcegraph database=sourcegraph`: dial error (dial unix /Users/thomasg/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory)"}} [2023-09-14][15:42:01][ERROR][app] 1694706121838887000 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": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"service": "worker", "error": "Failed to create database connection: failed to connect to frontend database: DB not available: dial unix /Users/thomasg/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory"}} [2023-09-14][15:42:01][ERROR][app] 1694706121839124000 FATAL init db shared/shared.go:112 github.com/sourcegraph/sourcegraph/enterprise/cmd/precise-code-intel-worker/shared.mustInitializeDB Failed to connect to frontend database {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "DB not available: failed to connect to `host=/Users/thomasg/.sourcegraph-psql user=sourcegraph database=sourcegraph`: dial error (dial unix /Users/thomasg/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory)"}} [2023-09-14][15:42:01][ERROR][app] 1694706121842743000 FATAL symbols shared/main.go:115 github.com/sourcegraph/sourcegraph/cmd/symbols/shared.mustInitializeFrontendDB failed to connect to database {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "DB not available: failed to connect to `host=/Users/thomasg/.sourcegraph-psql user=sourcegraph database=sourcegraph`: dial error (dial unix /Users/thomasg/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory)"}} [2023-09-14][15:42:01][ERROR][app] 1694706121869633000 FATAL enterprise shared/shared.go:127 github.com/sourcegraph/sourcegraph/enterprise/cmd/frontend/shared.mustInitializeCodeIntelDB Failed to connect to codeintel database {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "MacBook-Pro-van-Thomas.local"}, "Attributes": {"error": "DB not available: failed to connect to `host=/Users/thomasg/.sourcegraph-psql user=sourcegraph database=sourcegraph`: dial error (dial unix /Users/thomasg/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory)"}} [2023-09-14][15:42:02][ERROR][app] Cody app backend terminated with exit code 1
magically, after a restart the bug was solved. maybe check for busy application with port 4900..
bug trace: