server copy, not able to start the clone server | Community
Skip to main content
Level 4
October 8, 2020

server copy, not able to start the clone server

  • October 8, 2020
  • 1 reply
  • 1994 views

we run aem 6.3.2.1 server on segmentstore, we copied the complete segement store, datastore into different paths updated the configurations and deleted the sling id and changed the port  number and started the server on the same host.

 

once the server is started, not able to login even with root admin user and the pages are not opening giving script errors. PFB detailed errors

 

Login error:

08.10.2020 13:24:49.835 *WARN* [qtp2125863239-42029] org.apache.sling.auth.core.impl.SlingAuthenticator handleSecurity: AuthenticationHandler did not block request; access denied

 

Page errors:

In-page error: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.mozilla.javascript.EcmaError: ReferenceError: "currentPage" is not defined. (/apps/******/components/page/basepage/partials/head.js#6)

 

Error log:

08.10.2020 13:26:11.361 *ERROR* [10.157.7.65 [1602177971348] GET /content/*****/*****/****/A-10/A-10-019.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException

org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.mozilla.javascript.EcmaError: ReferenceError: "currentPage" is not defined. (/apps/******/components/page/basepage/partials/head.js#6)

 

i can't do a recomplie of js/jsp becasue i can't login into aem, what should i do?

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Vijayalakshmi_S
Level 10
October 9, 2020

Hi @ramgopalm545617,
Can you confirm

Level 4
October 9, 2020

Hi @vijayalakshmi_s,

 

we generally don't follow the document process, we genrally stop the server.

copy crx-quickstart from one path to another path and datastore from one path to another path, update the blob datastore config (org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config) to the new datastore path, update the host name and port and remove the sling id and then start the new server on the same host.

 

the same worked for author, but publish instance alone is having these issues.