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

mac: port conflict on :49000 #46

Open charleyskills opened 1 year ago

charleyskills commented 1 year ago

[2023-07-12][21:23:22][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-12][21:23:42][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:23:42][ERROR][app] | src-cli is unavailable | [2023-07-12][21:23:42][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:23:42][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-12][21:23:42][ERROR][app] | | [2023-07-12][21:23:42][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-12][21:23:42][ERROR][app] | | [2023-07-12][21:23:42][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:23:42][ERROR][app] 1689197022642135000 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": "Jarvis"}, "Attributes": {}} [2023-07-12][21:23:42][ERROR][app] 1689197022642215000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-12][21:23:42][ERROR][app] 1689197022652273000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:23:42][ERROR][app] 1689197022653223000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:23:43][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-12][21:23:51][ERROR][app::common] No such file or directory (os error 2) [2023-07-12][21:23:52][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-12][21:24:00][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:24:00][ERROR][app] | src-cli is unavailable | [2023-07-12][21:24:00][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:24:00][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-12][21:24:00][ERROR][app] | | [2023-07-12][21:24:00][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-12][21:24:00][ERROR][app] | | [2023-07-12][21:24:00][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:24:00][ERROR][app] 1689197040734654000 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": "Jarvis"}, "Attributes": {}} [2023-07-12][21:24:00][ERROR][app] 1689197040734856000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-12][21:24:00][ERROR][app] 2023/07/12 21:24:00 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-7460-3735346259 [2023-07-12][21:24:00][ERROR][app] 1689197040744332000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:24:00][ERROR][app] 1689197040746512000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:24:00][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-12][21:26:36][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-12][21:26:39][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:26:39][ERROR][app] | src-cli is unavailable | [2023-07-12][21:26:39][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:26:39][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-12][21:26:39][ERROR][app] | | [2023-07-12][21:26:39][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-12][21:26:39][ERROR][app] | | [2023-07-12][21:26:39][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:26:39][ERROR][app] 2023/07/12 21:26:39 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-7527-226882464 [2023-07-12][21:26:39][ERROR][app] 1689197199188662000 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": "Jarvis"}, "Attributes": {}} [2023-07-12][21:26:39][ERROR][app] 1689197199188709000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-12][21:26:39][ERROR][app] 1689197199198832000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:26:39][ERROR][app] 1689197199198832000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:26:39][ERROR][app] 1689197199209870000 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": "Jarvis"}, "Attributes": {"service": "frontend", "error": "failed to connect to frontend database: dirty database: schema \"frontend\" marked the following migrations as failed: 1648051770\nThe target schema is marked as dirty and no other migration operation is seen running on this schema. The last migration operation over this schema has failed (or, at least, the migrator instance issuing that migration has died). Please contact support@sourcegraph.com for further assistance."}} [2023-07-12][21:26:39][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-12][21:26:40][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-12][21:26:43][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:26:43][ERROR][app] | src-cli is unavailable | [2023-07-12][21:26:43][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:26:43][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-12][21:26:43][ERROR][app] | | [2023-07-12][21:26:43][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-12][21:26:43][ERROR][app] | | [2023-07-12][21:26:43][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:26:43][ERROR][app] 1689197203275894000 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": "Jarvis"}, "Attributes": {}} [2023-07-12][21:26:43][ERROR][app] 2023/07/12 21:26:43 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-7648-3254559168 [2023-07-12][21:26:43][ERROR][app] 1689197203277087000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-12][21:26:43][ERROR][app] 1689197203287331000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:26:43][ERROR][app] 1689197203290092000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:26:43][ERROR][app] 1689197203297006000 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": "Jarvis"}, "Attributes": {"service": "frontend", "error": "failed to connect to frontend database: dirty database: schema \"frontend\" marked the following migrations as failed: 1648051770\nThe target schema is marked as dirty and no other migration operation is seen running on this schema. The last migration operation over this schema has failed (or, at least, the migrator instance issuing that migration has died). Please contact support@sourcegraph.com for further assistance."}} [2023-07-12][21:26:43][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-12][21:31:16][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-12][21:31:19][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:19][ERROR][app] | src-cli is unavailable | [2023-07-12][21:31:19][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:19][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-12][21:31:19][ERROR][app] | | [2023-07-12][21:31:19][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-12][21:31:19][ERROR][app] | | [2023-07-12][21:31:19][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:19][ERROR][app] 2023/07/12 21:31:19 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-7688-1759225804 [2023-07-12][21:31:19][ERROR][app] 1689197479544303000 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": "Jarvis"}, "Attributes": {}} [2023-07-12][21:31:19][ERROR][app] 1689197479544294000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-12][21:31:19][ERROR][app] 1689197479553383000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:31:19][ERROR][app] 1689197479553546000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:31:19][ERROR][app] 1689197479562157000 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": "Jarvis"}, "Attributes": {"service": "frontend", "error": "failed to connect to frontend database: dirty database: schema \"frontend\" marked the following migrations as failed: 1648051770\nThe target schema is marked as dirty and no other migration operation is seen running on this schema. The last migration operation over this schema has failed (or, at least, the migrator instance issuing that migration has died). Please contact support@sourcegraph.com for further assistance."}} [2023-07-12][21:31:19][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-12][21:31:20][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-12][21:31:23][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:23][ERROR][app] | src-cli is unavailable | [2023-07-12][21:31:23][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:23][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-12][21:31:23][ERROR][app] | | [2023-07-12][21:31:23][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-12][21:31:23][ERROR][app] | | [2023-07-12][21:31:23][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:23][ERROR][app] 1689197483346128000 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": "Jarvis"}, "Attributes": {}} [2023-07-12][21:31:23][ERROR][app] 2023/07/12 21:31:23 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-7779-3064719780 [2023-07-12][21:31:23][ERROR][app] 1689197483347749000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-12][21:31:23][ERROR][app] 1689197483356073000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:31:23][ERROR][app] 1689197483357990000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:31:23][ERROR][app] 1689197483366944000 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": "Jarvis"}, "Attributes": {"service": "frontend", "error": "failed to connect to frontend database: dirty database: schema \"frontend\" marked the following migrations as failed: 1648051770\nThe target schema is marked as dirty and no other migration operation is seen running on this schema. The last migration operation over this schema has failed (or, at least, the migrator instance issuing that migration has died). Please contact support@sourcegraph.com for further assistance."}} [2023-07-12][21:31:23][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-12][21:31:24][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-12][21:31:27][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:27][ERROR][app] | src-cli is unavailable | [2023-07-12][21:31:27][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:27][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-12][21:31:27][ERROR][app] | | [2023-07-12][21:31:27][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-12][21:31:27][ERROR][app] | | [2023-07-12][21:31:27][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:27][ERROR][app] 2023/07/12 21:31:27 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-7817-1735023423 [2023-07-12][21:31:27][ERROR][app] 1689197487132700000 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": "Jarvis"}, "Attributes": {}} [2023-07-12][21:31:27][ERROR][app] 1689197487131850000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-12][21:31:27][ERROR][app] 1689197487141265000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:31:27][ERROR][app] 1689197487143465000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:31:27][ERROR][app] 1689197487149827000 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": "Jarvis"}, "Attributes": {"service": "frontend", "error": "failed to connect to frontend database: dirty database: schema \"frontend\" marked the following migrations as failed: 1648051770\nThe target schema is marked as dirty and no other migration operation is seen running on this schema. The last migration operation over this schema has failed (or, at least, the migrator instance issuing that migration has died). Please contact support@sourcegraph.com for further assistance."}} [2023-07-12][21:31:27][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-12][21:31:31][ERROR][app::common] No such file or directory (os error 2) [2023-07-12][21:31:32][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-12][21:31:40][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:40][ERROR][app] | src-cli is unavailable | [2023-07-12][21:31:40][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:40][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-12][21:31:40][ERROR][app] | | [2023-07-12][21:31:40][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-12][21:31:40][ERROR][app] | | [2023-07-12][21:31:40][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][21:31:40][ERROR][app] 2023/07/12 21:31:40 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-7849-2783471216 [2023-07-12][21:31:40][ERROR][app] 1689197500319352000 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": "Jarvis"}, "Attributes": {}} [2023-07-12][21:31:40][ERROR][app] 1689197500319383000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-12][21:31:40][ERROR][app] 1689197500328696000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:31:40][ERROR][app] 1689197500333810000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][21:31:40][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-12][22:13:36][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-12][22:13:39][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][22:13:39][ERROR][app] | src-cli is unavailable | [2023-07-12][22:13:39][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][22:13:39][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-12][22:13:39][ERROR][app] | | [2023-07-12][22:13:39][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-12][22:13:39][ERROR][app] | | [2023-07-12][22:13:39][ERROR][app] |------------------------------------------------------------------------------| [2023-07-12][22:13:39][ERROR][app] 1689200019163768000 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": "Jarvis"}, "Attributes": {}} [2023-07-12][22:13:39][ERROR][app] 2023/07/12 22:13:39 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-7883-3913227732 [2023-07-12][22:13:39][ERROR][app] 1689200019163929000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-12][22:13:39][ERROR][app] 1689200019173241000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][22:13:39][ERROR][app] 1689200019175705000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-12][22:13:39][ERROR][app] 1689200019184078000 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": "Jarvis"}, "Attributes": {"service": "frontend", "error": "failed to connect to frontend database: dirty database: schema \"frontend\" marked the following migrations as failed: 1648051770\nThe target schema is marked as dirty and no other migration operation is seen running on this schema. The last migration operation over this schema has failed (or, at least, the migrator instance issuing that migration has died). Please contact support@sourcegraph.com for further assistance."}} [2023-07-12][22:13:39][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-13][19:00:21][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-13][19:00:24][ERROR][app] |------------------------------------------------------------------------------| [2023-07-13][19:00:24][ERROR][app] | src-cli is unavailable | [2023-07-13][19:00:24][ERROR][app] |------------------------------------------------------------------------------| [2023-07-13][19:00:24][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-13][19:00:24][ERROR][app] | | [2023-07-13][19:00:24][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-13][19:00:24][ERROR][app] | | [2023-07-13][19:00:24][ERROR][app] |------------------------------------------------------------------------------| [2023-07-13][19:00:24][ERROR][app] 2023/07/13 19:00:24 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-8475-3537632315 [2023-07-13][19:00:24][ERROR][app] 1689274824257025000 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": "Jarvis"}, "Attributes": {}} [2023-07-13][19:00:24][ERROR][app] 1689274824256863000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-13][19:00:24][ERROR][app] 1689274824266877000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-13][19:00:24][ERROR][app] 1689274824266640000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-13][19:00:24][ERROR][app] 1689274824291172000 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": "Jarvis"}, "Attributes": {"service": "frontend", "error": "failed to connect to frontend database: dirty database: schema \"frontend\" marked the following migrations as failed: 1648051770\nThe target schema is marked as dirty and no other migration operation is seen running on this schema. The last migration operation over this schema has failed (or, at least, the migrator instance issuing that migration has died). Please contact support@sourcegraph.com for further assistance."}} [2023-07-13][19:00:24][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-19][21:20:55][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-19][21:20:58][ERROR][app] |------------------------------------------------------------------------------| [2023-07-19][21:20:58][ERROR][app] | src-cli is unavailable | [2023-07-19][21:20:58][ERROR][app] |------------------------------------------------------------------------------| [2023-07-19][21:20:58][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-19][21:20:58][ERROR][app] | | [2023-07-19][21:20:58][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-19][21:20:58][ERROR][app] | | [2023-07-19][21:20:58][ERROR][app] |------------------------------------------------------------------------------| [2023-07-19][21:20:58][ERROR][app] 1689801658931335000 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": "Jarvis"}, "Attributes": {}} [2023-07-19][21:20:58][ERROR][app] 1689801658931768000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-19][21:20:58][ERROR][app] Cody app backend terminated with exit code 1 [2023-07-19][21:21:03][ERROR][app::common] No such file or directory (os error 2) [2023-07-19][21:21:04][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-07-19][21:21:14][ERROR][app] |------------------------------------------------------------------------------| [2023-07-19][21:21:14][ERROR][app] | src-cli is unavailable | [2023-07-19][21:21:14][ERROR][app] |------------------------------------------------------------------------------| [2023-07-19][21:21:14][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-07-19][21:21:14][ERROR][app] | | [2023-07-19][21:21:14][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-07-19][21:21:14][ERROR][app] | | [2023-07-19][21:21:14][ERROR][app] |------------------------------------------------------------------------------| [2023-07-19][21:21:14][ERROR][app] 1689801674753795000 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": "Jarvis"}, "Attributes": {}} [2023-07-19][21:21:14][ERROR][app] 1689801674753810000 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": "Jarvis"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-07-19][21:21:14][ERROR][app] 2023/07/19 21:21:14 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-97388-2267600127 [2023-07-19][21:21:14][ERROR][app] 1689801674764507000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-19][21:21:14][ERROR][app] 1689801674764858000 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": "Jarvis"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-07-19][21:21:14][ERROR][app] Cody app backend terminated with exit code 1

charleyskills commented 1 year ago

System Software Overview:

System Version: macOS 12.6 (21G115) Kernel Version: Darwin 21.6.0

slimsag commented 1 year ago

Hi @MaxKramarenko - it looks like this is the issue:

listen tcp 127.0.0.1:49000: bind: address already in use

Do you have another process on your system listening on port 49000? You can check like this in a terminal:

sudo lsof -i -P | grep LISTEN | grep :49000

We're looking to alleviate port conflicts like this soon, but for now we'll need to figure out what else is binding that port on your system in order to run the Cody app.

tuannguyen-groove commented 1 year ago

I had the same issue due to Portainer extension for Docker Desktop uses the 49000 port

outdoorsman commented 1 year ago

Same issue for me... Portainer extension is using poert 49000 for Docker Desktop. I tested but uninstalling that extension and it worked. Would be really nice if you figure out a port dynamically or choose something that's not a round number maybe?