Admin Tools Application
| Contains administration tools for managing a running XWiki instance |
| Type | XAR |
| Category | |
| Developed by | Ludovic Dubost, Jerome Velociter, Sergiu Dumitriu, Anca Paula Luca, Maxime Sinclair, Andreas Jonsson, Thomas Mortagne, Oana Tabaranu, Guillaume Fenollar |
| Active Installs | 142 |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
| Compatibility |
|
Table of contents
Description
This XAR contains many administration tools for XWiki Enterprise
- Configuration Checks : Shows and check XWiki configuration, with some recommendations when parameters are not optimized for best performances.
- Export/Import Tools : Several tools to import and export spaces and pages. It includes Large Import and Large Export applications, to be used when the database is to big to be exported from the wiki administration.
- Flush Cache : Flush XWiki cache.
- Wiki Diff : Make a wiki diff to compare current wiki with the standard .xar package.
- Used Space : Shows used space of recycle bin, history, and attachments related tables, for all subwikis.
- Shrink Recycle Bins : Permit to reduce space used, shrinking the recycle bins for pages and attachments.
- Show Logs : Show n number of logs lines.
- Show History : Show 20 largest history pages.
- Show Spammed pages : List every page with more than 50 comments.
- Sanity Check : Run a sanity check upon the database.
- Show Rights : List every specific rights set in wiki / spaces / pages.
- Database To Filesystem porter : Used to migrate every attachment from the DB to the filesystem (xwiki permanent directory), when Filesystem Storage feature is used.
- Run Query : Run a SQL query in the current DB.
Details and Screenshots
- Configuration Checks:

- Used Space:

- Show Rights:

- Run Query:

The default URL uses the main wiki:
jdbc:mysql://<server>/xwiki?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8To run queries on a different wiki (database) you need to update the URL with the proper name of the wiki (each wiki is stored as a different database):
jdbc:mysql://<server>/<wikiname>?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8Proper credentials are needed to run the queries, you can also use the settings from "hibernate.cfg.xml":
<property name="connection.username">user</property> <property name="connection.password">password</property>
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.
You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:
- Log in the wiki with a user having Administration rights
- Go to the Administration page and select the Import category
- Follow the on-screen instructions to upload the downloaded XAR
- Click on the uploaded XAR and follow the instructions
- You'll also need to install all dependent Extensions that are not already installed in your wiki
After importing the XAR visit the page Admin.Tools
Versions
Dependencies
Dependencies for this extension (org.xwiki.contrib:xwiki-application-admintools 4.5.7):
- org.xwiki.rendering:xwiki-rendering-macro-message 8.4