Table of Contents
Vibemosphere Deployment Log
Log of the deployments and changes of the web applications (who, when, what, SHA-256 of the WAR) for the deployment report, and an optional morgue that keeps old WAR versions so that they can be restored.
| Id | deployment-log |
|---|---|
| Role | admin - needed for the page and the REST API (administrators always may) |
| Page | Plugins > Open (overlay with an X at the top right) or /plugins/deployment-log/ |
| REST | /api/plugins/deployment-log/… and, for callers with the role, /plugins/deployment-log/… |
Open the configuration
In the administration open Plugins, select the row of this plug-in and press Open. The page opens in an overlay dialog: close it with the X at the top right, with Esc or by clicking outside; Open in a new tab next to the title shows it full size.
Step by step
- The log is on by default. Tick morgue to keep old WAR files (by SHA-256), set the size limit (default 1000 MB), and restore an earlier version from the Deployment report (Reports page).
The page in detail
Fields and columns
| Label | Meaning |
|---|---|
| Size of the morgue (MB) | |
| Archived | Column of a table |
| File | Column of a table |
| Version | Column of a table |
| Size | Column of a table |
| SHA-256 | Column of a table |
| Why | Column of a table |
| Time | Column of a table |
| User | Column of a table |
| Web application | Column of a table |
| What happened | Column of a table |
Actions
- Save
- Check the WARs now
- Refresh
Notes from the page
- Off by default; default size 1000 MB. A WAR is kept when it is replaced by an upload and when a web application runs it for the first time; the same content is kept once. When the morgue is over its size, the oldest versions are deleted - never the ones that run now. The versions are files in
Reference
Records who did what to the web applications of Vibecat, and (optional) keeps the old versions of the WAR files so that one can be activated again.
What is logged
| Action | When | In the report as a change |
|---|---|---|
| Upload of a WAR | REST POST /api/upload?name=ix.war, the Upload page, plug-ins (ECM web application deployment). Same file name with other content = the old version is replaced. | yes (no, when the content is the same) |
| Create, change, remove a web application | REST, the Web applications page, plug-ins. A change names the fields (source, context path, strategy, enabled … ) with old and new value; for variables only the names, never the values. | yes |
| Another WAR runs | Every deployment compares the SHA-256 of the WAR with the one that ran before. Also when somebody copied a new file into a source folder, or replaced a file while Vibecat was off (checked at the start). | yes |
| Start, stop, deploy again | REST and the Web applications page | no (shown when “Changes only” is off) |
| Restore from the morgue, settings of the plug-in | This plug-in | restore: yes |
Every entry names the user that made the call (the signed-in administration user; with a plug-in as Done by), and the time. Actions of Vibecat itself (the watcher that finds a new WAR, the start) have no user. The log is the file deployments.jsonl in the data folder of the plug-in (plugin-data\deployment-log), one JSON object per line, rotated at 20 MB.
Deployment report
Reports, Deployment report: the log as a list (filter: changes only, text), details of an entry (all changes, checksums) and Export to Excel.
Morgue
Off by default. Settings on the page of the plug-in: keep old versions and the size (default 1000 MB).
- A WAR is copied into the morgue when an upload replaces it, and when a web application runs it for the first time (so a file that is overwritten outside of Vibecat is still there). A content is kept once, whatever the file name.
- Over the size limit the oldest versions are deleted (and logged). The versions that run now are never deleted, so the morgue can be larger than its limit if the limit is smaller than the WARs that run.
- Restore (on the page of the plug-in, and in the report next to a version change): the WAR is put into the upload folder with its old file name; the web applications that run this application are deployed from it. The current version goes into the morgue first (when it is on).
The morgue is part of the plug-in data: a backup with the section Plug-in data includes it (it can be large).
REST API
| Call | |
|---|---|
GET /api/plugins/deployment-log/log?changes=1&q=text&limit=500 | The newest entries first |
GET /api/plugins/deployment-log/export.xlsx | The report as Excel |
GET|PUT /api/plugins/deployment-log/settings | {“morgueEnabled”: true, “morgueMaxMb”: 1000} |
GET /api/plugins/deployment-log/morgue | The kept versions |
POST /api/plugins/deployment-log/morgue/restore | {“sha256”: “…”, “webappId”: “optional: also point this web application at it”} |
DELETE /api/plugins/deployment-log/morgue?sha256=… | Delete a version from the morgue |
POST /api/plugins/deployment-log/scan | Compare the WARs now |
The plug-in role is admin.

