Files
wekan/docs/Features/Admin-Panel/Settings/Version.md
T
Lauri Ojansivu 90e1da878d Docs: Admin Panel / Settings: what each feature is, how to use it, how its numbers are calculated, how it works, and its commits.
Every Settings pane page now has What it is, Read more, How to use it, How
the numbers are calculated, How it works in WeKan and Commits, checked
against the code. Corrected where the old text no longer matched: the
Translation pane pages 10 rows, its Text column is the translation key and
New is the first column; Version lists all five groups and Check Version;
Appearance gains its board-creation, description, date, card width, autolink,
login colour and logo upload settings; Features and Feature profiles list
the whole catalog; Shared labels is the menu's own label; Global Webhooks
describes Internal destinations.

Thanks to xet7 !
2026-11-22 18:11:14 +02:00

8.6 KiB

Admin Panel / Settings / Version

What it is

The first pane of Settings, and the one that opens with the Admin Panel: what this WeKan is running - the WeKan version, how it was installed, the operating system, Meteor, the database and Node.js. It is what an admin usually comes here to read, or to paste into an issue. A Check Version button compares it with the newest released versions.

It used to be a tab of its own in the Admin Panel bar, with a one-entry left menu. A page whose menu had a single entry was a page in name only, so it became this pane; the old /information URL redirects to Settings.

Read more

How to use it

Read what this WeKan is running

  1. Open Admin Panel. Settings / Version opens first (/admin/settings/version).
  2. Read the table. It is one table of two equal columns in five groups:
    • Platform — WeKan ® Version, and Package: how it was installed (bundle.zip, Snap, Docker or Sandstorm).
    • OS — type, platform, architecture, release, uptime, load average, total memory, free memory and CPU count.
    • Meteor — Meteor version, the live Reactivity mode (changeStreams / oplog / polling), the configured Reactivity order (METEOR_REACTIVITY_ORDER) and the DDP transport (DDP_TRANSPORT).
    • Database — type (MongoDB or FerretDB v1), the MongoDB compatible version, the database commit, the FerretDB version and commit (only on FerretDB), the storage engine, whether the oplog is enabled, and the Mongo sessions count.
    • Node — Node version, and the V8 heap and memory figures.
  3. Copy the table into an issue when asking for help.

Check for a newer version

  1. Press Check Version. While it runs it says Loading, please wait.
  2. It shows the newest WeKan, FerretDB, Meteor, Node and NPM versions, one per line. If the check fails - offline, a timeout, an answer that is not a version list - it shows one translated failure message and nothing from the reply.

How the numbers are calculated

All values come from the site-admin-only method getStatistics in server/statistics.js, read once when the pane opens:

  • Versions: WeKan from package.json (v removed), Meteor from Meteor.release (METEOR@ removed), Node from process.version.
  • Package: detectPackaging() in models/lib/platformPackaging.js, most specific first: WEKAN_PACKAGING when set, then Sandstorm, then Snap when SNAP or SNAP_NAME is set, then Docker when /.dockerenv or /run/.containerenv exists, else bundle.zip.
  • OS Uptime: os.uptime() seconds, shown as days, hours, minutes and seconds (each part only when above zero).
  • OS Load Average: the three os.loadavg() values (1, 5 and 15 minutes), each to two decimals.
  • Memory and heap sizes: bytes from os.totalmem(), os.freemem(), v8.getHeapStatistics() and process.memoryUsage(), shown with the filesize library. OS CPU Count is the length of os.cpus().
  • Reactivity mode: oplog when Meteor has an active oplog handle (changeStreams when that handle is a change-stream one), else polling. Reactivity order and DDP transport are the environment variables, (unset) when empty.
  • Database type: FerretDB when the buildInfo reply carries ferretdb, ferretdbVersion or ferretdbFeatures, else MongoDB. Version and commit are buildInfo.version and buildInfo.gitVersion.
  • Storage engine: serverStatus.storageEngine.name; when per-database credentials may not run serverStatus, the $collStats of the first non-system collection (wiredTiger or inMemory); on FerretDB SQLite; otherwise unknown.
  • Mongo sessions count: the number of active sessions of the MongoDB driver's client, so an admin can see that it is not growing all the time.
  • Check Version: fetches https://wekan.fi/version.txt with a 10-second timeout. parseVersionManifest() in models/lib/versionCheck.js accepts it only if it is at most 1024 characters and exactly five lines, WeKan, FerretDB, Meteor, Node, NPM, each followed by a version.

On Sandstorm the Node heap and memory figures are not collected, and they and the sessions count are not shown: Sandstorm does not expose machine performance data to apps, to prevent side-channel attacks.

How it works in WeKan

Commits