Uninstall ProxMenux

Settings~3 minView script

Removes ProxMenux from the Proxmox host with an interactive flow: confirmation, optional dependency removal, ProxMenux Monitor service cleanup, restoration of /root/.bashrc and /etc/motd backups. Shows a progress bar throughout.

Affects the ProxMenux install only — not your VMs / CTs / storage

Uninstalling ProxMenux removes the ProxMenux scripts, the menu launcher, the Monitor service and restores the /root/.bashrc and /etc/motd backups that Post-Install took, if they exist. It does not touch your VMs, containers, storage, network configuration, Fail2Ban, NVIDIA driver or anything else you installed via ProxMenux. Those stay as they are.

The uninstall flow

  1. Confirmation dialog. Yes/no — “Are you sure you want to uninstall ProxMenux?”
  2. Dependency removal checklist. Offers jq and dialog. Both boxes are OFF by default; select only dependencies that no other application needs.
  3. Removal runs with a progress bar. Removes any leftover legacy translation environment, the menu launcher, the /usr/local/share/proxmenux/ tree, the ProxMenux Monitor service if present together with the notification target it registered in Proxmox VE (proxmenux-webhook and its matcher), the dependencies you ticked, and finally restores the system file backups (see below).
  4. Completion dialog. Lists removed dependencies and exits.

Dependency removal: what's offered

The checklist offers jq and dialog. Neither box is checked by default: other applications may use these system-wide packages, so keeping them is safer.

InstallationOffered for removal
Current releasesdialog, jq
Legacy installations after updatingdialog, jq

System-wide packages — think twice

The current checklist offers jq and dialog, not python3. These are system packages that other tools may need. Removal can also remove dependent packages or unused dependencies. Keep required packages and review any proposed removal before running apt manually.

What gets removed

/usr/local/bin/menu                                  # the launcher
/usr/local/share/proxmenux/                          # everything: scripts, config, cache, version
/opt/googletrans-env/                                # leftover legacy translation environment
/etc/systemd/system/proxmenux-monitor.service        # Monitor service unit
/root/.config/proxmenux-monitor/                     # Monitor config dir
                                                     # + dependencies you ticked in the checklist

What gets restored

  • If /root/.bashrc.bak exists → renamed back to /root/.bashrc (your original bashrc returns).
  • If /etc/motd.bak exists → renamed back to /etc/motd. Otherwise the ProxMenux line (“This system is optimised by: ProxMenux”) is stripped from the existing motd with sed.

Other ProxMenux-installed components stay

Anything ProxMenux installed via other menus — Fail2Ban, Lynis, NVIDIA drivers, post-install tweaks — is not touched by this uninstaller. Each has its own uninstall flow inside its respective menu (or you can remove with apt directly). Look at Show Version Information first to see what's registered.

Manual uninstall

If for some reason the menu uninstaller can't run (e.g. dialog already missing), the equivalent manual sequence:

# 1. Stop and remove the Monitor service (if installed)
systemctl stop proxmenux-monitor.service 2>/dev/null
systemctl disable proxmenux-monitor.service 2>/dev/null
rm -f /etc/systemd/system/proxmenux-monitor.service
rm -rf /root/.config/proxmenux-monitor
systemctl daemon-reload
systemctl reset-failed 2>/dev/null

# 2. Remove a leftover legacy translation environment
rm -rf /opt/googletrans-env

# 3. Remove ProxMenux files
rm -f /usr/local/bin/menu
rm -rf /usr/local/share/proxmenux

# 4. Restore backups
[ -f /root/.bashrc.bak ] && mv /root/.bashrc.bak /root/.bashrc
[ -f /etc/motd.bak ] && mv /etc/motd.bak /etc/motd \
    || sed -i '/This system is optimised by: ProxMenux/d' /etc/motd

Reinstalling later

Run the official ProxMenux installer again. Current releases use one installation path with all eight interface languages included.

Troubleshooting

Uninstall stalls while removing a legacy translation environment

Current releases remove a leftover environment with rm -rf /opt/googletrans-env; they do not run pip uninstall. If this step stalls, inspect it from another shell and check the host filesystem before retrying.

apt warns about packages still in use during dependency removal

Selected packages are marked automatic and passed to apt-get -y --purge autoremove. This does not guarantee that dependent services are protected. Leave dependencies unchecked if other tools need them; review apt’s proposed removals before any manual cleanup.

MOTD still shows the ProxMenux line after uninstall

Either no /etc/motd.bak existed and the sed strip didn't match (e.g. the line was modified). Edit /etc/motd by hand and remove any leftover ProxMenux line.

Related