Can you modify installed script location?

5 posts / 0 new
Last post
#1 Sun, 08/21/2011 - 18:24

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!


Sun, 08/21/2011 - 19:11

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.


Mon, 08/22/2011 - 06:21 (Reply to #2)

Worked perfectly, thanks!

Thu, 12/28/2017 - 17:11

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.

Wed, 04/11/2018 - 04:34

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

Topic locked