Adobe Experience Manager
Useful Shortcuts
Use case | Method |
---|---|
AEM Long running queries | java -jar /mnt/crx/publish/crx-quickstart/opt/helpers/rlog.jar -n 10 /mnt/crx/publish/crx-quickstart/logs/request.log |
AEM Groovy Console
|
/etc/groovyconsole.html
|
AEM Disk Usage report details
|
etc/reports/diskusage.html?path=/var/replication
java
-Xmx2g -jar oak-run-1.7.6.jar console
/mnt/crx/author/crx-quickstart/repository/segmentstore ":load https://raw.githubusercontent.com/chetanmeh/oak-console-scripts/master/src/main/groovy/repostats/oakRepoStats.groovy" |
AEM Basic Auhentication URL
|
/?sling:authRequestLogin=1
|
AEM Heap Dump command
|
sudo -u
crx /usr/java/latest/bin/jmap
-dump:format=b,file=/mnt/tmp/`hostname`-heapdump-`date +%H%M.%Y%m%d`.hprof $PID
|
AEM SAML Credential store
|
/crx/de/index.jsp#/apps/system/config/
|
AEM Compaction error message
|
egrep
-iRe ' "estimation completed" | increased | reclaimed | TarMK'
/mnt/crx/$AEM_TYPE/crx-quickstart/logs/error.log
|
Datastore consistency check. After adding following
the file datastore config
path="/mnt/crx/author/crx-quickstart/repository/datastore"
|
java -jar
oak-run-1.6.11.jar datastorecheck
--consistency --store /mnt/crx/author/crx-quickstart/repository/segmentstore
--fds
/mnt/crx/author/crx-quickstart/install/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config
|
AEM Enable/disable crx
|
Davex
Bundle stop/start
cqpass;
curl -u admin:$PASS http://localhost:4503/system/console/bundles/org.apache.sling.jcr.davex
-F action=start
cqpass ; curl -u admin:$PASS http://localhost:4503/system/console/bundles/org.apache.sling.jcr.davex
-F action=stop
|
AEM Reset user password
|
curl --insecure -X POST 'https://HOSTNAME/libs/granite/core/content/login.html/j_security_check?j_username=usersync-admin&j_password=PASSWORD&j_validate=true&j_newpassword=NEW_PASSWORD'
|
AEM Unlock a locked page that does not work in Touch UI
|
Go to
site admin and edit page. Change URL by replacing editor.html with cf#
/cf#/content/xxx and in the Right side select page and unlock
|
AEM AEM 6.5 too slow to start
|
Remove
these files
crx-quickstart/launchpad/config/com/adobe/cq/security/hc/dispatcher/impl/DispatcherAccessHealthCheck.config
crx-quickstart/launchpad/config/com/adobe/cq/security/hc/webserver/impl/ClickjackingHealthCheck.config
|
Uninstall package
|
curl -u admin:$PASS -X POST http://localhost:4502/crx/packmgr/service/.json/$PKGNAME?cmd=uninstall
|
AEM SSL Config
|
libs/granite/security/content/sslConfig.html
Config
Data :
/apps/system/config/com.adobe.granite.jetty.ssl.internal.GraniteSslConnectorFactory.config
SSL Path
:
/home/users/system/security/ssl-service/keystore and /etc/truststore
|