CLI · logs · debugging

moltbot logs

If you remember one command, remember this one. Use it whenever a channel doesn't receive messages, a cron job doesn't fire, or you suspect misconfiguration.

Follow logs (tail -f style)

moltbot logs --follow

Stop with Ctrl+C.

Fast debugging loop

1
Start following logs
moltbot logs --follow
2
Trigger the event
Send a Telegram message / wait for the cron job / run your command.
3
Read the first error
The first error is usually the root cause. Fix that before anything else.

Related

Telegram not receiving messages

Most common reasons + fixes.

Read →

Gateway cheatsheet

Status, ports, what “gateway” actually means.

Read →

First cron reminder

End-to-end sanity check.

Read →