从报错信息看,配置文件应该还在,所以不是文件系统问题。 你可以看看Confluence进程用户是否有足够权限读写这个配置文件。
Hello @yong hu,
Just following-up from your last question! This is generally a permissions issue.
Have a look at Unable to start Confluence. Error is "Unable to bootstrap application: Could not make directory/ies: <home-directory>". Although the error isn't exactly the same, the cause can be the same:
This issue occurs when the user that is starting Confluence does not have full read/write permission to the Confluence Home and other important directories directory.
The workaround is as follows:
Ensure that the user that is starting Confluence has full read/write permission to the Confluence Home and other important directories directory, including permission to create and delete subfolders.
Even if the permissions look correct, sometimes there can be a few errant files that have the wrong permissions, so it's a good idea to reset the permissions and force them to be reapplied to the Home directory and all subfolders and files.
Example
If your installation is on Linux, and your user that is starting Confluence is called 'confluence' (if not, replace it with the one that is.)
Ensure Confluence is stopped before you make these changes.
sudo chown -R confluence.confluence /var/atlassian/application-data/confluence/ sudo chown -R confluence.confluence /opt/atlassian/confluence/ sudo chmod -R u=rwx,g=rx,o=rx /var/atlassian/application-data/confluence/ sudo chmod -R u=rwx,g=rx,o=rx /opt/atlassian/confluence/
After doing the above, go to /opt/atlassian/confluence/bin and run the following command:
./start-confluence.sh
Let me know if that helps, or if you have any questions about this.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.