How to "clean up"
how to delete all privatix network services from your computer
We are very appreciate for everyone who have tried the previous versions of our software. But, during many development cycles bug's revealed and fixed.
Therefore, the software may "leave" some unnecessary components that may interfere the newer versions.
This guide is aimed to explain how to uninstall and delete all Privatix Network components from your computer.

Windows

To clean local storage:

Open devtools (Electron menu -> View -> Toggle Developer Tools) and execute this code in the electron's console:
1
window.localStorage.setItem('localSettings', JSON.stringify({accountCreated:false,firstStart:true,lang:"en"}))
Copied!

To clean services :

    1.
    Open Add/remove programs, search for "Privatix network" and uninstall it.
    2.
    Open powershell (run as administrator).
    3.
    Execute this code in powershell:
1
Get-Service | ? {$_.name -match "privatix" -and $_.name -notmatch "PrivatixService"} | Stop-Service -PassThru -ErrorAction SilentlyContinue | % {sc.exe delete $_.name}
Copied!

Mac

Uninstall the current Privatix software by calling uninstall.app (Default location: /Applications/Privatix/uninstall.app)
Remove the remaining services (if they are present):
List of remaining Privatix services:
1
launchctl list | grep -i privatix
2
sudo launchctl list | grep -i privatix
3
ls ~/Library/LaunchAgents | grep -i privatix
4
ls /Library/LaunchDaemons | grep -i privatix
Copied!
If the list is not empty, then remove the remaining services:
Be careful, execute commands below only if you understand what you are doing.
1
launchctl remove <name>
2
sudo launchctl remove <name>
3
rm -rf ~/Library/LaunchAgents/<name>
4
rm -rf /Library/LaunchDaemons/<name>
Copied!

Ubuntu

GUI

    1.
    Uninstall the current Privatix software by calling uninstall (Default location: /opt/Privatix/uninstall)
    2.
    Remove the remaining services (if they are present):
1
systemctl disable [email protected]
2
systemctl disable [email protected]
3
systemctl disable [email protected]
4
systemctl disable [email protected]
5
6
machinectl terminate agent
7
machinectl terminate client
8
9
machinectl disable agent
10
machinectl disable client
11
12
rm /lib/systemd/system/[email protected]
13
rm /lib/systemd/system/[email protected]
14
rm /lib/systemd/system/[email protected]
15
rm /lib/systemd/system/[email protected]
16
17
rm -rf /opt/Privatix/
Copied!

CLI

    1.
    Uninstall the current Privatix software by calling the remove script (Default location: /opt/privatix_installer/remove.sh)
    2.
    Remove the remaining services (if they are present):
1
systemctl disable [email protected]
2
systemctl disable [email protected]
3
systemctl disable [email protected]
4
5
machinectl terminate agent
6
machinectl disable agent
7
8
rm /lib/systemd/system/[email protected]
9
rm /lib/systemd/system/[email protected]
10
rm /lib/systemd/system/[email protected]
11
12
rm -rf /var/lib/container/agent/
Copied!
Last modified 2yr ago