-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get REST in json for audit trail Error #22
Comments
Hi, I'm afraid it's a matter of permits on the file system. I'm pretty sure this is the problem. Please let me know how the test goes. |
Hello Francesco, I've run the command without "sudo" and i see in log file a error releated to directory /tmp/Alflytics/Alfresco... Although I have given the permissions to these folders the problem still prevails. besides these folders there are others that I should give all the permissions? I'll share the log file for better compression. Thank you. |
Hi Francesco, I've been debugging the problem during the week and noticed a possible incompatibility between alfresco-search-services and Alflytics in some REST requests. see the following logs: On the data-integration side: ` ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : Row nr 1 causing abort : [{"query":{"query": "(((TYPE:"cm:content") OR (TYPE:"cm:folder")) AND NOT (TYPE:"cm:systemfolder") AND (@cm:modified:["2001-01-01T00:00:00.000Z" TO MAX]))","language":"afts"},"paging":{"maxItems":1,"skipCount":1000000000}}], [http://172.31.4.121:8080/alfresco/api/-default-/public/search/versions/1/search], [POST], [{"error":{"errorKey":"framework.exception.ApiDefault","statusCode":500,"briefSummary":"04060031 ","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com","logId":"9778be88-2c9f-455b-ae18-01dc787e817a"}}], [500] On the Alfresco side
Note that for some reason alfresco-search-services shutdown after that. Im using |
Hi @fcorti ,
At first i would like to congratulate you for the project, it has been very useful.
Recently i've sucessfully install the Alflytics into production enviroment for tests reason, but i have problems while execute the job get+all using the follow script on PDI kitchen:
sudo sh /opt/PENTAHO/data-integration/kitchen.sh -rep=Alflytics_TESTE -user=admin -pass=****-job=Get+all -dir=/public/Alflytics/ETL -logfile=/home/alfrescoadm/alflytics.log -level=Basic -param:alflytics.dbType=mysql -param:alflytics.getData.alfresco.entity.audits=true-param:alflytics.getData.alfresco.entity.processes=true -param:alflytics.getData.alfresco.entity.processes.getItems=true -param:alflytics.getData.alfresco.entity.repository=true -param:alflytics.getData.alfresco.entity.repository.removeDeleted=true -param:alflytics.pentaho.protocol=http -param:alflytics.pentaho.host=****-param:alflytics.pentaho.port=8080 -param:alflytics.pentaho.login=****-param:alflytics.pentaho.password=****
I will share with you some error that I found in the log file jsut bellow:
Unexpected error occurred while launching entry [hasMoreItems?.0]
2019/04/26 15:39:49 - Get REST in json for audit trail -
2019/04/26 15:39:49 - Get REST in json for audit trail - Unexpected error occurred while launching entry [Set targetFile.0]
2019/04/26 15:39:49 - Get REST in json for audit trail -
2019/04/26 15:39:49 - Get REST in json for audit trail - Unexpected error occurred while launching entry [Get REST in json for audit trail.0]
2019/04/26 15:39:49 - Get REST in json for audit trail -
2019/04/26 15:39:49 - Get REST in json for audit trail - Unexpected error occurred while launching entry [hasMoreItems?.0]
2019/04/26 15:39:49 - Get REST in json for audit trail - Unexpected error occurred while launching entry [Get REST in json for audit trail.0]
other wise when i set the param
param:alflytics.getData.alfresco.entity.audits=false
the job runs perfectly.I appreciate your help.
The text was updated successfully, but these errors were encountered: