<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AAAR Extract Script Problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/aaar-extract-script-problem/m-p/308414#M261544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i just install AAAR today but AAAR_Extract.sh doesn't work :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;david@david-ThinkPad-X230-Tablet:/opt/pentaho/biserver-ce/pentaho-solutions/system/AAAR/endpoints/kettle/script$ ./AAAR_Extract.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A.A.A.R. - Alfresco Audit Analysis and Reporting&lt;BR /&gt;Import procedure version 2.0.&lt;BR /&gt;Author: Francesco Corti (all rights reserved)&lt;BR /&gt;Date: 01 January, 2014&lt;BR /&gt;&lt;BR /&gt;Disclaimer:&lt;BR /&gt;We can't be responsible for any damage done to your system,&lt;BR /&gt;which hopefully will not happen.&lt;BR /&gt;&lt;BR /&gt;Tip:&lt;BR /&gt;Want to reduce the time of execution?&lt;BR /&gt;Edit this script and change 'JOB_NAME' and 'GET_PARENTS' variables.&lt;BR /&gt;If you don't know how, look at the FAQ at &lt;A href="http://fcorti.com" rel="nofollow noopener noreferrer"&gt;http://fcorti.com&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;You are going to execute this command:&lt;BR /&gt;./kitchen.sh /rep:"AAAR_Kettle" /job:"Get all" /dir:/Alfresco /user:admin /pass:admin /param:get_parents=false /log="/opt/pentaho/biserver-ce/pentaho-solutions/system/AAAR/endpoints/kettle/script/../logs/AAAR.log" /level:Basic&lt;BR /&gt;&lt;BR /&gt;Press &amp;lt;enter&amp;gt; to start import.&lt;BR /&gt;&lt;BR /&gt;/opt/pentaho/data-integration&lt;BR /&gt;2014/10/18 20:01:35 - Kitchen - Niveau de trace : Niveau de base&lt;BR /&gt;2014/10/18 20:01:35 - Kitchen - Démarrage.&lt;BR /&gt;ERREUR: Impossible de charger la tâche car aucun référentiel n'a été renseigné.&lt;BR /&gt;ERREUR: Impossible de poursuivre l'opération car la tâche ne peut être chargée.&lt;BR /&gt;&lt;BR /&gt;Extraction complete!&lt;BR /&gt;&lt;BR /&gt;Log file has been generated in the file below:&lt;BR /&gt;/opt/pentaho/biserver-ce/pentaho-solutions/system/AAAR/endpoints/kettle/script/../logs/AAAR.log&lt;BR /&gt;&lt;BR /&gt;Check for ERRORS in the log.&lt;BR /&gt;If you can't find them, everything has gone alright.&lt;BR /&gt;Please, remember to schedule the command periodically or to execute it manually.&lt;BR /&gt;&lt;BR /&gt;Tip:&lt;BR /&gt;You can schedule this command using the silent execution with the command below:&lt;BR /&gt;/opt/pentaho/biserver-ce/pentaho-solutions/system/AAAR/endpoints/kettle/script/./AAAR_Extract.sh silent&lt;BR /&gt;&lt;BR /&gt;Want to save the reports in pdf format directly in Alfresco?&lt;BR /&gt;It's time to execute the 'AAAR_Publish' script.&lt;BR /&gt;&lt;BR /&gt;Enjoy A.A.A.R.!&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt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;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to resolve it but can't find a solution : I launch spoon, add repository/database, verify repositories.xml and now i have got this message : Unable to find Get all job&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;david@david-ThinkPad-X230-Tablet:/opt/pentaho/data-integration$ ./kitchen.sh /rep:"AAAR_Kettle" /job:"Get all" /dir:/Alfresco /user:admin /pass:admin /param:get_parents=true /level:Basic&lt;BR /&gt;/opt/pentaho/data-integration&lt;BR /&gt;2014/10/18 22:22:00 - Kitchen - Niveau de trace : Niveau de base&lt;BR /&gt;2014/10/18 22:22:00 - Kitchen - Démarrage.&lt;BR /&gt;2014/10/18 22:22:00 - RepositoriesMeta - Lecture du fichier XML : /home/david/.kettle/repositories.xml&lt;BR /&gt;Le traitement a été arrêté suite à une erreur :&lt;BR /&gt;PDI a rencontré une erreur durant la lecture de la tâche [Get all] depuis le référentiel&lt;BR /&gt;&lt;BR /&gt;Impossible de trouver la tâche : Get all&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco enterprise 4.2.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PostgreSQL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;biserver-ce-5.2.0.0-209&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pdi-ce-5.2.0.0-209&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ubuntu 14.04&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Oct 2014 17:12:29 GMT</pubDate>
    <dc:creator>dcambier</dc:creator>
    <dc:date>2014-10-19T17:12:29Z</dc:date>
    <item>
      <title>AAAR Extract Script Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/aaar-extract-script-problem/m-p/308414#M261544</link>
      <description>i just install AAAR today but AAAR_Extract.sh doesn't work :david@david-ThinkPad-X230-Tablet:/opt/pentaho/biserver-ce/pentaho-solutions/system/AAAR/endpoints/kettle/script$ ./AAAR_Extract.shA.A.A.R. - Alfresco Audit Analysis and ReportingImport procedure version 2.0.Author: Francesco Corti (all righ</description>
      <pubDate>Sun, 19 Oct 2014 17:12:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/aaar-extract-script-problem/m-p/308414#M261544</guid>
      <dc:creator>dcambier</dc:creator>
      <dc:date>2014-10-19T17:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: AAAR Extract Script Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/aaar-extract-script-problem/m-p/308415#M261545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think there could be a number of issues, but the most possible would be either your communication with the database is not going through OR you haven't installed the driver for the database. Are you using mysql?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:47:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/aaar-extract-script-problem/m-p/308415#M261545</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2014-10-20T15:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: AAAR Extract Script Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/aaar-extract-script-problem/m-p/308416#M261546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the problem with the help of Francesco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i checked the log :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;2014/10/20 17:16:57 - _installPostgreSql - Démarrage exécution entrée [Check Db connections]&lt;BR /&gt;2014/10/20 17:16:57 - _installPostgreSql - Démarrage exécution entrée [Recreate databases]&lt;BR /&gt;2014/10/20 17:16:58 - _installPostgreSql - Démarrage exécution entrée [Restore AAAR_DataMart]&lt;BR /&gt;2014/10/20 17:17:02 - _installPostgreSql - Démarrage exécution entrée [Restore AAAR_Kettle]&lt;BR /&gt;2014/10/20 17:17:31 - Restore AAAR_Kettle - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : PDI a rencontré une erreur durant l'ex�cution de cette tâche : &lt;BR /&gt;2014/10/20 17:17:31 - Restore AAAR_Kettle - Couldn't execute SQL: SET statement_timeout = 0;&lt;BR /&gt;2014/10/20 17:17:31 - Restore AAAR_Kettle - SET lock_timeout = 0;&lt;BR /&gt;2014/10/20 17:17:31 - Restore AAAR_Kettle - SET client_encoding = 'UTF8';&lt;BR /&gt;2014/10/20 17:17:31 - Restore AAAR_Kettle - SET standard_conforming_strings = on;&lt;BR /&gt;2014/10/20 17:17:31 - Restore AAAR_Kettle - SET check_function_bodies = false;&lt;BR /&gt;2014/10/20 17:17:31 - Restore AAAR_Kettle - SET client_min_messages = warning;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i commented the line "SET lock_timeout = 0;" in the sql script and after the installation works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 19:07:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/aaar-extract-script-problem/m-p/308416#M261546</guid>
      <dc:creator>dcambier</dc:creator>
      <dc:date>2014-10-20T19:07:49Z</dc:date>
    </item>
  </channel>
</rss>

