Skip to main content

Uninstalling

This guide will show you how to uninstall the Pelican Panel and Wings. Note that the uninstallation of dependency services is not covered here.

danger

You will lose all data and this action is irreversible!

Panel

Panel files

First, run the following command to delete all panel files.

sudo rm -rf /var/www/pelican

Webserver config

Next, remove the Pelican webserver config.

sudo rm /etc/nginx/sites-enabled/pelican.conf
sudo rm /etc/nginx/sites-available/pelican.conf

systemctl restart nginx

Queue worker service

Finally, remove the queue worker service.

systemctl stop pelican-queue
sudo rm /etc/systemd/system/pelican-queue.service

(Optional) Panel database

If you used MySQL/ MariaDB and also want to remove the panel database, run the following commands:

mysql -u root -p

DROP DATABASE panel;
DROP USER 'pelican'@'127.0.0.1';

Wings

Wings service

To uninstall Wings you just have to remove the wings service, delete the wings binary and delete the wings config file.

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

sudo rm /usr/local/bin/wings
sudo rm -rf /etc/pelican

(Optional) Server data & backups

If you also want to remove all server files and backups run the following command:

sudo rm -rf /var/lib/pelican