Uninstall ProxMenux
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
The uninstall flow
- Confirmation dialog. Yes/no — “Are you sure you want to uninstall ProxMenux?”
- Dependency removal checklist. Offers jq and dialog. Both boxes are OFF by default; select only dependencies that no other application needs.
- Removal runs with a progress bar. Removes any leftover legacy translation environment, the
menulauncher, the/usr/local/share/proxmenux/tree, the ProxMenux Monitor service if present together with the notification target it registered in Proxmox VE (proxmenux-webhookand its matcher), the dependencies you ticked, and finally restores the system file backups (see below). - 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.
| Installation | Offered for removal |
|---|---|
| Current releases | dialog, jq |
| Legacy installations after updating | dialog, jq |
System-wide packages — think twice
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 checklistWhat gets restored
- If
/root/.bashrc.bakexists → renamed back to/root/.bashrc(your original bashrc returns). - If
/etc/motd.bakexists → 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
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/motdReinstalling 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
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
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
/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
- Show Version Information — see what would be removed before uninstalling.
- Settings overview.