Documentation contents

Uninstalling the server

You can remove just the services and executables. Removing the configuration, keys and data is a separate step.

The installer has no uninstall mode. To remove the server, delete the services and files the installer created.

Sign in with root privileges. If you want to keep your data, back it up first.

1. Stop and disable the services

sudo systemctl disable --now gadka-proxy gadka

2. Remove the services and executables

sudo rm /etc/systemd/system/gadka.service /etc/systemd/system/gadka-proxy.service
sudo rm -r /etc/systemd/system/gadka.service.d
sudo systemctl daemon-reload
sudo rm /usr/local/bin/gadka /usr/local/bin/gadka-caddy

3. Remove the configuration and data

Skip this step if you want to keep your data.

sudo rm -r /etc/gadka /var/lib/gadka
sudo userdel gadka

If you used PostgreSQL or MySQL, delete the database using the database server’s tools. If you enabled file storage, empty the S3 bucket as well.

4. Close the port and remove the DNS record if unused

  • Close port 6543 for TCP and UDP in the firewall.
  • Remove the DNS record if you will no longer use the domain.

Desktop apps

Uninstall the app separately on each computer. Follow the instructions for macOS, Linux or Windows.