Reputation: 644
im always getting this error in my local environment up.
HTTP ERROR 503 AuthenticationSupport service missing. Cannot authenticate the request.
URI: /
STATUS: 503
MESSAGE: AuthenticationSupport service missing. Cannot authenticate the request.
SERVLET: org.apache.felix.http.base.internal.dispatch.DispatcherServlet-7eebf294
there is a suggestion to remove index files in crx-start/repository folder but it didn't work out for me. not able to access the login page even
Upvotes: 4
Views: 19472
Reputation: 140
I fix it by deleting the following:
crx-quickstart/repository/segmentstore/repo.lock
crx-quickstart/launchpad/felix/cache.lock
crx-quickstart/repository/index
crx-quickstart/launchpad/config/org/apache/sling/jcr/repoinit
Upvotes: 1
Reputation: 81
In my case, I was able to fix this issue by removing the following folder before starting the instance:
rm -rf crx-quickstart/launchpad/config/org/apache/sling/jcr/repoinit
Upvotes: 8
Reputation: 2081
Yeah, most likely the instance is corrupted. You can try using the oak-run tool to compact the repository and identify the last good segment: https://jackrabbit.apache.org/oak/docs/command_line.html
If this is a development environment, it would be quicker to start from scratch.
Upvotes: 0