0% found this document useful (0 votes)
56 views4 pages

New 1345

The log file documents issues starting the Cosmos Browser application. It failed to create user directories due to permission errors and was unable to initialize its cache due to a corrupt database file. It entered troubleshooting mode and started HTTP servers on ports 30305 and 30306 but continued encountering permission errors when trying to create directories.

Uploaded by

Stefan Isakow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views4 pages

New 1345

The log file documents issues starting the Cosmos Browser application. It failed to create user directories due to permission errors and was unable to initialize its cache due to a corrupt database file. It entered troubleshooting mode and started HTTP servers on ports 30305 and 30306 but continued encountering permission errors when trying to create directories.

Uploaded by

Stefan Isakow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

Mac-mini-van-frans:ChaosCosmos peekrf$ cat cb.

log
{"severity":"error","time":"2023-06-27T15:34:29.625+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.(*App).Start\n\
t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/service/cmd/cbservice/
main.go:350\nmain.InitService.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/
content-browser/service/cmd/cbservice/service.go:260"}
{"severity":"info","time":"2023-06-27T15:34:29.895+0200","message":"Cosmos Browser
starting","Offline":false,"Current version":"2023.06.21-322825","Working
directory":"/Users/peekrf/ChaosCosmos","Updates directory":"","Database
hash":"190c596bc99782c2e462bd7e4666d1ad5b94560949a76e94d0d67a1588648c7d","Database
directory":"/Users/peekrf/Library/Application Support/Chaos/Cosmos/DB"}
{"severity":"info","time":"2023-06-27T15:34:29.895+0200","message":"about to verify
certificate"}
{"severity":"warn","time":"2023-06-27T15:34:29.895+0200","message":"certificate is
invalid, will generate new","error":"internal error: open
/Library/ChaosGroup/ChaosCosmos/localhost.crt: no such file or directory (e57776e4-
a3e6-7b27-411c-3b610230bda5)"}
{"severity":"error","time":"2023-06-27T15:34:31.195+0200","message":"couldn't
initialize cache","error":"failed to create driver: unable to open database
file(ERROR_CODE_DB_FILE_CORRUPT)(ERROR_CODE_DB_FILE_CORRUPT)","stacktrace":"main.
(*App).Start\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/service/
cmd/cbservice/main.go:400\nmain.InitService.func1\n\t/Users/devops/builds/_sXc-
xnp/0/galaxy/content-browser/service/cmd/cbservice/service.go:260"}
{"severity":"info","time":"2023-06-27T15:34:31.195+0200","message":"entering
troubleshooting mode"}
{"severity":"info","time":"2023-06-27T15:34:31.196+0200","message":"starting HTTP/2
server","port":"30306","tls":true}
{"severity":"info","time":"2023-06-27T15:34:31.196+0200","message":"starting HTTP/2
server","port":"30305","tls":false}
{"severity":"error","time":"2023-06-27T15:36:33.983+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.
(*App).Troubleshooting.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/service/cmd/cbservice/main.go:290\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/
local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2109\ngithub.com/
gorilla/mux.(*Router).ServeHTTP\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/vendor/github.com/gorilla/mux/mux.go:210\nnet/http.serverHandler.ServeHTTP\
n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2947\nnet/http.
(*conn).serve\n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/
server.go:1991"}
{"severity":"error","time":"2023-06-27T15:36:34.595+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.
(*App).Troubleshooting.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/service/cmd/cbservice/main.go:290\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/
local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2109\ngithub.com/
gorilla/mux.(*Router).ServeHTTP\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/vendor/github.com/gorilla/mux/mux.go:210\nnet/http.serverHandler.ServeHTTP\
n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2947\nnet/http.
(*conn).serve\n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/
server.go:1991"}
{"severity":"error","time":"2023-06-27T15:39:21.154+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.(*App).Start\n\
t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/service/cmd/cbservice/
main.go:350\nmain.InitService.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/
content-browser/service/cmd/cbservice/service.go:260"}
{"severity":"info","time":"2023-06-27T15:39:21.468+0200","message":"Cosmos Browser
starting","Offline":false,"Current version":"2023.06.21-322825","Working
directory":"/Users/peekrf/ChaosCosmos","Updates directory":"","Database
hash":"190c596bc99782c2e462bd7e4666d1ad5b94560949a76e94d0d67a1588648c7d","Database
directory":"/Users/peekrf/Library/Application Support/Chaos/Cosmos/DB"}
{"severity":"info","time":"2023-06-27T15:39:21.468+0200","message":"about to verify
certificate"}
{"severity":"error","time":"2023-06-27T15:39:21.751+0200","message":"couldn't
initialize cache","error":"failed to create driver: unable to open database
file(ERROR_CODE_DB_FILE_CORRUPT)(ERROR_CODE_DB_FILE_CORRUPT)","stacktrace":"main.
(*App).Start\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/service/
cmd/cbservice/main.go:400\nmain.InitService.func1\n\t/Users/devops/builds/_sXc-
xnp/0/galaxy/content-browser/service/cmd/cbservice/service.go:260"}
{"severity":"info","time":"2023-06-27T15:39:21.751+0200","message":"entering
troubleshooting mode"}
{"severity":"info","time":"2023-06-27T15:39:21.752+0200","message":"starting HTTP/2
server","port":"30306","tls":true}
{"severity":"info","time":"2023-06-27T15:39:21.752+0200","message":"starting HTTP/2
server","port":"30305","tls":false}
{"severity":"error","time":"2023-06-27T15:39:33.140+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.
(*App).Troubleshooting.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/service/cmd/cbservice/main.go:290\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/
local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2109\ngithub.com/
gorilla/mux.(*Router).ServeHTTP\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/vendor/github.com/gorilla/mux/mux.go:210\nnet/http.serverHandler.ServeHTTP\
n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2947\nnet/http.
(*conn).serve\n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/
server.go:1991"}
{"severity":"error","time":"2023-06-27T15:39:33.510+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.
(*App).Troubleshooting.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/service/cmd/cbservice/main.go:290\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/
local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2109\ngithub.com/
gorilla/mux.(*Router).ServeHTTP\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/vendor/github.com/gorilla/mux/mux.go:210\nnet/http.serverHandler.ServeHTTP\
n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2947\nnet/http.
(*conn).serve\n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/
server.go:1991"}
{"severity":"error","time":"2023-06-27T15:39:37.413+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.
(*App).Troubleshooting.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/service/cmd/cbservice/main.go:290\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/
local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2109\ngithub.com/
gorilla/mux.(*Router).ServeHTTP\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/vendor/github.com/gorilla/mux/mux.go:210\nnet/http.serverHandler.ServeHTTP\
n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2947\nnet/http.
(*conn).serve\n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/
server.go:1991"}
{"severity":"error","time":"2023-06-27T15:39:37.576+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.
(*App).Troubleshooting.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/service/cmd/cbservice/main.go:290\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/
local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2109\ngithub.com/
gorilla/mux.(*Router).ServeHTTP\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-
browser/vendor/github.com/gorilla/mux/mux.go:210\nnet/http.serverHandler.ServeHTTP\
n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/server.go:2947\nnet/http.
(*conn).serve\n\t/usr/local/Cellar/[email protected]/1.19.7/libexec/src/net/http/
server.go:1991"}
{"severity":"error","time":"2023-06-27T15:40:02.405+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.(*App).Start\n\
t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/service/cmd/cbservice/
main.go:350\nmain.InitService.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/
content-browser/service/cmd/cbservice/service.go:260"}
{"severity":"info","time":"2023-06-27T15:40:02.585+0200","message":"Cosmos Browser
starting","Offline":false,"Current version":"2023.06.21-322825","Working
directory":"/Users/peekrf/ChaosCosmos","Updates directory":"","Database
hash":"190c596bc99782c2e462bd7e4666d1ad5b94560949a76e94d0d67a1588648c7d","Database
directory":"/Users/peekrf/Library/Application Support/Chaos/Cosmos/DB"}
{"severity":"info","time":"2023-06-27T15:40:02.585+0200","message":"about to verify
certificate"}
{"severity":"error","time":"2023-06-27T15:40:02.818+0200","message":"couldn't
initialize cache","error":"failed to create driver: unable to open database
file(ERROR_CODE_DB_FILE_CORRUPT)(ERROR_CODE_DB_FILE_CORRUPT)","stacktrace":"main.
(*App).Start\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/service/
cmd/cbservice/main.go:400\nmain.InitService.func1\n\t/Users/devops/builds/_sXc-
xnp/0/galaxy/content-browser/service/cmd/cbservice/service.go:260"}
{"severity":"info","time":"2023-06-27T15:40:02.818+0200","message":"entering
troubleshooting mode"}
{"severity":"info","time":"2023-06-27T15:40:02.818+0200","message":"starting HTTP/2
server","port":"30306","tls":true}
{"severity":"info","time":"2023-06-27T15:40:02.818+0200","message":"starting HTTP/2
server","port":"30305","tls":false}
{"severity":"error","time":"2023-06-27T15:40:32.823+0200","message":"HTTP/2
unexpectedly shutting down because of an error","error":"listen tcp
127.0.0.1:30306: bind: address already in use","stacktrace":"main.
(*App).startServer\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/
service/cmd/cbservice/main.go:967\nmain.(*App).startServers.func2\n\t/Users/
devops/builds/_sXc-xnp/0/galaxy/content-browser/service/cmd/cbservice/
main.go:1007"}
{"severity":"error","time":"2023-06-27T15:40:32.823+0200","message":"HTTP/2
unexpectedly shutting down because of an error","error":"listen tcp
127.0.0.1:30305: bind: address already in use","stacktrace":"main.
(*App).startServer\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/
service/cmd/cbservice/main.go:967\nmain.(*App).startServers.func1\n\t/Users/
devops/builds/_sXc-xnp/0/galaxy/content-browser/service/cmd/cbservice/main.go:992"}
{"severity":"info","time":"2023-06-27T15:40:32.823+0200","message":"waiting for
graceful shutdown"}
{"severity":"info","time":"2023-06-27T15:40:32.824+0200","message":"waiting for
graceful shutdown"}
{"severity":"info","time":"2023-06-27T15:40:32.824+0200","message":"server
gracefully shut down"}
{"severity":"info","time":"2023-06-27T15:40:32.824+0200","message":"server
gracefully shut down"}
{"severity":"error","time":"2023-06-27T15:42:40.518+0200","message":"failed to
create user directories","error":"mkdir /Users/peekrf/Library/Application
Support/Chaos/Cosmos/Updates: permission denied","stacktrace":"main.(*App).Start\n\
t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/service/cmd/cbservice/
main.go:350\nmain.InitService.func1\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/
content-browser/service/cmd/cbservice/service.go:260"}
{"severity":"info","time":"2023-06-27T15:42:40.684+0200","message":"Cosmos Browser
starting","Offline":false,"Current version":"2023.06.21-322825","Working
directory":"/Users/peekrf/ChaosCosmos","Updates directory":"","Database
hash":"190c596bc99782c2e462bd7e4666d1ad5b94560949a76e94d0d67a1588648c7d","Database
directory":"/Users/peekrf/Library/Application Support/Chaos/Cosmos/DB"}
{"severity":"info","time":"2023-06-27T15:42:40.685+0200","message":"about to verify
certificate"}
{"severity":"error","time":"2023-06-27T15:42:40.929+0200","message":"couldn't
initialize cache","error":"failed to create driver: unable to open database
file(ERROR_CODE_DB_FILE_CORRUPT)(ERROR_CODE_DB_FILE_CORRUPT)","stacktrace":"main.
(*App).Start\n\t/Users/devops/builds/_sXc-xnp/0/galaxy/content-browser/service/
cmd/cbservice/main.go:400\nmain.InitService.func1\n\t/Users/devops/builds/_sXc-
xnp/0/galaxy/content-browser/service/cmd/cbservice/service.go:260"}
{"severity":"info","time":"2023-06-27T15:42:40.929+0200","message":"entering
troubleshooting mode"}
{"severity":"info","time":"2023-06-27T15:42:40.929+0200","message":"starting HTTP/2
server","port":"30306","tls":true}
{"severity":"info","time":"2023-06-27T15:42:40.929+0200","message":"starting HTTP/2
server","port":"30305","tls":false}
{"severity":"info","time":"2023-06-27T15:42:45.411+0200","message":"waiting for
graceful shutdown"}
{"severity":"info","time":"2023-06-27T15:42:45.411+0200","message":"server
gracefully shut down"}
{"severity":"info","time":"2023-06-27T15:42:45.411+0200","message":"waiting for
graceful shutdown"}
{"severity":"info","time":"2023-06-27T15:42:45.411+0200","message":"server
gracefully shut down"}
Mac-mini-van-frans:ChaosCosmos peekrf$

You might also like