Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to unistall gui-sensors #68

Open
radu-boboc opened this issue Aug 24, 2024 · 3 comments
Open

unable to unistall gui-sensors #68

radu-boboc opened this issue Aug 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@radu-boboc
Copy link

First of all, Thank you very much for these scripts!!

Describe the bug
After a lot of work I managed to make my fan show in sensors and I wanted it displayed in gui so I uninstalled the original senors script:
./pve-mod-gui-sensors.sh uninstall
and then reinstall it with some new options like show averages and display fans and so on.
Not only that it didn't work, but now I can't restore my original files because the for some unkown reason the backup already contains the modified gui.
So now I am in a state that the cpu temps are displayed ( one for each core), the drive temp as well, but not the fans.
This is not a request on how to fix this, it is simply an issue on restoring the original gui.

To Reproduce
Steps to reproduce the behavior:

  1. Go to shell
  2. ./pve-mod-gui-sensors.sh uninstall
  3. Reload page
  4. Observe that the restored gui is actually the current one

Expected behavior
I expect to have the original gui
image
This is the "restored" gui
Sensors output
image

Additional context
updated Virtual Environment 8.2.4

I am guessing that installing all your scripts created multiple backups and the original gui is lost.

Thank you for this scripts!

@radu-boboc radu-boboc added the bug Something isn't working label Aug 24, 2024
@radu-boboc
Copy link
Author

just for clarity I'll paste the install options:
image

and the output ( that doesn't match what I choose above, for example average on cores):
image

@eremem
Copy link
Collaborator

eremem commented Aug 24, 2024

How many backup files for pvemanagerlib.js are there in your /root/backup directory? If there are multiple, going backwards based on the timestamps, does any of them contain the content without the modifications?
In the screenshot from your installation there are no errors shown. At the end one can see where the original files were copied. The installer script can detect if the modifications are already in place and stops, so none of the backup files should contain any customizations. Did you edit the modified files in /usr/share/... after the installation and tried to install the mods again?

@radu-boboc
Copy link
Author

image

I did not edit the files in /usr/share/...
I have several backups, and I will now try to restore the older one.
Thanks for the idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants