Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

重启操作系统后,访问confluence出现下面的报错

yong hu March 3, 2020

重新启动操作系统并再次访问confluence后,在下图中遇到了问题

20200302181426.png

2 answers

1 vote
Yilin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 4, 2020

从报错信息看,配置文件应该还在,所以不是文件系统问题。 你可以看看Confluence进程用户是否有足够权限读写这个配置文件。

1 vote
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events