The Installation Directory

Important Files and Directories

  • confluence/WEB-INF/classes/confluence-init.properties : This file tells Confluence where to find the Confluence Home Directory. This file is modified by the administrator when installing Confluence.
  • confluence/WEB-INF/classes/osuser.xml : This file is modified when connecting Confluence to an external user management system such as an LDAP server or JIRA instance in Confluence 2.0 and earlier. For more information, refer to Understanding User Management in Confluence.
  • confluence/WEB-INF/classes/atlassian-user.xml : This file is modified when connecting Confluence to an external user management system such as an LDAP server or Crowd. For more information, refer to Understanding User Management in Confluence.
  • confluence/WEB-INF/lib/ : This directory is used when deploying plugins, especially those plugins that cannot automatically be loaded through the Administration Console.
  • confluence/WEB-INF/classes/log4j.properties : Confluence's logging configuration file. See Working with Confluence Logs.
  • confluence/WEB-INF/classes/ehcache.xml : This is where you can configure the size of Confluence's internal caches
  • confluence/WEB-INF/classes/styles/site-css.vm : Confluence's main stylesheet, modify at your own risk
  • conf/server.xml : SSL configuration.

Memory Settings
The file used to edit JAVA_OPTS memory settings will depend on the method used to install Confluence, as well as the operating system used for your installation.

  • Windows Users
    • Confluencebin/setenv.bat
    • Confluence Installerwrapperwin32.conf
  • Mac/Linux Users
    • Confluencebin/setenv.sh
    • Confluence Installerwrapperosx.conf

The Temp Directory

The temp directory is configured in the Java runtime and some Confluence components write temporary files or lockfiles into this directory.

Typically, this directory is /tmp on Linux systems, or C:\Temp on Windows.

To change the location of this directory, you should start the Java Virtual Machine in which confluence is running with the argument:

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

The Confluence Home Directory

Administrators can expect the Confluence Home Directory to grow quite large in a busy site.

The location of this directory is configured by the system administrator during installation (see confluence-init.properties above).

Important Files and Directories

Database

All other data — page contents, links, archived mail and so on — is kept in the database. If you have configured Confluence to use the embedded HSQL database, the database will store its files under database/ in the Confluence Home Directory. Otherwise, the database management system you are connecting to is responsible for where and how your remaining data is stored.

All of Confluence's persistent data is stored either in the Confluence Home Directory, or the database. If you have backup copies of both of these, taken at the same time, you will be able to restore Confluence from them (see Restoring Data from other Backups).

RELATED TOPICS

Confluence Home Directory
Confluence Installation Directory
The Embedded HSQLDB Database
Database Configuration