Repository navigation
Troubleshooting
Start with the diagnostics report (Settings → About): it lists versions, environment, per-account and folder counts, sync error categories and server health, with identifiers hashed and no message content. It is the fastest way to describe a problem in an issue.
| Symptom | Likely cause |
|---|---|
| Signed out on every request, or login appears to succeed then bounces |
APP_URL does not match the browser URL, or the proxy is not forwarding X-Forwarded-Proto: https. |
| Invitation or password-reset links do not work |
APP_URL is wrong, or System email is not configured so no mail was sent. |
| Two-factor codes rejected | Device clock drift; TOTP depends on accurate time on both sides. |
| Password login disabled | SSO is enabled and password login was turned off. Use the SSO button. |
| Changes lost after an update | A service worker from an older build is still cached; reload the page once. |
| Symptom | Cause and fix |
|---|---|
| The instance looks empty after switching to Inboxora | The database or volume was not reused. The backend is running against a new, empty database next to your data. Stop it before importing anything and follow Migrating from MailFlow. |
Backend will not start: database "inboxora" does not exist
|
Inboxora's compose defaults DB_NAME to inboxora, but your existing PostgreSQL volume only holds mailflow, and POSTGRES_DB is ignored on a non-empty data directory. Set DB_NAME=mailflow and DB_USER=mailflow in .env. |
| Stored passwords rejected or OAuth accounts need reconnecting |
ENCRYPTION_KEY was not carried over. Restore the original value; if it is lost, users must re-enter credentials and re-consent OAuth. |
| Old mail appears as single messages with no threads | Expected until a rebuild groups it; the conversation engine is new to a MailFlow database. Use Settings → Appearance → Layout → Rebuild conversations. See Grouping existing mail. |
| The rebuild button says a rebuild was started moments ago | The endpoint allows two starts a minute per user. Wait a minute and try again. |
Migration checksum mismatch: <version> on start |
A migration file changed after it was applied. Only restore a database dump taken with the matching image; do not edit migration files in place. |
- Check the account state in the sidebar: a connection error is shown per account.
- Settings → Accounts → sync the folders manually and read the error.
- Verify the IMAP host, port and TLS mode. If the provider requires an app password (Gmail, Yahoo, iCloud), a normal account password will fail authentication.
- For Microsoft 365, confirm the Azure application is configured and the account was reconnected after the credentials changed.
- If several accounts share one mail server and sync stops intermittently, the server may be
limiting connections. Set
IMAP_MAX_PERSISTENT_PER_HOSTto the server's limit. - Enable/disable the account to force a full reconnect.
Unread counts that look wrong usually follow a failed sync — sync the folder and they correct themselves.
This is the one send failure that is not a failure. It means the connection was lost after the message was handed to the server, so Inboxora cannot know whether it was sent — and it will not send it again automatically, because a second copy is worse than a delayed answer. Clicking send again does not override that: the record is deliberate and the click is refused.
What to do: look in the account's Sent folder. If the message is there, it was sent and there is nothing to retry. If it is not, compose it again — that is a new message with its own record, which is exactly the deliberate step the automatic path is forbidden from taking. This is also why the composer keeps your text when the answer is uncertain: nothing you typed is lost while you check.
The message you see is the server's own sentence and is not translated, which is the same for the other send failures below it.
| Message | Meaning |
|---|---|
| Sent, but not saved to your Sent folder | The message was delivered. Only the Sent copy failed; do not resend. |
| Idempotency or duplicate-send error | A previous attempt is still in flight. Wait a moment and retry. |
| SMTP authentication error | Wrong SMTP password, or the provider requires an app password. |
| Attachment too large | The limit that applies is the sending transport's, and the refusal names the dimension it hit — one attachment (ATTACHMENT_TOO_LARGE), their total (ATTACHMENTS_TOO_LARGE), the inline images (INLINE_IMAGES_TOO_LARGE), the composed message on SMTP (MESSAGE_TOO_LARGE), Gmail's raw message (PROVIDER_MESSAGE_TOO_LARGE), a Microsoft Graph upload-session file (PROVIDER_UPLOAD_TOO_LARGE) or the request body (REQUEST_TOO_LARGE) — with the real byte count and the limit. The composer refuses a file it already knows cannot be sent before uploading it, and the server repeats every check. A Microsoft Graph account carries a single file up to its own upload-session ceiling; an SMTP account is bounded by MAIL_MAX_MESSAGE_BYTES and the hard MAIL_MAX_ATTACHMENT_BYTES. A message the installation accepts can still be refused upstream, because no provider's own limit is raised here. |
| Sending unavailable | Redis is not reachable. Idempotent sending requires it. |
- Open the message's threading diagnostics to see why it was grouped as it was.
- Same message in two of your accounts is deliberately two conversations; your account is the identity boundary.
- Use the conversation actions to split, merge, move a message or lock a conversation so future messages stay where you put them.
- If a whole account looks misgrouped, ask an administrator to run a dry-run rebuild first and review the result before applying it.
| Symptom | Check |
|---|---|
| An event cannot be edited | It comes from an imported read-only calendar or from a CardDAV/CardDAV-synced source. |
| Invitation not delivered | Choose an enabled SMTP account in the event dialog and use Retry save. |
| A month looks incomplete | A recurrence could not be fully expanded; the view says which series is incomplete. |
| An external source shows an error | Open Manage sources: the source status lists the last error category. Verify the URL and use a dedicated CalDAV app password. Other calendars keep working. |
| An ICS link stopped working | The secret feed may have been rotated or revoked; create a new link. |
- Import a Google CSV into a local book; read-only books reject edits.
- If a field is missing after a DAV sync, check the contact's stored vCard — Inboxora falls back to it, so a re-import is usually unnecessary.
- DAV client will not connect:
- Use an application password from Settings → DAV access, not your login password.
- Use your Inboxora username, not your email address.
- Confirm
https://your-domain/.well-known/carddavand/.well-known/caldavresolve from the device; some networks block discovery redirects. - A client that was offline for a long time is told to resynchronise — accept the full resync.
- Conflicts: a client writing a stale version is rejected instead of overwriting newer data. Resync the client and repeat the change.
- Confirm the navigation position (top or bottom) in Appearance settings.
- Reload once after an update so the new service worker takes over.
- If Back behaves unexpectedly, remember that Back first closes in-app layers: reader, contact details, forms, sheets and the drawer, before leaving the app.
- Prefer paginated scrolling over infinite scrolling.
- Turn off message previews and quick actions if the list feels heavy.
- Narrow the sync window by leaving accounts out of the unified inbox if you do not need them there; this also reduces unified search scope.
These cover the built-in ntfy / UnifiedPush path. See Notifications and background delivery for how it works.
| Symptom | Cause and fix |
|---|---|
| Settings card says Additional app required | No UnifiedPush distributor is installed. Install the ntfy app (the card links to it) and reopen Inboxora. Everything else in Inboxora keeps working without it. |
| ntfy's Default server refuses the URL | The ntfy Android app rejects any base URL that contains a path. Enter the origin only: ${APP_URL} (for example https://mail.example.com), not ${APP_URL}/push. |
| ntfy is installed but the card says not connected | The ntfy app is not pointed at this server. Open ntfy → Settings → General → Default server, enter ${APP_URL} (origin, no path), then tap Check again. The exact URL is shown on the card. |
${APP_URL}/v1/health (or /push/v1/health) returns 502
|
The bundled ntfy container is not running. Check docker compose ps ntfy and its logs (docker compose logs ntfy). If you deliberately use an external ntfy, start with docker-compose.external-ntfy.yml and set PUSH_BASE_URL. |
${APP_URL}/upXXXXXXXXXXXX?up=1 returns the SPA instead of JSON |
A fronting reverse proxy is not forwarding the origin UnifiedPush paths. It must preserve /up… and /v1/ unchanged to the Inboxora frontend; the bundled nginx does the ntfy hop. |
| Notification arrives only while the app is open | The UnifiedPush socket was closed. Check the proxy WebSocket upgrade and idle timeout for the UnifiedPush paths (use at least a few minutes; the bundled nginx uses 3600 s), and make sure the app is not battery-restricted (next row). |
| Notifications are delayed or stop after a while | Android battery optimization is suspending ntfy. Exempt ntfy and Inboxora from battery optimization: Android Settings → Apps → ntfy → Battery → Unrestricted, and the same for Inboxora. On aggressive OEM skins (Xiaomi, Huawei, Samsung) also enable autostart for ntfy. |
| No notification at all, while the app is open | Android notification permission is off. Settings → Notifications in Inboxora shows Permission denied and links to the Android notification settings. |
| Notifications still arrive after switching servers | The old registration was not cleared. Sign out of Inboxora or re-save the host in the app (both unregister the device), or delete the push_devices row for that user on the old server. |
| Need to re-register a device | Inboxora → Settings → Notifications → Check again, or reinstall/clear data for the ntfy app and set the server again. The endpoint is rotated automatically on the next registration. |
| Notifications work, but a duplicate appears once after reinstalling | The dedup cache is per install; a fresh install can show one already-seen message. Subsequent events are deduplicated normally. |
| Symptom | What to check |
|---|---|
| A client id is saved but the connection does not work | The full set matters, not the id: the correct client type, the secret where the method needs one, an exactly matching callback, and the method being enabled. The card reports each method's readiness separately — a saved client id alone is not working configuration. |
redirect_uri_mismatch or a reply-URL error |
Scheme, hostname, port, path and the trailing slash must match the callback the card shows. |
invalid_client, or a secret that has expired |
The client id and the secret Value, not the Secret ID. Rotate the secret on the same client and keep it in the encrypted configuration rather than in a file or a ticket. |
| The device method asks for a secret, or reports a client error | Whether Allow public client flows is enabled for the application. The device grant has no redirect and no secret; if it fails, change that setting rather than the identity or the transport. |
| Consent refused, or blocked by organisational policy | Do not work around it. The missing permission or the administrator's requirement is the answer; ask for the specific one rather than a broader scope. |
Google refuses a test account, or reports org_internal
|
The OAuth consent screen's audience and test-user list, the project's status, and the organisation's rules. |
| Google API calls fail, or calendars and contacts stay empty | That the Calendar and People APIs are enabled in the right project, and that only the intended feature was authorized. |
| Google asks to sign in again after a week | The consent screen's testing status, and the real reason for the expiry — not an IMAP fault. A testing-mode consent expires; publishing the app or adding the account as a test user is the fix. |
| Google IMAP refuses a password | Whether it is an app password, still permitted, and not revoked — changing the main Google password revokes app passwords made with it. The error is shown even when the API recommendation is not. |
| The wrong account was authorized | Cancel and sign in with the intended one. Inboxora does not "re-point" accounts to fix this. |
| No Google OAuth after an upgrade | The IMAP/SMTP method still works and needs no configuration. The provider card explains what an administrator has to register; once it is, the accounts settings recommend the API for a Gmail mailbox, with Ignore and do not show again. |
| A Microsoft migration is refused | The connection's grant must carry Mail.ReadWrite and Mail.Send, the application must be configured, and a named connection must belong to that mailbox. The account reports which of these it is and keeps working over IMAP/SMTP until it is fixed. |
| A DAV write-back is refused | Write-back is enabled per collection, the collection's source must allow writes (a calendar shared as read-only cannot be made writable), and an ICS subscription has no write channel at all. An external collection gets its write-back link on the next sync of its source. |
| Inboxora keeps working but notifications are slow | Refreshes are scheduled polling, not push. Push delivery (Pub/Sub or webhooks) would be separate work; polling is unaffected by it. |
These are three different operations and only the first is routine:
- Rotating the secret on the same client keeps the client id and needs no new user consent. Save the new Value on the card; the old one stops working and existing grants keep refreshing.
- Changing the client id may invalidate existing grants, and the card asks for confirmation first when the stored secret would otherwise be kept — a secret belongs to the client it was issued for. Do not copy grants across clients without re-authorizing: the authorization is what ties an account to a client.
-
Disabling a provider, a method, or the whole layer is enforced rather than cosmetic, and it preserves
data.
PROVIDER_SYNC_INTERVAL_MINUTES=0stops the schedule,PROVIDER_INTEGRATIONS_ENABLED=0stops this installation offering or starting any provider authorization and the sync paths, and deleting a provider's configuration writes a tombstone so a restart cannot resurrect it from the environment. Removing the API configuration does not remove Google IMAP accounts or any other source.
APP_URL is unset, is not HTTPS (outside localhost), or PROVIDER_PUSH_ENABLED is off. This is not an
error: synchronisation continues on the regular provider schedule. Set APP_URL to the public address and
enable push, then turn it on per connection from the provider card.
If push is on but the card shows a renewal error, the code names the reason (usually a throttled provider or a
grant that needs re-authorization). Polling still covers the mailbox; GET /api/integrations/push-status
lists each subscription with its expiry and last notification, and the renewal sweep retries with a widening
backoff rather than in a loop. Google Contacts is polling-only by design — the People API has no push for the
contact resources Inboxora syncs.
Open an issue with:
- The diagnostics report (it is already redacted).
- The exact steps you took and what you expected.
- Screenshots without credentials, addresses or message content you would not share publicly.
Never place credentials in issue reports, screenshots or logs.
- Home — documentation for 4.3.3
- Installation
- Getting started
- Workspace
- Operations
- Reference
- Releases