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 gadka2. 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-caddy3. 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 gadkaIf 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
6543for 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.
- Changing servers or hardware if you are moving Gadka to another machine