Page tree
Skip to end of metadata
Go to start of metadata

The magnolia.home property defines the home directory of a Magnolia instance. The property is configured in WEB-INF/config/default/magnolia.properties and has the default value ${magnolia.app.rootdir}. The value corresponds to the root of the webapp’s deployment directory such as /<CATALINA_HOME>/webapps/magnoliaAuthor/.

The magnolia.home property is referenced by other properties which define the locations of the repository, cache, log and temporary files. By changing magnolia.home you can move such items outside the Web application’s own folder. If you change magnolia.home, do it before you start Magnolia for the first time. If the repository has already been created in the default location you need to move the folder to the new location. Note that Magnolia substitutes variables in property values after it has loaded all configuration files.