It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

20200302181426.png

2 answers

1 vote
Yilin Atlassian Team Jun 04, 2020

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

0 votes

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
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

5,345 views 4 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you