Can you modify installed script location?

I don’t know where Virtualmin stores its configuration information (config file, database?); but I would like to modify the path of an installed script. One of our sites installed Wordpress to /wordpress instead of the root of the site. The Wordpress installation has been moved and all the wordpress SQL entries adjusted appropriately. However I can’t get Virtualmin to see that it is still installed. It is showing as “Manually Deleted” but it still thinks the path is /wordpress.

Any place I can manually edit the “Install Path” of a particular script of a certain site? I tried to follow the orginal cgi scripts that installed it and list it and can’t tell what it is talking to.

Thanks for any help!

Kurt

Hi Kurt,

Yeah, the Install Scripts don’t expect the script to move… but, you can update that by manually updating the config file in “/etc/webmin/virtual-server/scriptlog/DOMAIN_ID/SCRIPT_ID”.

In the file “SCRIPT_ID”, you’ll see an “opts_path” dir that points to “/wordpress”. If you’ve already changed WordPress to use “/” as it’s path, you can change “opts_path” to “/” in order to match that.

-Eric

Worked perfectly, thanks!

Can someone update the info? There is no “/etc/webmin/virtual-server/scriptlog/DOMAIN_ID/SCRIPT_ID”, only “”/etc/webmin/virtual-server/" and inside no “scriptlog” directory. I searched and couldn’t find anything similar.

debian9 path found at : /var/webmin/modules/virtual-server/scriptlog/DOMAIN_ID/SCRIPT_ID