Xtrean UI’den XUI.ONE’a geçiş yaptıysanız, Xtream UI’ye ait kullanılmayan dosyaları sunucudan silmek için SSH üzerinden aşağıdaki komutları sırayla çalıştırınız:
sudo systemctl stop mysql.service
sudo apt purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-* -y
sudo rm -rf /etc/mysql /var/lib/mysql /var/log/mysql 2>/dev/null
sudo apt autoremove -y
sudo apt autoclean -y
sudo pkill -u xtreamcodes 2>/dev/null
sudo kill $(ps aux | grep '[p]hp' | awk '{print $2}') 2>/dev/null
sudo kill $(ps aux | grep '[n]ginx' | awk '{print $2}') 2>/dev/null
sudo chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb 2>/dev/null
sudo rm -rf /home/xtreamcodes/iptv_xtream_codes/tmp/* 2>/dev/null
sudo rm -rf /home/xtreamcodes/iptv_xtream_codes/streams/* 2>/dev/null
sudo umount -f /home/xtreamcodes/iptv_xtream_codes/streams 2>/dev/null
sudo umount -f /home/xtreamcodes/iptv_xtream_codes/tmp 2>/dev/null
sudo sed -i '/xtreamcodes/d' /etc/fstab
sudo sed -i '/xtreamcodes/d' /etc/crontab
sudo sed -i '/xtreamcodes/d' /etc/sudoers
sudo deluser xtreamcodes 2>/dev/null
sudo groupdel xtreamcodes 2>/dev/null
sudo chown root:root -R /home/xtreamcodes 2>/dev/null
sudo chmod -R 0644 /home/xtreamcodes 2>/dev/null
sudo rm /var/lib/dpkg/lock-frontend /var/cache/apt/archives/lock /var/lib/dpkg/lock 2>/dev/null
sudo apt-get remove libcurl3 -y 2>/dev/null