-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Not sure what is happening here:
[12:05:28] ❯ humanlog service run
{"time":"2025-06-25T12:05:28.309727+02:00","level":"INFO","source":{"function":"main.serviceCmd.func9","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":148},"msg":"service preparing to start"}
{"time":"2025-06-25T12:05:28.309878+02:00","level":"INFO","source":{"function":"main.runSystray","file":"github.com/humanlogio/humanlog/cmd/humanlog/systray_darwin.go","line":32},"msg":"enabling systray menu"}
{"time":"2025-06-25T12:05:28.309969+02:00","level":"INFO","source":{"function":"main.serviceCmd.func9.2","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":167},"msg":"service started, all command groups are on"}
{"time":"2025-06-25T12:05:28.309879+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).run","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":395},"msg":"service handler starting","runtime_config":{"interrupt":false,"skip_check_for_updates":false,"features":{},"experimental_features":{"release_channel":"main","serve_localhost":{"port":32764,"engine":"advanced","engine_config":{"path":"/Users/nils/.state/humanlog/data/db.humanlog"},"show_in_systray":true,"log_dir":"/Users/nils/.state/humanlog/logs","otlp":{"grpc_port":4318,"http_port":4317}}}}}
{"time":"2025-06-25T12:05:28.310185+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).maintainState","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":541},"msg":"priming initial background state","channel":"main"}
{"time":"2025-06-25T12:05:28.310201+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).primeState","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":517},"msg":"doing auth check","channel":"main"}
{"time":"2025-06-25T12:05:28.310205+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).checkAuth","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":573},"msg":"checking auth"}
{"time":"2025-06-25T12:05:28.310209+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).whoami","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":586},"msg":"checking whoami"}
{"time":"2025-06-25T12:05:28.310236+02:00","level":"INFO","source":{"function":"github.com/humanlogio/humanlog/internal/localserver.ServeLocalhost.func1","file":"github.com/humanlogio/humanlog/internal/localserver/server.go","line":70},"msg":"requesting listener for address","localhost":{"addr":"localhost:32764"}}
{"time":"2025-06-25T12:05:28.311344+02:00","level":"INFO","source":{"function":"github.com/humanlogio/humanlog/internal/localserver.ServeLocalhost","file":"github.com/humanlogio/humanlog/internal/localserver/server.go","line":89},"msg":"obtained listener"}
{"time":"2025-06-25T12:05:28.311354+02:00","level":"INFO","source":{"function":"github.com/humanlogio/humanlog/internal/localserver.ServeLocalhost","file":"github.com/humanlogio/humanlog/internal/localserver/server.go","line":95},"msg":"requesting listener for address (OTLP gRPC service)","localhost":{"addr":"localhost:4318"}}
{"time":"2025-06-25T12:05:28.311544+02:00","level":"INFO","source":{"function":"github.com/humanlogio/humanlog/internal/localserver.ServeLocalhost","file":"github.com/humanlogio/humanlog/internal/localserver/server.go","line":101},"msg":"obtained OTLP gRPC listener"}
{"time":"2025-06-25T12:05:28.311551+02:00","level":"INFO","source":{"function":"github.com/humanlogio/humanlog/internal/localserver.ServeLocalhost","file":"github.com/humanlogio/humanlog/internal/localserver/server.go","line":108},"msg":"requesting listener for address (OTLP HTTP service)","localhost":{"addr":"localhost:4317"}}
{"time":"2025-06-25T12:05:28.31173+02:00","level":"INFO","source":{"function":"github.com/humanlogio/humanlog/internal/localserver.ServeLocalhost","file":"github.com/humanlogio/humanlog/internal/localserver/server.go","line":114},"msg":"obtained OTLP HTTP listener"}
{"time":"2025-06-25T12:05:28.311738+02:00","level":"INFO","source":{"function":"github.com/humanlogio/humanlog/internal/localserver.ServeLocalhost","file":"github.com/humanlogio/humanlog/internal/localserver/server.go","line":117},"msg":"opening storage engine"}
{"time":"2025-06-25T12:05:28.311763+02:00","level":"ERROR","source":{"function":"main.(*serviceHandler).run.func3","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":420},"msg":"unable to run localhost","localhost":{"err":"opening localstorage \"advanced\": no storage engine with name \"advanced\""}}
{"time":"2025-06-25T12:05:28.419793+02:00","level":"INFO","source":{"function":"main.newSystrayController","file":"github.com/humanlogio/humanlog/cmd/humanlog/systray_darwin.go","line":96},"msg":"creating systray menu"}
{"time":"2025-06-25T12:05:28.41986+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).notifyError","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":724},"msg":"calling notifyError","err":"looking up user authentication status: looking up user authentication status: canceled: context canceled"}
{"time":"2025-06-25T12:05:28.419873+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).primeState","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":524},"msg":"doing update check","channel":"main"}
{"time":"2025-06-25T12:05:28.419877+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).checkUpdate","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":599},"msg":"checking for updates"}
{"time":"2025-06-25T12:05:28.419924+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).notifyError","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":724},"msg":"calling notifyError","err":"looking up next update: canceled: context canceled"}
{"time":"2025-06-25T12:05:28.419929+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).maintainState","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":543},"msg":"starting to maintain background state","channel":"main"}
{"time":"2025-06-25T12:05:28.419935+02:00","level":"INFO","source":{"function":"main.(*serviceHandler).run.func4","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":436},"msg":"stopped maintaining state"}
{"time":"2025-06-25T12:05:28.419945+02:00","level":"ERROR","source":{"function":"main.(*serviceHandler).run","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":442},"msg":"done waiting","err":"opening localstorage \"advanced\": no storage engine with name \"advanced\""}
{"time":"2025-06-25T12:05:28.419954+02:00","level":"WARN","source":{"function":"main.runSystray.func3","file":"github.com/humanlogio/humanlog/cmd/humanlog/systray_darwin.go","line":35},"msg":"signal received, sending quit to systray..."}
{"time":"2025-06-25T12:05:28.419978+02:00","level":"ERROR","source":{"function":"main.serviceCmd.func9.1","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":158},"msg":"service stopped running with an error","err":"opening localstorage \"advanced\": no storage engine with name \"advanced\""}
{"time":"2025-06-25T12:05:28.420023+02:00","level":"ERROR","source":{"function":"main.serviceCmd.func9.2","file":"github.com/humanlogio/humanlog/cmd/humanlog/service.go","line":169},"msg":"service command group had an error","err":"opening localstorage \"advanced\": no storage engine with name \"advanced\""}
{"time":"2025-06-25T12:05:28.433733+02:00","level":"WARN","source":{"function":"main.runSystray.func2","file":"github.com/humanlogio/humanlog/cmd/humanlog/systray_darwin.go","line":30},"msg":"exiting..."}
config.runtime
"runtime": {
"interrupt": false,
"skip_check_for_updates": false,
"features": {},
"experimental_features": {
"release_channel": "main",
"serve_localhost": {
"port": 32764,
"engine": "advanced",
"engine_config": {
"path": "/Users/nils/.state/humanlog/data/db.humanlog"
},
"show_in_systray": true,
"log_dir": "/Users/nils/.state/humanlog/logs",
"otlp": {
"grpc_port": 4318,
"http_port": 4317
}
}
}
}
not sure when the db is supposed to be created?
[12:07:50] ❯ ll /Users/nils/.state/humanlog/data/db.humanlog
"/Users/nils/.state/humanlog/data/db.humanlog": No such file or directory (os error 2)
Metadata
Metadata
Assignees
Labels
No labels