Skip to content

Backup path for uninstall cannot be found #140

@Meliox

Description

@Meliox

I have the same problem as the colleague who opened this issue. When I try to install:
`root@pve1:/opt# bash pve-mod-gui-sensors.sh install

Installing the Proxmox VE sensors display mod...

=== Preparing mod installation ===
[info] Root privileges verified.
[error] Mod is already installed. Uninstall existing before installing.`

No backup files are found:
root@pve1:/opt# find / -name "Nodes.pm" /usr/share/perl5/PVE/API2/Nodes.pm root@pve1:/opt# find / -name "pvemanagerlib.js" /usr/share/pve-manager/js/pvemanagerlib.js

and when I uninstall with the script:
`root@pve1:/opt# bash pve-mod-gui-sensors.sh uninstall

Uninstalling the Proxmox VE sensors display mod...
=== Uninstalling Mod ===
[info] Root privileges verified.
[info] Using default backup directory: /root/PVE-MODS
[info] Restoring modified files...
[warning] No Nodes.pm backup files found.
[warning] No pvemanagerlib.js backup files found.

Clear the browser cache to ensure all changes are visualized. (any key to continue):`

Originally posted by @devdecrux in #114

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions