error log:
Exception during health check invocation com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantedLuceneConnection' defined in class path resource [indexingSubsystemContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bonnie.LuceneConnection]: Constructor threw exception; nested exception is com.atlassian.bonnie.LuceneException: java.io.FileNotFoundException: /var/atlassian/application-data/confluence/index/segments_6c (Permission denied)
I don't know what to do
Note the "Permission denied" in the error message. This almost certainly means the index files or directories have the wrong permissions on them, and the user running Confluence does not have the read/write/execute/delete access it requires
This usually happens when someone (re)starts Confluence as the wrong user (usually root), and that user takes ownership of any files it writes to, which then locks the correct user out of them. When the correct user is used to start Confluence next time, it can't access the files it needs.
Check the ownership and permissions of the files in the home and install directories first. If you do have this case, you then need to stop Confluence, change ownership or permissions of the files, restart Confluence and then visit Admin -> Indexing and run a full re-index
Note that although I've said to look at ownership and permissions, in 99.9999% of cases, it is just ownership - root or your user will have taken ownership of *some* of the files, and the command chown -R confluence:confluence run against confluence-home and confluence-install will fix it without needing to touch the rwx flags (assumes you have a user called "confluence" for running Confluence!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.