Updating
import { Aside } from ‘@astrojs/starlight/components’;
CompassDocs migrates its own database schema on start, so updating is almost always just “get the new code/image and restart.” Your data is preserved.
Check for updates in the app
Section titled “Check for updates in the app”Admins can see the current version and whether a newer release is available under Settings → System → Version & updates. When you’re behind, it links to the release notes and shows the exact upgrade command below — and if you deploy the optional updater companion (next section), an Update now button applies it right from the console.
One-click updates from the admin console (0.75.0)
Section titled “One-click updates from the admin console (0.75.0)”A container can’t replace its own image, and CompassDocs deliberately never touches the Docker socket — a compromised web app must not mean a compromised host. Instead, a tiny updater companion holds the socket, listens only on the internal compose network, and does exactly one thing when the app pokes it: pull the newer image and recreate the app container.
Add this to your docker-compose.yml (and pick a long random token):
services: app: # ... your existing app service ... labels: - com.centurylinklabs.watchtower.enable=true environment: # ... existing vars ... COMPASSDOCS_UPDATER_URL: http://updater:8080 COMPASSDOCS_UPDATER_TOKEN: ${UPDATER_TOKEN}
updater: image: containrrr/watchtower restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock command: --http-api-update --label-enable --cleanup environment: WATCHTOWER_HTTP_API_TOKEN: ${UPDATER_TOKEN} # No ports published — only the app can reach it, over the compose network.Then docker compose up -d once, and Version & updates gains an
Update to vX.Y.Z now button whenever a release is out: it triggers the
updater (admin-only, written to the audit log), the app restarts on the new
image, and the console confirms the new version — usually in under a minute.
Notes:
- The button follows whatever tag your
appservice runs. Useghcr.io/mattny20/compassdocs:latest(releases also tag:latestas of 0.75.0) to follow all releases, or a:0.75-style tag to stay on a minor line. A fully pinned:0.75.0never updates. - The updater only recreates containers carrying the label — nothing else on
the host is touched, and
--cleanupremoves the old image afterwards. - No updater deployed? The panel simply keeps showing the manual command.
Docker
Section titled “Docker”From your install folder (the one with docker-compose.yml):
docker compose pull && docker compose up -dThis pulls the latest image and recreates the app container. Your data lives in a Docker volume and is untouched. Re-running the install script does the same thing.
To move between specific versions, set COMPASSDOCS_VERSION in your .env and
run the same two commands.
Manual (Node + Postgres)
Section titled “Manual (Node + Postgres)”From a release tarball (no git required)
Section titled “From a release tarball (no git required)”Every release includes a
source tar.gz. The Version & updates panel in the app shows these exact
steps with the right version filled in, plus a direct download link.
# 1. Download and extract the release (replace X.Y.Z)curl -fsSL https://github.com/mattny20/CompassDocs/archive/refs/tags/vX.Y.Z.tar.gz | tar -xzcd CompassDocs-X.Y.Z
# 2. Bring over your configurationcp /path/to/your/current/.env .
# 3. Buildnpm ci && npm run build
# 4. Stop the old server, then start the new buildnpm run startOnce the new version is up, the old directory can be deleted — your data lives in PostgreSQL, not the app directory.
From a git clone
Section titled “From a git clone”# 1. Stop the running server (Ctrl+C)
# 2. Get the latest codegit checkout maingit pull origin main
# 3. Install dependenciesnpm install
# 4. Start againnpm run dev # or: npm run build && npm run startVersion notes
Section titled “Version notes”-
0.49 switches the bundled compose files from
postgres:16topgvector/pgvector:pg16to enable semantic search. It’s a drop-in superset of the same PostgreSQL major version — pull the new compose file (or edit the image line) and your existing data volume upgrades in place. Installs using an external PostgreSQL install thepgvectorextension instead; without it, everything else works and semantic search reports itself unavailable. -
1.17.0 adds two tables (
link_clicksanduser_quick_links) and three columns (links.dashboard_featured,links.signinandusers.dashboard_hidden) for the new dashboard and quick links, applied on start like every schema change. There is no new environment variable. Rolling back to 1.16.0 is safe: it ignores the new tables and columns. -
1.18.0 adds five tables (
handbooks,handbook_sections,handbook_items,handbook_audienceandhandbook_confirmations) and three columns (documents.find_mode,documents.summary_pointsanddocuments.applies_to) for policy handbooks, applied on start like every schema change. There is no new environment variable. The Administrator role gains Build handbooks (handbook.manage); custom roles don’t, so add it to a role, or grant it on a space, to let others build handbooks. Rolling back to 1.17.0 is safe: it ignores the new tables and columns. While you are on 1.17.0, handbook-only documents show in their spaces again, handbooks and the access they give go away until you upgrade again, and, with read confirmation, the hourly audience sweep closes the confirmation requests of people who were asked only through a handbook. Their confirmations are kept. -
1.19.0 adds the helpdesk (Enterprise,
helpdesk), email templates built from parts and notification policies. The schema is additive and applied on start: 37hd_*tables,email_template_partsandemail_template_compositions, anduser_notify_prefs,notify_digest_queueandnotify_digest_state. No existing table changes. Four optional environment variables are new (COMPASSDOCS_PUSH_SUBJECT,COMPASSDOCS_PUSH_HOSTSandCOMPASSDOCS_HD_ATTACHMENT_MAX_MB, see Helpdesk; andDATABASE_POOL_WAIT_MS, see Database, which limits how long a request waits for a free database connection to 30 seconds by default, where before it waited forever), and push needs outbound access to the browsers’ push services. Every built-in role gains Get help and the Administrator role the other helpdesk and notification policy permissions; custom roles gain nothing. A custom role already named “Helpdesk agent” or “Helpdesk manager” keeps its people and permissions, and its key moves tohelpdesk-agent-custom(orhelpdesk-manager-custom) to make room for the new built-in role. Inbound helpdesk mail is linked to an account only when your mail provider reports passing sender results. Every email gains the Standard header and footer unless an admin chose otherwise. Every minute, each instance runs the helpdesk’s sweeps (they do nothing without the license), and the hourly tick sends the new email digests. Rolling back to 1.18.4 is safe: it ignores the new tables, and personal notification choices are also kept where 1.18 reads them. Emails go back to 1.18’s layout and to the template wording saved before the upgrade, which 1.19.0 reads but never changes; edits made in 1.19.0 come back when you upgrade again. See Upgrading to 1.19.0. -
1.19.1 adds to the helpdesk: merging and bulk edits, CCs and followers, presence and collision warnings, saved views, business-time counting in workflows, shortcut defaults, retention and legal hold, a customer portal at
/support, import from Zoho Desk or CSV, recurring tickets, time tracking, and helpdesk tools in the Claude connector. The schema is additive and applied on start: 13 newhd_*tables and new columns onhd_tickets,hd_messagesandhd_teams. There is no new environment variable. What changes on upgrade:- New behavior is off. Closing solved tickets automatically, the anonymize-or-delete retention period and the customer portal are all off until an admin turns them on, so nothing is closed, anonymized or deleted by upgrading. Removing an account now anonymizes that person’s helpdesk tickets (except tickets on legal hold); an admin can turn that off in Desk settings → Retention and privacy. Workflow waits, due dates and reminders keep counting calendar time.
- Admins’ replies are sent. 1.19.0 held every desk Admin’s public reply for review by mistake. 1.19.1 fixes it; replies still held from 1.19.0 wait under Reviews for a lead to approve.
- License. Every valid Enterprise license includes the helpdesk,
including keys issued before 1.19; you no longer need a key that
lists
helpdesk. The enterprise image is still required. Later change: from the new Enterprise pricing, the helpdesk includes 3 agents and each extra agent is $125 a year; licenses issued before it keep unlimited agents. See Helpdesk agents. - Desk roles. Merge tickets and Bulk edit are back, on for Agent and above. A role customized in 1.19.0 gets Merge only if it can change status, and Bulk edit only if it can change a field.
- Portal domain. If you turn the portal on, set your domain under Settings → Domain & HTTPS first, so sign-in links always point to it.
Rolling back to 1.19.0 is safe: it ignores the new tables and columns (tickets already anonymized or deleted stay that way). See Upgrading to 1.19.1.
-
1.19.2 adds to the helpdesk: major incidents, status services for teams, skills and languages in assignment, checklists and canned responses, a satisfaction survey in the customer portal, reply-all threading and the import’s dry run in the background. The schema is additive and applied on start: 20 new
hd_*tables (canned responses and their uses; skills, languages and agents’ tags; checklist templates and ticket checklists with their items; major incidents, their links, updates and the people affected; team status services, spells of trouble and who was told or asked; and the desk’s “New” badges), two new columns onhd_tickets(languageandlanguage_source) and four onhd_import_jobs(check_kind,check_progress,check_byandcheck_error). No existing data changes. There is no new environment variable. What changes on upgrade:- Nothing destructive happens. Nothing is linked, assigned, solved or deleted by upgrading. Skills, checklists, canned responses and team status services start empty, and no team follows a Status page service until someone chooses. Tickets raised from now on get a language; existing tickets stay Unknown until an agent sets one.
- Desk roles. Two new capabilities: Link tickets to a major incident (Agent and up) and Run major incidents (Team lead and up). A role customized before gets Link only if it can change status, and Run only if it can also reply to requesters. The macro capabilities also cover canned responses.
- New notifications: Major incident updates (requesters, bell and email), A service your team uses is down (agents, bell and push) and Import checks (bell). See Notification policies.
- The import API changed.
POST /api/helpdesk/admin/import/<id>/dry-runnow answers202at once and runs in the background; pollGET /api/helpdesk/admin/import/<id>until the status isready. A script that read the dry run’s counts from its answer must poll instead. See The import API.
Rolling back to 1.19.1 is safe: it ignores the new tables and columns. See Upgrading to 1.19.2.
-
1.19.3 adds assets from Snipe-IT to the helpdesk: an Assets card on each ticket, an asset’s page with its tickets and maintenance, logging a maintenance record in Snipe-IT when a ticket is solved, a Device field in Get help, and
hd_asset_lookupin the Claude connector. The schema is additive and applied on start: three new tables (hd_assets,hd_ticket_assetsandhd_asset_maintenance_log). No existing data changes. There is no new environment variable. What changes on upgrade:- Nothing reaches Snipe-IT until an admin connects it in Desk settings → Assets. The sync runs every 30 minutes with the other helpdesk sweeps, only with the helpdesk licensed and Snipe-IT connected.
- A Snipe-IT server on a private network needs
COMPASSDOCS_FETCH_ALLOW_PRIVATE=1, like other outbound connections. Loopback addresses are always refused. See A Snipe-IT server on a private network. - Desk roles gain no capability: connecting needs Helpdesk settings, linking needs only to work the ticket, and logging maintenance needs Change status.
Rolling back to 1.19.2 is safe: it ignores the new tables. See Upgrading to 1.19.3.
-
1.19.4 adds to the helpdesk: chat apps (raise, follow and approve requests from Microsoft Teams or Slack, and open tickets from channels), API tokens, a REST API under
/api/helpdesk/v1and signed outgoing webhooks, a Help Center in the customer portal, Microsoft Intune as an asset source, artwork behind the desk, sharing and printing tickets and a recycle bin for deleted tickets. The schema is additive and applied on start: 11 new tables and six new columns (hd_tickets.deleted_at,deleted_by,deleted_by_name,hd_messages.event,hd_assets.assigned_upn,hd_portal_links.hc_journey). No existing data changes. There is no new environment variable. What changes on upgrade:- Deleting a ticket moves it to the recycle bin, restorable for 30 days, and a daily sweep deletes it for good after that. Retention’s Delete does the same.
- Desk roles: Delete tickets now moves tickets to the bin. Delete for good is new and only Admin holds it by default, so anyone else who could delete for good before now moves tickets to the bin. Customized roles keep Delete tickets and never gain Delete for good.
- Nothing reaches Microsoft Teams, Slack, Intune or a webhook receiver until an admin sets it up. The Help Center is off and the desk has no artwork until someone turns them on, and agents can’t choose their own desk background until an admin allows it.
- Intune needs the
DeviceManagementManagedDevices.Read.Allapplication permission on the Microsoft 365 directory sync’s app registration. - A webhook receiver on a private network needs
COMPASSDOCS_FETCH_ALLOW_PRIVATE=1. Loopback addresses are always refused.
Before rolling back to 1.19.3, restore or delete for good the tickets in the recycle bin: 1.19.3 doesn’t know the bin, so it shows them as ordinary tickets and never purges them. It otherwise ignores the new tables and columns. See Upgrading to 1.19.4.
-
1.20.0 adds Claude in the desk to the helpdesk: a Claude chat docked beside the open ticket that works as the agent, drafts into the reply box and suggests changes the agent applies, using the workspace’s Anthropic API key. The schema is additive and applied on start: five new tables (
hd_claude_chats,hd_claude_chat_tickets,hd_claude_messages,hd_claude_cards,hd_claude_usage) and a new setting (hd_claude_desk). No existing data changes. There is no new environment variable to set. What changes on upgrade:- Nothing is on until an admin turns it on. Claude in the desk is off by default, and so is its web search. Once it is switched on, every team has it and there is no monthly spending limit until you set one.
- It needs the Anthropic provider and API key in Settings → AI, and the helpdesk license. It is billed per use to that key.
- Settings → AI’s models are now Claude Opus 5.5 (the default),
Claude Sonnet 5.5 and Claude Haiku 5.5. A model you saved before is
kept. Without a saved model, the default moves to
claude-opus-5-5(or whateverCOMPASSDOCS_AI_MODELsays). - Proofreading, writing help and Ask say plainly when Claude declines.
- The Anthropic SDK (
@anthropic-ai/sdk) moves from 0.68 to 1.6.0, now under the Apache-2.0 license (it was MIT). If you build from source, the usualnpm ciornpm installstep installs it. - A new helpdesk sweep deletes Claude chats that have no ticket after 90 idle days.
COMPASSDOCS_ANTHROPIC_BASE_URLexists for the test suite only. Don’t set it in production.
Rolling back to 1.19.4 is safe: it ignores the new tables and setting. If you saved one of the new models in Settings → AI, pick one of 1.19.4’s models after rolling back. See Upgrading to 1.20.0.
-
1.20.2 gives the helpdesk several help addresses (each with its own name on replies and its own team, all on one webhook), an Integrations hub in Desk settings, Teams as a list with a page per team, and Intune with its own app registration. The schema is additive and applied on start: one new table (
hd_mailboxes) and one new column (hd_tickets.mailbox_id). No existing data changes. There is no new environment variable. What changes on upgrade:- Your help address becomes the default address, with its From name. Nothing else changes until you add more.
- Sending from an address is off until you turn it on, and only works if your mail provider allows your mail account to send as that address. A refused send falls back to your main address and is recorded in the audit log.
- Assets, Chat apps, Claude connector and API and webhooks moved under Desk settings → Integrations. Old addresses redirect.
- Intune keeps using the directory sync app until you enter its
own tenant, client ID and secret. Its app needs only the
DeviceManagementManagedDevices.Read.Allapplication permission, with admin consent. On the same tenant, devices and links are kept. - API and webhooks: tickets carry an additive
mailboxfield.
Rolling back to 1.20.1 is safe: it ignores the new table and column, and answers from the default address. See Upgrading to 1.20.2.
-
1.20.3 moves the requester on a helpdesk ticket from the side panel’s Requester card to a strip under the ticket’s header: who they are, Email, Call and chat buttons, their devices with Intune compliance, their open and earlier tickets and their manager, with four tiles of detail when opened. It needs no schema change and no setup. See Upgrading to 1.20.3.
-
1.20.5 gives the helpdesk a list of send-from addresses: each help address picks the address its replies are sent from. Mail still goes out through your workspace mail server, and your mail provider must allow each address. Nothing to run: one table and one column are added, and every help address that sent from itself keeps doing so. Rolling back to 1.20.4 is safe: it ignores the new table and column. See Upgrading to 1.20.5. The same release adds Before you solve (two tables; solving is unchanged until you add a requirement set) and the Duo sign-in check (three columns on
sessionsand one table; sign-in is unchanged until you set Duo up). -
1.20.6 gives the helpdesk a managed list of categories and sub-categories, custom fields per team and an event calendar. Nothing to run: the categories already on your tickets, request types and automations join the list on the first start (spellings that differ only by case or spacing become one), and from then on a category is picked from the list, not typed. New tables and columns are added on start. Rolling back to 1.20.5 is safe: it ignores them.
-
1.20.7 adds the Microsoft 365 mailbox connection for the helpdesk’s email channel (Enterprise,
helpdesk). The schema is additive and applied on start: three tables (hd_m365_mailboxes,hd_m365_messagesandhd_m365_links). No existing table changes and there is no new environment variable. Nothing to do on upgrade: an install that doesn’t connect Microsoft 365 behaves as before, and the inbound webhook and SMTP are unchanged. If you do connect it (which takes the Helpdesk settings capability): Microsoft’s notifications are posted tohttps://your-domain/api/helpdesk/m365/notify/…, so that path must be reachable from the internet over HTTPS (or turn notifications off and the desk reads on a timer), and this server must be able to reachlogin.microsoftonline.comandgraph.microsoft.com. The one-click setup needs the 1.20.7 enterprise image; with an older one the page says so and the manual form works. Rolling back to 1.20.6 is safe: it ignores the new tables, the desk stops reading the mailboxes, and addresses that sent through Microsoft 365 send through SMTP again. Notification subscriptions at Microsoft lapse by themselves within two days. -
1.20.8 lets the desk’s queue and saved views filter by a custom field (also
cf.<key>on the API’sGET /ticketsandhd_queue), and adds Export CSV of a queue list. Nothing to run: no table or column is added for these, and saved views from 1.20.7 work as before. Rolling back to 1.20.7 is safe, but 1.20.7 ignores a saved view’s custom field conditions, so such a view lists more tickets until you upgrade again. -
1.20.8 keeps the HTML of incoming helpdesk email so agents can view the original. Nothing to run: one table (
hd_message_html) is added on start. Messages from before the upgrade have no original and none is filled in. Rolling back to 1.20.7 is safe: it ignores the table, and deleting a ticket still deletes its kept HTML. Anonymizing on 1.20.7 does not, though: if you roll back and rely on retention or account removal to anonymize tickets, empty the table first (TRUNCATE hd_message_html;, which only loses the originals). -
1.20.9 lets agents print an original email from the View original dialog. Nothing to run: no table or column is added, and every original kept since 1.20.8 can be printed. Rolling back to 1.20.8 is safe; the dialog just has no Print button.
-
1.20.10 fixes long links in messages: a very long link no longer runs past its message in the desk. A style change; nothing to run.
-
1.20.11 shows incoming email formatted in the desk’s conversation, with a reply’s quoted text folded and a Plain text switch per message. Nothing to run: no table or column is added (each agent’s choice is kept with their desk notification settings), and every email kept since 1.20.8 shows formatted. View original is now Open in a window. Rolling back to 1.20.10 is safe: the conversation shows text again and the saved choice is ignored.
-
1.20.12 fixes scrolling in the desk: a ticket’s conversation and side panel scroll on their own, nothing scrolls past its content, and menus always open whole. Layout changes only; nothing to run.
-
1.20.13 groups the desk’s settings, with tabs for related pages, an overview, and a settings search. Nothing to run: every desk settings address keeps working.
-
1.20.14 lets Claude draft checklists and tick their items. Nothing to run: two columns are added to checklists on start, and every existing checklist stays published and unchanged.
-
1.20.15 lets Claude list and apply macros: through the connector a macro’s reply is saved as a draft, never sent. Nothing to run, and no schema change.
-
1.20.16 lets Claude draft automation rules, recurring tickets and category changes for a person to publish. Nothing to run: new columns and a category draft table are added on start, and every existing rule and schedule stays published and unchanged. Rules now assign and notify desk agents only; an existing rule naming someone else keeps running, but has to be changed before it can be saved again.
-
1.20.18 lets agents pop the reply out into its own window. Nothing to run: a small table is added on start. Desk pages now send
Cross-Origin-Opener-Policy: same-origin; if you embed the desk in another site’s window and rely onwindow.opener, that link is cut. -
1.20.19 makes the helpdesk queue update live. Nothing to run: small triggers on tickets are added on start, and each server keeps one extra database connection. Behind a transaction-mode pooler, set
DATABASE_LISTEN_URL(details); without it the desk polls every 30 seconds. -
1.20.32 sends all of the workspace’s email through Microsoft 365 from an outbox, paced under Exchange Online’s limits, so none is lost when Microsoft asks to slow down. SMTP is unchanged. Nothing to run: the outbox tables are created automatically on start.
-
1.20.31 can send the workspace’s email through Microsoft 365 instead of SMTP: choose it under Settings → Notifications → Email. Nothing changes until you do; SMTP stays the default and both settings are kept. Microsoft 365 needs the server to reach
login.microsoftonline.comandgraph.microsoft.com(throughHTTPS_PROXYif you use one). In Enterprise, Set up with Microsoft creates the app for you; after either setup, run the commands that limit the app to the sending mailbox. Nothing to run: two small tables for newsletters sent in the background through Microsoft 365 are added on start. -
1.20.30 fixes the customer portal settings after a request type, team or space they named was deleted (“One of the request types no longer exists. Reload the page.” on every save). Deleting one now removes it from the portal’s settings, and a workspace already holding a stale entry is cleaned up automatically the next time the portal settings are read or saved. Checklists and automations that name a deleted team or request type save again too: the deleted entry is dropped, or the save says how to fix the rule. Nothing to run: no table or column is added.
-
1.20.29 checks a custom domain before switching to it. Saving a domain in Settings → Domain & HTTPS or the setup wizard first checks that the name reaches this server; if it doesn’t, nothing is switched and the domain waits with the reason, re-checked every 5 minutes for 24 hours, with Check again and Use it anyway. If it does, HTTPS on the new domain is verified for up to 2 minutes and the switch is undone if it never answers. Plain HTTP on any other name (an IP address included) now redirects to the custom domain. Once a domain is live, the proxy also keeps serving fallback addresses (
COMPASSDOCS_FALLBACK_HOSTS, and the address you saved from). Nothing to run: no table or column is added. To passCOMPASSDOCS_FALLBACK_HOSTS, the HTTPS compose file must be the 1.20.29 one (re-run the install script, which keeps your.env). Azure one-click VMs deployed before 1.20.29 with the data disk don’t come back after a reboot (the disk’s/etc/fstabline lacksUUID=): re-run the install script as root (which also updates you to the newest images), or follow After a reboot nothing starts, and add the Azure address as a fallback. Rolling back to 1.20.28 is safe: a waiting domain is ignored and the proxy serves the custom domain only. -
1.20.28 changes how a helpdesk ticket reads in the desk. The conversation runs newest first under the reply box, with older history folded, and each agent can switch to Oldest first with Order above the conversation. Changes to a ticket’s fields are activity lines instead of note cards, each message’s files are listed under it, and attached emails (
.emland.msg) are kept as files. Nothing to run: no table or column is added (each agent’s order is kept with their desk notification settings), and earlier change notes become activity lines in the background after the first start. Tell your agents the reply box is now at the top. Rolling back to 1.20.27 is safe: changes show as note cards again and the saved order is ignored. -
1.20.27 is a security release, from a full audit, with one-click SCIM provisioning with Microsoft and a polish of every desk page. Schema changes are applied on start. Next.js is now 16.4.6 (GHSA-mfr8-8qww-v76h; CompassDocs doesn’t use the affected feature). What to do:
- Set a workspace address if you haven’t: a custom domain under
Settings → Domain & HTTPS, or
COMPASSDOCS_BASE_URL. Every link in mail now comes only from it. Without one, mail links are relative and the customer portal sends no sign-in links. See The workspace address. - If SSO only is on, check the break-glass list under Settings →
Single sign-on. SSO only is now enforced: a password signs in only
the break-glass accounts, and they
must set up two-step sign-in. The upgrade fills an empty list with
your active administrators who have a password, so nobody is locked
out; remove anyone who shouldn’t be on it. If you are locked out
anyway, set
COMPASSDOCS_SSO_ONLY_DISABLED=1and restart. - Your own proxy in front of the plain stack? Set
COMPASSDOCS_BIND=127.0.0.1in.envand pull the new compose file, so port 3000 isn’t reachable past the proxy (Keep port 3000 private). - Expect larger backups. Each backup is now a set of the database and the attachments, and the app no longer deletes off-site copies: add a lifecycle rule to your bucket (Backups). Backups made before 1.20.27 restore the database only.
- Tell your people: new and changed passwords need 12 characters (existing ones keep working and are re-hashed at the next sign-in); new API tokens expire after 30 days, 90 days or a year, and existing ones show No expiry; a Claude connector connection lasts 90 days; a password change or reset revokes tokens and connected apps; and every session ends 30 days after sign-in. Temporary passwords waiting to be changed expire 72 hours after the upgrade.
- Optionally, require two-step sign-in under
Settings → Sign-in security (off by
default), and ship the server log with
COMPASSDOCS_LOG_FORMAT=json: it now carries a copy of every audit log entry.
New installs ask for a setup token from the server log. Take a backup before upgrading, and don’t roll back to 1.20.26 by pinning the old image: every password set, or used to sign in, under 1.20.27 is stored in the new format, which 1.20.26 can’t check, so those accounts couldn’t sign in with a password there (single sign-on is unaffected). To go back, restore the backup taken before the upgrade.
- Set a workspace address if you haven’t: a custom domain under
Settings → Domain & HTTPS, or
-
1.20.26 fixes Microsoft 365 mail with attachments or signature pictures waiting with “refused to read a message’s attachments (error 400)” since 1.20.8. Nothing to run: waiting mail comes in at the next check, or press Try all waiting now.
-
1.20.25 explains every dropped or waiting Microsoft 365 message, adds Take in anyway and Try now, trusted senders and an adjustable per-sender limit. Nothing to run.
-
1.20.24 shows the next calendar event in the desk’s top bar and today’s remaining events on the Calendar icon. Nothing to run.
-
1.20.23 adds desk departments. Nothing to run: on upgrade every team and all content go into one department, General, so nothing changes until you split it up. A new “Manage a desk department” capability is on for Managers (and for customized Manager roles only if they already manage macros, automations, request types, workflows and team members).
-
1.20.22 lets Claude in the desk suggest starting a workflow. Nothing to run: it uses the existing Suggest ticket changes switch and the Start a workflow capability.
-
1.20.21 lets agents start a workflow from the desk. Nothing to run: a new “Start a workflow” capability is on for Agent, Team lead and Manager. An API client that creates tickets with a request type that starts a workflow now needs that capability.
-
1.20.20 adds an optional reply lock: one agent writes a ticket’s reply at a time. Nothing to run: it starts off on existing desks (switch it on in Desk settings → Reply lock), and a new “Take over a reply” capability is on for Team lead and Manager.
Rolling back
Section titled “Rolling back”With Docker, pin the previous version via COMPASSDOCS_VERSION and
docker compose up -d. Migrations are additive, so rolling the app back is
generally safe — take a database backup before any
upgrade you’re unsure about.
One exception: 1.0 drops the three legacy per-space grant tables, so going back below 0.99 after starting 1.0 loses private-space membership and per-space edit rights. That is an upgrade where the backup isn’t optional.
Passwords after 1.20.27: passwords set or used to sign in under 1.20.27 or later are stored in a format earlier versions can’t check, so going back below 1.20.27 leaves those accounts unable to sign in with a password. Restore the backup taken before the upgrade instead.
