Upgrading on Linux
Perform the following tasks to upgrade P4 Plan Web on Linux.
1. If either the P4 Plan Web API or P4 Plan Web Integrations services are running, stop them before proceeding.
2. Download the latest version of P4 Plan Web.
3. Unzip all files in the location where P4 Plan Web is installed. Overwrite any existing files.
4. Copy client files to web root directory, e.g. /usr/share/nginx/html
cp -r client/dist/* /usr/share/nginx/html/
cp -r integrations/helix_core /usr/share/nginx/html/
5. Update node dependencies:
cd P4PlanAPI
npm ci --omit=dev --no-audit
cd ..
6. Update integration dependencies:
cd integrations
npm ci --omit=dev --no-audit
cd ..
7. Start P4 Plan API and integrations by running ./start.sh
8. Open the web client in a browser and use your login details to ensure that everything works.
curl https://localhost/api/healthcheck