Troubleshooting
Start with line doctor. It changes nothing and works signed out and in
--read-only mode:
line doctor
line doctor --offline # no network: skips the release, sign-in, and clock checks
line doctor --jsonIt checks the installed version and any other copies on PATH, local storage,
the saved session, whether LINE accepts it, your Letter Sealing keys, clock
skew, and the watcher, and suggests a next step for anything that's wrong.
Each check reports pass, warn, fail, or skipped with a stable ID:
version, install, storage, session, line_auth, e2ee_keys, clock,
and watch. The command exits 1 only when a check fails. The sign-in check is a
single profile read: it may refresh the access token like any read, but never
signs in again. The watcher check briefly tries the watcher lock and releases it
straight away.
The report shows paths in your home folder as ~/… and never includes tokens,
keys, user or chat IDs, names, email addresses, messages, or server responses,
so you can paste it into a GitHub issue.
| Symptom | What to check next |
|---|---|
| A documented option is unknown | Run line version and line COMMAND --help, and compare with the docs at that release tag. Check for updates with line update --check. line doctor warns when several line copies are on PATH. |
encryption_required | LINE reports no E2EE support and --require-e2ee blocked the send. Leave it out to send over HTTPS/TLS; LINE can read that content. |
encrypted_image_unavailable | Encrypted native images are turned off. Try --file to send the original bytes; file checks still apply. |
| Login or an SSH service can't access storage | Run line auth status --check --json as the same user and environment. Follow Diagnose a service; don't delete session files to get past the error. |
| A send failed or is missing from recent history | Check LINE before repeating it. Use structured errors to tell a confirmed action from an unknown outcome. Recent history doesn't prove the message wasn't delivered. |
| A history page is short or partly unreadable | Continue with its cursor unless exhausted is true. Check each message's status and the exit code; older keys or history may be unavailable. |
For a bug report, include the line doctor output, the command, and the error
with private details removed. Never include tokens, passwords, QR or PIN
values, keys, or private messages.