Open semikolon opened 10 months ago
I cannot update my Mac OS version because I have a Macbook Pro from 2014 which doesn't support the newer versions.
I've installed Docker and your src-cli package because according to the logs these were required. But it still doesn't launch.
At first I created a Discord support issue here: https://discord.com/channels/969688426372825169/1143456710648934470
I tried downgrading Docker. I've made sure src-cli can log in (there was an access token created by the Cody app, but I also tried creating another one manually).
All the logs from the Cody app here: message (2).txt message (1).txt message.txt
For example (the last error keeps popping up):
[2023-08-23][12:41:51][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-08-23][12:41:53][ERROR][app] 1692794513177462000 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": "Fredriks-MBP.local"}, "Attributes": {}} [2023-08-23][12:41:54][ERROR][app] 1692794514038655000 WARN licensing.licenseChecker licensing/check.go:100 github.com/sourcegraph/sourcegraph/internal/licensing.(*licenseChecker).Handle invalid http response while checking license validity {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Fredriks-MBP.local"}, "Attributes": {"httpStatus": "401 Unauthorized", "siteID": "b6fcd988-afd6-4d42-b549-698889e1f4c6"}} [2023-08-23][12:41:54][ERROR][app] 1692794514040641000 ERROR licensing.check-license-validity goroutine/periodic.go:95 github.com/sourcegraph/sourcegraph/internal/goroutine.(*simpleHandler).HandleError An error occurred in a background task {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Fredriks-MBP.local"}, "Attributes": {"handler": "licensing.check-license-validity", "error": "Failed to check license, status code: 401"}} [2023-08-23][12:41:54][ERROR][app] tauri:sign-in-url: http://localhost:3080/sign-in?s=GSBBmIl9wwivjJ3vnt70dP7c-MIYrE63CNmUzncCFPE%3D [2023-08-23][12:41:54][ERROR][app] [30;42;1m|------------------------------------------------------------------------------|[0m [2023-08-23][12:41:54][ERROR][app] [0m[30;42;1m| |[0m [2023-08-23][12:41:54][ERROR][app] [0m[30;42;1m| Sourcegraph is now available on http://localhost:3080 |[0m [2023-08-23][12:41:54][ERROR][app] [0m[30;42;1m| |[0m [2023-08-23][12:41:54][ERROR][app] [0m[30;42;1m|------------------------------------------------------------------------------|[0m [2023-08-23][12:42:00][ERROR][app::common] No such file or directory (os error 2) [2023-08-23][12:42:00][ERROR][app] [0m1692794520038016000 ERROR frontend.overrideGlobalSettings.watch cli/config.go:402 github.com/sourcegraph/sourcegraph/cmd/frontend/internal/cli.watchUpdate failed to update configuration from modified config override file {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Fredriks-MBP.local"}, "Attributes": {"files": ["/Users/fredrikbranstrom/Library/Application Support/com.sourcegraph.cody/global-settings.json"], "error": "reading GLOBAL_SETTINGS_FILE: open /Users/fredrikbranstrom/Library/Application Support/com.sourcegraph.cody/global-settings.json: no such file or directory"}} [2023-08-23][12:42:00][ERROR][app] 1692794520038197000 ERROR frontend.overrideSiteConfig.watch cli/config.go:402 github.com/sourcegraph/sourcegraph/cmd/frontend/internal/cli.watchUpdate failed to update configuration from modified config override file {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Fredriks-MBP.local"}, "Attributes": {"files": ["/Users/fredrikbranstrom/Library/Application Support/com.sourcegraph.cody/site-config.json"], "error": "reading SITE_CONFIG_FILE: open /Users/fredrikbranstrom/Library/Application Support/com.sourcegraph.cody/site-config.json: no such file or directory"}} [2023-08-23][12:42:02][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64 [2023-08-23][12:42:11][ERROR][app] 1692794531888005000 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": "Fredriks-MBP.local"}, "Attributes": {}} [2023-08-23][12:42:11][ERROR][app] 2023/08/23 12:42:11 tmpfriend: Removing /tmp/.searcher.tmp/tmpfriend-3904-3069824128 [2023-08-23][12:42:15][ERROR][app] 1692794535848121000 WARN licensing.licenseChecker licensing/check.go:100 github.com/sourcegraph/sourcegraph/internal/licensing.(*licenseChecker).Handle invalid http response while checking license validity {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Fredriks-MBP.local"}, "Attributes": {"httpStatus": "401 Unauthorized", "siteID": "fe480a9b-4553-4142-9a3e-25a6ea653d37"}} [2023-08-23][12:42:15][ERROR][app] 1692794535848813000 ERROR licensing.check-license-validity goroutine/periodic.go:95 github.com/sourcegraph/sourcegraph/internal/goroutine.(*simpleHandler).HandleError An error occurred in a background task {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Fredriks-MBP.local"}, "Attributes": {"handler": "licensing.check-license-validity", "error": "Failed to check license, status code: 401"}} [2023-08-23][12:42:15][ERROR][app] 1692794535968869000 WARN frontend.SecurityEvents audit/audit.go:51 github.com/sourcegraph/sourcegraph/internal/audit.Log AccountCreated (sampling immunity token: 7a93fa38-f2e8-406f-8adb-f23fa784a9ab) {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Fredriks-MBP.local"}, "Attributes": {"audit": {"auditId": "7a93fa38-f2e8-406f-8adb-f23fa784a9ab", "entity": "security events", "actor": {"actorUID": "unknown", "ip": "unknown", "userAgent": "unknown", "X-Forwarded-For": "unknown"}}, "event": {"URL": "", "UserID": 1, "AnonymousUserID": "", "source": "BACKEND", "argument": "{\"creator\":0,\"site_admin\":true,\"service_type\":\"\"}", "version": "2023.7.11+1384.7d20a90ce7", "timestamp": "2023-08-23 12:42:15.965158 +0000 UTC"}}} [2023-08-23][12:42:15][ERROR][app] tauri:sign-in-url: http://localhost:3080/sign-in?s=iM9EvNcq0ah2xxWkYtaRqWbW1E9IG_xB7S1WiZ0PCaU%3D [2023-08-23][12:42:15][ERROR][app] [30;42;1m|------------------------------------------------------------------------------|[0m [2023-08-23][12:42:15][ERROR][app] [0m[30;42;1m| |[0m [2023-08-23][12:42:15][ERROR][app] [0m[30;42;1m| Sourcegraph is now available on http://localhost:3080 |[0m [2023-08-23][12:42:15][ERROR][app] [0m[30;42;1m| |[0m [2023-08-23][12:42:15][ERROR][app] [0m[30;42;1m|------------------------------------------------------------------------------|[0m [2023-08-23][12:42:24][ERROR][app] [0m1692794544957010000 WARN gitserver server/servermetrics.go:36 github.com/sourcegraph/sourcegraph/cmd/gitserver/server.(*Server).RegisterMetrics.func1 exec measurement failed {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Fredriks-MBP.local"}, "Attributes": {"error": "exec: \"echo\": cannot run executable found relative to current directory"}} [2023-08-23][12:42:34][ERROR][app] 1692794554960675000 WARN gitserver server/servermetrics.go:36 github.com/sourcegraph/sourcegraph/cmd/gitserver/server.(*Server).RegisterMetrics.func1 exec measurement failed {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Fredriks-MBP.local"}, "Attributes": {"error": "exec: \"echo\": cannot run executable found relative to current directory"}}
I cannot update my Mac OS version because I have a Macbook Pro from 2014 which doesn't support the newer versions.
I've installed Docker and your src-cli package because according to the logs these were required. But it still doesn't launch.
At first I created a Discord support issue here: https://discord.com/channels/969688426372825169/1143456710648934470
I tried downgrading Docker. I've made sure src-cli can log in (there was an access token created by the Cody app, but I also tried creating another one manually).
All the logs from the Cody app here: message (2).txt message (1).txt message.txt
For example (the last error keeps popping up):