How fix this problem?
There are two things I've seen cause this
First, your index is badly damaged. If you move the index files out of the cache, you may be able to restart Confluence and rebuild the index.
However, the far more likely culprit is that you are using the h2 dev/test database and that has failed. To recover from that, you are going to need to find a backup and restore it.
How rebuild index in H2?
and where index files of cache
Ah, ok, there's a slight misunderstanding here.
Confluence keeps its data in a database, although it only uses it as a data store. Ideally you use one of the four supported databases, but if you want a dev/test/demo Confluence that you don't mind rebuilding or throwing away, you can run the installer and tell it to use the "embedded database".
The index is a copy of the database on the file system, re-ordered and optimised (mostly) for searching.
These are separate things.
The index is kept in <confluence home>/index (note - do not delete the files in here, but stop Confluence, move them all somewhere safe, make sure the index directory is still there, with the same permissions, then restart)
To rebuild an index, go to Admin -> Indexing and click the button.
But if it's the h2 database (which is known to catastrophically fail without warning), you won't be able to get in at all, and you'll need a backup.
It looks like you're new here. Sign in or register to get started.