Submitted by craigh on Tue, 03/12/2019 - 03:35 Pro Licensee
Users sometimes install a script (e.g., Wordpress) through Virtualmin, then don't use it but use the database it created for something else. However, the files still sit there waiting to be hacked unless they are needlessly upgraded when updates are released.
If I "uninstall" the script the database they're still using will be removed, so I can't do that.
How can I remove the entry in the list of scripts installed when I delete the script's files?
Craig
Status:
Closed (fixed)
Comments
Submitted by andreychek on Tue, 03/12/2019 - 09:16 Comment #1
Howdy -- thanks for contacting us!
There isn't a way to do that from within the GUI, but it's no problem to remove the Virtualmin config file for it.
Those can be found under "/etc/webmin/virtual-server/scriptlog/". The list of directories there refer to each account's ID... and then within each account would be all the Install Scripts associated with that account.
If you remove one of the script configs, I'd recommend restarting Webmin afterwards (with "service webmin restart").
Submitted by craigh on Sun, 03/17/2019 - 15:07 Pro Licensee Comment #2
Thank Eric, but I have no "scriptlog" directory in /etc/webmin/virtual-server.
Submitted by JamieCameron on Sun, 03/17/2019 - 20:28 Comment #3
That's surprising ... I assume that
/etc/webmin/virtual-server
exists?Submitted by craigh on Mon, 03/18/2019 - 06:44 Pro Licensee Comment #4
Yes it does.
Submitted by JamieCameron on Mon, 03/18/2019 - 20:58 Comment #5
Oops, I forgot that on some systems the path is
/var/webmin/modules/virtual-server/scriptlog
Submitted by craigh on Mon, 04/08/2019 - 03:37 Pro Licensee Comment #6
Thanks. That has removed the entries from System Settings -> Script Installers -> Script Summery, so I assume that's done the trick.
Craig
Submitted by JamieCameron on Mon, 04/08/2019 - 23:39 Comment #7
Yes, that's all that is needed.
Submitted by IssueBot on Mon, 04/22/2019 - 23:42 Comment #8
Automatically closed - issue fixed for 2 weeks with no activity.