Skip to content

Uninstall

Before uninstalling, save:

  • /opt/pier/data/pier.db — the SQLite database.
  • /opt/pier/.env — the encryption key (PIER_SECRET). Without it, the database cannot be decrypted.
  • /opt/pier/data/backups/ — any automated backups.
Terminal window
sudo systemctl stop pier
sudo systemctl disable pier
sudo rm /etc/systemd/system/pier.service
sudo rm -rf /opt/pier
sudo systemctl daemon-reload

Pier does not remove the Docker containers it created. If you want to wipe everything:

Terminal window
docker ps -a --filter "label=pier.service" --format "{{.Names}}" | xargs -r docker rm -f
docker volume ls --filter "label=pier.service" --format "{{.Name}}" | xargs -r docker volume rm
docker network rm pier-net