Files
wekan/docs/Features/Admin-Panel/Problems
Lauri Ojansivu e0189bc53b Meteor 3.5.3's six security fixes on Meteor 3.6-rc.0.
Meteor published the same six fixes as 3.3.3, 3.4.2 and 3.5.3 on
2026-10-16. 3.6-rc.0, which WeKan runs, does not have them: its tag is
behind 3.5.3 by exactly the 15 security commits, and neither it nor
Meteor's devel branch has the fixed code. Going back to 3.5.3 would also
mean Node.js 24 and Rspack 1, so WeKan carries the fixes in packages/,
where a package overrides the release's own: 3.6-rc.0's allow-deny,
ddp-server, dynamic-import, facebook-oauth, google-oauth and shell-server
with Meteor's 3.5.3 patch applied unchanged, each marked with a _1 wrap
number. ddp-server leaves out uWebSockets.js, as Meteor's published
package does; it is only for the opt-in uws transport and came from a git
URL.

- DDP: a message named __proto__, toString or not a string, and an async
  handler that rejected, crashed the server.
- allow/deny: a top-level __proto__ in an update was missing from the field
  list the validators saw.
- dynamic import(): requests are bounded in size (413) and complexity
  (400).
- Google and Facebook direct-token login: a token issued to another
  application was accepted; identity now comes from the provider, and a
  Facebook verification error no longer carries the app secret.
- meteor shell: its history and compile cache are private.
- Deploy discovery is in meteor-tool, which an app cannot replace; WeKan is
  never deployed with meteor deploy, and a test keeps it so.

Refused attempts are in Admin Panel / Problems as Meteor DDP, Meteor
allow-deny, Meteor dynamic-import and Meteor OAuth, through a hook the
packages call (server/lib/meteorSecurityHook.js); none blocks an account.
An oversized import() body, an unknown ordinary DDP name and a network
failure are refused without a row, because ordinary use can reach them.

tests/meteor353SecurityFixes.test.cjs runs each fix's code cut out of the
fork and searches the tree for the shape of each fault; all of them fail on
the unfixed 3.6-rc.0 packages. It also fails when .meteor/release moves
on, because a fork would silently keep 3.6-rc.0's code.
tests/playwright/specs/meteor-353-security.e2e.js sends each attack to a
running WeKan built with the forks. The forked files are recorded in the
source audit baseline, and the suites that check WeKan's own methods and
subscriptions skip Meteor's package tests.

Thanks to Meteor developers, Vext Labs and xet7 !
2026-10-22 04:12:13 +03:00
..

Admin Panel → Problems

Status: Implemented · Owner: xet7

Admin Panel → Problems is where a WeKan admin sees what is wrong or in progress: performance (CPU / RAM / disk), data-safety and recovery, migrations and repairs, broken data, and the causes that can keep users off the login page. Open it at Admin Panel → Problems (you must be an admin — currentUser.isAdmin).

The same information is available without the Admin Panel, from the server command line, via snap run wekan.problems — see Snap.md — so an admin who only has server (snap) access can read it without being given Admin Panel access. It is also on the REST API, for monitoring from outside: GET /api/admin/problems is this overview with the new-problem count per stream, GET /api/admin/problems/:stream one page of a stream, and POST /api/admin/problems/:stream/acknowledge the acknowledge button - see REST API.

The Status overview (Problems → Summary)

The Summary tab shows a Status overview at the top:

  • In progress — every migration or repair running right now (database text migration, board data-repair, recovery/maintenance, cron migration, attachment migration), gathered from the persisted status collections so it is accurate even across a restart.
  • Problems — detected issues: broken cards, and any failing login-page check.
  • Login page checks — the known causes that make the login page show "Must be logged in" or sit on the logo + "Loading, please wait." spinner (see Login-Problems.md).

Below that is the acknowledge list of the Security / Speed / Tests problem streams. The Security Report also records denied passwordless code requests after five requests per source address in one minute. Meteor's per-connection Accounts limit still applies independently. Attempts that Meteor 3.5.3's security fixes refuse - a crashing DDP message, a __proto__ update field, a malformed import() request, an OAuth token of another application - are recorded as Meteor DDP, Meteor allow-deny, Meteor dynamic-import and Meteor OAuth (details).

The menu, in two named groups

Settings — the panes that hold server-wide feature switches, which are settings rather than reports but are what an admin reaches for when something is unsafe or noisy:

  • Security — how rich text is rendered (links as plain text, all code as plain text) and the import / export privacy switches (disable all import / export, avatars, anonymize users). All enforced server-side.
  • Delete — allow Global Admins to permanently purge soft-deleted content. The switch is off by default and enabling it deletes nothing by itself.
  • Notifications — disable all activities, all notifications, or watching, for deployments that must limit activity tracking (#5820).
  • Backup — did the Admin Panel backup work: the last successful backup, the last failure and its error, the next scheduled run, and the history of the last runs. Its settings stay in Admin Panel / Attachments / Backup; a failed or overdue backup is also listed on Summary (Backup.md).

Reports — Security Report, Impersonation Report, Performance, Speed, Tests, CPU usage, Instrumentation, Broken Cards, Files Report, Rules Report, Boards Report, Cards Report, Recovery, Offices, API, Database problems, Filesystem integrity and Email. Report tables use the shared table page: a search box, the total, page X / N, prev/next, and one page of rows fetched from the server at a time. Performance sits with the Speed / Tests / CPU usage streams it configures: card loading is automatic per board size, with CARDS_LOADING=all|lazy|auto and CARDS_LOADING_LAZY_THRESHOLD for operators.

Detailed pages in this directory

Page What it covers
Repairs.md Automatic board data-repairs (#6484 lists that vanish, orphaned/missing-swimlane cards): what they fix, when they run (board open, server startup, during migration), and the progress dashboard.
Migrations.md The MongoDB ↔ FerretDB v1 (SQLite) text-data migration, the repair phase it runs, and the shared blue, Product-name-branded progress dashboard.
Login-Problems.md Everything that can make the login page show "Must be logged in" or a stuck "Loading, please wait." spinner, and how to fix each.
Snap.md The snap run wekan.problems commands that print this whole overview (and problem-specific detail like CPU) as text.
CPU-usage.md CPU-usage monitor / governor and the CPU report. A pegged ferretdb process is the usual cause of slow pages.
RAM-usage.md RAM-usage report.
Large-Boards.md What a large board loads (lazy card windows, card details on open, streamed attachments), the #6745 measurements, and sizing for 8 GB of RAM.
Disk-usage.md Disk-usage report.
Recovery.md SQLite corruption/bloat safety and the automatic Recovery history.
Durable-Operations.md Restart-safe jobs, leases, checkpoints, idempotency, external-service retries and recovery reporting.

Why this exists

After an upgrade, several sites reported the login page showing "Must be logged in", or — after login — the logo with "Loading, please wait." and a spinner that never finished; pages took five or more minutes, the All Boards counts stayed at 0, and some labels showed raw i18n keys (e.g. allboards.starred). In top the ferretdb process was pegged near 200% CPU for a long time. That is the FerretDB v1 (SQLite) backend saturated under WeKan's poll load — often a migration/repair still running, or simply a heavy instance on SQLite.

Problems → Status and snap run wekan.problems make that visible: an admin can now see at a glance "a migration/repair is in progress; that is why logins are slow", or "nothing is running; the backend itself is saturated — consider MongoDB", both from the browser and from the server command line.

How this pane records what it sees

Design.md is the design behind the panes below: one summary row per problem rather than a row per event, the per-actor tally inside it, the IPv4 and IPv6 columns, and the API report, per-address login tally and blocking that are still being built. Read it if you are changing how Problems records things rather than what it shows.

The panes, in menu order

Every pane of this tab, in the order the menu shows them. The slug is what the address uses: /admin/problems/<slug>.

Menu path URL slug Page
Problems / Summary summary —
Problems / Security security —
Problems / Delete delete —
Problems / Notifications notifications —
Problems / Backup backup Backup.md
Problems / Security Report security-report —
Problems / Impersonation Report impersonation —
Problems / Performance performance —
Problems / Speed speed —
Problems / Tests tests —
Problems / CPU usage cpu CPU-usage.md
Problems / Memory Usage ram RAM-usage.md
Problems / Disk usage disk Disk-usage.md
Problems / Instrumentation instrumentation Instrumentation.md
Problems / Broken Cards broken-cards —
Problems / Files Report files File-status.md
Problems / Rules Report rules —
Problems / Boards Report boards —
Problems / Cards Report cards —
Problems / Recovery recovery Recovery.md
Problems / Offices office Offices.md
Problems / API api API.md
Problems / Database problems database —
Problems / Filesystem integrity integrity —
Problems / Email mail Bounces.md

15 of these 25 panes has no page of its own yet. A dash is a gap to fill, not a pane that does nothing - what the pane shows is described in this README until somebody writes it up.

File status checks: inspect missing files, incomplete upload metadata, detected types, storage references and available recovery evidence.