Skip to content

Uninstallation

Koushik Dutta edited this page Oct 18, 2022 · 12 revisions

Docker

Stop the container.

docker ps
# the previous command will print the container ids for Scrypted and Watchtower (if in use).
# replace scrypted-id and watchtower-id below with those values.
docker kill scrypted-id watchtower-id

Docker Compose

Stop the compose services.

cd ~/.scrypted
docker compose down

Local Installation

Linux

sudo systemctl stop scrypted.service
sudo rm /etc/systemd/system/scrypted.service

Mac

Unload and delete the LaunchAgent and restart your computer:

launchctl unload ~/Library/LaunchAgents/app.scrypted.server.plist 
rm ~/Library/LaunchAgents/app.scrypted.server.plist

Windows

Run node in Terminal and paste/run the following:

var Service = require('node-windows').Service;

var svc = new Service({
  name: 'Scrypted',
  description: 'Scrypted Home Automation',
  script: process.env.HOME + '\\service.js',
  env: [
    {
      name: "USERPROFILE",
      value: process.env.HOME
    },
  ]
});

svc.uninstall();

Delete Local Files

After Scrypted is stopped, the local files can be found and removed:

sudo rm -rf ~/.scrypted