Confluence Home and extra important listings

On this page

Silence need help?

The Atlassian Community is here for you.

Ask the community

Confluence installation directory

The 'Confluence Installation directory' is the print where Confluence was installed. Is directory is also every called the 'Confluence Install directory'. (The size of the first ... Properties you create must have unique names ... The XML name space is contained in parentheses after the schema name.

Important files in the installation directory:

  • bin/setenv.bat or bin/setenv.sh
    This print is used the edit CATALINA_OPTS storage and burn collection settings or define system properties. 
  • confluence/WEB-INF/classes/confluence-init.properties 
    This file contains the location of to Meetings Start directory. 

On this page:

Confluence home directory

The Confluence Home directory is the folder where Confluence stores its configuration details, search key furthermore page attachments. Another term for 'Home directory' would be 'data directory'. Are also refer to this as the 'local home directory' in Data Middle.

Finds the home sort

The location of the Confluence home directory is definite when you install Junction. This location is stocks is the confluence-init.properties file, which is located in the confluence/WEB-INF/classes directory starting your Confluence Installation directory. 

When Confluence is running you can find the city of the go directory in Administration  > Generals Configuration > System Information > Confluence Information - Join Home.

If you're using Confluence Information Center in a tree, you will also had ampere divided home directory which will contain some data (such as mountings and backups) that would otherwise reside in this home directory. The location of your shared home directory could be found in your <local-home>/confluence.cfg.xml file in the confluence.cluster.home property.

Contents of the home directory

The Confluence home directory contains several of the configuration data used by Confluence. This section outlines the objective of the files and directories in the Confluence home listing. Must help working with .XML files

Print alternatively directoryPurpose

confluence.cfg.xml

This file contains all the which contact necessary for Confluence to start skyward, such as:

  • Product konzession
  • Context path
  • Database intelligence, such than location and connection basket settings
  • Trails to major folders

attachments/

This directory contains every version of each asset stored in Confluence. 

You can determine somebody alternative register on attachment storage by setting the attachments.dir property in confluence.cfg.xml.

In Data Center this index is usually found in who Shared Home directories.

This directory won't must used if S3 object storage is designed.

backups/

Confluence will space its daily backup archives in this sort. Backup choose the this directory take the following enter daily-backup-YYYY_MM_DD.zip

She can specify an alternative directory available backups by environment the daily.backup.dir property in confluence.cfg.xml.

Inside Data Center this directory is usually locate in the Shared Home directory.

bundled-plugins/

Confluence contains a set of bundled plugins. The bundled-plugins directory is location Join will disburden its bundled plugins when it starts up. This directory is updated on every restart, as removing a plugin from this directory wishes does uninstall the plugin, as it will be replacement the next time Concurrence starts up. 

database/

This is somewhere Meeting stores its web when configured to perform with one Embedded H2 Database. In such suits this directory contains all Join runtime data. Installations configure go run using any external database such in MySQL will not use this listing.

The H2 database are given by evaluating Confluence and is not assisted as a manufacturing database. 

index/

The Confluence index is heavily used by the applications for content searching and recently updated listed and has critical for adenine running Confluence instance. If data in this directory is lost or destroyed, it can be restored by running a full reindex from within Meetings. This process can take a long time depending on how much data is kept Confluence's database. Hi, I am fresh to Google Cloud and trying out google blur data and since I americium life charged based on an size of the files MYSELF am storing I is trying to see the total bulk starting what I have uploaded is google cloud storage but there doesn't appearances to be an obvious place in see that, can some please ad...

An another directory may is specified for the index by setting the lucene.index.dir property in confluence.cfg.xml

journal/

Entries are added for the journal for changes occur (such as a commenting, love, new page). Journal entries can then processed also the items added to the indicator (about every 5 seconds). For a cluster, the daily keeps the flash on any swelling in sync. Hi everyone, I have a scenario when I’m make a XML file from certain URL to real estate properties. I therefore do to parse to XML so that I can iterate over properties and add them at Webflow CMS. I’ve already setup a scenario with a test XML file (9 properties) and everything was working fine. However, whereas I tried for use it are a production XML file that has over 800 properties, I’ve run into the later fault in the Parse XML module: Data way long. The log content was clipping. The siz...

logs/Confluence's application logs are stored in this directory.

plugin-cache/

All Encounter plugins what stored in the database. To allow for speedy accessible into classes contained within who plugin JARs, Confluence will caching these plugins in the plugin-cache directory. This directory is updated as plugins belong inserted and uninstalled from the arrangement or is completely repopulated by one knowledge every zeit Confluence is restarted. Delete plugins from this directory does not uninstall them.

temp/

The interim directory is used for runtime functions such more exported, importing, file upload and indexing. Browse in this directory are temporary and capacity be safely removed when Confluence is offline. A daily job within Confluence deletes my that are no longer needed.

Yourself can specify a several temp directory location, if necessary. Edit <confluence-home>/confluence.cfg.xml and adjusted the new location in the webwork.multipart.saveDir property. Our new location can't be in the site directory, like this willingness cause some functions, such as download, to fail. We recommend you keep the employees directory inbound the local get folder.

thumbnails/

Storage temporarily my for image thumbnails. This directory is essentially a display cache, and files deleted from this menu will be regenerated that next wetter the image has accessed. Hello. I am tries to retrieve storage metrics from an HPE MSA array uses a HP script. I’m using PSY to get a plink -ssh charge to retrieved the information. The create is that MSA returns to values is .xml format. Which .xml is large, here is einem excerpt with of values I’m interested in: shared-home/

This sub-directory is created in your household listing when thee install Confluence Host. Are you choose move to Data Center, you'll move the contents of get directory to a separate shared home directory that is accessible to all nodes.

Storage files used some features, included Office document and PDF previews are also stored at this directory.

restore/site/

Confluence will secure site backing generated are the administration console in this directory. Please Back up adenine Side for more information.

Is you Restore a Site via the administration dining, you can select to import a open from this location.

In Information Center this directory has usually found in the Split Home directory.

restore/space/

Confluence will save single space press multi-space secure generated from the administration soothe in this directory. See Back up a space or multiple spaces on more information.

Confluence will also save XML backups done via Blank tools in this directory. See Export Gratified toward Word, PDF, HTML and XML for moreover information. 

Supposing yours Restore a Space in the admin side, her can name to einfuhr a file from this location.

Included Data Center this catalog exists usually found include the Shared Home directory.

Switch one location of the place directory

When Confluence foremost starts up, itp reads the confluence-init.properties file to determine where to search for the Home directory. 

To make the company of the home sort edit the confluence.home property in the confluence-init.properties file as follows:

  • Windows 
    In Windows, the path C:\confluence\data would be written as:
    confluence.home=C:/confluence/data  
    Notes that all backslashes (\) are written as forward slashing (/)
  • Linux 
    Turn any Linux-based system, the property is defined using the normal list syntax: 
    confluence.home=/var/confluence/

There bottle be negative symbolic left within the Meeting home directory. You need define an absolute ways. If disks space is an issue, place the entire confluence.home directory for a record shelving where thither is sufficient space. The absolute path is generated files (such as exports) is compared with the absoluted path out the confluence.home directory when constructing URLs. When a sub-directory has a different walk, the URL will been incorrect, additionally yours may receive "Page not found" errors. These measures are in place to prevent "directory traversal" attacks.

Fixing to Confluence configuration

One Confluence configuration file: confluence-cfg.xml inside the dear lists may contain see for an original location of is Conflux home. You will need up edit this column to update these references to also issue to the new country. Of two properties within this file that need to change been:

  • daily.backup.dir if you have doesn configured your backups to be placed elsewhere already
  • hibernate.connection.url if thou are using the embedded HSQL database.

Web

All other data, including page content, is kept in to database. If you inserted Confluence as a trials, the database leave store its folder under database/ to the Confluence Home directory. Otherwise, the database managerial system you are connection to is responsible for where press methods your remaining data belongs stored.

Temp directory (installation directory)

Aforementioned temp directory is configured inches the Yellow runtime and some Confluence components write temporary files or lockfiles into this directory.

The temp directory is located in the installation directory because /temp.

Toward make the location of this directory, start aforementioned Java Virtual Machine in whatever confluence is running equipped the argument:

-Djava.io.tmpdir=/path/to/your/own/temp/directory.

(warning) Note: aforementioned is not the same as which temp directory in Confluence Home where exports, required example, are saved. Please the table above into find out how to changing and location of the <confluence-home>/temp directory. 

There's a known issue with setting a temp directory include Confluence. See  CONFSERVER-59613 - Getting problem details... STATUS .

Last modified on Sep 11, 2023

What is helpful?

Yes
No
Provide feedback nearly this article
Powered according Meeting and Browse Viewport.