Solution
This error can occur due to a corrupt configuration file for the SystemLink PostgreSQLDatabase service.
On the SystemLink Server PC, navigate to
C:\ProgramData\National Instruments\Skyline\Config and verify that a
PostgreSQLDatabase.json file is present.
Follow the relevant sections below depending on if the JSON file is present.
PostgreSQLDatabase.json is Present
If the JSON file is present, it may be corrupt.
- If you have a known working version of this file (from another SystemLink Server or previous snapshot):
- Copy the known working version of the JSON file to your problem server (making sure to move the problematic JSON file to another folder first).
- Modify the JSON file so that the Postrges.Password and Postgres.ConnectionString resemble the image below.
- Note: If you are using an external PostgreSQL database, the Postgres.User and Postgres.Database will also need to be modified to match your required configuration.
- Save changes and then restart your SystemLink services using the NI SystemLink Server Configuration application.
- If you do not have a known working version of the JSON file, download the copy attached to this article and follow the instructions from the previous step.
- If the issue persists, refer to the troubleshooting steps in SystemLink PostgreSQL Database No Longer Starts.
PostgreSQLDatabase.json is Not Present
If the JSON file is not present, that indicates that the SystemLink installation is corrupt.
Using NI Package Manager, uninstall and then reinstall SystemLink. Refer to
Installing, Updating, Repairing, and Removing NI Software for instructions.