Upgrade from Profinity 2.2
Upgrade a production system in the order below. Profinity 2.3 changes where data is stored, how security is configured, which features need a licence, and how the REST API reports errors, so read the breaking changes first.
Before you start, take the backup in step 1, and test the upgrade on a non-production instance if you can.
- Back up the
config/andprofiles/folders of the artefacts directory, together withlicense/andcertificates/. These folders are namedConfigandProfilesuntil 2.3 starts for the first time. On a 2.2 system the artefacts directory is%LOCALAPPDATA%\Prohelion\Profinityon Windows,~/Library/Application Support/Prohelion/Profinityon macOS, and~/.local/share/Prohelion/Profinityon Linux. - Install Profinity 2.3 and start it once.
The first start moves data from older locations into the 2.3 artefacts directory, renames
Config,Profiles, andLogsto lowercase, and rewritessecurity.yamlandprofile.yamlin the 2.3 camelCase format when it loads them. It rewritesconfig.yamlon that first load when the file still has legacy Pascal keys or an older version stamp. Profinity does not move data whenPROFINITY_HOMEis set, so copy anything you need into that location yourself. - Open ADMIN > License and confirm the state and the edition. A 2.2 installation upgraded without a licence file is unlicensed once any trial ends, and remote web access, user and role administration, two-factor authentication, Profinity AI, and the Email, Slack, Webhook, and MQTT rule actions stop being available until you upload a licence. Refer to Apply a licence and Licensing.
- Sign in as an administrator, open ADMIN > Users & Groups, and check the Roles tab and each user's assigned roles.
Change the default
adminpassword if you have not already. A defaultadminaccount that Profinity creates must change its password at first sign-in. - Open ADMIN > System Configuration and confirm the Sign-in method, the password policy, and the SSO, SCIM, and SIEM settings.
- Open ADMIN > Logs and read the messages from first start. On Linux, the migration messages name each file that moved.
- Open each custom dashboard in the dashboard editor and confirm it loads without schema errors.
- Unlock the firmware of each Gen2 battery management system once, and enter its passcode again, because 2.3 does not keep passcodes in the profile.
- Run every integration that calls
/api/v2against a test instance, because error responses changed. Refer to REST API errors. - Open each BACnet component and set Device instance to the instance of its device, because Profinity now checks it. Refer to BACnet device instance.
To return to 2.2, reinstall 2.2 and restore the backup you took in step 1.
Linux and Docker data locations
On Linux, 2.3 moves data from ~/.local/share/Prohelion/Profinity, the 2.2 location, to /var/lib/prohelion/profinity the first time it starts.
A Docker container follows the same rule unless PROFINITY_HOME is set, and the Docker compose file Prohelion publishes sets it to the container path that holds your mounted data.
For a Docker upgrade, set PROFINITY_HOME to the container path of your existing mount, keep that mount, and copy any legacy Config and Profiles folders into it before you start the 2.3 image.
Refer to Docker installation.