Synpse
🤖 Devices⚡ ApplicationsTry Synpse!
  • Intro to Synpse
  • Start here
    • Quick Start (web user)
    • Quick Start (CLI)
  • Agent
    • Install
      • Raspberry Pi
      • Linux (Docker)
      • MacOS
      • NVIDIA Jetson
      • Headless (Ubuntu)
      • BeagleBoard AI
      • Bulk Provisioning
      • 🪄Beta - Universal Synpse image
      • Containerized agent
      • Configuration
    • Uninstall
  • CLI
    • Install & Usage
  • synpse core
    • Devices
      • Device Provisioning
      • HTTPS Tunnel Access
      • SSH Access
      • Device Labels
      • Environment Variables
      • Proxy Application Ports
      • OS & Architectures
      • Operations
      • Device API
    • Applications
      • Deploy
      • Secrets
      • Environment variables
      • Substitution (dynamic templates)
      • Volumes
      • Networking
      • Scheduling
      • Registry authentication
      • Using GPUs
      • Tips & Tricks
      • Logs and status
      • Application specification (API reference)
    • Account
      • Personal Access Tokens
      • Service (Robot) Accounts
      • Teams (Share Devices)
    • Monitoring (beta)
      • Device Monitoring
      • Application Monitoring
  • Manage
    • Projects
    • Namespaces
    • Quotas
  • Examples
    • 🏠Home Automation
      • Gladys Assistant
      • Home Assistant
    • 🛠️Preparing OS Images
      • Synpse CLI Builder
      • Build a custom Raspberry Pi image
      • Cloud-init (advanced)
    • 💡Dynamic Templates
    • ☁️Public Cloud IoT
      • AWS IoT Core
      • Azure IoT Hub
      • GCP IoT Core
    • 🚀Device management
      • VNC to remove devices
      • Ansible
  • On-prem Deployment
    • 🐳Docker Compose
    • 🌤️kubernetes
  • Resources
    • API Documentation
    • Deployment patterns
    • Security & Tech
Powered by GitBook
On this page
  • Removing synpse-agent systemd service
  • Removing state directories
  • Remove any containers created by Synpse

Was this helpful?

  1. Agent

Uninstall

Synpse agent uninstall instructions

To check whether you have Synpse agent installed, run systemctl status synpse-agent. This command should return info about your running agent:

root@synpse-node:/# systemctl status synpse-agent
● synpse-agent.service - Synpse agent
     Loaded: loaded (/etc/systemd/system/synpse-agent.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2021-12-17 00:18:25 GMT; 3 weeks 1 days ago
       Docs: https://synpse.net/docs/
   Main PID: 4002295 (synpse-agent)

If it's not there, nothing to do. Otherwise, follow the steps to remove it.

Removing synpse-agent systemd service

When you no longer wish to have Synpse agent installed on your device, here are the steps to remove it. First, get root permissions as agent is installed as root:

sudo -i

Disable and remove the system service:

systemctl stop synpse-agent
systemctl disable synpse-agent
systemctl daemon-reload

Removing state directories

To remove directories and files that the agent has created, run:

rm -rf /etc/synpse
rm -rf /var/lib/synpse
rm -rf /var/log/app_*
rm -rf /var/log/synpse*

Remove any containers created by Synpse

You might have provisioned some applications or jobs. You can check whether you are running any containers by:

docker ps

If you see any containers with names like:

nms_1rJPCkYhFXumvh2K8BFdv8nkdwG-app_239hhe6dBcinvKLbuCS5QzChbdy-6-xxxx

You can remove them by running:

docker rm -f <container name>
PreviousConfigurationNextInstall & Usage

Last updated 3 years ago

Was this helpful?