GithubHelp home page GithubHelp logo

aem-communities-summit17-lab's Introduction

Lab workbook

Guide

Guide

Slides

Lab Slides

Troubleshooting Guide

We have put together a list of potential issues you might run into with recommendations on how you can identify the problem or workaround it. This list will hopefully shrink with time ;)

AEM Issue

Publisher (localhost:4503) not working

  • On visiting http://localhost:4503, if the page says startup in progress give a few moments
  • Open the termninal and type
  • cd ~/aemcommunities/6.3/publish
  • java -XX:MaxPermSize=256m -Xmx1024M -Dsling.run.modes=publish -jar cq-publish-4503.jar

Author (localhost:4502) not working

  • On visiting http://localhost:4502, if the page says startup in progress give a few moments
  • Open the termninal and type
  • cd ~/aemcommunities/6.3/author
  • java -XX:MaxPermSize=256m -Xmx1024M -Dsling.run.modes=publish -jar cq-author-4502.jar

Site Not published

  • Publish the site a gain
  • Wait for the green dialog
  • This could be a latency issue, and we have no other choice but to wait

Site Edit not being saved

  • Edit the site again
  • Click the save button
  • In case of error there will be a red dialog with error details (could be config issues or missing fields)
  • If not able to resolve the issue, edit the existing sample or a different site

UGC Issues, No Sample Content

Check Solr Status

Restart Solr

  • Open cygwin and paste the commands
  • curl http://localhost:8983/solr/communities/update -H "Content-type: text/xml" --data-binary '<delete><query>*:*</query></delete>'
  • curl http://localhost:8983/solr/communities/update -H "Content-type: text/xml" --data-binary '<commit />'

Reset Solr

  • Open cygwin and type
  • curl -s -u admin:admin -d 'batchSize=10000&path=/content/usergenerated/asi/mongo/' http://localhost:4503/services/social/datastore/mongo/reindex

Check mongo

  • Check if mongo process is running, type the following command in terminal
  • ps -ef | grep -i mongod | grep -v grep
  • If no result, then start mongo using the command mongod --dbpath ~/aemcommunities/6.3/mongo

aem-communities-summit17-lab's People

Contributors

arunpon avatar sid-p avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.