Unable to Complete Installation Due to File Permissions

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Installing Confluence fails with an error similar to following which appears in the atlassian-confluence.log file.

2007-09-20 14:18:36,975 ERROR [http-80-Processor23] [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action
 -- url: /confluence/setup/dosetuplicense.action | userName: anonymous
com.atlassian.config.ConfigurationException: Couldn't save confluence.cfg.xml to /var/lib/confluence directory.
...
Caused by: java.io.IOException: Permission denied
	at java.io.File.createNewFile(File.java:876)

Cause

This occurs when the operating system user running Confluence has inadequate write permissions to the Confluence home directory (in this example '/var/lib/confluence')

Resolution

Ensure that the operating system user running Confluence has full read/write permissions to the Confluence home directory

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.