Skip to content

Agent upgrade and removal #

Do not begin an upgrade or removal until you know the agent generation, install mode and version ownership model. The wrong procedure can destroy a device identity, widen privileges, or remove a process manager that also runs customer software.

Installed pathLifecycle guidance
Modern full or rescue-only on a conventional Linux hostModern agent lifecycle
Modern agent baked into a signed A/B imageModern agent lifecycle - image-owned runtime
Classic remote-access agentLegacy agent - upgrade and remove
Generation is not knownChoose the right agent path

Always record the current device identity, agent version, OS image, architecture and service layout before changing a field unit. Test the exact procedure on representative hardware, then roll out through a bounded cohort with a recovery path.

State under /var/lib/dataplicity can contain credentials. Treat it as secret-bearing until deliberately erased under your decommissioning policy.