Opengrok not showing projects - indexer is working. #4557
Replies: 2 comments 2 replies
-
It is weird because the debug logs show that all POST/GET/DELETE calls to localhost:8080 api are successful. Also if i curl the localhost from inside the container i can get the list of projects. I wonder if that is because i have only basic auth configured in my read only config file? Should I also have the LDAP plugin there? like this: I cant really understand the auth approach here. |
Beta Was this translation helpful? Give feedback.
-
Actually i managed to fix this issue. The problem was that using Your plugin for basic auth (read only configuration file) made the change of permissions in /opengrok/etc/configuration.xml from: it was then to possible for the tomcat app to read the projects from the configuration and how them to the screen. Therefore exactly as in the example: code does not work. The issue can be closed as I just removed Your plugin and just used the setup in the tomcat (tomcat users, server and web xmls). |
Beta Was this translation helpful? Give feedback.
-
Hi I have a configured opengrok on docker container. I have below auth config:
/tomcat/conf/server.xml:
/tomcat/conf/web.xml:
/tomcat/conf/tomcat-users.xml:
and readonly config:
Everything is applied correctly. I can authenticate to tomcat app and opengrok can do reindex. However tafter indexing there is nothing in web ui. No porjects are shown in the web page. Without authentication it works well. Do You have any suggestions or ideas how should I modify my config?
Beta Was this translation helpful? Give feedback.
All reactions