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

Shows "Oops, something went wrong" every time it's opened, even after clean reinstall #62

Open brennangitsit opened 1 year ago

brennangitsit commented 1 year ago

It started happening after I forced the ejection of the .dmg file. Log:

[2023-08-18][15:35:02][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-08-18][15:35:02][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:02][ERROR][app] | Docker is unavailable | [2023-08-18][15:35:02][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:02][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work: | [2023-08-18][15:35:02][ERROR][app] | | [2023-08-18][15:35:02][ERROR][app] | - Batch changes | [2023-08-18][15:35:02][ERROR][app] | - Symbol search | [2023-08-18][15:35:02][ERROR][app] | - Symbols overview tab (on repository pages) | [2023-08-18][15:35:02][ERROR][app] | | [2023-08-18][15:35:02][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:02][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:02][ERROR][app] | src-cli is unavailable | [2023-08-18][15:35:02][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:02][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-08-18][15:35:02][ERROR][app] | | [2023-08-18][15:35:02][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-08-18][15:35:02][ERROR][app] | | [2023-08-18][15:35:02][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:02][ERROR][app] 2023/08/18 15:35:02 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-39414-599151235 [2023-08-18][15:35:02][ERROR][app] 1692372902430417000 FATAL github-proxy shared/shared.go:109 github.com/sourcegraph/sourcegraph/cmd/github-proxy/shared.Main listen tcp :3180: bind: address already in use {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "brenbook.lan"}, "Attributes": {}} [2023-08-18][15:35:02][ERROR][app] 1692372902431140000 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": "brenbook.lan"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-08-18][15:35:02][ERROR][app] 1692372902433564000 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": "brenbook.lan"}, "Attributes": {"service": "servegit", "error": "failed to start servegit server which discovers local repositories: listen: listen tcp 127.0.0.1:3434: bind: address already in use"}} [2023-08-18][15:35:02][ERROR][app] 1692372902459127000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:35:02][ERROR][app] 1692372902460218000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:35:02][ERROR][app] 1692372902460841000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:35:02][ERROR][app] 1692372902461285000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:35:02][ERROR][app] 1692372902497741000 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": "brenbook.lan"}, "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-08-18][15:35:02][ERROR][app] Cody app backend terminated with exit code 1 [2023-08-18][15:35:07][ERROR][app::common] No such file or directory (os error 2) [2023-08-18][15:35:10][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-08-18][15:35:23][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:23][ERROR][app] | Docker is unavailable | [2023-08-18][15:35:23][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:23][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work: | [2023-08-18][15:35:23][ERROR][app] | | [2023-08-18][15:35:23][ERROR][app] | - Batch changes | [2023-08-18][15:35:23][ERROR][app] | - Symbol search | [2023-08-18][15:35:23][ERROR][app] | - Symbols overview tab (on repository pages) | [2023-08-18][15:35:23][ERROR][app] | | [2023-08-18][15:35:23][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:23][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:23][ERROR][app] | src-cli is unavailable | [2023-08-18][15:35:23][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:23][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-08-18][15:35:23][ERROR][app] | | [2023-08-18][15:35:23][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-08-18][15:35:23][ERROR][app] | | [2023-08-18][15:35:23][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:35:23][ERROR][app] 2023/08/18 15:35:23 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-40004-2217897289 [2023-08-18][15:35:23][ERROR][app] 1692372923789081000 FATAL github-proxy shared/shared.go:109 github.com/sourcegraph/sourcegraph/cmd/github-proxy/shared.Main listen tcp :3180: bind: address already in use {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "brenbook.lan"}, "Attributes": {}} [2023-08-18][15:35:23][ERROR][app] 1692372923796971000 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": "brenbook.lan"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-08-18][15:35:23][ERROR][app] 1692372923788927000 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": "brenbook.lan"}, "Attributes": {"service": "servegit", "error": "failed to start servegit server which discovers local repositories: listen: listen tcp 127.0.0.1:3434: bind: address already in use"}} [2023-08-18][15:35:23][ERROR][app] 1692372923819241000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:35:23][ERROR][app] 1692372923820199000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:35:23][ERROR][app] 1692372923821709000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:35:23][ERROR][app] 1692372923822101000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:35:24][ERROR][app] Cody app backend terminated with exit code 1 [2023-08-18][15:38:15][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-08-18][15:38:15][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:15][ERROR][app] | Docker is unavailable | [2023-08-18][15:38:15][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:15][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work: | [2023-08-18][15:38:15][ERROR][app] | | [2023-08-18][15:38:15][ERROR][app] | - Batch changes | [2023-08-18][15:38:15][ERROR][app] | - Symbol search | [2023-08-18][15:38:15][ERROR][app] | - Symbols overview tab (on repository pages) | [2023-08-18][15:38:15][ERROR][app] | | [2023-08-18][15:38:15][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:15][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:15][ERROR][app] | src-cli is unavailable | [2023-08-18][15:38:15][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:15][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-08-18][15:38:15][ERROR][app] | | [2023-08-18][15:38:15][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-08-18][15:38:15][ERROR][app] | | [2023-08-18][15:38:15][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:15][ERROR][app] 2023/08/18 15:38:15 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-40066-848463596 [2023-08-18][15:38:15][ERROR][app] 1692373095368697000 FATAL github-proxy shared/shared.go:109 github.com/sourcegraph/sourcegraph/cmd/github-proxy/shared.Main listen tcp :3180: bind: address already in use {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "brenbook.lan"}, "Attributes": {}} [2023-08-18][15:38:15][ERROR][app] 1692373095367466000 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": "brenbook.lan"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-08-18][15:38:15][ERROR][app] 1692373095370944000 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": "brenbook.lan"}, "Attributes": {"service": "servegit", "error": "failed to start servegit server which discovers local repositories: listen: listen tcp 127.0.0.1:3434: bind: address already in use"}} [2023-08-18][15:38:15][ERROR][app] 1692373095396631000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:38:15][ERROR][app] 1692373095397185000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:38:15][ERROR][app] 1692373095397202000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:38:15][ERROR][app] 1692373095397584000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:38:15][ERROR][app] 1692373095430632000 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": "brenbook.lan"}, "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-08-18][15:38:15][ERROR][app] Cody app backend terminated with exit code 1 [2023-08-18][15:38:19][ERROR][app::common] No such file or directory (os error 2) [2023-08-18][15:38:21][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-08-18][15:38:36][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:36][ERROR][app] | Docker is unavailable | [2023-08-18][15:38:36][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:36][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work: | [2023-08-18][15:38:36][ERROR][app] | | [2023-08-18][15:38:36][ERROR][app] | - Batch changes | [2023-08-18][15:38:36][ERROR][app] | - Symbol search | [2023-08-18][15:38:36][ERROR][app] | - Symbols overview tab (on repository pages) | [2023-08-18][15:38:36][ERROR][app] | | [2023-08-18][15:38:36][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:36][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:36][ERROR][app] | src-cli is unavailable | [2023-08-18][15:38:36][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:36][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-08-18][15:38:36][ERROR][app] | | [2023-08-18][15:38:36][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-08-18][15:38:36][ERROR][app] | | [2023-08-18][15:38:36][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:38:36][ERROR][app] 2023/08/18 15:38:36 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-40276-1973519964 [2023-08-18][15:38:36][ERROR][app] 1692373116847577000 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": "brenbook.lan"}, "Attributes": {"service": "servegit", "error": "failed to start servegit server which discovers local repositories: listen: listen tcp 127.0.0.1:3434: bind: address already in use"}} [2023-08-18][15:38:36][ERROR][app] 1692373116857579000 FATAL github-proxy shared/shared.go:109 github.com/sourcegraph/sourcegraph/cmd/github-proxy/shared.Main listen tcp :3180: bind: address already in use {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "brenbook.lan"}, "Attributes": {}} [2023-08-18][15:38:36][ERROR][app] 1692373116853859000 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": "brenbook.lan"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-08-18][15:38:36][ERROR][app] 1692373116877560000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:38:36][ERROR][app] 1692373116877885000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:38:36][ERROR][app] 1692373116883979000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:38:36][ERROR][app] 1692373116884309000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:38:37][ERROR][app] Cody app backend terminated with exit code 1 [2023-08-18][15:45:52][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-08-18][15:45:53][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:45:53][ERROR][app] | Docker is unavailable | [2023-08-18][15:45:53][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:45:53][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work: | [2023-08-18][15:45:53][ERROR][app] | | [2023-08-18][15:45:53][ERROR][app] | - Batch changes | [2023-08-18][15:45:53][ERROR][app] | - Symbol search | [2023-08-18][15:45:53][ERROR][app] | - Symbols overview tab (on repository pages) | [2023-08-18][15:45:53][ERROR][app] | | [2023-08-18][15:45:53][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:45:53][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:45:53][ERROR][app] | src-cli is unavailable | [2023-08-18][15:45:53][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:45:53][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-08-18][15:45:53][ERROR][app] | | [2023-08-18][15:45:53][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-08-18][15:45:53][ERROR][app] | | [2023-08-18][15:45:53][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:45:53][ERROR][app] 2023/08/18 15:45:53 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-40326-3502674834 [2023-08-18][15:45:53][ERROR][app] 1692373553180054000 FATAL github-proxy shared/shared.go:109 github.com/sourcegraph/sourcegraph/cmd/github-proxy/shared.Main listen tcp :3180: bind: address already in use {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "brenbook.lan"}, "Attributes": {}} [2023-08-18][15:45:53][ERROR][app] 1692373553179432000 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": "brenbook.lan"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-08-18][15:45:53][ERROR][app] 1692373553180663000 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": "brenbook.lan"}, "Attributes": {"service": "servegit", "error": "failed to start servegit server which discovers local repositories: listen: listen tcp 127.0.0.1:3434: bind: address already in use"}} [2023-08-18][15:45:53][ERROR][app] 1692373553207257000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:45:53][ERROR][app] 1692373553207838000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:45:53][ERROR][app] 1692373553209796000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:45:53][ERROR][app] 1692373553210275000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:45:53][ERROR][app] 1692373553229953000 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": "brenbook.lan"}, "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-08-18][15:45:53][ERROR][app] Cody app backend terminated with exit code 1 [2023-08-18][15:45:58][ERROR][app::common] No such file or directory (os error 2) [2023-08-18][15:46:00][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-08-18][15:46:14][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:46:14][ERROR][app] | Docker is unavailable | [2023-08-18][15:46:14][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:46:14][ERROR][app] | Sourcegraph is better when Docker is available; some features may not work: | [2023-08-18][15:46:14][ERROR][app] | | [2023-08-18][15:46:14][ERROR][app] | - Batch changes | [2023-08-18][15:46:14][ERROR][app] | - Symbol search | [2023-08-18][15:46:14][ERROR][app] | - Symbols overview tab (on repository pages) | [2023-08-18][15:46:14][ERROR][app] | | [2023-08-18][15:46:14][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:46:14][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:46:14][ERROR][app] | src-cli is unavailable | [2023-08-18][15:46:14][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:46:14][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. | [2023-08-18][15:46:14][ERROR][app] | | [2023-08-18][15:46:14][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli | [2023-08-18][15:46:14][ERROR][app] | | [2023-08-18][15:46:14][ERROR][app] |------------------------------------------------------------------------------| [2023-08-18][15:46:14][ERROR][app] 2023/08/18 15:46:14 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-40998-3287189449 [2023-08-18][15:46:14][ERROR][app] 1692373574430908000 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": "brenbook.lan"}, "Attributes": {"service": "blobstore", "error": "listen tcp 127.0.0.1:49000: bind: address already in use"}} [2023-08-18][15:46:14][ERROR][app] 1692373574428087000 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": "brenbook.lan"}, "Attributes": {"service": "servegit", "error": "failed to start servegit server which discovers local repositories: listen: listen tcp 127.0.0.1:3434: bind: address already in use"}} [2023-08-18][15:46:14][ERROR][app] 1692373574438884000 FATAL github-proxy shared/shared.go:109 github.com/sourcegraph/sourcegraph/cmd/github-proxy/shared.Main listen tcp :3180: bind: address already in use {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "brenbook.lan"}, "Attributes": {}} [2023-08-18][15:46:14][ERROR][app] 1692373574460448000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:46:14][ERROR][app] 1692373574460858000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:46:14][ERROR][app] 1692373574464390000 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": "brenbook.lan"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}} [2023-08-18][15:46:14][ERROR][app] 1692373574464785000 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": "brenbook.lan"}, "Attributes": {"error": "'docker version -f {{.Server.Version}}': : exec: \"docker\": executable file not found in $PATH"}} [2023-08-18][15:46:14][ERROR][app] Cody app backend terminated with exit code 1

ccfontes commented 11 months ago

This error happens to me likely due to trying to open Cody AI from another user account, while the first user account already using Cody AI tied to my github account. Cannot unlink the github account from sourcegragh website (says it's not possible to unlink external account), and I couldn't find any way to achieve this in the Cody AI app.