multica-ai/multica · error
no log file found at %s The daemon may not have been started
Error message
no log file found at %s The daemon may not have been started in background mode
What it means
Error "no log file found at %s The daemon may not have been started in background mode" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_daemon.go:1551
return "", fmt.Errorf("cannot resolve the state directory for profile %q", profileLabel(profile))
}
return logPath, nil
}
func runDaemonLogs(cmd *cobra.Command, _ []string) error {
if err := requireHumanLocalCommand("daemon logs"); err != nil {
return err
}
profile := resolveProfile(cmd)
if err := requireKnownProfile(profile); err != nil {
return err
}
logPath, err := daemonLogSourcePath(profile)
if err != nil {
return err
}
if _, err := os.Stat(logPath); os.IsNotExist(err) {
return fmt.Errorf("no log file found at %s\nThe daemon may not have been started in background mode", logPath)
}
follow, _ := cmd.Flags().GetBool("follow")
lines, _ := cmd.Flags().GetInt("lines")
// Name the file before streaming it. Which daemon.log is live is otherwise
// unknowable — a stale default-profile log reads fine and looks current —
// and this command is the only thing that knows the answer. It goes to
// stderr and is written before the tail starts so `-f` output and any
// downstream pipe stay clean.
fmt.Fprintf(cmd.ErrOrStderr(), "Reading %s (profile: %s)\n", logPath, profileLabel(profile))
return tailLog(logPath, lines, follow)
}
// daemonAlive reports whether a health response indicates a live daemon
// process on the port — either fully "running" (ready) or still "starting"
// (port bound, preflight in progress). Lifecycle commands that only need toView on GitHub (pinned to 2c0912b6ec)
Solutions
- Start the daemon in background mode so a log file is created.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_daemon.go:1551 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/579882b38cec47fa.
Report an issue: GitHub.