Jahia DX > Deleting sites from...

0 (0 Good)
0 (0 Bad)

Deleting sites from jahia :(

by  satishsharma »  2013/10/16 09:34

I have created sites via jahia API's JahiaSiteBaseService. There are two sites which are not listed by jahia in web project management list but are available under edit mode list of sites , both sites are running on live mode too but I am unable to see both sites under web project management list, so that I can delete them. When I create new sites via this API mentioned above exception is comming : 

java.lang.NullPointerException
       at org.jahia.services.templates.JahiaTemplateManagerService.templatesSynchro(JahiaTemplateManagerService.java:979)
       at org.jahia.services.templates.JahiaTemplateManagerService.synchro(JahiaTemplateManagerService.java:839)
       at org.jahia.services.templates.JahiaTemplateManagerService.deployModules(JahiaTemplateManagerService.java:710)
       at org.jahia.services.sites.JahiaSitesBaseService$5.doInJCR(JahiaSitesBaseService.java:545)
       at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:178)
       at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:113)
       at org.jahia.services.sites.JahiaSitesBaseService.addSite(JahiaSitesBaseService.java:577)
       at org.jahia.services.sites.JahiaSitesBaseService.addSite(JahiaSitesBaseService.java:445)
       at org.jahia.services.sites.JahiaSitesBaseService.addSite(JahiaSitesBaseService.java:438)
       at com.certain.jahia.actions.CreateSiteAction.doExecute(CreateSiteAction.java:94)

I think this exception is caused by both that sites that are created but not listed by jahia under its web -project-management listings. How can I remove both these sites from jahia without re-installation.

Every help is appreciated. Thanks in advance :(

 

  • Deleting sites from jahia :(
    2013/10/18 16:22

    satishsharma <div class="content editablePost" id="edit5cd8295f-b6cf-4c4a-a8fb-07be3f0e98e3" jcr:id="content" jcr:url="/home/download/forum/jahia-user/jahia-65/how-to-delete-jahia-module--set/how-to-delete-sites-from-jahia" style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;" title="Edit"> <p style="margin: 0px 0px 10px;"> I have created sites via jahia API&#39;s JahiaSiteBaseService. There are two sites which are not listed by jahia in web project management list but are available under edit mode list of sites , both sites are running on live mode too but I am unable to see both sites under web project management list, so that I can delete them. When I create new sites via this API mentioned above exception is comming :&nbsp;</p> <p style="margin: 0px 0px 10px;"> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">java.lang.NullP</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ointerException</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at org.jahia.servi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ces.templates.J</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ahiaTemplateMan</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">agerService.tem</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">platesSynchro(J</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ahiaTemplateMan</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">agerService.jav</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">a:979)</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at org.jahia.servi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ces.templates.J</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ahiaTemplateMan</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">agerService.syn</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">chro(JahiaTempl</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ateManagerServi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ce.java:839)</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at org.jahia.servi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ces.templates.J</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ahiaTemplateMan</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">agerService.dep</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">loyModules(Jahi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">aTemplateManage</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">rService.java:7</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">10)</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at org.jahia.servi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ces.sites.Jahia</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">SitesBaseServic</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">e$5.doInJCR(Jah</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">iaSitesBaseServ</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ice.java:545)</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at org.jahia.servi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ces.content.JCR</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">Template.doExec</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">uteWithSystemSe</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ssion(JCRTempla</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">te.java:178)</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at org.jahia.servi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ces.content.JCR</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">Template.doExec</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">uteWithSystemSe</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ssion(JCRTempla</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">te.java:113)</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at org.jahia.servi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ces.sites.Jahia</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">SitesBaseServic</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">e.addSite(Jahia</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">SitesBaseServic</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">e.java:577)</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at org.jahia.servi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ces.sites.Jahia</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">SitesBaseServic</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">e.addSite(Jahia</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">SitesBaseServic</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">e.java:445)</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at org.jahia.servi</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ces.sites.Jahia</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">SitesBaseServic</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">e.addSite(Jahia</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">SitesBaseServic</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">e.java:438)</span><br style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /> <span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">&nbsp; &nbsp; &nbsp; &nbsp;at com.certain.jah</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">ia.actions.Crea</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">teSiteAction.do</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">Execute(CreateS</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">iteAction.java:</span><wbr style="font-family: arial, sans-serif; font-size: 13.333333969116211px;" /><span style="font-family: arial, sans-serif; font-size: 13.333333969116211px;">94)</span></p> <p style="margin: 0px 0px 10px;"> I think this exception is caused by both that sites that are created but not listed by jahia under its web -project-management listings. How can I remove both these sites from jahia without re-installation.</p> <p style="margin: 0px 0px 10px;"> Every help is appreciated. Thanks in advance :(</p> </div> <p> &nbsp;</p>

  • Number of messages  7
    Registration date Oct 16, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Deleting sites from jahia :(

    by  faissah »  2013/11/26 14:48

    Hello,

    You could try to delete the site nodes using the JCR Browser of Jahia Tools (url is "/tools"). Using the JCR Broswer, delete the site both in live mode and edit mode. But at this point a re-installation would be a better option.

    Regards,

    Fabrice  (faissah)

    Number of messages  264
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page