share-extras / js-console

Administration Console component for Alfresco Share, that enables the execution of arbitrary JavaScript code against the repository
Other
74 stars 53 forks source link

js-console does not show up in the left-hand-side panel after building per README.md #83

Closed nicolas-raoul closed 6 years ago

nicolas-raoul commented 6 years ago

I just built and installed js-console, as per README.md:

  1. Stop Alfresco
  2. mvn install
  3. In Alfresco's bin folder: java -jar alfresco-mmt.jar install ~/src/js-console/javascript-console-repo/target/javascript-console-repo-0.7-SNAPSHOT.amp ../tomcat/webapps/alfresco.war
  4. In Alfresco's bin folder: java -jar alfresco-mmt.jar install ~/src/js-console/javascript-console-share/target/javascript-console-share-0.7-SNAPSHOT.amp ../tomcat/webapps/share.war
  5. Start Alfresco
  6. Log in and open the Admin Tools
  7. Expected: "Javascript Console" link in the left panel. Actually: No link.

screenshot from 2018-01-17 13-26-34

Alfresco Alfresco Community 201707 v5.2.0 (re21f2be5-b22) schema 10057

jgoldhammer commented 6 years ago

Thanks for the information. Any information in the logfiles available?

nicolas-raoul commented 6 years ago

@jgoldhammer alfresco.log and share.log attached, it does not seem to contain anything related to js-console. alfresco.log share.log Are there other log files to look for?

jgoldhammer commented 6 years ago

Thanks. The modules are not installed in repo and share correctly- the log output does not contain the modules for it. Please check the output of mmt.jar commands and check if the war files contains the modules.

nicolas-raoul commented 6 years ago

Indeed, using the installation method described at https://geofoss.net/2015/10/12/using-javascript-console-to-create-a-folder-rule-script-in-alfresco/ did the trick, thanks!