On several occassions now I have attempted to migrate a site from one environment to another (e.g. development to staging) only to find the razor files throw errors due to Lucene indexes not being found. I have seen many posts on this issue but none of the suggested solutions work.
I've tried:
1. Ensure proper file permissions are in place
2. Recycle the app pool
3. Republish the entire site
4. Republish one node
5. Delete the umbraco.config file
All of these steps have not fixed the issue. What is needed to fix this issue? Why is there a hard dependency on files in the TEMP directory that do not automatically get regenerated? Should these files be stored in a non-temp folder? Why is this such a common and long standing issue?
In the end I solved this by deleting everything inside the app_data/TEMP folder and them republishing the entire site(in the content section, right click the top level content folder, and republish entire site). After this my razor views started to work again.
Lucene Index Issues
Hello:
On several occassions now I have attempted to migrate a site from one environment to another (e.g. development to staging) only to find the razor files throw errors due to Lucene indexes not being found. I have seen many posts on this issue but none of the suggested solutions work.
I've tried:
1. Ensure proper file permissions are in place
2. Recycle the app pool
3. Republish the entire site
4. Republish one node
5. Delete the umbraco.config file
All of these steps have not fixed the issue. What is needed to fix this issue? Why is there a hard dependency on files in the TEMP directory that do not automatically get regenerated? Should these files be stored in a non-temp folder? Why is this such a common and long standing issue?
In the end I solved this by deleting everything inside the app_data/TEMP folder and them republishing the entire site(in the content section, right click the top level content folder, and republish entire site). After this my razor views started to work again.
is working on a reply...