we run aem 126.96.36.199 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
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
08.10.2020 13:26:11.361 *ERROR* [10.157.7.65  GET /content/*****/*****/****/A-10/A-10-019.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
i can't do a recomplie of js/jsp becasue i can't login into aem, what should i do?
Can you confirm
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.
Can you check if you are able to access system/console from your cloned publish instance. Per the error mentioned when accessing pages, can try framework restart if system/console is accessible.