Repository navigation
Upgrading
Inboxora runs its database migrations automatically when the backend starts. An upgrade is therefore: back up, change the version, pull, recreate.
Always back up PostgreSQL and
.envfirst.ENCRYPTION_KEYis not stored in the database; restoring a database backup without the matching key leaves every stored credential unreadable.
Coming from MailFlow rather than an earlier Inboxora? Use Migrating from MailFlow instead.
Upgrading 4.0.0 to 4.0.1 needs nothing beyond the standard steps. 4.0.1 is the TypeScript rewrite of the codebase: no schema migration, no new environment variable and no interface change. See Release notes 4.0.1.
# 1. Back up
docker compose exec -T postgres pg_dump -U "$DB_USER" "$DB_NAME" > inboxora-$(date +%F).sql
cp .env .env.backup
# 2. Update the pinned version in .env, then
docker compose pull
docker compose up -d
# 3. Verify
docker compose ps
curl -fsS "$APP_URL/api/health"Watch the backend logs for migrations on the first start after an upgrade:
docker compose logs -f backend4.0.0 is a major release: it adds calendars, contacts, DAV and the conversation engine. Most of it is new surface rather than a change to existing behaviour, so an upgrade from 3.4.0 is straightforward — but note the following.
- Back up the database and
.envas above. - Note the current
INBOXORA_VERSIONso you can roll back the image if needed. - If you run a fork with local modifications, review
docs/CHANGELOG.mdfor the full change list.
| Area | After the upgrade |
|---|---|
| Existing preferences | Kept. Theme, fonts, layout, panel widths and notification settings are not reset. |
| Unchanged accounts and folders. Threading becomes available and is off by default; enable the threaded list and/or conversation reader in Settings → Appearance. | |
| Conversation metadata | Populated as mail syncs. Historical mail is grouped gradually; an administrator can run a rebuild per account. |
| Calendar | New local calendars start empty. Add CalDAV or ICS sources to import existing ones. |
| Contacts | New empty address books. Import a Google CSV, or connect a CardDAV account to pull existing contacts. |
| DAV | CardDAV and CalDAV endpoints become available. Existing devices need an application password from Settings → DAV access. |
| Docker stack | A new ntfy service and a new ntfy_data volume are added for Android instant notifications. They are independent of PostgreSQL and Redis, so no mail, calendar or contact data is touched. Refresh the published docker-compose.yml from the release before pulling. |
| Notifications (Android) | Set the ntfy app's Default server to https://<your-domain> — the origin, no /push path (the ntfy app rejects a base URL with a path). Inboxora proxies the UnifiedPush topic namespace at that origin. PWA Web Push is unchanged. |
| Bookmarks | Unchanged. The phone layout and navigation drawer are the same shell as 3.4. |
- Refresh the compose file from the release, then
docker compose pull && docker compose up -d. The newntfyservice must be healthy (docker compose ps ntfy) before Android notifications work. - Sign in and confirm folders and unread counts.
- Open Settings → Appearance → Layout and decide whether to enable the threaded list and the conversation reader.
- Group the existing mail with Rebuild conversations, on the same screen. Start with the dry run (it is on by default) to see how much would change, then clear it and run again for real. Existing mail has no conversation until this runs; new mail is grouped as it syncs.
- Add contacts (import or CardDAV) and calendars (local, CalDAV or ICS).
- Create DAV application passwords for each device and re-add the account on the device.
- If a mailbox is still grouped oddly afterwards, review Threading diagnostics for the affected conversations and use the manual merge, split or lock actions.
Images are pinned, so a rollback is an image change:
- Set
INBOXORA_VERSIONback to the previous version. -
docker compose pull && docker compose up -d. - If the newer version applied migrations your older image does not understand, restore the database backup taken before the upgrade.
Do not delete the ntfy_data volume when rolling back: it only holds undelivered push
events, and keeping it avoids re-registering devices. Do not revert database migrations by hand —
restore the pre-upgrade backup instead.
Inboxora began as a fork of MailFlow, and an existing MailFlow deployment can be moved over without losing data.
Only MailFlow 3.3.0 is supported as a migration source. Newer MailFlow versions have not been tested and the migration history is not compatible with them.
Migrating from MailFlow is the full procedure: what carries over, the in-place and dump-and-restore routes, the database and volume naming traps that make a migrated instance look empty, and how to group existing mail into conversations afterwards.
Two things to know before you start, both covered there in detail:
- Keep your existing
ENCRYPTION_KEY,DB_NAMEandDB_USER, and bring the stack up from the directory that holds your volumes. Inboxora's published compose file usesinboxoraas its database default, and a new database name on an existing volume means the backend cannot connect. - The image version variable was renamed:
MAILFLOW_VERSION→INBOXORA_VERSION.
The retained legacy identifiers and the reasoning behind them are recorded in
docs/technical-identifier-audit.md.
Inboxora uses semantic versioning. Major versions signal new product areas or breaking
configuration changes, minor versions add features, and patch versions fix defects. Every release
is documented in docs/CHANGELOG.md and on the
releases page.
- Home — documentation for 4.3.3
- Installation
- Getting started
- Workspace
- Operations
- Reference
- Releases