Upgrade Fails due to File System Permissions
Symptoms
Upgrading Confluence fails and an error similar to the following is found in the atlassian-confluence.log file.
SEVERE: Error initializing endpoint
java.net.BindException: Permission denied:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:298)
...
2008-01-14 18:15:32,087 ERROR [main] [com.atlassian.upgrade.AbstractUpgradeManager] doUpgrade Upgrade failed: Couldn't save confluence.cfg.xml to /apps/confluence-home directory.
com.atlassian.config.ConfigurationException: Couldn't save confluence.cfg.xml to /apps/confluence-home directory.
at com.atlassian.config.xml.AbstractDom4jXmlConfigurationPersister.saveDocument(AbstractDom4jXmlConfigurationPersis
...
Caused by: java.io.FileNotFoundException: /apps/confluence-home/confluence.cfg.xml (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at com.atlassian.core.util.Dom4jUtil.saveDocumentTo(Dom4jUtil.java:27)
Cause
This occurs when the operating system user running Confluence has inadequate write permissions to the Confluence home directory
Resolution
Ensure that the operating system user running Confluence has full read/write permissions to the Confluence home directory
Last modified on Nov 2, 2018
Powered by Confluence and Scroll Viewport.