Product: Confluence
Environment
| Operating System | |
|---|---|
| Affect Version/s | 2.5.5 |
| JVM | |
| Database | |
| Application Server | Tomcat 5.5.x |
Error Message
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)
Symptom
Unable to complete the installation because I get this system error after entering the license key.
Diagnostics/Test
Root Cause
Permission problem. User permissions weren't set correctly on /var/lib/confluence which was generating the above error. User's browser, which is an anonymous user, didn't have write permissions to create the confluence.cfg.xml file within /var/lib/confluence.
Solution
Edit Permission setting.
