How to run an XWiki health check with Admin Tools
An XWiki health check is a structured review of how a self-hosted instance is configured, how much memory it uses, which versions it runs and how it is being used, and it is needed whenever an administrator must confirm an instance is sound before a change, after an incident or on a regular schedule. Many administrators who run XWiki in a container or on a server they cannot easily reach find that the first useful checks are the ones available from the wiki's own administration screens, so the work starts there. The checks span configuration, memory, versions, log review and usage review. The exact Admin Tools screens, menu names and log locations differ between XWiki versions and between deployments, such as the official Docker images with their different database variants, so confirm each against the installed version and your own deployment before you rely on a procedure written for another release.
Start with the configuration and version views in Admin Tools, and record what they show as a baseline: the running XWiki version, the Java and servlet container details the instance reports, the database type and the extensions installed. Compare that record with what your change process expects. Then review memory and runtime information, looking for values that climb between checks rather than a single reading. For logs, confirm with your platform team whether a log route is available to you without shell access, such as a container log service or a log shipping pipeline, and ask who is responsible for keeping those logs. Where the wiki exposes log output through its own tools, use it for triage only, and make sure the people reviewing it are authorized to see the content. Usage review should show which spaces and pages are active and who is editing, which helps you spot unusual patterns early.
Prepare a support handoff before something breaks, not during the incident. Keep the baseline record, the timestamps of the failing requests, the exact XWiki version and the deployment details, and any relevant log lines with personal data removed. Decide in advance who may share this material with an external provider and under what agreement. If a support subscription from XWiki SAS or another provider is in place, ask them to confirm which diagnostic information they need, the format they prefer and how long they will take to respond, because response terms vary by plan. Record each finding and the action taken so the next health check can compare results against a known history.
Which health check fits which question
This table compares the places an XWiki administrator can look when checking health, from Admin Tools views to server logs held by the operator. Read each row by the question it answers, then check who can read it and where it stops being enough on its own.
| Place to look | Question it answers | Who needs permission | When it is not enough alone |
|---|---|---|---|
| Admin Tools configuration view | Which XWiki settings, extensions and Java or Tomcat details are in effect right now? | Wiki administrators with the rights that open Admin Tools (confirm the exact right in your version) | It shows configuration state, not whether requests are failing or why memory is climbing. |
| Admin Tools version and extension views | Which XWiki core version and extension versions are installed, and which ones need updating? | Wiki administrators (confirm the exact right in your version) | It does not show known vulnerabilities; check advisories separately and match them to the versions listed. |
| Memory and runtime information | How much heap is in use, and is the JVM configured as expected? | Wiki administrators (confirm in your version) | A single reading is a snapshot. Trends over time, and the container limits around the JVM, need the operator's monitoring. |
| Browser-readable logs in Admin Tools | What errors or warnings has this XWiki instance recorded recently? | Users granted log access by the instance (confirm the exact right in your version) | Logs written to the browser may be truncated or rotated, and they miss startup failures and proxy or database errors. |
| Usage reviews (recent activity and statistics) | Which pages, users and spaces are active, and is activity unusual? | Wiki administrators or users with the relevant view rights (confirm in your version) | Activity counts show what happened inside XWiki only. Traffic floods, failed logins at the edge and spam from outside may not appear. |
| Server or container logs held by the operator | Did the JVM, Tomcat, reverse proxy or database fail, restart or refuse connections? | Operators with host or container access, usually not wiki administrators | Needs someone with access to your infrastructure. It rarely explains a wiki-level permission or content problem by itself. |
| Database and storage checks | Are the database connection and attachment storage healthy? | Database and infrastructure administrators | Wiki pages can load from cache while the database or storage is degraded, so test both paths. |
How health data reaches a reviewer without server access
The path starts at the XWiki application, which runs on Tomcat and reads from its database, and Admin Tools presents health information in the browser. An administrator with a wiki login reviews it there and downloads only the log extracts they need. Redaction happens inside the client boundary, before any file is sent to an outside support provider. Check the redaction step first, because a bundle that leaves the organization unreviewed carries whatever it contains.
Health data moves from the instance to an administrator's browser, and only redacted files cross the trust boundary.
Running a health check on an XWiki instance
This sequence gives a repeatable way to confirm what is running, whether its configuration and memory match the deployment record, and how its logs and usage look before anything goes wrong. The output is a dated baseline that any later incident can be compared against.
Confirm the installed version and deployment type
Start by recording the XWiki version shown in the administration pages, the deployment type (for example, a Docker container, a Tomcat installation or a Kubernetes release), the database variant and the Java and Tomcat versions in use. The person doing the check should compare these against the deployment record kept by the platform team. Confirm the line the instance is on, stable or LTS, because that determines which upgrade pages apply later. The step is done when the version, deployment type and database are written into the baseline with the name of the person who checked them. If the record and the running instance disagree, stop and resolve that before continuing.
Check configuration against the deployment record
Review the instance configuration files and environment settings that the deployment sets, such as database connection, mail, authentication and proxy settings, and compare them with the deployment record. Pay attention to settings that differ between environments, including URLs, debug or development flags and any extension or registration options that were changed by hand. Where a value cannot be read directly, confirm it through the administration pages instead of guessing. The check is complete when every compared value either matches or has a documented reason for the difference. Any unexplained difference becomes a ticket before the baseline is recorded.
Review memory and resource settings
Check the memory allocated to the Java process and the container or host limits around it, then compare them with the sizing notes in the deployment record. Note how much memory the instance uses under normal load, and whether the JVM settings and container limits leave headroom for the Tomcat process. If the platform team has metrics for the host or container, capture a short period of memory use during working hours and record the peak. The step is complete when the configured limits, observed usage and the deployment record agree, or when a gap has a named owner and a follow-up. Do not change memory settings during the health check itself.
Read logs for errors and repeated warnings
Open the Tomcat and XWiki logs through the server or the log platform the team already uses, and filter for errors and warnings from the period you are reviewing. Group repeated messages by their text rather than reading each occurrence, because a single warning repeated many times is usually more informative than one isolated error. Note any stack traces that appear more than once, failed database connections, extension load failures and authentication problems. Check that the log timestamps and time zone match the incident window or review period you are using, so that later correlation with users' reports is accurate. The step is complete when each repeated message has a recorded cause or an open ticket.
Review usage with Admin Tools
Open Admin Tools from the administration area and review the usage and activity views that are available in your version, such as recent activity, the number of users and the wikis or spaces that receive the most changes. Look for sudden increases in page creation, unusual numbers of accounts or activity from accounts that do not match your user base. Record the figures you can see, the date range they cover and the version of XWiki used to produce them, since views can differ between lines. The step is done when the usage snapshot is saved with the baseline. Anything that looks like spam or abuse is noted for the separate spam review rather than cleaned up during the health check.
Record the baseline and file the findings
Write a single dated baseline document containing the version and deployment type, the configuration comparison result, memory figures, the grouped log findings, the usage snapshot and the name of the reviewer. List each open item with an owner and a link to its ticket. Store the document where the platform team keeps deployment records, so it is found during an incident. The step is complete when someone other than the reviewer can read the baseline and confirm that every section is filled in or marked as not applicable. Repeat the same sequence on the same schedule so that later changes can be compared against this record.
Which signals in configuration, memory and versions matter
Most XWiki health problems show up first as a mismatch between environments, a setting nobody remembers changing, or a log line that repeats. The cards below cover six signals an administrator can review without deep server access, and what each one can point to before anyone changes anything.
Version drift between environments
Compare the XWiki version, the Java and Tomcat versions, and the database driver across development, test and production. A production instance on a different line from staging can behave differently after an upgrade, and extensions often declare which XWiki versions they support. Confirm the target version and the required Java and Tomcat versions in the XWiki release notes for your line before acting on any mismatch.
Unexpected configuration values
Review the values in xwiki.cfg and xwiki.properties, especially registration, guest rights, email and authentication settings, against the values you intended. A changed default or an override set by an earlier administrator can silently open registration or change how users sign in. Confirm each key's meaning in the configuration reference for your version before editing it.
Memory pressure indicators
Watch for repeated garbage collection pauses, slow page loads that clear after a restart, and out-of-memory messages in the Tomcat logs. Heap limits set in the container or the Tomcat startup options usually cause these, but a large extension or a heavy search index can also drive them. Confirm the heap sizing guidance for your XWiki line with the official documentation and your operator before changing memory limits.
Failed extension or component states
Check the Extension Manager for extensions in a failed, incompatible or partially installed state, and for component errors recorded at startup. A failed extension can leave pages rendering with error macros or block a feature without an obvious message. Confirm the extension's supported XWiki versions in the XWiki Store listing before reinstalling or removing it.
Database connectivity messages
Look for connection pool exhaustion, timeouts and authentication failures in the logs, and for intermittent errors that match network changes or database maintenance windows. These errors often look like application bugs but come from the database layer. Confirm the supported database versions and driver settings with your database team and the XWiki installation guide for your line.
Stale administrative settings
Review administrator and group memberships, scheduled jobs, mail server settings, and the rights granted to inactive accounts. Settings left from a past project or a former administrator often keep access open long after the reason for them has ended. Confirm the owner of each setting with your own access records and the current XWiki administration documentation before removing anything.
What to hand a support provider when XWiki breaks
When XWiki fails, the fastest route to a fix is an incident bundle that a support provider can read without guessing. Start with the XWiki version and flavor (stable, LTS or intermediate LTS), the deployment method (for example, the official Docker image or a package on a Tomcat host), and the database variant (MySQL, PostgreSQL or MariaDB). Add anything changed in the last few weeks: extensions installed or updated, Java or Tomcat changes, database maintenance, configuration edits and the Admin Tools health check output from before the failure. Include the exact error text as it appears in the browser or log, the time window with its time zone, and the steps that reproduce the problem, written as a numbered sequence with the account type used. Log excerpts should cover a window of several minutes either side of the first error, not a single stack trace line. Confirm with your own team which log locations you can reach without server access, since Admin Tools only shows part of what the provider will need.
Redaction has to be agreed before an incident, not during one. Logs and page content can contain names, email addresses, user identifiers, IP addresses and the text of confidential pages, so decide in advance who removes that data, which replacement convention is used (for example, consistent placeholders so that a user can still be traced across lines), and whether the original files are kept under your retention rules. Record the approved people who may view the bundle and how it is transferred. Your privacy and security teams should sign off on this process once, then reference it in the incident runbook.
A provider should not review client data until the scope and access terms are in writing. Agree what systems are in scope, which logs and database objects may be accessed, whether the provider works through a bastion or a time-limited account, where any copies are stored and when they are deleted, and who on each side approves access. Confirm whether the provider's engineers need to sign your confidentiality terms and whether an on-premises session is preferred over exported files. Written terms also set the boundary between incident diagnosis and any change to production, which should always require a separate approval.
Keeping health data and logs safe to read
Administrators who open Admin Tools and read logs from the wiki interface work inside the permission model of XWiki itself. Admin Tools shows configuration, memory, versions and usage, and some of its views can reveal how the instance is set up, which extensions run and which users are active. Page content is not normally shown in a health report, but log lines can quote text from requests, error messages and page names, so an administrator who can read logs can often read fragments of content. Limit the administrator group to people who need these views for their job, and keep global administrator rights separate from everyday editing accounts. Ask your team to confirm which views are restricted to global administrators and how your version treats log access in the interface.
- Named admin accounts: Use individual administrator accounts rather than a shared login, so each view and action can be traced to a person.
- Minimal admin group: Keep the list of people with administrator rights short and review it on a fixed schedule.
- Log content: Assume that log lines may contain page names, search terms and fragments of request data.
- Access records: Confirm how your deployment records administrator sessions and changes to configuration, and where those records are kept.
- Removal: When someone changes role or leaves, remove their administrator rights and any saved session tokens on the same day.
Before you grant access, check who can open each Admin Tools view on your instance and whether the logs visible there are the same as the ones on the server.
Operators who hold server and container logs have a wider view than any wiki administrator. Tomcat logs, container stdout and database logs sit outside XWiki's permission model, so anyone with host or container access can read them regardless of wiki rights. These logs can include stack traces with configuration values, connection strings, request paths and occasionally user identifiers. Treat the host as a privileged system, restrict shell and container runtime access to named operators, and keep log files out of world-readable locations. Confirm with your platform team where logs are shipped, who can query the central store and how long copies persist in backups.
- Host access: Limit shell,
docker execandkubectl logsrights to named operators, and record who holds them. - Secrets in configuration: Check that
xwiki.cfg,xwiki.propertiesand environment variables are not echoed into logs or health output. Move database passwords into a secrets store where your deployment allows it. - Central log stores: Confirm who can search aggregated logs, how long they are kept and whether the store is separate from production access.
- Backups of logs: Log archives and snapshots copy the same sensitive lines, so apply the same retention and access rules to them.
- Revocation: When an operator leaves, remove host, registry and log store access together, and rotate any credentials that person could read.
Before you rely on server logs for diagnosis, confirm which files and streams contain sensitive values and whether your logging level captures request bodies.
Support providers who receive exported bundles see only what the bundle contains, but a bundle can hold far more than the problem needs. A diagnostic export may include logs, configuration, version data and sometimes samples of page or user data. Before a bundle leaves your environment, decide what is removed or masked, and agree in writing how the provider stores, uses and deletes it. Do not send bundles through personal email or unencrypted file shares. Keep the provider's access to your environment separate from the bundle, and record each transfer so you can show what was shared and when.
- Bundle review: Open each bundle before sending and remove page content, personal data and credentials that the issue does not need.
- Agreed handling: Put storage location, access list, retention and deletion in the support agreement or statement of work.
- Secure transfer: Use an approved transfer channel with encryption, and keep the transfer record with the ticket.
- Scoped access: If the provider needs live access, grant a named account for the session and remove it when the work closes.
- Deletion: Ask the provider to confirm in writing when copies are deleted, including those in ticketing or backup systems.
Before the first incident, agree a bundle template with your provider and check that it matches your data classification rules.
What to confirm about Admin Tools in your environment
Admin Tools views depend on the XWiki version, the flavor you installed, the way your deployment handles logs and the extensions you added. Check these six items against your own instance and the vendor documentation for your version before you build a health check or a support handoff on top of them.
Admin Tools sections in your version
Admin Tools is not identical across every release line or packaging. Confirm which sections (configuration, memory, versions, logs, usage and spam views) appear in the version and flavor you run, by opening the Administration page as a wiki administrator. Record the exact list in your runbook so a missing section is noticed as a change, not as a fault in the instance.
Docker image docsBrowser log views and their gaps
The in-browser log view may show only recent entries, a subset of loggers or a fixed level. Compare what the page shows against a known test event, such as a failed login you trigger on purpose, and check whether the entries you need for an incident, including stack traces and request context, actually appear. If they do not, plan for server-side log access.
How your deployment routes logs
In a container deployment, logs usually go to the container's standard output or to files inside the Tomcat directory, and the route determines who can read them. Confirm where XWiki and Tomcat write their logs in your image, whether a log driver or sidecar forwards them, and whether anyone outside the platform team can reach them without breaking your access rules.
Log retention and rotation
Retention is set by your log shipper, your storage and the rotation settings of the container or Tomcat, not by the wiki page itself. Ask who owns each setting, what period your security or records policy requires, and whether rotated files are compressed and kept long enough to cover a support ticket opened days after an incident.
Usage data kept per instance
Usage figures in Admin Tools may be stored per wiki, per farm or only for the current session, which matters when you run several subwikis or a multi-instance setup. Confirm whether counts survive a restart or upgrade, and whether you must export them yourself to keep a history for capacity planning or limit enforcement.
Extensions that change health views
Extensions can add panels, change log categories or alter what the health pages report. Before you trust a view, list every installed extension from the Administration page, then check each one's documentation for changes to the health or log pages. Re-run the check after every extension install or upgrade.
What buyers ask before hiring help with XWiki health checks
How much effort does an XWiki health check take?
The effort depends mainly on how many wikis and extensions the instance runs, how many log files exist, how far the instance is behind its current XWiki line, and how much of the configuration is documented. A single-wiki instance on a recent line with clean logs takes far less review time than a multi-wiki instance with years of undocumented extensions. Ask any provider for a written scope that lists the checks, the instances covered and the deliverable, because the same label can cover a quick configuration review or a full log and usage analysis. Effort is typically a one-time cost for the first review, with smaller repeat reviews afterward.
Can an XWiki administrator run a health check alone?
Yes, for many checks an experienced administrator can do the work with the Admin Tools application, which exposes configuration, memory and version information and shows usage and log views from the wiki interface. The harder part is interpreting findings: deciding whether a warning about memory, a repeated error or an outdated extension matters, and knowing which fixes need a change window. A team without Java, Tomcat or database experience should plan for outside help on the points that require server-level access. Confirm which checks your own staff can perform before you budget for a partner.
What does the work need from our side?
Expect to provide four things: access to the Admin Tools views with an account that has the rights to see configuration and logs, copies of the relevant log files if server access is restricted, a named owner who can make decisions about extensions and upgrades, and a change window for any restart or configuration edit. Also provide the current XWiki version, the database and Tomcat versions, and a list of installed extensions. Without a named owner, findings tend to stall at the report stage. Ask the provider to state these inputs in the written scope so that gaps are visible before work starts.
How long does a first review take for a large instance?
Duration depends on instance size, the number of wikis, and log volume, and no fixed figure applies across installations. Reviewing a large log history takes longer than a recent, rotated set, and each extra wiki adds configuration and usage checks. Ask for a timeline in the written scope that separates the discovery and access step, the analysis, the findings report and any retest. Also ask whether the timeline depends on your response time for access and decisions, since waiting on approvals is often the largest source of delay.
What should we repeat after the first review?
A first review establishes a baseline, and the recurring work is a smaller check against that baseline. Typical repeat items are version and extension currency, memory trends, error patterns in recent logs, and usage changes such as new users or spikes in edits. Monthly or quarterly intervals suit most teams, with an immediate review after a major upgrade or a reported incident. Decide who owns each item, and whether a retainer with a provider or an internal rota covers it, before the first review ends.
When should we bring in an outside provider for XWiki?
Bring in outside help when findings need server-level changes you cannot make safely, when a version upgrade is blocked by extension compatibility, when an incident needs root-cause analysis from logs, or when no one on your team has time for regular review. XWiki SAS also offers on-premises professional support and installation help, which is a separate route from an implementation partner. Compare the two options in writing, because support covers XWiki itself while a planning and implementation partner covers your environment, controls and evidence.
What should we send a provider when something breaks?
Send the XWiki version, the flavor and version of the database and Tomcat, the time the problem began, the exact error messages, the relevant log excerpts with timestamps, recent changes such as extension installs or configuration edits, and the steps that reproduce the issue. Include whether the problem affects one wiki or all of them. Remove or mask personal data and secrets before sharing, and agree in the scope how logs will be transferred. A complete package shortens the first response more than any other single step.
How DeployOpen works on this
DeployOpen treats an XWiki health review as a fixed-scope piece of work inside your own infrastructure. We agree what is checked, which logs and Admin Tools views are read, and what the written findings will look like before anyone starts, so the result is a clear record your team can act on.
How we scope
- Agree in writing which XWiki version, database variant and hosting layout the review covers.
- Confirm which Admin Tools pages, log sources and access paths your team can provide without giving up server access.
- Define the checks for configuration, memory, extensions and usage, and what counts as a finding in your environment.
How we build
- Run the health checks against a copy or read-only view of the instance, recording each result with the time and version it was taken from.
- Review log entries for errors, repeated failures and unusual activity, and correlate them with Admin Tools usage and configuration figures.
- Test suggested fixes in a non-production environment before recommending changes to production settings or extensions.
How we hand over
- Deliver a written findings report with each issue, its evidence, the affected component and a proposed fix ranked by risk.
- Provide a support bundle template that lists versions, log excerpts, configuration keys and reproduction steps for your own team or a provider.
- Walk your administrators through the report and the runbook so routine checks can continue after the engagement ends.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer if your team wants checks repeated on a schedule.
- Agree in the written scope how post-review questions and follow-up checks are handled and what is included.
- Ask any provider, including us, to confirm how they access your instance, store logs and remove any copies once the review ends.

