Upgrade Fails due to File System Permissions
症状
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)
原因
This occurs when the operating system user running Confluence has inadequate write permissions to the Confluence home directory
ソリューション
Ensure that the operating system user running Confluence has full read/write permissions to the Confluence home directory
最終更新日 2018 年 11 月 2 日
Powered by Confluence and Scroll Viewport.