
# Could not reset lucene directory

> The "Could not reset lucene directory" error is caused by O/S account permissions on the Cascade CMS installation folder. Here is how to correct them.

URL: https://www.hannonhill.com/cascadecms/latest/articles/cascade-administration/search/could-not-reset-lucene-directory.html
category: Cascade Administration
article-type: reference
content-kind: faq
release-availability: all
tags: errors, search
updated: 2026-10-06

This particular error message generally appears in the log files as:

`ERROR [SearchServiceImpl] Could not reset lucene directory, assets will not be added to search index: java.io.IOException: Cannot delete /path/to/Cascade CMS/tomcat/indexes/xxxxx`

The underlying problem is typically caused by the O/S account permissions not being set properly on the Cascade CMS installation folder. To correct this issue, the *O/S account used to start Cascade CMS* should be given full privileges (ability to modify, create, delete files) to the Cascade CMS directory along with all of its sub-directories.
