Keep the deployment name and generated secrets
The Compose project name comes from deployment.name. Keep that value stable so the new release updates the existing services and volume.
- Back up the PostgreSQL volume and the old
generateddirectory. - Download and verify the target standalone archive.
- Carry forward the reviewed definition and generated configuration.
Apply the new standalone package
Shell
VERSION=<TARGET_VERSION>
curl -fLO https://github.com/qwerty-iot/pcapillary-releases/releases/download/v$VERSION/pcapillary-standalone_$VERSION_linux_amd64.tar.gz
curl -fLO https://github.com/qwerty-iot/pcapillary-releases/releases/download/v$VERSION/SHA256SUMS
grep "pcapillary-standalone_$VERSION_linux_amd64.tar.gz" SHA256SUMS | sha256sum --check -
tar -xzf pcapillary-standalone_$VERSION_linux_amd64.tar.gz
mv pcapillary-standalone pcapillary-$VERSION
cp /opt/pcapillary/current/definition.yaml pcapillary-$VERSION/
cp -a /opt/pcapillary/current/generated pcapillary-$VERSION/
cd pcapillary-$VERSION
./pcapillary validate
./pcapillary apply
./pcapillary statusAdjust the example paths to match your installation. After verification, update your /opt/pcapillary/current symlink or operational runbook to the new directory.