why is this error coming up? ***@***-mac ** % lk ...
# ask-ai
p
why is this error coming up? ***@***-mac ** % lk agent logs --id ** Using default project [*] Using agent [**] logs not yet available - check your agent status
t
Thanks for reaching out, Minjae. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It looks like you're seeing the message "logs not yet available - check your agent status." This usually means the agent isn’t running yet, so the logs aren’t ready to be streamed. Let’s work through this together: • First, please check the agent’s status with
lk agent status --id <agent-id>
. The agent needs to be in a "Running" state to access the logs. • If you just deployed the agent, it might take a little time to start up—try the logs command again after a short wait. • If you’re still having trouble, take a look at the build logs using
lk agent logs --id <agent-id> --log-type=build
. This can help spot any issues during the image creation process. In case the agent shows as "Running" but you still can’t see the logs, double-check that there are active deployments with
lk agent list --id <agent-id>
. Also, make sure the deployment region is correct and see if there are any external log forwarding settings that might affect this. Please feel free to reach out if you hit any bumps along the way or if specific error messages pop up—I’m here to help you through it! Sources: Community & Support | livekit/livekit_composite | DeepWiki | CLI Tools & Token Management | livekit/livekit_composite | DeepWiki | Log collection | LiveKit Docs | cmd/lk/agent.go | pkg/cloudagents/logs.go
p
nvm, a livekit upgrade solved the issue