Hi, On 8 Dec 2015 at 17:51:05, britincanada ([email protected](mailto:[email protected])) wrote:
> Hi, > > I am trying to get to grips with xWiki. I have installed the windows version > and would like to change the directory location of the database & support > files. > > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration - this > page tells me that I can change the location used in > environment.permanentDirectory. > > I have tried changing this to > > environment.permanentDirectory=C:/xwikiFiles/ > > and also > > environment.permanentDirectory=C:\xwikiFiles\ > > Neither have any affect; the %APPDATA% folder keeps getting used. > > I see in the properties file that "Note if the system property > xwiki.data.dir is set then this property is not used.” Yes that’s the important point in your case :) > How can i check if xwiki.data.dir is set? or what do i change so i can > change the data location of an install? It seems you’ve installed the jetty/hsqldb distribution (either as a zip or using the windows EXE installer). In this distribution XWiki is started using start_xwiki.bat. If you edit this file you’ll see that it sets the data dir as a system property. You could for example comment that line so that the value you define in xwiki.properties takes effect. Hope it helps, Thanks -Vincent PS: If this is for production I recommend using the WAR distribution and setting up your own DB. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUsing.warpackage28usableforproduction29 > Thanks in advance _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
