Troubleshooting
From the Terndesk user guide. For anything it doesn't answer, see Help or write to hello@terndesk.com.
Sending feedback
Help → Send Feedback… (Help in the menu bar on macOS; elsewhere the command palette, where "feedback" or "idea" finds it, or Settings → General → About) is for ideas, things that are wrong and things you like. Choose which, write a few words and press Email to support…: Terndesk opens a new message to hello@terndesk.com in its own composer, with your words in it, for you to read and send from your own account. Nothing is sent unless you press Send. Copy keeps the text on this computer, and with no account in Terndesk it is the way out: send it from any mail app. Include the problem report (off unless you tick it) adds the report described below, and shows it first.
Reporting a problem
Send a problem report… (Help in the menu bar on macOS, the command palette, Settings → Storage, or the link at the foot of the keyboard shortcuts, ?) shows you a report, the whole of it, before anything else happens. It holds Terndesk's version, your system and its WebKit version, the database's size, each account as "account 1", "account 2" with its kind (Gmail, Microsoft, IMAP and the provider, when it is one Terndesk knows) and its sync state, what waits in the outbox, the settings that most often matter, and the warnings and errors of the log: when, how often, and the place in Terndesk's code that wrote each one.
It is made from a list of what may go in, not by crossing out what looks private, so it holds no email address, name, subject, message text, label or folder name, server name, link or file path, and no server's own error text (that can quote a recipient): an error is its kind, like "server refused, HTTP 401" or "SMTP 550 5.1.1". The log's own messages are left out too, for the same reason.
Nothing is sent unless you send it. In the dialog you can add a few words of your own about what happened, then:
- Copy puts it on the clipboard;
- Save as file saves it as a new text file in your Downloads folder and tells you where;
- Email to support… opens a new message to hello@terndesk.com from your own account with the report in it. You can read and change it (once changed, it is kept in your Drafts like any message you write); it goes only when you press Send.
tern-cli report prints the same report in a terminal (-o FILE saves it), from what is on this computer, with Terndesk open or closed, and even when the database won't open. It leaves out what only the running app knows (how each sync is going, which servers answer): Terndesk's own report has that.
The log itself is in ~/.local/share/com.terndesk.mail/logs/tern.log (Linux), ~/Library/Logs/com.terndesk.mail/tern.log (macOS) or %LOCALAPPDATA%\com.terndesk.mail\logs\tern.log (Windows); Open log in Settings → Storage opens it. If you updated from 0.2.8 or earlier and your mail or sign-ins seem missing, look in the log for a line starting "kept the data folder under dev.tern.mail": it says why the folder wasn't moved yet (an AI assistant with the mail open through tern-mcp, for example; quit it and start Terndesk again). Until then Terndesk uses the old folder, so nothing is missing from it. "An older Terndesk is still running" when Terndesk starts: quit the older one (its tray icon → Quit), then open Terndesk again. The old folder is never deleted before its copy is checked (Your data).
Sign-in and passwords
- "⚠ Sign-in expired for … — sign in again": click it and sign in with Google (or Microsoft, for a Microsoft account) as the same address. Changes you made meanwhile are kept and sync afterwards.
- "⚠ Password not accepted for … — enter it again" (IMAP): click it, or Settings → Accounts → Edit, and enter the new password or a new app password.
- "The server rejected the user name or password" while adding an IMAP account: if your provider uses two-step verification, you need an app password, see Accounts → App passwords.
- Outlook.com, Hotmail, Microsoft 365: use Sign in with Microsoft, not the IMAP form. A work or school account whose organisation hasn't allowed Terndesk is refused on Microsoft's page or right after it: ask your administrator to allow it.
- "Need admin approval" on Microsoft's page, though Terndesk worked before in your organisation: accounts added with a Terndesk newer than 0.2.4 sign in through Terndesk's new Microsoft app, which Microsoft shows as published by Qualascend FZ LLE, a verified publisher. Your organisation is asked about it separately: an administrator who allowed Terndesk before has to allow it once more, for the new app. Accounts you had already added are not affected and need nothing.
- Yahoo Mail: not supported yet.
- Google's page says something about permissions, or the calendar or contacts are off: sign in again from Settings → Accounts and keep every box ticked on Google's page.
- Every account asks to sign in again on a Mac, after Terndesk was re-signed or "repaired" (for example with
codesignor a tool that fixes damaged apps): the copy is no longer the one Terndesk signed, so it keeps its sign-ins apart from the real app's. Your sign-ins are still in the keychain: install Terndesk again fromTerndesk-mac.dmg(drag Tern to Applications, replacing it) and they're back. - The browser didn't open for the Google sign-in: press Copy link in the waiting dialog and open the link in a browser on this computer.
"The system keyring is locked or not running"
Terndesk keeps sign-ins and passwords in the system keyring and can't sync without it.
- Linux: make sure a Secret Service keyring is running and unlocked: GNOME Keyring (package
gnome-keyring; Seahorse shows and unlocks it) or KeePassXC with its Secret Service integration turned on. Full desktops start one at login; on sway, Hyprland, i3 and other window managers you may need to startgnome-keyring-daemonyourself (most distributions document how to unlock it at login through PAM). - macOS: unlock the login keychain (Keychain Access).
Terndesk tries again by itself; Sync now (Ctrl+R) tries at once. Signing in again doesn't fix this.
Mail isn't arriving or changes don't sync
- The sidebar says what's wrong: "Offline · N waiting", "Can't reach account", "N changes waiting to sync", or in red "N changes couldn't sync" / "1 message not sent". Click it, or "Waiting to sync" in the palette, to see the outbox: Try now, Retry a stopped item, move an unsent message to Drafts (
m), Discard it (#; Undo brings it back as a draft), or drop a change. Press Enter on an unsent message (or click its name) to open it in place: the whole message (From, To, Cc, Bcc, subject, text, attached files with their sizes, when it was queued and last tried), why it wasn't sent in plain words, and the mail server's own line, quoted, to copy to your provider's support. With two or more unsent messages, Discard all discards them together. When messages can't be sent, one quiet note says "N messages couldn't be sent" with Review, which opens the same list (with that message's row open when it is one), where each one shows why. - An empty list while new mail isn't arriving doesn't say "Inbox zero": it says "Nothing here as of" the time of the last good sync, why mail stopped (the account is signed out, the server refuses, the licence), and the button that fixes it.
- "It may or may not have gone out" on an unsent message: the connection broke while it was being sent, and it isn't in your Sent folder. Check Sent (Sent Items in Outlook) in your provider's web mail first: Retry sends it again, Move to Drafts keeps it unsent. Terndesk only says this when the whole message had been handed over and no answer came; when the connection ends before that, the server can't have it, and Terndesk sends it again by itself.
- "server refused this message (554 …)": the mail server turned it down, in its own words. Sending it again unchanged will likely be refused again (and repeated tries can get an account blocked), so the message offers Edit rather than Retry: change it (a recipient, or remove or shrink a large attachment) and send it. Retry is still in Waiting to sync.
- "server cut the connection while this message was being sent, 3 times in a row": Terndesk tried three times and stopped, so it doesn't upload a large message again and again. The server may be refusing it (for example a large attachment), or the connection may be unstable: Edit it, or Retry once the connection is better.
- Offline, reading, local search, triage, drafts and sending still work; they go out when you are back online. Things that need the server say "You're offline — this needs a connection."
- "Gmail asked Terndesk to slow down — it will retry shortly." Gmail limits how fast an app may download; Terndesk waits and continues by itself. What you do meanwhile (archive, labels, sends) goes before the download as soon as Gmail allows; until then it waits in Waiting to sync with "Gmail asked to slow down" and the time of its next try.
- "N messages couldn't be downloaded": Terndesk tries them again by itself a day later, in the background (and, if one fails again, after two days, then four, then once a week). Sync now (
Ctrl+R) or opening the conversation tries again at once. - If a mailbox looks wrong or incomplete, Settings → Storage → Re-sync this account… downloads it again (settings, drafts, snoozes, reminders and unsent messages are kept).
- Is Terndesk running? Scheduled sends, snoozes and new mail only happen while it runs, see When Terndesk isn't running.
The window flickers (Linux)
Terndesk draws its window with your graphics card (WebKitGTK's DMA-BUF renderer). On some Linux setups this flickers, for example when scrolling or in full screen on Wayland. Turn it off by starting Terndesk with:
WEBKIT_DISABLE_DMABUF_RENDERER=1 tern # .deb, .rpm, AUR
WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Terndesk-linux-x86_64.AppImage # AppImageTo make it stick for launches from your app launcher too, put the line WEBKIT_DISABLE_DMABUF_RENDERER=1 in ~/.config/tern/tern.env (create the file if needed); Terndesk reads it at every start. Scrolling may be a little less smooth with it.
If the window is slow to draw when started from a terminal, check that the terminal doesn't set GDK_SCALE to something your session doesn't use; a launch from the app launcher uses the session's own setting.
No tray icon, or closing the window quits (Linux)
Your desktop doesn't show tray icons (StatusNotifierItem / AppIndicator). On GNOME install the "AppIndicator and KStatusNotifierItem Support" extension; on sway, Hyprland and similar, use a bar with a tray (waybar's tray module). Until then Terndesk quits when you close its window, so nothing runs invisibly; quit with Ctrl+Q either way. See The tray icon.
"Couldn't open" a file in its app (Linux)
Terndesk hands the file to gio open (then xdg-open, when there is no gio or it couldn't), which opens it with your desktop's default app for that kind of file, and says what went wrong when that fails. "No app on this computer is set to open this kind of file" means no default is set: choose one in your desktop's settings, or set it in a terminal, for example xdg-mime default org.gnome.Evince.desktop application/pdf. An app meant for a terminal (an editor such as nvim) opens in your terminal when xdg-terminal-exec, or one of the terminals GLib knows, is installed. You can always save the file (S) instead.
Misspelt words aren't underlined (Linux)
Terndesk checks spelling with the dictionaries installed on your system, and doesn't bring its own. Settings → Sending → Spelling languages lists the dictionaries it found and says when the language you write in has none. Install that language's Hunspell dictionary and restart Terndesk. For US English that is hunspell-en-us on Debian and Ubuntu, hunspell-en-US on Fedora and openSUSE, and hunspell with hunspell-en_us on Arch, which installs no spell checker by itself; other languages are named the same way. With none installed, Settings names the packages for your distribution. A region needs its own dictionary or the plain language's: with en_GB as your language, hunspell-en_us alone checks nothing on a current Arch. The .deb, .rpm and AUR packages suggest the US English one but don't require it, so a system set to install only what is required (apt --no-install-recommends) won't have it. The AppImage uses the system's dictionaries too.
No desktop notifications
- Settings → Notifications chooses what notifies you, per account: only Important mail and VIPs' mail (what a new install starts with: receipts, orders, service alerts and the like in Notifications or Other don't notify), all new inbox mail but newsletters (what an install that never chose keeps), only VIPs, or off. It also sets quiet hours. If you expected a notification for mail the app files under Notifications or Other, choose "All new inbox mail".
- No notification is shown for the inbox you are looking at while the window is in front.
- Linux: notifications need a notification service (most desktops have one; on a window manager, for example
makoordunst). Clicking a notification opens its conversation and brings the window to the front. On Wayland the window can only come forward when the notification service passes on the permission to do so (mako does; it follows version 1.2 of the notification spec). With an older service the conversation still opens, but the window may stay where it was, and Hyprland only marks it urgent. Each step of a click is a line starting "notification" in the log. - macOS: the first time Terndesk has a notification to show, macOS asks whether the app may send you notifications; choose Allow (it also allows the Dock badge, which stays empty until then; the tray icon's tooltip has the count meanwhile). To change your answer later: System Settings → Notifications, then Terndesk's entry ("Badge application icon" is the Dock badge). Clicking a notification opens its conversation (or the inbox, for "N new messages"), and a single new message has Done and Mark read (point at the notification, or open it in the Notification Centre, to see them). While Terndesk runs, also hidden in the tray, they act without bringing the window up. After you quit Terndesk, a click on a notification in the Notification Centre starts it with its window; the click opens the conversation, and Done or Mark read may only bring up the window, so press them again there or use the keyboard. Quitting takes away the "Terndesk is still running" notice. A development build run outside an app bundle (
make dev) has notifications without clicks, and so does a copy macOS won't ask about (the log then says "macOS refused to ask"). If a click doesn't open its conversation, the log has a line starting "notification" for each step of it (shown, the click, the window), so the last one says where it stopped; send those lines with a report. - Windows: allow notifications for Terndesk in Settings → System → Notifications; Do not disturb holds them in the notification centre without showing them. A notification clicked there later works as it did on screen, also after Terndesk was closed: it opens the conversation, or "Done" and "Mark read" start Terndesk in the tray and act. Notifications an earlier version showed, before you updated, only open the window.
Email links don't open Terndesk
Settings → General → Make Terndesk the default mail app. If your system refuses the change, choose the email app in your system's default-apps settings instead. On Windows the button opens that page (Settings → Apps → Default apps, on this app): click MAILTO, pick it and Set default.
Terndesk won't start
- "Terndesk can't start" with "can't use its data folder" or "can't open its mail database": the usual causes are a full disk or a folder you can't write to. Open data folder shows where it is.
- If the database is damaged, the same dialog offers Move it aside and start fresh: the old file is kept as
tern.db.damaged-<date>-<time>and your mail downloads again. Drafts and unsent messages that were only on this computer stay in the old file. The old accounts' sign-ins are removed from your system keyring once Terndesk is open again, except for any account you add again; putting the old file back then asks you to sign in to those accounts again. In the Microsoft Store version this also holds when your mail was first copied from the version installed from the website: it starts empty, and that version's folder is left as it is. - Started Terndesk again while the dialog was open? On Windows that brings the dialog to the front.
- A database written by a newer Terndesk asks you to update Terndesk.
- Nothing happens when you start it? Terndesk may already be running hidden in the tray: starting it again should show the window. If you have no tray icon, see above.
Text is too small or too large
Ctrl+= zooms in, Ctrl+- out, Ctrl+Shift+= resets (also in Settings → General).
The guide
This is the user guide built into Terndesk, as of version 0.2.21 (f66f67b3). In the app, it's Help: the user guide in the command palette, and it reads offline.