cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Permissions Errors

ivallejo
Champ in-the-making
Champ in-the-making
I have a dashlet on an alfresco site which is suddenly giving the following error:

08220003 Wrapped Exception (with status template): 08220062 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/images.get.js': 08220061 Failed to execute search: +PATH:"/app:company_home/st:sites/cm:information-technology/cm:documentLibrary/cm:IT_x0020_Image_x0020_Folder//*" +TYPE:"cm:content" +@cm\:content.mimetype:image/*

The only file I had changed prior to this was  /opt/alfresco-4.2.f/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/public-services-security-context.xml which I have since restored from a backup.

The problem still exists, so the next thing I tried was rebuilding the SOLR index using these steps:

Stop Tomcat that runs Solr web application
Remove all contents under alf_data/solr/archive/SpaceStore/ including index and SpellChecker directories.
Remove all contents under alf_data/solr/workspace/SpaceStore/ including index and SpellChecker directories.
Remove cached content model info of archive core at alf_data/solr/archive-SpacesStore/alfrescoModels/*
Remove cached content model info of workspace core at alf_data/solr/workspace-SpacesStore/alfrescoModels/*
Restart Tomcat that runs Solr web application

I still have the error, but I do not know how to troubleshoot it.  Can I get any help or suggestions please?  Thanks in advance.
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
What are the changes you have done in "public-services-security-context.xml"?
Are you able to execute search properly? To verify that try out of box search if it is not working that means there is issue with your indices.

sanket
Champ on-the-rise
Champ on-the-rise
I had a look at your attached image (2014-09-22 12_41_39-Alfresco » Site Dashboard.png).
Your query is :
+PATH:"/app:company_home/st:sites/cm:information-technology/cm:documentLibrary/cm:IT_x0020_Image_x0020_Folder//*" +TYPE:"cm:content" +@cm\:content.mimetype:image/*

Shouldn't it be something like this (with AND / OR):
+PATH:"/app:company_home/st:sites/cm:information-technology/cm:documentLibrary/cm:IT_x0020_Image_x0020_Folder//*" AND TYPE:"cm:content" AND @cm\:content.mimetype:image/*