mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Both remaining documentation entries of CHANGELOG's TODO Later, done together
because they are the same sweep.
A menu path is a docs path now. Admin Panel / Settings / Visibility is
docs/Features/Admin-Panel/Settings/Visibility.md; Admin Panel / People / Teams is
People/Teams.md; and each of the four sections has an index listing its panes in
menu order. Before this a reader could not map what they were looking at to a file:
the folder held Admin-Panel.md plus two loose pages, and the prose still described
panes that had moved or gone.
What the prose now says, and did not:
* Version is a Settings pane and the one that opens with the Admin Panel; the
Info tab is gone and /information redirects.
* Visibility is four groups with a Save each - All Boards: Hide, URL, Product
name, Logo - and absorbed Allow-private-boards-only.md and Custom-Logo.md,
which were separate pages for two of its settings.
* Layout is PWA, and holds only the PWA settings: everything else in it moved to
Visibility. Wait-Spinners.md pointed at Layout and now points at the group it
is in.
* Registration is People / Login, one "Login: Allow" group of checkboxes, and
the Accounts pane is gone - allow e-mail change is in People / E-mail, username
change and self delete in People / Login.
* The e-mail domain field decides who may INVITE while self-registration is off,
not who may sign in.
* The board-member restriction is two checkboxes, in Organizations and in Teams.
* The Features tab is gone: its panes are the Settings group of Problems, whose
menu is two named groups. Undo.md, which plans a Features / Delete pane, says
so where it plans it.
* Attachments has a page per menu entry, Backup first, and Problems' index
describes today's two groups.
Every link into the moved pages was updated - docs/README.md, Features.md,
Boards.md, Templates.md, Status.md, Members.md - and every relative link inside the
Admin Panel tree resolves.
wekan.fi: the Admin Panel row of docs/index.html described the old panes (Features,
Info, Translation as tabs; "registration, accounts, table visibility, layout"), the
Registration control row named settings that have moved, and install/index.html sent
readers to Settings/Layout for the logo. Those are edited in ../w/wekan.fi and left
uncommitted there, as that repository is not this one.
Thanks to xet7 !
78 lines
4.5 KiB
Markdown
78 lines
4.5 KiB
Markdown
# 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](Snap.md)** — so an
|
|
admin who only has server (snap) access can read it without being given Admin
|
|
Panel access.
|
|
|
|
## 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](Login-Problems.md)**).
|
|
|
|
Below that is the acknowledge list of the Security / Speed / Tests problem streams.
|
|
|
|
## The menu, in two named groups
|
|
|
|
**Settings** — the two panes that came from the removed Features tab, 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.
|
|
- **Notifications** — disable all activities, all notifications, or watching, for
|
|
deployments that must limit activity tracking
|
|
([#5820](https://github.com/wekan/wekan/issues/5820)).
|
|
|
|
**Reports** — Security Report, Impersonation Report, Performance, Speed, Tests, CPU
|
|
usage, Broken Cards, Files Report, Rules Report, Boards Report, Cards Report and
|
|
Recovery. Every one is the same shared [table page](../../../Design/Page/Table.md):
|
|
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](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](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](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](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.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.md) | RAM-usage report. |
|
|
| [Disk-usage.md](Disk-usage.md) | Disk-usage report. |
|
|
| [Recovery.md](Recovery.md) | SQLite corruption/bloat safety and the automatic Recovery history. |
|
|
|
|
## 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.
|