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?