Upgrading to pCapitan 2.0
What happens to your captures, audits and statuses on the first start of 2.0: the automatic move, the backups, why going back is not supported, and what to do if pCapitan stops with a message about a held file.
For: pCapitan
From pCapitan 2.0, every check runs on an assessment: one client site and all the evidence you have for it, of which a capture is one kind. pCapitan remembers each assessment over time: what it found, what you marked accepted or fixed, what came back, and how the score moved.
This page applies to pCapitan and to pCapitan Admiral.
Your data moves by itself
You do not export or convert anything. The first time 2.0 starts, it brings your data folder up to date once.
- Before it changes anything, pCapitan makes a backup. It copies your assessments, settings and audit index to the
backupsfolder in its data folder. The five newest copies are kept. - Your captures and audits keep their files. Only the records about them move, into one database (
state.db) in the data folder. The old record files are kept, unchanged, inbackups\state-json-<date>. - Statuses you set in an earlier version stay with their findings. A status that cannot be placed at once is placed the first time its finding is shown. Where several findings would share one status, it goes to the finding whose title it was set on and is marked for review in its history, so check the others.
- Your settings, feeds, notes, saved audits, fix-plan states and attestations are kept.
- Captures analysed before 2.0 keep the findings their edition ran. In pCapitan Admiral, analyse such a capture again to get the Admiral findings.
The data folder is:
- Windows:
%LOCALAPPDATA%\pCapitan - Linux:
~/.local/share/pCapitan
Keep it on a local disk. The database has not been tested on a network share.
Features that go online (feeds, SIEM forwarding, remote sensors, timestamps, signature validation data, the OCSP probe and the safe validator) stay off until you turn them on.
Going back is not supported
Do not install an older version over 2.0. 2.0 keeps the assessments, statuses and history in a database that older versions cannot read. If you open the upgraded data folder in an older version:
- it does not see your assessments, statuses or history;
- anything you do there never reaches 2.0, and 2.0’s work is not visible there.
The assessments folder holds a note, README-pCapitan-2.txt, that says so. From 2.0 on, a version started on a data folder that a newer version has used refuses to open it and says: This data folder was used by a newer pCapitan (schema N); install that version or newer. To carry on, install pCapitan 2.0 or newer again.
Keep the backups until you are sure everything is as it should be. They are a safety copy from before the upgrade. If something looks wrong, write to support before you delete anything.
If pCapitan stops at the first start
If a data file is held by another program (an antivirus scan, a backup tool or a sync tool) at the first start, pCapitan waits a few seconds for it. A file that is still held, or a file that cannot be read, stops the start before anything is worked on. pCapitan then shows a message that names the file or the problem, says where the backup of the assessments is, and says what to do.
Nothing is moved half-way, and nothing is lost. Every assessment is brought up to date together, or not at all.
- Close the program that may be using the data folder: pause the antivirus scan, the backup or the sync tool for that folder.
- Start pCapitan again.
- If it still stops, write to support and include the text of the message.
Good to know
- The menu. The sidebar has the groups Assessments, Domains, Evidence, Inventory, Analyse, Traffic, Govern, Report and evidence, and Tools. The capture pages are under Traffic and need an open capture. New captures and audits join the active assessment shown in the header.
- The packet-analyser engine. The optional free engine (for live capture, file carving, Kerberos and some decryption) must be version 4.2.0 or later for the features that use it. Help & guide → 🧰 Readiness check lists each detection that needs it, the version it needs and the version your computer has. An engine that is too old is never used for what it lacks: pCapitan says that the check was not assessed.
- Official reports. Report and evidence → Official reports; see Official reports in pCapitan.
- From pCapitan to Admiral. Admiral is a separate app with its own licence. Its first start offers to bring in the assessments and captures of pCapitan on the same computer, without analysing them again. The Admiral findings appear at once.
- Support bundle. Help & guide → 🩺 Diagnostics prepares a zip for support. You see every file in it before you save it, and nothing is sent anywhere.
The full list of changes is in the user guide.