cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene Index Backup Issue?

kurt2439
Champ in-the-making
Champ in-the-making
Is this something I should be very worried about?

03:00:00,306  ERROR [quartz.core.ErrorLogger] Job (DEFAULT.indexBackupJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: Failed to copy Lucene in
dex root:
   Index root: /opt/services/mandaladesigns/alf_data/lucene-indexes
   Target: /opt/services/mandaladesigns/alf_data/backup-lucene-indexes]


Anyone seen this or know why it happens? It apparently happens when starting the tomcat server


Later on in the error output it says:

Caused by: java.io.IOException: Unable to delete file: /opt/services/mandaladesigns/alfresco.psu.mandaladesigns.com/alf_data/backup-lucene-indexes/workspace/
version2Store/cf30740e-44f8-437c-ad32-e04048928f05/_0.cfs
2 REPLIES 2

kurt2439
Champ in-the-making
Champ in-the-making
I'm curious if this is related:

Failure
Wrapped Exception (with status template): Failed to execute script '/org/alfresco/slingshot/wiki/page.put.json.js (in classpath store file:/opt/services/mandaladesigns/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': Failed to create directory for file storage: /opt/services/mandaladesigns/alf_data/contentstore/2009/5/6/18/20

It was an error a user had yesterday when trying to save a wiki page, although I edited and saved without any issues this morning

kurt2439
Champ in-the-making
Champ in-the-making
For some reason the backup-lucene-index folder is owned by root instead of alfresco (which tomcat runs as). I'm sure this is the problem. Also, the directory that the wiki page was trying to save to is also owned by root – even though all other content store directories are owned by alfresco, including todays.

I have never run this application as root. Any ideas how that could happen? Is it safe to just fix the permissions manually?